pivotal-github 1.1.4 → 1.1.5
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 +4 -4
- data/lib/pivotal-github/story_accept.rb +2 -1
- data/lib/pivotal-github/version.rb +1 -1
- data/spec/commands/story_accept_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aa1293580e2c9efd94ee5cc32fc7dc1a29eee87
|
4
|
+
data.tar.gz: 909ff85f5d206d692cd73fbcccc4b5cf03b50fa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 609a6d4ca5393d0c492b7452129c8a8118e32aa421db5290ae50d9fdb159594a879a8148602e72875f206cca6e8c51f87efbc22d257d4c229e3fadfce8741688
|
7
|
+
data.tar.gz: 5867e839faacb0c1f17e9444b51dda487fec444f4b74f77fed85d58455af4f6b3c14356b1316748899dac3b0c276e1263b3f98e826cae9e3189c383ed321984c
|
@@ -40,7 +40,8 @@ class StoryAccept < Command
|
|
40
40
|
# [Delivers #<story id> #<another story id>]. The difference is handled
|
41
41
|
# by the delivered_ids method.
|
42
42
|
def git_log_delivered_story_ids
|
43
|
-
|
43
|
+
pat = '\\[Deliver(s|ed) #'
|
44
|
+
delivered_lines = `git log --grep='#{pat}' | egrep '#{pat}'`.split("\n")
|
44
45
|
delivered_lines.inject([]) do |accept, line|
|
45
46
|
accept << delivered_ids(line)
|
46
47
|
end.uniq
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe StoryAccept do
|
4
4
|
|
5
|
-
let(:command) { StoryAccept.new(['-o'
|
5
|
+
let(:command) { StoryAccept.new(['-o']) }
|
6
6
|
before do
|
7
7
|
command.stub(:story_branch).and_return('62831853-tau-manifesto')
|
8
8
|
command.stub(:git_log_delivered_story_ids).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pivotal-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git-utils
|