gitcycle 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/features/gitcycle.feature +12 -10
- data/features/steps/gitcycle_steps.rb +5 -0
- data/gitcycle.gemspec +1 -1
- metadata +142 -92
data/features/gitcycle.feature
CHANGED
@@ -159,13 +159,15 @@ Scenario: QA issue
|
|
159
159
|
And I checkout master
|
160
160
|
And I execute gitcycle with "qa issue.id"
|
161
161
|
Then gitcycle runs
|
162
|
-
And output includes
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
162
|
+
And output includes
|
163
|
+
"""
|
164
|
+
Retrieving branch information from gitcycle.
|
165
|
+
Deleting old QA branch 'qa_master'.
|
166
|
+
Creating QA branch 'qa_master'.
|
167
|
+
Adding remote repo 'br/gitcycle_test'.
|
168
|
+
Fetching remote branch '200-test-ticket'.
|
169
|
+
Merging remote branch '200-test-ticket' from 'br/gitcycle_test'.
|
170
|
+
Pushing QA branch 'qa_master'.
|
171
|
+
Type 'gitc qa pass' to approve all issues in this branch.
|
172
|
+
Type 'gitc qa fail' to reject all issues in this branch.
|
173
|
+
"""
|
@@ -195,6 +195,11 @@ Then /^output includes \"([^\"]*)" with URL$/ do |expected|
|
|
195
195
|
$url = @output.match(/#{expected}.*(https?:\/\/[^\s]+)/)[1]
|
196
196
|
end
|
197
197
|
|
198
|
+
Then /^output includes$/ do |expected|
|
199
|
+
expected = gsub_variables(expected)
|
200
|
+
@output.include?(expected).should == true
|
201
|
+
end
|
202
|
+
|
198
203
|
Then /^output does not include \"([^\"]*)"$/ do |expected|
|
199
204
|
expected = gsub_variables(expected)
|
200
205
|
@output.include?(expected).should == false
|
data/gitcycle.gemspec
CHANGED
metadata
CHANGED
@@ -1,123 +1,163 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitcycle
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Winton Welsh
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-17 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: aruba
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
22
33
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
26
36
|
name: cucumber
|
27
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
33
47
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
37
50
|
name: lighthouse
|
38
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
53
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
44
61
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
48
64
|
name: redis
|
49
|
-
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
67
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
55
75
|
type: :development
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
76
|
+
version_requirements: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
59
78
|
name: rspec
|
60
|
-
|
79
|
+
prerelease: false
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
version: "0"
|
66
89
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
70
92
|
name: simplecov
|
71
|
-
|
93
|
+
prerelease: false
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
95
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
77
103
|
type: :development
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
104
|
+
version_requirements: *id006
|
105
|
+
- !ruby/object:Gem::Dependency
|
81
106
|
name: yajl-ruby
|
82
|
-
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
83
109
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 3
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
88
117
|
type: :development
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
118
|
+
version_requirements: *id007
|
119
|
+
- !ruby/object:Gem::Dependency
|
92
120
|
name: launchy
|
93
|
-
|
121
|
+
prerelease: false
|
122
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
94
123
|
none: false
|
95
|
-
requirements:
|
96
|
-
- - =
|
97
|
-
- !ruby/object:Gem::Version
|
124
|
+
requirements:
|
125
|
+
- - "="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
hash: 5
|
128
|
+
segments:
|
129
|
+
- 2
|
130
|
+
- 0
|
131
|
+
- 5
|
98
132
|
version: 2.0.5
|
99
133
|
type: :runtime
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
134
|
+
version_requirements: *id008
|
135
|
+
- !ruby/object:Gem::Dependency
|
103
136
|
name: yajl-ruby
|
104
|
-
|
137
|
+
prerelease: false
|
138
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
105
139
|
none: false
|
106
|
-
requirements:
|
107
|
-
- - =
|
108
|
-
- !ruby/object:Gem::Version
|
140
|
+
requirements:
|
141
|
+
- - "="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
hash: 19
|
144
|
+
segments:
|
145
|
+
- 1
|
146
|
+
- 1
|
147
|
+
- 0
|
109
148
|
version: 1.1.0
|
110
149
|
type: :runtime
|
111
|
-
|
112
|
-
version_requirements: *70203661234040
|
150
|
+
version_requirements: *id009
|
113
151
|
description: Tame your development cycle.
|
114
|
-
email:
|
152
|
+
email:
|
115
153
|
- mail@wintoni.us
|
116
|
-
executables:
|
154
|
+
executables:
|
117
155
|
- gitc
|
118
156
|
extensions: []
|
157
|
+
|
119
158
|
extra_rdoc_files: []
|
120
|
-
|
159
|
+
|
160
|
+
files:
|
121
161
|
- .gitignore
|
122
162
|
- Gemfile
|
123
163
|
- LICENSE
|
@@ -131,31 +171,41 @@ files:
|
|
131
171
|
- gitcycle.gemspec
|
132
172
|
- lib/ext/string.rb
|
133
173
|
- lib/gitcycle.rb
|
174
|
+
has_rdoc: true
|
134
175
|
homepage: https://github.com/winton/gitcycle
|
135
176
|
licenses: []
|
177
|
+
|
136
178
|
post_install_message:
|
137
179
|
rdoc_options: []
|
138
|
-
|
180
|
+
|
181
|
+
require_paths:
|
139
182
|
- lib
|
140
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
184
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
hash: 3
|
189
|
+
segments:
|
190
|
+
- 0
|
191
|
+
version: "0"
|
192
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
193
|
none: false
|
148
|
-
requirements:
|
149
|
-
- -
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
|
194
|
+
requirements:
|
195
|
+
- - ">="
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
hash: 3
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
version: "0"
|
152
201
|
requirements: []
|
202
|
+
|
153
203
|
rubyforge_project:
|
154
|
-
rubygems_version: 1.
|
204
|
+
rubygems_version: 1.5.0
|
155
205
|
signing_key:
|
156
206
|
specification_version: 3
|
157
207
|
summary: Tame your development cycle
|
158
|
-
test_files:
|
208
|
+
test_files:
|
159
209
|
- features/config.example.yml
|
160
210
|
- features/gitcycle.feature
|
161
211
|
- features/steps/gitcycle_steps.rb
|