Module: PGit

Defined in:
lib/pgit/project/add.rb,
lib/pgit/root.rb,
lib/pgit/error.rb,
lib/pgit/command.rb,
lib/pgit/project.rb,
lib/pgit/error/user.rb,
lib/pgit/command/add.rb,
lib/pgit/command/run.rb,
lib/pgit/command/edit.rb,
lib/pgit/command/show.rb,
lib/pgit/story_branch.rb,
lib/pgit/configuration.rb,
lib/pgit/pivotal/query.rb,
lib/pgit/pivotal/story.rb,
lib/pgit/command/remove.rb,
lib/pgit/current_branch.rb,
lib/pgit/error/external.rb,
lib/pgit/project/remove.rb,
lib/pgit/bilateral/story.rb,
lib/pgit/current_project.rb,
lib/pgit/helpers/heredoc.rb,
lib/pgit/pivotal/project.rb,
lib/pgit/pivotal/request.rb,
lib/pgit/pivotal/projects.rb,
lib/pgit/response_handler.rb,
lib/pgit/pivotal/iteration.rb,
lib/pgit/pivotal/iterations.rb,
lib/pgit/command/application.rb,
lib/pgit/project/application.rb,
lib/pgit/bilateral/handle_back.rb,
lib/pgit/helpers/query_methods.rb,
lib/pgit/pivotal/request/query.rb,
lib/pgit/story_branch/application.rb,
lib/pgit/story_branch/name_parser.rb,
lib/pgit/current_project/validator.rb,
lib/pgit/helpers/string_extensions.rb,
lib/pgit/pivotal_request_validator.rb,
lib/pgit/project/interactive_adder.rb,
lib/pgit/pivotal/collection_request.rb,
lib/pgit/pivotal/individual_request.rb,
lib/pgit/validators/project_validator.rb,
lib/pgit/bilateral/handle_choose_story.rb,
lib/pgit/project/reuse_api_token_adder.rb,
lib/pgit/installer/bash_auto_completion.rb

Overview

Parses pivotal story titles and turns them into git branch names

  • story.name: title of the pivotal tracker story

  • story_id: id of the pivotal tracker story

ex: Fly so high in the sky 12345 becomes fly-so-high-sky-12345

Defined Under Namespace

Modules: Bilateral, Helpers, Installer, Pivotal, Validators Classes: Command, Configuration, CurrentBranch, CurrentProject, Error, PivotalRequestValidator, Project, ResponseHandler, Status, StoryBranch

Class Method Summary collapse

Class Method Details

.rootObject



2
3
4
# File 'lib/pgit/root.rb', line 2

def self.root
  File.expand_path '../../..', __FILE__
end