pivotal-cli 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/pivotal +2 -2
- data/lib/pivotal_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c912ce1a25ceb332d6018cc6f2eb16437be37641
|
4
|
+
data.tar.gz: 8e72cb0ccf057dc160e6210af77180741d2e184d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02820001b96c15a532a49039c2ebd4c674dc426e69d17bbe1422da9e72b5a718190e7567c264df743c5e025dc7e298ddfc6c287fb01843df5ee7b2601ff8fb5c
|
7
|
+
data.tar.gz: ab2e59ff54f7086b446e54484bb60ee9b15752228cec347b26b2ef2441cbb3efd42104c0bbb822a4c4ecfa0185c2caaa31e362f44d852750a64cb9ecbb03523e
|
data/bin/pivotal
CHANGED
@@ -91,7 +91,7 @@ end
|
|
91
91
|
|
92
92
|
def find_story_from_branch
|
93
93
|
git = Git.open(Dir.pwd)
|
94
|
-
branch = git.
|
94
|
+
branch = git.current_branch.to_s
|
95
95
|
|
96
96
|
matches = branch.match(/.+-pv-(?<story_id>\d+)/)
|
97
97
|
if matches && matches['story_id']
|
@@ -201,7 +201,7 @@ command :commit do |c|
|
|
201
201
|
git.add(all: true)
|
202
202
|
puts 'git add -A'
|
203
203
|
|
204
|
-
commit_message = "
|
204
|
+
commit_message = "#{story.name.gsub('"', '\"')} [##{story.id}]"
|
205
205
|
git.commit(commit_message)
|
206
206
|
puts "git commit -m #{commit_message}"
|
207
207
|
end
|
data/lib/pivotal_cli/version.rb
CHANGED