v2gpti 0.2.0.8 → 0.2.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1df4471f99cbb91fc08a5046690931a73472e05
4
- data.tar.gz: 7444631fba19dad35fbb47c7a737c83b6fbfd794
3
+ metadata.gz: 65f59894f70c1548adee3b0b3abedf5d5349ff1b
4
+ data.tar.gz: ea9c9a1aed9b79093022a054d9675464d85d3b61
5
5
  SHA512:
6
- metadata.gz: bef79c236838978e908177ca8014142f9db6e258754b60c6ff222c819b7ce3d6bb51ecb08ca01793ef58d18c9769b4276882aa6b4c71c6511721fe135aeb5238
7
- data.tar.gz: 00d4fc3b571a67d535d4390bf3c281bc35e5a8b16898f6739add3bab9c771489ed5e5bcb1383a96b7b19ba1da355b3761c334fca92646c580ea063f71ce07244
6
+ metadata.gz: 1c592d7c544e7945b9d117b098da7f7c8dd1e71f5d0bc843ce43c8c16e5a8c278a889ccf83c7ce2fc5d5341e8cde2bc9b0ef8c95f705699e59e74c810159e378
7
+ data.tar.gz: f215bdbe325749caa0d13cf034f33ce6b89baaaf5b255224493f468d6515b55a9b302194c325fde728e34177f513fa1ce219e7ded696cefc09efab71f036b38a
@@ -79,7 +79,9 @@ class GitPivotalTrackerIntegration::Command::Configuration
79
79
  # @param [PivotalTracker::Project] project the project the story belongs to
80
80
  # @return [PivotalTracker::Story] the story associated with the current development branch
81
81
  def story(project)
82
+ $LOG.debug("#{self.class}:#{__method__}")
82
83
  story_id = GitPivotalTrackerIntegration::Util::Git.get_config KEY_STORY_ID, :branch
84
+ $LOG.debug("story_id:#{story_id}")
83
85
  project.stories.find story_id.to_i
84
86
  end
85
87
 
@@ -32,6 +32,9 @@ class GitPivotalTrackerIntegration::Command::Finish < GitPivotalTrackerIntegrati
32
32
  no_complete = argument =~ /--no-complete/
33
33
 
34
34
  GitPivotalTrackerIntegration::Util::Git.trivial_merge?
35
+ $LOG.debug("configuration:#{@configuration}")
36
+ $LOG.debug("project:#{@project}")
37
+ $LOG.debug("story:#{@configuration.story(@project)}")
35
38
  GitPivotalTrackerIntegration::Util::Git.merge(@configuration.story(@project), no_complete)
36
39
  GitPivotalTrackerIntegration::Util::Git.push GitPivotalTrackerIntegration::Util::Git.branch_name
37
40
  end
@@ -42,7 +42,7 @@ class GitPivotalTrackerIntegration::Command::Start < GitPivotalTrackerIntegratio
42
42
 
43
43
  development_branch_name = development_branch_name story
44
44
  GitPivotalTrackerIntegration::Util::Git.create_branch development_branch_name
45
-
45
+ @configuration.story = story
46
46
  GitPivotalTrackerIntegration::Util::Git.add_hook 'prepare-commit-msg', File.join(File.dirname(__FILE__), 'prepare-commit-msg.sh')
47
47
 
48
48
  start_on_tracker story
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: v2gpti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.8
4
+ version: 0.2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hale
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-03 00:00:00.000000000 Z
12
+ date: 2014-06-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline