v2gpti 0.2.0.8 → 0.2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65f59894f70c1548adee3b0b3abedf5d5349ff1b
|
4
|
+
data.tar.gz: ea9c9a1aed9b79093022a054d9675464d85d3b61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
12
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: highline
|