gitcycle 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 "Retrieving branch information from gitcycle."
163
- And output does not include "Checking out source branch 'master'."
164
- And output does not include "Tracking source branch 'master'."
165
- And output includes "Creating QA branch 'qa_master'."
166
- And output includes "Adding remote repo 'env.home/config.repo'."
167
- And output includes "Fetching remote branch 'ticket.id'."
168
- And output includes "Merging remote branch 'ticket.id' from 'env.home/config.repo'."
169
- And output includes "Pushing QA branch 'qa_master'."
170
- And output includes "Type 'gitc qa pass' to approve all issues in this branch."
171
- And output includes "Type 'gitc qa fail' to reject all issues in this branch."
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
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gitcycle"
9
- s.version = '0.1.2'
9
+ s.version = '0.1.3'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
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
- version: 0.1.2
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
- date: 2012-01-17 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
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
- requirement: &70203661925140 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
22
33
  type: :development
23
- prerelease: false
24
- version_requirements: *70203661925140
25
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
26
36
  name: cucumber
27
- requirement: &70203661924700 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
28
39
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
33
47
  type: :development
34
- prerelease: false
35
- version_requirements: *70203661924700
36
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
37
50
  name: lighthouse
38
- requirement: &70203661924280 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
39
53
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
44
61
  type: :development
45
- prerelease: false
46
- version_requirements: *70203661924280
47
- - !ruby/object:Gem::Dependency
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
48
64
  name: redis
49
- requirement: &70203661923860 !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
50
67
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
55
75
  type: :development
56
- prerelease: false
57
- version_requirements: *70203661923860
58
- - !ruby/object:Gem::Dependency
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
59
78
  name: rspec
60
- requirement: &70203661923440 !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
61
81
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
66
89
  type: :development
67
- prerelease: false
68
- version_requirements: *70203661923440
69
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
70
92
  name: simplecov
71
- requirement: &70203661923020 !ruby/object:Gem::Requirement
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
72
95
  none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: '0'
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
77
103
  type: :development
78
- prerelease: false
79
- version_requirements: *70203661923020
80
- - !ruby/object:Gem::Dependency
104
+ version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
81
106
  name: yajl-ruby
82
- requirement: &70203661922600 !ruby/object:Gem::Requirement
107
+ prerelease: false
108
+ requirement: &id007 !ruby/object:Gem::Requirement
83
109
  none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
87
- version: '0'
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ hash: 3
114
+ segments:
115
+ - 0
116
+ version: "0"
88
117
  type: :development
89
- prerelease: false
90
- version_requirements: *70203661922600
91
- - !ruby/object:Gem::Dependency
118
+ version_requirements: *id007
119
+ - !ruby/object:Gem::Dependency
92
120
  name: launchy
93
- requirement: &70203661922100 !ruby/object:Gem::Requirement
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
- prerelease: false
101
- version_requirements: *70203661922100
102
- - !ruby/object:Gem::Dependency
134
+ version_requirements: *id008
135
+ - !ruby/object:Gem::Dependency
103
136
  name: yajl-ruby
104
- requirement: &70203661234040 !ruby/object:Gem::Requirement
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
- prerelease: false
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
- files:
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
- require_paths:
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
- version: '0'
146
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- version: '0'
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.8.10
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