cucumber-rails 2.4.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -665
- data/CONTRIBUTING.md +6 -29
- data/LICENSE +1 -1
- data/README.md +8 -17
- data/lib/cucumber/rails/action_dispatch.rb +8 -1
- data/lib/cucumber/rails/capybara/javascript_emulation.rb +2 -2
- data/lib/cucumber/rails/capybara/select_dates_and_times.rb +41 -12
- data/lib/cucumber/rails/database/null_strategy.rb +15 -0
- data/lib/cucumber/rails/database.rb +8 -1
- data/lib/cucumber/rails/hooks/mail.rb +1 -1
- data/lib/cucumber/rails/world.rb +3 -3
- data/lib/cucumber/rails.rb +14 -8
- data/lib/generators/cucumber/install_generator.rb +6 -13
- data/lib/generators/cucumber/templates/config/cucumber.yml.erb +0 -1
- data/lib/generators/cucumber/templates/support/{_rails_each_run.rb.erb → env.rb.erb} +4 -0
- metadata +76 -116
- data/lib/generators/cucumber/templates/support/_rails_prefork.rb.erb +0 -1
- data/lib/generators/cucumber/templates/support/capybara.rb +0 -6
- data/lib/generators/cucumber/templates/support/rails.rb.erb +0 -4
- /data/lib/generators/cucumber/templates/{script → bin}/cucumber +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capybara
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '3.11'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: '4'
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
requirements:
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '3.11'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '4'
|
@@ -38,284 +38,246 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '5'
|
42
42
|
- - "<"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '10'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '5'
|
52
52
|
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mime-types
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.3'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.3'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: nokogiri
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.10'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.10'
|
54
|
+
version: '10'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
56
|
name: railties
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
86
58
|
requirements:
|
87
59
|
- - ">="
|
88
60
|
- !ruby/object:Gem::Version
|
89
|
-
version: '5.
|
61
|
+
version: '5.2'
|
90
62
|
- - "<"
|
91
63
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
64
|
+
version: '8'
|
93
65
|
type: :runtime
|
94
66
|
prerelease: false
|
95
67
|
version_requirements: !ruby/object:Gem::Requirement
|
96
68
|
requirements:
|
97
69
|
- - ">="
|
98
70
|
- !ruby/object:Gem::Version
|
99
|
-
version: '5.
|
71
|
+
version: '5.2'
|
100
72
|
- - "<"
|
101
73
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rexml
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '3.0'
|
110
|
-
type: :runtime
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '3.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: webrick
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '1.7'
|
124
|
-
type: :runtime
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '1.7'
|
74
|
+
version: '8'
|
131
75
|
- !ruby/object:Gem::Dependency
|
132
76
|
name: ammeter
|
133
77
|
requirement: !ruby/object:Gem::Requirement
|
134
78
|
requirements:
|
135
79
|
- - ">="
|
136
80
|
- !ruby/object:Gem::Version
|
137
|
-
version: 1.1.
|
81
|
+
version: 1.1.5
|
138
82
|
type: :development
|
139
83
|
prerelease: false
|
140
84
|
version_requirements: !ruby/object:Gem::Requirement
|
141
85
|
requirements:
|
142
86
|
- - ">="
|
143
87
|
- !ruby/object:Gem::Version
|
144
|
-
version: 1.1.
|
88
|
+
version: 1.1.5
|
145
89
|
- !ruby/object:Gem::Dependency
|
146
90
|
name: appraisal
|
147
91
|
requirement: !ruby/object:Gem::Requirement
|
148
92
|
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 2.4.1
|
149
96
|
- - "<"
|
150
97
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
98
|
+
version: '3'
|
152
99
|
type: :development
|
153
100
|
prerelease: false
|
154
101
|
version_requirements: !ruby/object:Gem::Requirement
|
155
102
|
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 2.4.1
|
156
106
|
- - "<"
|
157
107
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
108
|
+
version: '3'
|
159
109
|
- !ruby/object:Gem::Dependency
|
160
110
|
name: aruba
|
161
111
|
requirement: !ruby/object:Gem::Requirement
|
162
112
|
requirements:
|
163
|
-
- - "
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 1.1.2
|
116
|
+
- - "<"
|
164
117
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
118
|
+
version: '3'
|
166
119
|
type: :development
|
167
120
|
prerelease: false
|
168
121
|
version_requirements: !ruby/object:Gem::Requirement
|
169
122
|
requirements:
|
170
|
-
- - "
|
123
|
+
- - ">="
|
171
124
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
125
|
+
version: 1.1.2
|
126
|
+
- - "<"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '3'
|
173
129
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
130
|
+
name: database_cleaner
|
175
131
|
requirement: !ruby/object:Gem::Requirement
|
176
132
|
requirements:
|
177
133
|
- - ">="
|
178
134
|
- !ruby/object:Gem::Version
|
179
|
-
version: '1.
|
135
|
+
version: '1.8'
|
136
|
+
- - "<"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
180
139
|
type: :development
|
181
140
|
prerelease: false
|
182
141
|
version_requirements: !ruby/object:Gem::Requirement
|
183
142
|
requirements:
|
184
143
|
- - ">="
|
185
144
|
- !ruby/object:Gem::Version
|
186
|
-
version: '1.
|
145
|
+
version: '1.8'
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '3.0'
|
187
149
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
150
|
+
name: rails
|
189
151
|
requirement: !ruby/object:Gem::Requirement
|
190
152
|
requirements:
|
191
153
|
- - ">="
|
192
154
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
155
|
+
version: '5.2'
|
194
156
|
- - "<"
|
195
157
|
- !ruby/object:Gem::Version
|
196
|
-
version: '
|
158
|
+
version: '8'
|
197
159
|
type: :development
|
198
160
|
prerelease: false
|
199
161
|
version_requirements: !ruby/object:Gem::Requirement
|
200
162
|
requirements:
|
201
163
|
- - ">="
|
202
164
|
- !ruby/object:Gem::Version
|
203
|
-
version: '
|
165
|
+
version: '5.2'
|
204
166
|
- - "<"
|
205
167
|
- !ruby/object:Gem::Version
|
206
|
-
version: '
|
168
|
+
version: '8'
|
207
169
|
- !ruby/object:Gem::Dependency
|
208
170
|
name: rake
|
209
171
|
requirement: !ruby/object:Gem::Requirement
|
210
172
|
requirements:
|
211
173
|
- - ">="
|
212
174
|
- !ruby/object:Gem::Version
|
213
|
-
version: '
|
175
|
+
version: '13.0'
|
214
176
|
type: :development
|
215
177
|
prerelease: false
|
216
178
|
version_requirements: !ruby/object:Gem::Requirement
|
217
179
|
requirements:
|
218
180
|
- - ">="
|
219
181
|
- !ruby/object:Gem::Version
|
220
|
-
version: '
|
182
|
+
version: '13.0'
|
221
183
|
- !ruby/object:Gem::Dependency
|
222
184
|
name: rspec
|
223
185
|
requirement: !ruby/object:Gem::Requirement
|
224
186
|
requirements:
|
225
187
|
- - "~>"
|
226
188
|
- !ruby/object:Gem::Version
|
227
|
-
version: '3.
|
189
|
+
version: '3.12'
|
228
190
|
type: :development
|
229
191
|
prerelease: false
|
230
192
|
version_requirements: !ruby/object:Gem::Requirement
|
231
193
|
requirements:
|
232
194
|
- - "~>"
|
233
195
|
- !ruby/object:Gem::Version
|
234
|
-
version: '3.
|
196
|
+
version: '3.12'
|
235
197
|
- !ruby/object:Gem::Dependency
|
236
198
|
name: rubocop
|
237
199
|
requirement: !ruby/object:Gem::Requirement
|
238
200
|
requirements:
|
239
201
|
- - "~>"
|
240
202
|
- !ruby/object:Gem::Version
|
241
|
-
version: 1.
|
203
|
+
version: 1.45.0
|
242
204
|
type: :development
|
243
205
|
prerelease: false
|
244
206
|
version_requirements: !ruby/object:Gem::Requirement
|
245
207
|
requirements:
|
246
208
|
- - "~>"
|
247
209
|
- !ruby/object:Gem::Version
|
248
|
-
version: 1.
|
210
|
+
version: 1.45.0
|
249
211
|
- !ruby/object:Gem::Dependency
|
250
212
|
name: rubocop-packaging
|
251
213
|
requirement: !ruby/object:Gem::Requirement
|
252
214
|
requirements:
|
253
215
|
- - "~>"
|
254
216
|
- !ruby/object:Gem::Version
|
255
|
-
version: 0.5.
|
217
|
+
version: 0.5.2
|
256
218
|
type: :development
|
257
219
|
prerelease: false
|
258
220
|
version_requirements: !ruby/object:Gem::Requirement
|
259
221
|
requirements:
|
260
222
|
- - "~>"
|
261
223
|
- !ruby/object:Gem::Version
|
262
|
-
version: 0.5.
|
224
|
+
version: 0.5.2
|
263
225
|
- !ruby/object:Gem::Dependency
|
264
226
|
name: rubocop-performance
|
265
227
|
requirement: !ruby/object:Gem::Requirement
|
266
228
|
requirements:
|
267
229
|
- - "~>"
|
268
230
|
- !ruby/object:Gem::Version
|
269
|
-
version: 1.
|
231
|
+
version: 1.17.1
|
270
232
|
type: :development
|
271
233
|
prerelease: false
|
272
234
|
version_requirements: !ruby/object:Gem::Requirement
|
273
235
|
requirements:
|
274
236
|
- - "~>"
|
275
237
|
- !ruby/object:Gem::Version
|
276
|
-
version: 1.
|
238
|
+
version: 1.17.1
|
277
239
|
- !ruby/object:Gem::Dependency
|
278
|
-
name: rubocop-
|
240
|
+
name: rubocop-rails
|
279
241
|
requirement: !ruby/object:Gem::Requirement
|
280
242
|
requirements:
|
281
243
|
- - "~>"
|
282
244
|
- !ruby/object:Gem::Version
|
283
|
-
version: 2.
|
245
|
+
version: 2.18.0
|
284
246
|
type: :development
|
285
247
|
prerelease: false
|
286
248
|
version_requirements: !ruby/object:Gem::Requirement
|
287
249
|
requirements:
|
288
250
|
- - "~>"
|
289
251
|
- !ruby/object:Gem::Version
|
290
|
-
version: 2.
|
252
|
+
version: 2.18.0
|
291
253
|
- !ruby/object:Gem::Dependency
|
292
|
-
name:
|
254
|
+
name: rubocop-rake
|
293
255
|
requirement: !ruby/object:Gem::Requirement
|
294
256
|
requirements:
|
295
257
|
- - "~>"
|
296
258
|
- !ruby/object:Gem::Version
|
297
|
-
version:
|
259
|
+
version: 0.6.0
|
298
260
|
type: :development
|
299
261
|
prerelease: false
|
300
262
|
version_requirements: !ruby/object:Gem::Requirement
|
301
263
|
requirements:
|
302
264
|
- - "~>"
|
303
265
|
- !ruby/object:Gem::Version
|
304
|
-
version:
|
266
|
+
version: 0.6.0
|
305
267
|
- !ruby/object:Gem::Dependency
|
306
|
-
name:
|
268
|
+
name: rubocop-rspec
|
307
269
|
requirement: !ruby/object:Gem::Requirement
|
308
270
|
requirements:
|
309
|
-
- - "
|
271
|
+
- - "~>"
|
310
272
|
- !ruby/object:Gem::Version
|
311
|
-
version:
|
273
|
+
version: 2.17.0
|
312
274
|
type: :development
|
313
275
|
prerelease: false
|
314
276
|
version_requirements: !ruby/object:Gem::Requirement
|
315
277
|
requirements:
|
316
|
-
- - "
|
278
|
+
- - "~>"
|
317
279
|
- !ruby/object:Gem::Version
|
318
|
-
version:
|
280
|
+
version: 2.17.0
|
319
281
|
- !ruby/object:Gem::Dependency
|
320
282
|
name: yard
|
321
283
|
requirement: !ruby/object:Gem::Requirement
|
@@ -348,6 +310,7 @@ files:
|
|
348
310
|
- lib/cucumber/rails/capybara/select_dates_and_times.rb
|
349
311
|
- lib/cucumber/rails/database.rb
|
350
312
|
- lib/cucumber/rails/database/deletion_strategy.rb
|
313
|
+
- lib/cucumber/rails/database/null_strategy.rb
|
351
314
|
- lib/cucumber/rails/database/shared_connection_strategy.rb
|
352
315
|
- lib/cucumber/rails/database/strategy.rb
|
353
316
|
- lib/cucumber/rails/database/truncation_strategy.rb
|
@@ -360,23 +323,20 @@ files:
|
|
360
323
|
- lib/cucumber/rails/world.rb
|
361
324
|
- lib/generators/cucumber/USAGE
|
362
325
|
- lib/generators/cucumber/install_generator.rb
|
326
|
+
- lib/generators/cucumber/templates/bin/cucumber
|
363
327
|
- lib/generators/cucumber/templates/config/cucumber.yml.erb
|
364
|
-
- lib/generators/cucumber/templates/script/cucumber
|
365
|
-
- lib/generators/cucumber/templates/support/_rails_each_run.rb.erb
|
366
|
-
- lib/generators/cucumber/templates/support/_rails_prefork.rb.erb
|
367
|
-
- lib/generators/cucumber/templates/support/capybara.rb
|
368
328
|
- lib/generators/cucumber/templates/support/edit_warning.txt
|
369
|
-
- lib/generators/cucumber/templates/support/
|
329
|
+
- lib/generators/cucumber/templates/support/env.rb.erb
|
370
330
|
- lib/generators/cucumber/templates/tasks/cucumber.rake.erb
|
371
331
|
homepage: https://cucumber.io
|
372
332
|
licenses:
|
373
333
|
- MIT
|
374
334
|
metadata:
|
375
335
|
bug_tracker_uri: https://github.com/cucumber/cucumber-rails/issues
|
376
|
-
changelog_uri: https://github.com/cucumber/cucumber-rails/blob/
|
336
|
+
changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v3.0.0/CHANGELOG.md
|
377
337
|
documentation_uri: https://cucumber.io/docs
|
378
338
|
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
379
|
-
source_code_uri: https://github.com/cucumber/cucumber-rails/tree/
|
339
|
+
source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v3.0.0
|
380
340
|
post_install_message:
|
381
341
|
rdoc_options: []
|
382
342
|
require_paths:
|
@@ -385,15 +345,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
385
345
|
requirements:
|
386
346
|
- - ">="
|
387
347
|
- !ruby/object:Gem::Version
|
388
|
-
version: 2.
|
348
|
+
version: 2.6.0
|
389
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
390
350
|
requirements:
|
391
351
|
- - ">="
|
392
352
|
- !ruby/object:Gem::Version
|
393
|
-
version:
|
353
|
+
version: 3.2.3
|
394
354
|
requirements: []
|
395
|
-
rubygems_version: 3.
|
355
|
+
rubygems_version: 3.3.5
|
396
356
|
signing_key:
|
397
357
|
specification_version: 4
|
398
|
-
summary: cucumber-rails-
|
358
|
+
summary: cucumber-rails-3.0.0
|
399
359
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'cucumber/rails'
|
File without changes
|