cucumber 1.3.18 → 1.3.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 28f1e468194554bcf742509473b3fe4722b4885a
4
+ data.tar.gz: a80821a86965e539a3808fb6fd9e08494e8dea73
5
+ SHA512:
6
+ metadata.gz: ab01f6445301a09e7660b99927f5b0e961d5c1a34402db3ce120e94d37281b9d77c2a1407b29d04ed38490f895d1320f8877de4ed83f1e95799953bc68d17f54
7
+ data.tar.gz: a4ccdc47188f15927ffac9cb9818f8e3711ba6d0e8f0ea25fd752e750c3bfd1fb2393c717842657be61781ac694a363177152d17ff86f8fdc34b31070c88954f
data/History.md CHANGED
@@ -1,7 +1,15 @@
1
- ## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.18...v1.3.x-bugfix)
1
+ ## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.19...v1.3.x-bugfix)
2
2
 
3
3
  * Your change here?
4
4
 
5
+ ## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.18...v1.3.19)
6
+
7
+ * Update multi_test dependency to prevent crashes on ruby 2.2 when no minitest
8
+ or rspec available (@tooky)
9
+ * Fixing the spaces in file paths in the rerun file causing the file list to be
10
+ split incorrectly ([793](https://github.com/cucumber/cucumber/pull/793)
11
+ @callahat)
12
+
5
13
  ## [v1.3.18](https://github.com/cucumber/cucumber/compare/v1.3.17...v1.3.18)
6
14
 
7
15
  * Ruby 2.2 support ([774](https://github.com/cucumber/cucumber/pull/774) @tricknotes)
data/Rakefile CHANGED
@@ -6,7 +6,6 @@ Bundler::GemHelper.install_tasks
6
6
  $:.unshift(File.dirname(__FILE__) + '/lib')
7
7
  Dir['gem_tasks/**/*.rake'].each { |rake| load rake }
8
8
 
9
- task :release => 'api:doc'
10
9
  task :default => [:spec, :cucumber]
11
10
 
12
11
  require 'rake/clean'
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.add_dependency 'diff-lcs', '>= 1.1.3'
18
18
  s.add_dependency 'gherkin', '~> 2.12'
19
19
  s.add_dependency 'multi_json', '>= 1.7.5', '< 2.0'
20
- s.add_dependency 'multi_test', '>= 0.1.1'
20
+ s.add_dependency 'multi_test', '>= 0.1.2'
21
21
 
22
22
  s.add_development_dependency 'aruba', '= 0.5.2'
23
23
  s.add_development_dependency 'json', '~> 1.7'
@@ -117,7 +117,7 @@ module Cucumber
117
117
  Dir["#{path}/**/*.feature"].sort
118
118
  elsif path[0..0] == '@' and # @listfile.txt
119
119
  File.file?(path[1..-1]) # listfile.txt is a file
120
- IO.read(path[1..-1]).split
120
+ IO.read(path[1..-1]).split(/(.*?\.feature.*?) /).collect(&:strip).reject(&:empty?)
121
121
  else
122
122
  path
123
123
  end
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '1.3.18'
7
+ VERSION = '1.3.19'
8
8
  BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
9
9
  LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
10
10
  JRUBY = defined?(JRUBY_VERSION)
@@ -406,6 +406,21 @@ END_OF_MESSAGE
406
406
  config.feature_files.should == ["cucumber.feature"]
407
407
  end
408
408
 
409
+ it "should get the feature files from the rerun file" do
410
+ File.stub(:directory?).and_return(false)
411
+ File.stub(:file?).and_return(true)
412
+ IO.stub(:read).and_return(
413
+ "cucumber.feature:1:3 cucumber space.feature:134 domain folder/cuke.feature:1 domain folder/different cuke:4:5" )
414
+
415
+ config.parse!(%w{@rerun.txt})
416
+
417
+ config.feature_files.should == [
418
+ "cucumber.feature:1:3",
419
+ "cucumber space.feature:134",
420
+ "domain folder/cuke.feature:1",
421
+ "domain folder/different cuke:4:5"]
422
+ end
423
+
409
424
  it "should allow specifying environment variables on the command line" do
410
425
  config.parse!(["foo=bar"])
411
426
  ENV["foo"].should == "bar"
metadata CHANGED
@@ -1,106 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.18
5
- prerelease:
4
+ version: 1.3.19
6
5
  platform: ruby
7
6
  authors:
8
7
  - Aslak Hellesøy
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-12-26 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: builder
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.1.2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.1.2
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: diff-lcs
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.1.3
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.1.3
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: gherkin
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '2.12'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '2.12'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: multi_json
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: 1.7.5
70
- - - <
62
+ - - "<"
71
63
  - !ruby/object:Gem::Version
72
64
  version: '2.0'
73
65
  type: :runtime
74
66
  prerelease: false
75
67
  version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
68
  requirements:
78
- - - ! '>='
69
+ - - ">="
79
70
  - !ruby/object:Gem::Version
80
71
  version: 1.7.5
81
- - - <
72
+ - - "<"
82
73
  - !ruby/object:Gem::Version
83
74
  version: '2.0'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: multi_test
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ! '>='
79
+ - - ">="
90
80
  - !ruby/object:Gem::Version
91
- version: 0.1.1
81
+ version: 0.1.2
92
82
  type: :runtime
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - ">="
98
87
  - !ruby/object:Gem::Version
99
- version: 0.1.1
88
+ version: 0.1.2
100
89
  - !ruby/object:Gem::Dependency
101
90
  name: aruba
102
91
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
92
  requirements:
105
93
  - - '='
106
94
  - !ruby/object:Gem::Version
@@ -108,7 +96,6 @@ dependencies:
108
96
  type: :development
109
97
  prerelease: false
110
98
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
99
  requirements:
113
100
  - - '='
114
101
  - !ruby/object:Gem::Version
@@ -116,301 +103,265 @@ dependencies:
116
103
  - !ruby/object:Gem::Dependency
117
104
  name: json
118
105
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
106
  requirements:
121
- - - ~>
107
+ - - "~>"
122
108
  - !ruby/object:Gem::Version
123
109
  version: '1.7'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
113
  requirements:
129
- - - ~>
114
+ - - "~>"
130
115
  - !ruby/object:Gem::Version
131
116
  version: '1.7'
132
117
  - !ruby/object:Gem::Dependency
133
118
  name: nokogiri
134
119
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
120
  requirements:
137
- - - ~>
121
+ - - "~>"
138
122
  - !ruby/object:Gem::Version
139
123
  version: 1.5.2
140
124
  type: :development
141
125
  prerelease: false
142
126
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
127
  requirements:
145
- - - ~>
128
+ - - "~>"
146
129
  - !ruby/object:Gem::Version
147
130
  version: 1.5.2
148
131
  - !ruby/object:Gem::Dependency
149
132
  name: rake
150
133
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
134
  requirements:
153
- - - ! '>='
135
+ - - ">="
154
136
  - !ruby/object:Gem::Version
155
137
  version: 0.9.2
156
- - - <
138
+ - - "<"
157
139
  - !ruby/object:Gem::Version
158
140
  version: '10.2'
159
141
  type: :development
160
142
  prerelease: false
161
143
  version_requirements: !ruby/object:Gem::Requirement
162
- none: false
163
144
  requirements:
164
- - - ! '>='
145
+ - - ">="
165
146
  - !ruby/object:Gem::Version
166
147
  version: 0.9.2
167
- - - <
148
+ - - "<"
168
149
  - !ruby/object:Gem::Version
169
150
  version: '10.2'
170
151
  - !ruby/object:Gem::Dependency
171
152
  name: rspec
172
153
  requirement: !ruby/object:Gem::Requirement
173
- none: false
174
154
  requirements:
175
- - - ~>
155
+ - - "~>"
176
156
  - !ruby/object:Gem::Version
177
157
  version: '2'
178
158
  type: :development
179
159
  prerelease: false
180
160
  version_requirements: !ruby/object:Gem::Requirement
181
- none: false
182
161
  requirements:
183
- - - ~>
162
+ - - "~>"
184
163
  - !ruby/object:Gem::Version
185
164
  version: '2'
186
165
  - !ruby/object:Gem::Dependency
187
166
  name: test-unit
188
167
  requirement: !ruby/object:Gem::Requirement
189
- none: false
190
168
  requirements:
191
- - - ! '>='
169
+ - - ">="
192
170
  - !ruby/object:Gem::Version
193
171
  version: '0'
194
172
  type: :development
195
173
  prerelease: false
196
174
  version_requirements: !ruby/object:Gem::Requirement
197
- none: false
198
175
  requirements:
199
- - - ! '>='
176
+ - - ">="
200
177
  - !ruby/object:Gem::Version
201
178
  version: '0'
202
179
  - !ruby/object:Gem::Dependency
203
180
  name: simplecov
204
181
  requirement: !ruby/object:Gem::Requirement
205
- none: false
206
182
  requirements:
207
- - - ! '>='
183
+ - - ">="
208
184
  - !ruby/object:Gem::Version
209
185
  version: 0.6.2
210
186
  type: :development
211
187
  prerelease: false
212
188
  version_requirements: !ruby/object:Gem::Requirement
213
- none: false
214
189
  requirements:
215
- - - ! '>='
190
+ - - ">="
216
191
  - !ruby/object:Gem::Version
217
192
  version: 0.6.2
218
193
  - !ruby/object:Gem::Dependency
219
194
  name: spork
220
195
  requirement: !ruby/object:Gem::Requirement
221
- none: false
222
196
  requirements:
223
- - - ! '>='
197
+ - - ">="
224
198
  - !ruby/object:Gem::Version
225
199
  version: 1.0.0.rc2
226
200
  type: :development
227
201
  prerelease: false
228
202
  version_requirements: !ruby/object:Gem::Requirement
229
- none: false
230
203
  requirements:
231
- - - ! '>='
204
+ - - ">="
232
205
  - !ruby/object:Gem::Version
233
206
  version: 1.0.0.rc2
234
207
  - !ruby/object:Gem::Dependency
235
208
  name: syntax
236
209
  requirement: !ruby/object:Gem::Requirement
237
- none: false
238
210
  requirements:
239
- - - ! '>='
211
+ - - ">="
240
212
  - !ruby/object:Gem::Version
241
213
  version: 1.0.0
242
214
  type: :development
243
215
  prerelease: false
244
216
  version_requirements: !ruby/object:Gem::Requirement
245
- none: false
246
217
  requirements:
247
- - - ! '>='
218
+ - - ">="
248
219
  - !ruby/object:Gem::Version
249
220
  version: 1.0.0
250
221
  - !ruby/object:Gem::Dependency
251
222
  name: bcat
252
223
  requirement: !ruby/object:Gem::Requirement
253
- none: false
254
224
  requirements:
255
- - - ~>
225
+ - - "~>"
256
226
  - !ruby/object:Gem::Version
257
227
  version: 0.6.2
258
228
  type: :development
259
229
  prerelease: false
260
230
  version_requirements: !ruby/object:Gem::Requirement
261
- none: false
262
231
  requirements:
263
- - - ~>
232
+ - - "~>"
264
233
  - !ruby/object:Gem::Version
265
234
  version: 0.6.2
266
235
  - !ruby/object:Gem::Dependency
267
236
  name: kramdown
268
237
  requirement: !ruby/object:Gem::Requirement
269
- none: false
270
238
  requirements:
271
- - - ~>
239
+ - - "~>"
272
240
  - !ruby/object:Gem::Version
273
241
  version: '0.14'
274
242
  type: :development
275
243
  prerelease: false
276
244
  version_requirements: !ruby/object:Gem::Requirement
277
- none: false
278
245
  requirements:
279
- - - ~>
246
+ - - "~>"
280
247
  - !ruby/object:Gem::Version
281
248
  version: '0.14'
282
249
  - !ruby/object:Gem::Dependency
283
250
  name: yard
284
251
  requirement: !ruby/object:Gem::Requirement
285
- none: false
286
252
  requirements:
287
- - - ~>
253
+ - - "~>"
288
254
  - !ruby/object:Gem::Version
289
255
  version: 0.8.0
290
256
  type: :development
291
257
  prerelease: false
292
258
  version_requirements: !ruby/object:Gem::Requirement
293
- none: false
294
259
  requirements:
295
- - - ~>
260
+ - - "~>"
296
261
  - !ruby/object:Gem::Version
297
262
  version: 0.8.0
298
263
  - !ruby/object:Gem::Dependency
299
264
  name: capybara
300
265
  requirement: !ruby/object:Gem::Requirement
301
- none: false
302
266
  requirements:
303
- - - ! '>='
267
+ - - ">="
304
268
  - !ruby/object:Gem::Version
305
269
  version: 1.1.2
306
- - - <
270
+ - - "<"
307
271
  - !ruby/object:Gem::Version
308
272
  version: '2.1'
309
273
  type: :development
310
274
  prerelease: false
311
275
  version_requirements: !ruby/object:Gem::Requirement
312
- none: false
313
276
  requirements:
314
- - - ! '>='
277
+ - - ">="
315
278
  - !ruby/object:Gem::Version
316
279
  version: 1.1.2
317
- - - <
280
+ - - "<"
318
281
  - !ruby/object:Gem::Version
319
282
  version: '2.1'
320
283
  - !ruby/object:Gem::Dependency
321
284
  name: rack-test
322
285
  requirement: !ruby/object:Gem::Requirement
323
- none: false
324
286
  requirements:
325
- - - ! '>='
287
+ - - ">="
326
288
  - !ruby/object:Gem::Version
327
289
  version: 0.6.1
328
290
  type: :development
329
291
  prerelease: false
330
292
  version_requirements: !ruby/object:Gem::Requirement
331
- none: false
332
293
  requirements:
333
- - - ! '>='
294
+ - - ">="
334
295
  - !ruby/object:Gem::Version
335
296
  version: 0.6.1
336
297
  - !ruby/object:Gem::Dependency
337
298
  name: ramaze
338
299
  requirement: !ruby/object:Gem::Requirement
339
- none: false
340
300
  requirements:
341
- - - ! '>='
301
+ - - ">="
342
302
  - !ruby/object:Gem::Version
343
303
  version: '0'
344
304
  type: :development
345
305
  prerelease: false
346
306
  version_requirements: !ruby/object:Gem::Requirement
347
- none: false
348
307
  requirements:
349
- - - ! '>='
308
+ - - ">="
350
309
  - !ruby/object:Gem::Version
351
310
  version: '0'
352
311
  - !ruby/object:Gem::Dependency
353
312
  name: sinatra
354
313
  requirement: !ruby/object:Gem::Requirement
355
- none: false
356
314
  requirements:
357
- - - ! '>='
315
+ - - ">="
358
316
  - !ruby/object:Gem::Version
359
317
  version: 1.3.2
360
318
  type: :development
361
319
  prerelease: false
362
320
  version_requirements: !ruby/object:Gem::Requirement
363
- none: false
364
321
  requirements:
365
- - - ! '>='
322
+ - - ">="
366
323
  - !ruby/object:Gem::Version
367
324
  version: 1.3.2
368
325
  - !ruby/object:Gem::Dependency
369
326
  name: webrat
370
327
  requirement: !ruby/object:Gem::Requirement
371
- none: false
372
328
  requirements:
373
- - - ! '>='
329
+ - - ">="
374
330
  - !ruby/object:Gem::Version
375
331
  version: 0.7.3
376
332
  type: :development
377
333
  prerelease: false
378
334
  version_requirements: !ruby/object:Gem::Requirement
379
- none: false
380
335
  requirements:
381
- - - ! '>='
336
+ - - ">="
382
337
  - !ruby/object:Gem::Version
383
338
  version: 0.7.3
384
339
  - !ruby/object:Gem::Dependency
385
340
  name: mime-types
386
341
  requirement: !ruby/object:Gem::Requirement
387
- none: false
388
342
  requirements:
389
- - - <
343
+ - - "<"
390
344
  - !ruby/object:Gem::Version
391
345
  version: '2.0'
392
346
  type: :development
393
347
  prerelease: false
394
348
  version_requirements: !ruby/object:Gem::Requirement
395
- none: false
396
349
  requirements:
397
- - - <
350
+ - - "<"
398
351
  - !ruby/object:Gem::Version
399
352
  version: '2.0'
400
353
  - !ruby/object:Gem::Dependency
401
354
  name: rubyzip
402
355
  requirement: !ruby/object:Gem::Requirement
403
- none: false
404
356
  requirements:
405
- - - <
357
+ - - "<"
406
358
  - !ruby/object:Gem::Version
407
359
  version: '1.0'
408
360
  type: :development
409
361
  prerelease: false
410
362
  version_requirements: !ruby/object:Gem::Requirement
411
- none: false
412
363
  requirements:
413
- - - <
364
+ - - "<"
414
365
  - !ruby/object:Gem::Version
415
366
  version: '1.0'
416
367
  description: Behaviour Driven Development with elegance and joy
@@ -420,12 +371,12 @@ executables:
420
371
  extensions: []
421
372
  extra_rdoc_files: []
422
373
  files:
423
- - .gitattributes
424
- - .rspec
425
- - .ruby-gemset
426
- - .ruby-version
427
- - .travis.yml
428
- - .yardopts
374
+ - ".gitattributes"
375
+ - ".rspec"
376
+ - ".ruby-gemset"
377
+ - ".ruby-version"
378
+ - ".travis.yml"
379
+ - ".yardopts"
429
380
  - CONTRIBUTING.md
430
381
  - Gemfile
431
382
  - History.md
@@ -1011,29 +962,28 @@ files:
1011
962
  - spec/spec_helper.rb
1012
963
  homepage: http://cukes.info
1013
964
  licenses: []
965
+ metadata: {}
1014
966
  post_install_message:
1015
967
  rdoc_options:
1016
- - --charset=UTF-8
968
+ - "--charset=UTF-8"
1017
969
  require_paths:
1018
970
  - lib
1019
971
  required_ruby_version: !ruby/object:Gem::Requirement
1020
- none: false
1021
972
  requirements:
1022
- - - ! '>='
973
+ - - ">="
1023
974
  - !ruby/object:Gem::Version
1024
975
  version: '0'
1025
976
  required_rubygems_version: !ruby/object:Gem::Requirement
1026
- none: false
1027
977
  requirements:
1028
- - - ! '>='
978
+ - - ">="
1029
979
  - !ruby/object:Gem::Version
1030
980
  version: '0'
1031
981
  requirements: []
1032
982
  rubyforge_project:
1033
- rubygems_version: 1.8.23
983
+ rubygems_version: 2.2.2
1034
984
  signing_key:
1035
- specification_version: 3
1036
- summary: cucumber-1.3.18
985
+ specification_version: 4
986
+ summary: cucumber-1.3.19
1037
987
  test_files:
1038
988
  - features/assertions.feature
1039
989
  - features/autoformat_profile_output.feature