github-pivotal-flow 0.1.0 → 0.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96c3e7ec554233e7990b6a64f15f0d35503d5927
|
4
|
+
data.tar.gz: 94ed6f85456f4b63b47fe10318d22fa7786f00dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 121a7ad7681ec313e1670db59a7e8c5683f926e3241326f61a9854b6d0036fb4a89984e73f7246242a46bf4e6cc895acd2db2e93734483097e9d4754a3328894
|
7
|
+
data.tar.gz: 183f9dc438715c9b1cc8cc22079fc5c3f3db01f8014ee6f754bd245351067db92413866772e13a8de0bcc24583c99f985e4fe9ea62071b994f5b0fd759bcee99
|
@@ -105,13 +105,14 @@ module GithubPivotalFlow
|
|
105
105
|
it 'prompts the user with the story type if no filter is specified' do
|
106
106
|
expect(@stories).to receive(:all).with(
|
107
107
|
:current_state => %w(rejected unstarted unscheduled),
|
108
|
-
:limit => 5
|
108
|
+
:limit => 5,
|
109
|
+
:story_type => ['feature', 'bug']
|
109
110
|
).and_return([
|
110
|
-
PivotalTracker::Story.new(:story_type => '
|
111
|
+
PivotalTracker::Story.new(:story_type => 'feature', :name => 'name-1'),
|
111
112
|
PivotalTracker::Story.new(:story_type => 'bug', :name => 'name-2')
|
112
113
|
])
|
113
114
|
expect(@menu).to receive(:prompt=)
|
114
|
-
expect(@menu).to receive(:choice).with('
|
115
|
+
expect(@menu).to receive(:choice).with('FEATURE name-1')
|
115
116
|
expect(@menu).to receive(:choice).with('BUG name-2')
|
116
117
|
expect(Story).to receive(:choose) { |&arg| arg.call @menu }.and_return(@pivotal_story)
|
117
118
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-pivotal-flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Piret
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|