cucumber-rails 1.8.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +165 -16
- data/CONTRIBUTING.md +14 -2
- data/LICENSE +1 -1
- data/README.md +28 -28
- data/lib/cucumber/rails/action_dispatch.rb +21 -0
- data/lib/cucumber/rails/application.rb +11 -8
- data/lib/cucumber/rails/capybara/javascript_emulation.rb +27 -16
- data/lib/cucumber/rails/capybara/select_dates_and_times.rb +28 -13
- data/lib/cucumber/rails/database/deletion_strategy.rb +13 -0
- data/lib/cucumber/rails/database/null_strategy.rb +15 -0
- data/lib/cucumber/rails/database/shared_connection_strategy.rb +27 -0
- data/lib/cucumber/rails/database/strategy.rb +35 -0
- data/lib/cucumber/rails/database/truncation_strategy.rb +13 -0
- data/lib/cucumber/rails/database.rb +9 -58
- data/lib/cucumber/rails/hooks/database_cleaner.rb +9 -3
- data/lib/cucumber/rails/hooks/mail.rb +1 -1
- data/lib/cucumber/rails/world.rb +14 -3
- data/lib/cucumber/rails.rb +12 -13
- data/lib/generators/cucumber/install_generator.rb +13 -16
- data/lib/generators/cucumber/templates/config/cucumber.yml.erb +3 -3
- data/lib/generators/cucumber/templates/tasks/cucumber.rake.erb +5 -0
- metadata +94 -118
- data/.github/ISSUE_TEMPLATE.md +0 -52
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -42
- data/.gitignore +0 -14
- data/.rspec +0 -1
- data/.rubocop.yml +0 -36
- data/.rubocop_todo.yml +0 -59
- data/.travis.yml +0 -60
- data/Appraisals +0 -35
- data/Gemfile +0 -5
- data/Rakefile +0 -53
- data/bin/install_geckodriver.sh +0 -19
- data/bin/install_webpacker.sh +0 -9
- data/config/.gitignore +0 -1
- data/config/cucumber.yml +0 -17
- data/cucumber-rails.gemspec +0 -44
- data/dev_tasks/cucumber.rake +0 -5
- data/dev_tasks/rspec.rake +0 -5
- data/dev_tasks/yard/default/layout/html/bubble_32x32.png +0 -0
- data/dev_tasks/yard/default/layout/html/footer.erb +0 -5
- data/dev_tasks/yard/default/layout/html/index.erb +0 -1
- data/dev_tasks/yard/default/layout/html/layout.erb +0 -25
- data/dev_tasks/yard/default/layout/html/logo.erb +0 -1
- data/dev_tasks/yard/default/layout/html/setup.rb +0 -9
- data/dev_tasks/yard.rake +0 -36
- data/features/allow_rescue.feature +0 -65
- data/features/annotations.feature +0 -22
- data/features/capybara_javascript_drivers.feature +0 -62
- data/features/choose_javascript_database_strategy.feature +0 -125
- data/features/database_cleaner.feature +0 -44
- data/features/disable_automatic_database_cleaning.feature +0 -49
- data/features/emulate_javascript.feature +0 -94
- data/features/install_cucumber_rails.feature +0 -14
- data/features/no_database.feature +0 -60
- data/features/raising_errors.feature +0 -16
- data/features/rerun_profile.feature +0 -46
- data/features/rest_api.feature +0 -47
- data/features/step_definitions/cucumber_rails_steps.rb +0 -72
- data/features/support/aruba.rb +0 -5
- data/features/support/cucumber_rails_helper.rb +0 -80
- data/features/support/env.rb +0 -14
- data/features/support/legacy_web_steps_support.rb +0 -289
- data/gemfiles/rails_4_2.gemfile +0 -10
- data/gemfiles/rails_5_0.gemfile +0 -10
- data/gemfiles/rails_5_1.gemfile +0 -10
- data/gemfiles/rails_5_2.gemfile +0 -10
- data/gemfiles/rails_6_0.gemfile +0 -9
- data/lib/cucumber/rails/action_controller.rb +0 -17
- data/lib/generators/cucumber/templates/support/rails_spork.rb.erb +0 -13
- data/spec/cucumber/rails/database_spec.rb +0 -61
- data/spec/generators/cucumber/install_generator_spec.rb +0 -57
- data/spec/spec_helper.rb +0 -16
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: 2.5.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: 2022-03-07 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: '2.
|
|
21
|
+
version: '2.18'
|
|
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: '2.
|
|
31
|
+
version: '2.18'
|
|
32
32
|
- - "<"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
34
|
version: '4'
|
|
@@ -38,74 +38,96 @@ dependencies:
|
|
|
38
38
|
requirements:
|
|
39
39
|
- - ">="
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 3.
|
|
41
|
+
version: '3.2'
|
|
42
42
|
- - "<"
|
|
43
43
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: '
|
|
44
|
+
version: '8'
|
|
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: 3.
|
|
51
|
+
version: '3.2'
|
|
52
52
|
- - "<"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '8'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: mime-types
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '2.0'
|
|
62
|
-
- - "<"
|
|
59
|
+
- - "~>"
|
|
63
60
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: '
|
|
61
|
+
version: '3.3'
|
|
65
62
|
type: :runtime
|
|
66
63
|
prerelease: false
|
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
65
|
requirements:
|
|
69
|
-
- - "
|
|
70
|
-
- !ruby/object:Gem::Version
|
|
71
|
-
version: '2.0'
|
|
72
|
-
- - "<"
|
|
66
|
+
- - "~>"
|
|
73
67
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
68
|
+
version: '3.3'
|
|
75
69
|
- !ruby/object:Gem::Dependency
|
|
76
70
|
name: nokogiri
|
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
|
78
72
|
requirements:
|
|
79
73
|
- - "~>"
|
|
80
74
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '1.
|
|
75
|
+
version: '1.10'
|
|
82
76
|
type: :runtime
|
|
83
77
|
prerelease: false
|
|
84
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
79
|
requirements:
|
|
86
80
|
- - "~>"
|
|
87
81
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '1.
|
|
82
|
+
version: '1.10'
|
|
89
83
|
- !ruby/object:Gem::Dependency
|
|
90
84
|
name: railties
|
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
|
92
86
|
requirements:
|
|
93
87
|
- - ">="
|
|
94
88
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
89
|
+
version: '5.0'
|
|
96
90
|
- - "<"
|
|
97
91
|
- !ruby/object:Gem::Version
|
|
98
|
-
version: '
|
|
92
|
+
version: '8'
|
|
99
93
|
type: :runtime
|
|
100
94
|
prerelease: false
|
|
101
95
|
version_requirements: !ruby/object:Gem::Requirement
|
|
102
96
|
requirements:
|
|
103
97
|
- - ">="
|
|
104
98
|
- !ruby/object:Gem::Version
|
|
105
|
-
version: '
|
|
99
|
+
version: '5.0'
|
|
106
100
|
- - "<"
|
|
107
101
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: '
|
|
102
|
+
version: '8'
|
|
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'
|
|
109
131
|
- !ruby/object:Gem::Dependency
|
|
110
132
|
name: ammeter
|
|
111
133
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -124,30 +146,30 @@ dependencies:
|
|
|
124
146
|
name: appraisal
|
|
125
147
|
requirement: !ruby/object:Gem::Requirement
|
|
126
148
|
requirements:
|
|
127
|
-
- - "
|
|
149
|
+
- - "<"
|
|
128
150
|
- !ruby/object:Gem::Version
|
|
129
|
-
version: '2.
|
|
151
|
+
version: '2.4'
|
|
130
152
|
type: :development
|
|
131
153
|
prerelease: false
|
|
132
154
|
version_requirements: !ruby/object:Gem::Requirement
|
|
133
155
|
requirements:
|
|
134
|
-
- - "
|
|
156
|
+
- - "<"
|
|
135
157
|
- !ruby/object:Gem::Version
|
|
136
|
-
version: '2.
|
|
158
|
+
version: '2.4'
|
|
137
159
|
- !ruby/object:Gem::Dependency
|
|
138
160
|
name: aruba
|
|
139
161
|
requirement: !ruby/object:Gem::Requirement
|
|
140
162
|
requirements:
|
|
141
163
|
- - "~>"
|
|
142
164
|
- !ruby/object:Gem::Version
|
|
143
|
-
version: 0
|
|
165
|
+
version: '1.0'
|
|
144
166
|
type: :development
|
|
145
167
|
prerelease: false
|
|
146
168
|
version_requirements: !ruby/object:Gem::Requirement
|
|
147
169
|
requirements:
|
|
148
170
|
- - "~>"
|
|
149
171
|
- !ruby/object:Gem::Version
|
|
150
|
-
version: 0
|
|
172
|
+
version: '1.0'
|
|
151
173
|
- !ruby/object:Gem::Dependency
|
|
152
174
|
name: bundler
|
|
153
175
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -163,25 +185,25 @@ dependencies:
|
|
|
163
185
|
- !ruby/object:Gem::Version
|
|
164
186
|
version: '1.17'
|
|
165
187
|
- !ruby/object:Gem::Dependency
|
|
166
|
-
name:
|
|
188
|
+
name: database_cleaner
|
|
167
189
|
requirement: !ruby/object:Gem::Requirement
|
|
168
190
|
requirements:
|
|
169
191
|
- - ">="
|
|
170
192
|
- !ruby/object:Gem::Version
|
|
171
|
-
version: '
|
|
193
|
+
version: '1.8'
|
|
172
194
|
- - "<"
|
|
173
195
|
- !ruby/object:Gem::Version
|
|
174
|
-
version: '
|
|
196
|
+
version: '3.0'
|
|
175
197
|
type: :development
|
|
176
198
|
prerelease: false
|
|
177
199
|
version_requirements: !ruby/object:Gem::Requirement
|
|
178
200
|
requirements:
|
|
179
201
|
- - ">="
|
|
180
202
|
- !ruby/object:Gem::Version
|
|
181
|
-
version: '
|
|
203
|
+
version: '1.8'
|
|
182
204
|
- - "<"
|
|
183
205
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: '
|
|
206
|
+
version: '3.0'
|
|
185
207
|
- !ruby/object:Gem::Dependency
|
|
186
208
|
name: rake
|
|
187
209
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -216,42 +238,56 @@ dependencies:
|
|
|
216
238
|
requirements:
|
|
217
239
|
- - "~>"
|
|
218
240
|
- !ruby/object:Gem::Version
|
|
219
|
-
version:
|
|
241
|
+
version: 1.24.0
|
|
242
|
+
type: :development
|
|
243
|
+
prerelease: false
|
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
245
|
+
requirements:
|
|
246
|
+
- - "~>"
|
|
247
|
+
- !ruby/object:Gem::Version
|
|
248
|
+
version: 1.24.0
|
|
249
|
+
- !ruby/object:Gem::Dependency
|
|
250
|
+
name: rubocop-packaging
|
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
|
252
|
+
requirements:
|
|
253
|
+
- - "~>"
|
|
254
|
+
- !ruby/object:Gem::Version
|
|
255
|
+
version: 0.5.1
|
|
220
256
|
type: :development
|
|
221
257
|
prerelease: false
|
|
222
258
|
version_requirements: !ruby/object:Gem::Requirement
|
|
223
259
|
requirements:
|
|
224
260
|
- - "~>"
|
|
225
261
|
- !ruby/object:Gem::Version
|
|
226
|
-
version: 0.
|
|
262
|
+
version: 0.5.1
|
|
227
263
|
- !ruby/object:Gem::Dependency
|
|
228
264
|
name: rubocop-performance
|
|
229
265
|
requirement: !ruby/object:Gem::Requirement
|
|
230
266
|
requirements:
|
|
231
267
|
- - "~>"
|
|
232
268
|
- !ruby/object:Gem::Version
|
|
233
|
-
version: 1.
|
|
269
|
+
version: 1.10.2
|
|
234
270
|
type: :development
|
|
235
271
|
prerelease: false
|
|
236
272
|
version_requirements: !ruby/object:Gem::Requirement
|
|
237
273
|
requirements:
|
|
238
274
|
- - "~>"
|
|
239
275
|
- !ruby/object:Gem::Version
|
|
240
|
-
version: 1.
|
|
276
|
+
version: 1.10.2
|
|
241
277
|
- !ruby/object:Gem::Dependency
|
|
242
278
|
name: rubocop-rspec
|
|
243
279
|
requirement: !ruby/object:Gem::Requirement
|
|
244
280
|
requirements:
|
|
245
281
|
- - "~>"
|
|
246
282
|
- !ruby/object:Gem::Version
|
|
247
|
-
version:
|
|
283
|
+
version: 2.2.0
|
|
248
284
|
type: :development
|
|
249
285
|
prerelease: false
|
|
250
286
|
version_requirements: !ruby/object:Gem::Requirement
|
|
251
287
|
requirements:
|
|
252
288
|
- - "~>"
|
|
253
289
|
- !ruby/object:Gem::Version
|
|
254
|
-
version:
|
|
290
|
+
version: 2.2.0
|
|
255
291
|
- !ruby/object:Gem::Dependency
|
|
256
292
|
name: sqlite3
|
|
257
293
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -300,63 +336,22 @@ executables: []
|
|
|
300
336
|
extensions: []
|
|
301
337
|
extra_rdoc_files: []
|
|
302
338
|
files:
|
|
303
|
-
- ".github/ISSUE_TEMPLATE.md"
|
|
304
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
305
|
-
- ".gitignore"
|
|
306
|
-
- ".rspec"
|
|
307
|
-
- ".rubocop.yml"
|
|
308
|
-
- ".rubocop_todo.yml"
|
|
309
|
-
- ".travis.yml"
|
|
310
|
-
- Appraisals
|
|
311
339
|
- CHANGELOG.md
|
|
312
340
|
- CONTRIBUTING.md
|
|
313
|
-
- Gemfile
|
|
314
341
|
- LICENSE
|
|
315
342
|
- README.md
|
|
316
|
-
- Rakefile
|
|
317
|
-
- bin/install_geckodriver.sh
|
|
318
|
-
- bin/install_webpacker.sh
|
|
319
|
-
- config/.gitignore
|
|
320
|
-
- config/cucumber.yml
|
|
321
|
-
- cucumber-rails.gemspec
|
|
322
|
-
- dev_tasks/cucumber.rake
|
|
323
|
-
- dev_tasks/rspec.rake
|
|
324
|
-
- dev_tasks/yard.rake
|
|
325
|
-
- dev_tasks/yard/default/layout/html/bubble_32x32.png
|
|
326
|
-
- dev_tasks/yard/default/layout/html/footer.erb
|
|
327
|
-
- dev_tasks/yard/default/layout/html/index.erb
|
|
328
|
-
- dev_tasks/yard/default/layout/html/layout.erb
|
|
329
|
-
- dev_tasks/yard/default/layout/html/logo.erb
|
|
330
|
-
- dev_tasks/yard/default/layout/html/setup.rb
|
|
331
|
-
- features/allow_rescue.feature
|
|
332
|
-
- features/annotations.feature
|
|
333
|
-
- features/capybara_javascript_drivers.feature
|
|
334
|
-
- features/choose_javascript_database_strategy.feature
|
|
335
|
-
- features/database_cleaner.feature
|
|
336
|
-
- features/disable_automatic_database_cleaning.feature
|
|
337
|
-
- features/emulate_javascript.feature
|
|
338
|
-
- features/install_cucumber_rails.feature
|
|
339
|
-
- features/no_database.feature
|
|
340
|
-
- features/raising_errors.feature
|
|
341
|
-
- features/rerun_profile.feature
|
|
342
|
-
- features/rest_api.feature
|
|
343
|
-
- features/step_definitions/cucumber_rails_steps.rb
|
|
344
|
-
- features/support/aruba.rb
|
|
345
|
-
- features/support/cucumber_rails_helper.rb
|
|
346
|
-
- features/support/env.rb
|
|
347
|
-
- features/support/legacy_web_steps_support.rb
|
|
348
|
-
- gemfiles/rails_4_2.gemfile
|
|
349
|
-
- gemfiles/rails_5_0.gemfile
|
|
350
|
-
- gemfiles/rails_5_1.gemfile
|
|
351
|
-
- gemfiles/rails_5_2.gemfile
|
|
352
|
-
- gemfiles/rails_6_0.gemfile
|
|
353
343
|
- lib/cucumber/rails.rb
|
|
354
|
-
- lib/cucumber/rails/
|
|
344
|
+
- lib/cucumber/rails/action_dispatch.rb
|
|
355
345
|
- lib/cucumber/rails/application.rb
|
|
356
346
|
- lib/cucumber/rails/capybara.rb
|
|
357
347
|
- lib/cucumber/rails/capybara/javascript_emulation.rb
|
|
358
348
|
- lib/cucumber/rails/capybara/select_dates_and_times.rb
|
|
359
349
|
- lib/cucumber/rails/database.rb
|
|
350
|
+
- lib/cucumber/rails/database/deletion_strategy.rb
|
|
351
|
+
- lib/cucumber/rails/database/null_strategy.rb
|
|
352
|
+
- lib/cucumber/rails/database/shared_connection_strategy.rb
|
|
353
|
+
- lib/cucumber/rails/database/strategy.rb
|
|
354
|
+
- lib/cucumber/rails/database/truncation_strategy.rb
|
|
360
355
|
- lib/cucumber/rails/hooks.rb
|
|
361
356
|
- lib/cucumber/rails/hooks/active_record.rb
|
|
362
357
|
- lib/cucumber/rails/hooks/allow_rescue.rb
|
|
@@ -373,15 +368,16 @@ files:
|
|
|
373
368
|
- lib/generators/cucumber/templates/support/capybara.rb
|
|
374
369
|
- lib/generators/cucumber/templates/support/edit_warning.txt
|
|
375
370
|
- lib/generators/cucumber/templates/support/rails.rb.erb
|
|
376
|
-
- lib/generators/cucumber/templates/support/rails_spork.rb.erb
|
|
377
371
|
- lib/generators/cucumber/templates/tasks/cucumber.rake.erb
|
|
378
|
-
|
|
379
|
-
- spec/generators/cucumber/install_generator_spec.rb
|
|
380
|
-
- spec/spec_helper.rb
|
|
381
|
-
homepage: http://cukes.info
|
|
372
|
+
homepage: https://cucumber.io
|
|
382
373
|
licenses:
|
|
383
374
|
- MIT
|
|
384
|
-
metadata:
|
|
375
|
+
metadata:
|
|
376
|
+
bug_tracker_uri: https://github.com/cucumber/cucumber-rails/issues
|
|
377
|
+
changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v2.5.0/CHANGELOG.md
|
|
378
|
+
documentation_uri: https://cucumber.io/docs
|
|
379
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
|
380
|
+
source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v2.5.0
|
|
385
381
|
post_install_message:
|
|
386
382
|
rdoc_options: []
|
|
387
383
|
require_paths:
|
|
@@ -390,35 +386,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
390
386
|
requirements:
|
|
391
387
|
- - ">="
|
|
392
388
|
- !ruby/object:Gem::Version
|
|
393
|
-
version: 2.
|
|
389
|
+
version: 2.5.0
|
|
394
390
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
391
|
requirements:
|
|
396
392
|
- - ">="
|
|
397
393
|
- !ruby/object:Gem::Version
|
|
398
394
|
version: '0'
|
|
399
395
|
requirements: []
|
|
400
|
-
rubygems_version: 3.
|
|
396
|
+
rubygems_version: 3.1.2
|
|
401
397
|
signing_key:
|
|
402
398
|
specification_version: 4
|
|
403
|
-
summary: cucumber-rails-
|
|
404
|
-
test_files:
|
|
405
|
-
- features/allow_rescue.feature
|
|
406
|
-
- features/annotations.feature
|
|
407
|
-
- features/capybara_javascript_drivers.feature
|
|
408
|
-
- features/choose_javascript_database_strategy.feature
|
|
409
|
-
- features/database_cleaner.feature
|
|
410
|
-
- features/disable_automatic_database_cleaning.feature
|
|
411
|
-
- features/emulate_javascript.feature
|
|
412
|
-
- features/install_cucumber_rails.feature
|
|
413
|
-
- features/no_database.feature
|
|
414
|
-
- features/raising_errors.feature
|
|
415
|
-
- features/rerun_profile.feature
|
|
416
|
-
- features/rest_api.feature
|
|
417
|
-
- features/step_definitions/cucumber_rails_steps.rb
|
|
418
|
-
- features/support/aruba.rb
|
|
419
|
-
- features/support/cucumber_rails_helper.rb
|
|
420
|
-
- features/support/env.rb
|
|
421
|
-
- features/support/legacy_web_steps_support.rb
|
|
422
|
-
- spec/cucumber/rails/database_spec.rb
|
|
423
|
-
- spec/generators/cucumber/install_generator_spec.rb
|
|
424
|
-
- spec/spec_helper.rb
|
|
399
|
+
summary: cucumber-rails-2.5.0
|
|
400
|
+
test_files: []
|
data/.github/ISSUE_TEMPLATE.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!-- NAMING YOUR ISSUE: Please prefix your issue with the name of the sub-project -->
|
|
2
|
-
<!-- e.g. `event-protocol: Schemas out of date` -->
|
|
3
|
-
<!-- This makes it easier to get some context when reading the names of issues -->
|
|
4
|
-
|
|
5
|
-
<!-- These sections are meant as guidance for you, to help you give the kind of information we'll need to help with your issue. If a section doesn't seem to fit, just skip it.
|
|
6
|
-
|
|
7
|
-
In general: Please provide as much information as you can to help us solving your problem -->
|
|
8
|
-
|
|
9
|
-
## Summary
|
|
10
|
-
|
|
11
|
-
<!--- Provide a general summary description of the issue -->
|
|
12
|
-
|
|
13
|
-
## Expected Behavior
|
|
14
|
-
|
|
15
|
-
<!--- If you're describing a bug, tell us what should happen -->
|
|
16
|
-
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
|
17
|
-
<!--- Feel free to use Given / Then / Then if that helps, but please add some plain-language context too -->
|
|
18
|
-
|
|
19
|
-
## Current Behavior
|
|
20
|
-
|
|
21
|
-
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
|
|
22
|
-
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
|
|
23
|
-
|
|
24
|
-
<!--- If you have got some output place it in the code block below. Otherwise remove it. -->
|
|
25
|
-
~~~
|
|
26
|
-
~~~
|
|
27
|
-
|
|
28
|
-
## Possible Solution
|
|
29
|
-
|
|
30
|
-
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
|
31
|
-
<!--- or ideas how to implement the addition or change -->
|
|
32
|
-
|
|
33
|
-
## Steps to Reproduce (for bugs)
|
|
34
|
-
|
|
35
|
-
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
|
36
|
-
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
|
37
|
-
1.
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
40
|
-
4.
|
|
41
|
-
|
|
42
|
-
## Context & Motivation
|
|
43
|
-
|
|
44
|
-
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
|
45
|
-
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
|
46
|
-
|
|
47
|
-
## Your Environment
|
|
48
|
-
|
|
49
|
-
<!--- If you're reporting a bug, include as many relevant details about the environment you experienced the bug in -->
|
|
50
|
-
* Version used:
|
|
51
|
-
* Operating System and version:
|
|
52
|
-
* Link to your project:
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<!-- NAMING YOUR PULL REQUEST: Please choose a concise, descriptive name for your pull request. -->
|
|
2
|
-
<!-- This makes it easier to get some context when reading the names of issues -->
|
|
3
|
-
|
|
4
|
-
<!-- These sections are meant as guidance for you. If something doesn't fit, you can just skip it. -->
|
|
5
|
-
|
|
6
|
-
## Summary
|
|
7
|
-
|
|
8
|
-
<!--- Provide a general summary description of your changes -->
|
|
9
|
-
|
|
10
|
-
## Details
|
|
11
|
-
|
|
12
|
-
<!--- Describe your changes in detail -->
|
|
13
|
-
|
|
14
|
-
## Motivation and Context
|
|
15
|
-
|
|
16
|
-
<!--- Why is this change required? What problem does it solve? -->
|
|
17
|
-
<!--- If it fixes an open issue, please link to the issue here. -->
|
|
18
|
-
|
|
19
|
-
## How Has This Been Tested?
|
|
20
|
-
|
|
21
|
-
<!--- Please add tests for changes to the code, otherwise we probably won't merge it -->
|
|
22
|
-
|
|
23
|
-
<!--- Please describe in detail how you tested your changes. -->
|
|
24
|
-
<!--- Include details of your testing environment, tests ran to see how -->
|
|
25
|
-
<!--- your change affects other areas of the code, etc. -->
|
|
26
|
-
|
|
27
|
-
## Screenshots (if appropriate):
|
|
28
|
-
|
|
29
|
-
## Types of changes
|
|
30
|
-
|
|
31
|
-
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
|
32
|
-
- [ ] Bug fix (non-breaking change which fixes an issue).
|
|
33
|
-
- [ ] New feature (non-breaking change which adds functionality).
|
|
34
|
-
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
|
|
35
|
-
|
|
36
|
-
## Checklist:
|
|
37
|
-
|
|
38
|
-
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
|
39
|
-
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
|
40
|
-
- [ ] I've added tests for my code.
|
|
41
|
-
- [ ] My change requires a change to the documentation.
|
|
42
|
-
- [ ] I have updated the documentation accordingly.
|
data/.gitignore
DELETED
data/.rspec
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
--format progress --colour
|
data/.rubocop.yml
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
|
2
|
-
|
|
3
|
-
require:
|
|
4
|
-
- rubocop-rspec
|
|
5
|
-
- rubocop-performance
|
|
6
|
-
|
|
7
|
-
AllCops:
|
|
8
|
-
TargetRubyVersion: 2.3
|
|
9
|
-
Exclude:
|
|
10
|
-
# This file is something which we aren't advising people to use
|
|
11
|
-
# Probably need to consider deleting this fully at some point
|
|
12
|
-
- 'features/support/legacy_web_steps_support.rb'
|
|
13
|
-
# These are auto-generated from a load of features that we
|
|
14
|
-
# don't have direct control over
|
|
15
|
-
- 'tmp/**/*'
|
|
16
|
-
# Generated by appraisal
|
|
17
|
-
- 'gemfiles/*.gemfile'
|
|
18
|
-
|
|
19
|
-
Style/Documentation:
|
|
20
|
-
Enabled: false
|
|
21
|
-
|
|
22
|
-
Metrics/LineLength:
|
|
23
|
-
Max: 200
|
|
24
|
-
IgnoredPatterns:
|
|
25
|
-
- '^Given'
|
|
26
|
-
- '^When'
|
|
27
|
-
- '^Then'
|
|
28
|
-
|
|
29
|
-
Style/RegexpLiteral:
|
|
30
|
-
EnforcedStyle: slashes
|
|
31
|
-
AllowInnerSlashes: true
|
|
32
|
-
|
|
33
|
-
BlockLength:
|
|
34
|
-
Exclude:
|
|
35
|
-
- './spec/**/*_spec.rb'
|
|
36
|
-
- 'cucumber-rails.gemspec'
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2019-07-31 11:34:26 +0200 using RuboCop version 0.72.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 1
|
|
10
|
-
# Cop supports --auto-correct.
|
|
11
|
-
# Configuration parameters: AllowForAlignment.
|
|
12
|
-
Layout/SpaceAroundOperators:
|
|
13
|
-
Exclude:
|
|
14
|
-
- 'dev_tasks/yard.rake'
|
|
15
|
-
|
|
16
|
-
# Offense count: 2
|
|
17
|
-
# Configuration parameters: AllowComments.
|
|
18
|
-
Lint/HandleExceptions:
|
|
19
|
-
Exclude:
|
|
20
|
-
- 'lib/cucumber/rails/hooks/database_cleaner.rb'
|
|
21
|
-
- 'lib/cucumber/rails/world.rb'
|
|
22
|
-
|
|
23
|
-
# Offense count: 3
|
|
24
|
-
Metrics/AbcSize:
|
|
25
|
-
Max: 19
|
|
26
|
-
|
|
27
|
-
# Offense count: 3
|
|
28
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
|
29
|
-
Metrics/MethodLength:
|
|
30
|
-
Max: 18
|
|
31
|
-
|
|
32
|
-
# Offense count: 4
|
|
33
|
-
# Configuration parameters: .
|
|
34
|
-
# SupportedStyles: have_received, receive
|
|
35
|
-
RSpec/MessageSpies:
|
|
36
|
-
EnforcedStyle: receive
|
|
37
|
-
|
|
38
|
-
# Offense count: 2
|
|
39
|
-
# Configuration parameters: AggregateFailuresByDefault.
|
|
40
|
-
RSpec/MultipleExpectations:
|
|
41
|
-
Max: 2
|
|
42
|
-
|
|
43
|
-
# Offense count: 1
|
|
44
|
-
Style/DoubleNegation:
|
|
45
|
-
Exclude:
|
|
46
|
-
- 'lib/cucumber/rails/action_controller.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 1
|
|
49
|
-
Style/MixinUsage:
|
|
50
|
-
Exclude:
|
|
51
|
-
- 'lib/cucumber/rails/rspec.rb'
|
|
52
|
-
|
|
53
|
-
# Offense count: 1
|
|
54
|
-
# Cop supports --auto-correct.
|
|
55
|
-
# Configuration parameters: EnforcedOctalStyle.
|
|
56
|
-
# SupportedOctalStyles: zero_with_o, zero_only
|
|
57
|
-
Style/NumericLiteralPrefix:
|
|
58
|
-
Exclude:
|
|
59
|
-
- 'lib/generators/cucumber/install_generator.rb'
|
data/.travis.yml
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
|
|
3
|
-
dist: xenial
|
|
4
|
-
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.3
|
|
7
|
-
- 2.4
|
|
8
|
-
- 2.5
|
|
9
|
-
- 2.6
|
|
10
|
-
- ruby-head
|
|
11
|
-
|
|
12
|
-
addons:
|
|
13
|
-
firefox: latest
|
|
14
|
-
|
|
15
|
-
branches:
|
|
16
|
-
only:
|
|
17
|
-
- master
|
|
18
|
-
|
|
19
|
-
services:
|
|
20
|
-
- xvfb
|
|
21
|
-
|
|
22
|
-
gemfile:
|
|
23
|
-
- gemfiles/rails_6_0.gemfile
|
|
24
|
-
- gemfiles/rails_5_2.gemfile
|
|
25
|
-
- gemfiles/rails_5_1.gemfile
|
|
26
|
-
- gemfiles/rails_5_0.gemfile
|
|
27
|
-
- gemfiles/rails_4_2.gemfile
|
|
28
|
-
|
|
29
|
-
matrix:
|
|
30
|
-
fast_finish: true
|
|
31
|
-
allow_failures:
|
|
32
|
-
- rvm: ruby-head
|
|
33
|
-
exclude:
|
|
34
|
-
# Only test Rails6 on supported rubies
|
|
35
|
-
# Don't test lowest rails support on maintained rubies
|
|
36
|
-
- rvm: 2.3
|
|
37
|
-
gemfile: gemfiles/rails_6_0.gemfile
|
|
38
|
-
- rvm: 2.4
|
|
39
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
|
40
|
-
- rvm: 2.4
|
|
41
|
-
gemfile: gemfiles/rails_6_0.gemfile
|
|
42
|
-
- rvm: 2.5
|
|
43
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
|
44
|
-
- rvm: 2.6
|
|
45
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
|
46
|
-
- rvm: 2.6
|
|
47
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
|
48
|
-
- rvm: 2.6
|
|
49
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
|
50
|
-
- rvm: ruby-head
|
|
51
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
|
52
|
-
- rvm: ruby-head
|
|
53
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
|
54
|
-
- rvm: ruby-head
|
|
55
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
|
56
|
-
|
|
57
|
-
before_install:
|
|
58
|
-
- gem install --remote bundler -v '~> 1.17'
|
|
59
|
-
- bin/install_geckodriver.sh
|
|
60
|
-
- bin/install_webpacker.sh
|