cucumber-rails 2.5.1 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bbc6df3e0541e238dfedd61156318fc8766754bd66929553e41b3770507ed0
4
- data.tar.gz: d9781472cfdebcaccec5fc0879698d486a06809d36809bc95c5624d36e13b6a0
3
+ metadata.gz: da90167d18fb01f24a2b8ac5be43961745ee8c0950a7fee4f05e7195ded50bc4
4
+ data.tar.gz: 41ed9828344dac7c9e2d8b780ac1ad524436efd245d6fb6e4ef5b23877c08822
5
5
  SHA512:
6
- metadata.gz: 8868ff0ebe1844b2eae18b3b8b580ab00683790a7a02bc28aeb421b33ef4022eb4779478fff94de2f5abc80c068bdcdd098decdeab1b180dad37ae40bbe06ae2
7
- data.tar.gz: 17ab8f1588d771f564aaec40a873e85f43d2b366674bb959bd4d2ddb4f519093f450f2411122498d8437d238a5b347483c34f9590a799d7f96d76ad790fd8e1b
6
+ metadata.gz: 69367d5f51ada22531da2c4357b2a4d3d0f0db53b6457119050b7059723cf772dfb44c9f8a62cfd4cd2acc967341a6a07a63192417c0b0c7a84285b69471d58e
7
+ data.tar.gz: 5373229e44142847e1739990699ce820fd62c0ea194905d68515877f0fb39b03b44123a364ab9ad011dc82fb3bdea3d709c0862043215d7aceb635cf690f4666
data/CHANGELOG.md CHANGED
@@ -1,698 +1,22 @@
1
- Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md)
2
- on how to contribute to Cucumber.
1
+ # Changelog
3
2
 
4
- ## [main](https://github.com/cucumber/cucumber-rails/compare/v2.5.1...main) (Not yet released)
3
+ All notable changes to this project will be documented in this file. For older versions see the [changelog archive](./CHANGELOG.old.md)
5
4
 
6
- ### New Features
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ### Changed
9
-
10
- ### Fixed
11
-
12
- ## [v2.5.1](https://github.com/cucumber/cucumber-rails/compare/v2.5.0...v2.5.1) (2022-04-01)
13
-
14
- ### Fixed
15
-
16
- * Date input support in Rails 7 ([#535](https://github.com/cucumber/cucumber-rails/pull/535) [mgrunberg])
17
-
18
- ## [v2.5.0](https://github.com/cucumber/cucumber-rails/compare/v2.4.0...v2.5.0) (2022-03-07)
19
-
20
- ### New Features
21
-
22
- * Added `:none` option for `javascript_strategy` which indicates no special handling of `@javascript` tagged tests ([#522](https://github.com/cucumber/cucumber-rails/pull/522) [akostadinov])
23
- * Added support for Rails 7 ([#526](https://github.com/cucumber/cucumber-rails/pull/526/) [mgrunberg])
24
- * Added Ruby 3.1 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg])
25
-
26
- ### Changed
27
-
28
- * Dropped Ruby 2.4 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg])
29
-
30
- ## [v2.4.0](https://github.com/cucumber/cucumber-rails/compare/v2.3.0...v2.4.0) (2021-07-21)
31
-
32
- ### New Features
33
-
34
- * Added new docker / Makefile script to permit releasing from repo ([#502](https://github.com/cucumber/cucumber-rails/pull/502) [luke-hill])
35
- * Gem update: allowed cucumber 6/7 ([#515](https://github.com/cucumber/cucumber-rails/pull/515) /
36
- [#519](https://github.com/cucumber/cucumber-rails/pull/519))
37
- * Add support for Ruby 3 ([#517](https://github.com/cucumber/cucumber-rails/pull/517/))
38
-
39
- ### Changed
40
-
41
- * Updated rubocop to use new major versions ([#504](https://github.com/cucumber/cucumber-rails/pull/504) /
42
- [#519](https://github.com/cucumber/cucumber-rails/pull/519) [luke-hill])
43
-
44
- ### Removed
45
-
46
- * Removed traces of legacy spork setup / help (No longer used) ([#518](https://github.com/cucumber/cucumber-rails/pull/518))
47
-
48
- ## [v2.3.0](https://github.com/cucumber/cucumber-rails/compare/v2.2.0...v2.3.0) (2021-03-30)
49
-
50
- ### Changed
51
-
52
- * Changed dependency from rails to railties to avoid pulling in optional Rails gems like actioncable ([#486](https://github.com/cucumber/cucumber-rails/pull/486) [langalex])
53
-
54
- * Lightened gem binary by removing un-needed files ([#496](https://github.com/cucumber/cucumber-rails/pull/496) [orien])
55
-
56
- ### Fixed
57
-
58
- * Fixed up a couple of legacy capybara specs to use a better format ([#498](https://github.com/cucumber/cucumber-rails/pull/498) [luke-hill])
59
-
60
- ## [v2.2.0](https://github.com/cucumber/cucumber-rails/compare/v2.1.0...v2.2.0) (2020-08-10)
61
-
62
- ### New Features
63
-
64
- * Added more documentation and tests around Javascript tagged scenarios
65
- ([#480](https://github.com/cucumber/cucumber-rails/pull/480) [luke-hill])
8
+ This file is intended to be modified using the [`changelog`](github.com/cucumber/changelog) command-line tool.
66
9
 
67
- * Gem Updates
68
- * Allowed cucumber5, updated other gem dependencies
69
- * Updated travis runs and gem builds tested against
70
- ([#482](https://github.com/cucumber/cucumber-rails/pull/482) [luke-hill])
10
+ ## [Unreleased]
71
11
 
12
+ ## [2.6.1] - 2022-10-12
72
13
  ### Changed
14
+ - Automate release process
73
15
 
74
- * Dropped Rails 4.2 support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez])
75
-
76
- ### Fixed
77
-
78
- * Database cleaning no longer silently fails when using database_cleaner v2 adapter gems
79
- ([#467](https://github.com/cucumber/cucumber-rails/pull/467) [botandrose])
80
-
81
- * Restored compatibility with `database_cleaner` versions earlier than 1.8.0.beta
82
- ([#473](https://github.com/cucumber/cucumber-rails/pull/473) [cgriego])
83
-
84
- * Restored previous `database_cleaner` behavior for apps that do not use/load ActiveRecord
85
- ([#474](https://github.com/cucumber/cucumber-rails/pull/474) [cgriego])
86
-
87
- * Restored previous compatibility around standard Rails Modules not being loaded
88
- ([#484](https://github.com/cucumber/cucumber-rails/pull/484) [Draiken])
89
-
90
- ## [v2.1.0](https://github.com/cucumber/cucumber-rails/compare/v2.0.0...v2.1.0) (2020-06-15)
91
-
92
- ### New Features
93
-
94
- * Added metadata to allow gem to be searched / indexed by rubygems
95
- ([#447](https://github.com/cucumber/cucumber-rails/pull/447) [orien])
96
-
97
- * Allow Cucumber 4 to be used as an option for cucumber-rails
98
- * NB: Cucumber4 changes quite a lot of logic with auto-loaders. This means that any previous
99
- logic that relied implicitly on load-order "may" be affected
100
- ([#453](https://github.com/cucumber/cucumber-rails/pull/453) [luke-hill] / [deivid-rodriguez])
101
-
102
- ### Changed
103
-
104
- * Dropped Ruby 2.3 support (target 2.4 - 2.7) ([#466](https://github.com/cucumber/cucumber-rails/pull/466) [mvz])
105
-
106
- * Refactored suite to remove a lot of old Rails3/4.0 "ism's"
107
- * Also migrated a lot of old cucumber styles to cucumber4
108
- ([#441](https://github.com/cucumber/cucumber-rails/pull/441) [luke-hill])
109
-
110
- * Refactored alias logic for overriding Rails methods to use `Module#prepend`
111
- ([#457](https://github.com/cucumber/cucumber-rails/pull/457) [wagenet])
112
-
113
- * `database_cleaner` (when used), at a version `>= 1.8` will now silence all warnings
114
- * The suite internally will only test a version `>= 1.8`, so other versions will work but are un-maintained
115
- ([#463](https://github.com/cucumber/cucumber-rails/pull/463) [deivid-rodriguez])
116
-
117
- ### Fixed
118
-
119
- * Various rubocop / rspec styling fixes
120
- ([#445](https://github.com/cucumber/cucumber-rails/pull/445) /
121
- [#449](https://github.com/cucumber/cucumber-rails/pull/449) /
122
- [#450](https://github.com/cucumber/cucumber-rails/pull/450) /
123
- [#451](https://github.com/cucumber/cucumber-rails/pull/451) /
124
- [#452](https://github.com/cucumber/cucumber-rails/pull/452) /
125
- [#465](https://github.com/cucumber/cucumber-rails/pull/465)
126
- [mvz] / [luke-hill])
127
-
128
- * Various CI fixes
129
- ([#444](https://github.com/cucumber/cucumber-rails/pull/444) /
130
- [#460](https://github.com/cucumber/cucumber-rails/pull/460) /
131
- [#464](https://github.com/cucumber/cucumber-rails/pull/464)
132
- [mvz] / [damonjmurray] / [deivid-rodriguez])
133
-
134
- * Avoid printing a warning about `config.cache_classes` being set to `false` when
135
- Spring is used ([#462](https://github.com/cucumber/cucumber-rails/pull/462) [janko])
136
-
137
- ## [v2.0.0](https://github.com/cucumber/cucumber-rails/compare/v1.8.0...v2.0.0) (2019-09-13)
138
-
139
- ### New Features
140
-
141
- * New functionality allows users to Configure whether `Rack::Test` methods get auto-mixed in
142
- * Setting `ENV['CR_REMOVE_RACK_TEST_HELPERS] = "true"` will remove these methods from the `World`
143
- ([#440](https://github.com/cucumber/cucumber-rails/pull/440) [luke-hill])
144
-
145
- ### Changed
146
-
147
- * **Breaking change:** `web_steps` have been completely removed from cucumber-rails
148
- ([#437](https://github.com/cucumber/cucumber-rails/pull/437) [luke-hill])
149
-
150
- * Altered some branching logic in tests designed to cater for old ruby/rails versions
151
- ([#433](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill])
152
-
153
- ## [v1.8.0](https://github.com/cucumber/cucumber-rails/compare/v1.7.0..v1.8.0) (2019-08-06)
154
-
16
+ ## [v2.6.0]
155
17
  ### Changed
18
+ - New release process. Older releases are in [this changelog](./CHANGELOG.old.md).
156
19
 
157
- * Dropped Ruby 2.2 support (target 2.3 and up) ([#424](https://github.com/cucumber/cucumber-rails/pull/424) [mvz])
158
-
159
- * Begin to update the core runtime / development dependencies to something a little more recent
160
- ([#413](https://github.com/cucumber/cucumber-rails/pull/413) /
161
- [#431](https://github.com/cucumber/cucumber-rails/pull/431) /
162
- [#432](https://github.com/cucumber/cucumber-rails/pull/432)
163
- [mvz] /
164
- [luke-hill])
165
-
166
- ### Fixed
167
-
168
- * Various rubocop / styling issues that had built up over time
169
- ([#414](https://github.com/cucumber/cucumber-rails/pull/414) /
170
- [#416](https://github.com/cucumber/cucumber-rails/pull/416) /
171
- [#419](https://github.com/cucumber/cucumber-rails/pull/419) /
172
- [#420](https://github.com/cucumber/cucumber-rails/pull/420) /
173
- [#421](https://github.com/cucumber/cucumber-rails/pull/421) /
174
- [#421](https://github.com/cucumber/cucumber-rails/pull/434)
175
- [luke-hill] /
176
- [mvz])
177
-
178
- * Generic Travis Healthcheck (Fixed up polluted logs and use newer Ubuntu OS)
179
- ([#415](https://github.com/cucumber/cucumber-rails/pull/415) /
180
- [#417](https://github.com/cucumber/cucumber-rails/pull/417)
181
- [luke-hill])
182
-
183
- * Rails6 not building correctly
184
- ([#418](https://github.com/cucumber/cucumber-rails/pull/418)
185
- [luke-hill])
186
-
187
- * Provisional Ruby 2.7 builds not working
188
- ([#427](https://github.com/cucumber/cucumber-rails/pull/427)
189
- [amatsuda] /
190
- [luke-hill])
191
-
192
- ## [v1.7.0](https://github.com/cucumber/cucumber-rails/compare/v1.6.0...v1.7.0) (2019-04-17)
193
-
194
- ### Changed
195
-
196
- * Drop rails `4.0` / `4.1` support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez])
197
- * Allow Ruby `2.6` users to `ERB.new` ([#399](https://github.com/cucumber/cucumber-rails/pull/399) [koic])
198
- * Allow Rails to be used in the `6.x` series (Currently as of release only beta1 is supported) ([#405](https://github.com/cucumber/cucumber-rails/pull/405) [kotovalexarian])
199
- * Update CI to test most relevant Rubies ([#411](https://github.com/cucumber/cucumber-rails/pull/411) [olleolleolle])
200
-
201
- ### Fixed
202
-
203
- * Appraisals fixes (Up-to-date `geckodriver`, standardised the various `.gemfile`s)
204
- ([#389](https://github.com/cucumber/cucumber-rails/pull/389) /
205
- [#394](https://github.com/cucumber/cucumber-rails/pull/394) /
206
- [#395](https://github.com/cucumber/cucumber-rails/pull/395) /
207
- [#408](https://github.com/cucumber/cucumber-rails/pull/408)
208
- [xtrasimplicity] /
209
- [deivid-rodriguez] /
210
- [mvz])
211
-
212
- * Various build issues that had built up over the previous year
213
- ([#403](https://github.com/cucumber/cucumber-rails/pull/403) /
214
- [#404](https://github.com/cucumber/cucumber-rails/pull/404) /
215
- [#410](https://github.com/cucumber/cucumber-rails/pull/410)
216
- [koic] /
217
- [mvz])
218
-
219
- ## [v1.6.0](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...v1.6.0) (2018-04-23)
220
-
221
- ### Changed
222
-
223
- * Renamed History.md to CHANGELOG.md, added contributing note, and this line in accordance with [cucumber/cucumber #251](https://github.com/cucumber/cucumber/issues/251) ([#345](https://github.com/cucumber/cucumber-rails/pull/345) [jaysonesmith](https://github.com/jaysonesmith))
224
- * Update .travis.yml with ruby versions ([#341](https://github.com/cucumber/cucumber-rails/pull/341) Jun Aruga)
225
- * Removed support for Ruby <= 2.1, to keep in line with [cucumber-ruby](https://github.com/cucumber/cucumber-ruby/blob/master/CHANGELOG.md#302-2017-11-11) ([#360](https://github.com/cucumber/cucumber-rails/pull/360) [xtrasimplicity](https://github.com/xtrasimplicity)).
226
- * Updated syntax to support both new and deprecated forms of tag negation. ([#348](https://github.com/cucumber/cucumber-rails/pull/348) [mirelon](https://github.com/mirelon), [#359](https://github.com/cucumber/cucumber-rails/pull/359) [xtrasimplicity](https://github.com/xtrasimplicity))
227
- * Dependencies: Allowed `Ammeter` versions greater than 1.1.3. ([#368](https://github.com/cucumber/cucumber-rails/pull/368) [mvz](https://github.com/mvz))
228
- * Switched to Ruby 1.9 hash syntax. ([#371](https://github.com/cucumber/cucumber-rails/pull/371) [mvz](https://github.com/mvz))
229
- * Added support to handle rerun files with multiple lines. ([#373]((https://github.com/cucumber/cucumber-rails/pull/345)) [mvz](https://github.com/mvz))
230
- * Added support for Rails 5.2 and Capybara 3. ([#378](https://github.com/cucumber/cucumber-rails/pull/378/) [gobijan](https://github.com/gobijan), [radar](https://github.com/radar), [xtrasimplicity](https://github.com/xtrasimplicity))
231
-
232
- ### Fixed
233
-
234
- * Fix typo ([#343](https://github.com/cucumber/cucumber-rails/pull/343) Olle Jonsson)
235
- * History.md: Fixed markdown formatting ([#344](https://github.com/cucumber/cucumber-rails/pull/344) [Kosmas](https://github.com/Kosmas))
236
- * Fixed tag deprecation warnings. ([#373](https://github.com/cucumber/cucumber-rails/pull/373) [mvz](https://github.com/mvz))
237
-
238
- ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12)
239
-
240
- * Drop rails 3 support ([#334](https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen)
241
- * Add rails 5.1 support ([#337](https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo)
242
-
243
- ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27)
244
-
245
- * Add support for Cucumber 3+ (Steve Tooke)
246
-
247
- ## [v1.4.4](https://github.com/cucumber/cucumber-rails/compare/1.4.3...1.4.4) (2016-08-05)
248
-
249
- * Ensure support for Rails 5
250
-
251
- ## [v1.4.3](https://github.com/cucumber/cucumber-rails/compare/1.4.2...1.4.3) (2016-01-21)
252
-
253
- * Added gem version badge (Kosmas Chatzimichalis)
254
- * Fix a failing test due to rails date selectors only showing 5 years into the past by default ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
255
- * Allow cucumber 2 ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
256
- * Add rails 4.2 to test matrix ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
257
- * Depend on railties instead of rails ([#294](https://github.com/cucumber/cucumber-rails/pull/294) Alexander Lang)
258
- * Fix failing Travis CI tests ([#305](https://github.com/cucumber/cucumber-rails/pull/305) Matijs van Zuijlen)
259
- * Allow any cucumber < 3 ([#306](https://github.com/cucumber/cucumber-rails/pull/306) Matijs van Zuijlen)
260
- * Add annotations configuration in generator ([#292](https://github.com/cucumber/cucumber-rails/pull/292) Bob Showalter)
261
- * Expand support to include mime-types 3 ([#304](https://github.com/cucumber/cucumber-rails/pull/304) Austin Ziegler)
262
- * Replace badges with SVG versions ([#307](https://github.com/cucumber/cucumber-rails/pull/307) Kevin Goslar)
263
- * Add new line to end of generated database.yml ([#302](https://github.com/cucumber/cucumber-rails/pull/302) Kevin Carmody)
264
-
265
- ## [v1.4.2](https://github.com/cucumber/cucumber-rails/compare/1.4.1...v1.4.2) (2014-10-09)
266
-
267
- * Updated appraisal dependencies to rspec-rails 3.1.0, gemspec dependency to rspec <= 3.1, and removed turn from rails_4_1 appraisal (Kosmas Chatzimichalis)
268
- * Update mime-types dependency to >= 1.16, < 3 ([#289](https://github.com/cucumber/cucumber-rails/pull/289) Erik Michaels-Ober)
269
- * Upgrade to RSpec 3 ([#290](https://github.com/cucumber/cucumber-rails/pull/290) Tamir Duberstein)
270
-
271
- ## [v1.4.1](https://github.com/cucumber/cucumber-rails/compare/v1.4.0...v1.4.1) (2014-05-10)
272
-
273
- ### New Features
274
-
275
- * Added MIT licence in gemspec ([#261](https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer)
276
- * Ensure dependency on DatabaseCleaner is not required ([#276](https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan)
277
- * Added Rails 4.1 support ([#287](https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann)
278
- * Modified appraisal instructions in README.md (Kosmas Chatzimichalis)
279
- * Added Gemnasium support (Kosmas Chatzimichalis)
280
- * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis)
281
-
282
- ### Removed Features
283
-
284
- * Mongo step definition ([#263](https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy)
285
-
286
- ### Bugfixes
287
-
288
- * Prevent MiniTest running `at_exit` when running cucumber ([#253](https://github.com/cucumber/cucumber-rails/issues/253) Steve Tooke)
289
- * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252](https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck)
290
- * Various bundler related fixes ([#264](https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober)
291
- * Additional gemspec cleanup ([#265](https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober)
292
- * Added mime-types runtime dependency to fix bundle install issue ([#273](https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis)
293
- * Removed mongoid gem from Appraisal ([#274](https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis)
294
- * Amend typo in select_dates_and_times.rb comments ([#268](https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide)
295
- * Keep empty step_definitions directories ([#249](https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot)
296
- * Remove obsolete link for config.cache_classes to false ([#271](https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas)
297
-
298
- ## [v1.4.0](https://github.com/cucumber/cucumber-rails/compare/v1.3.1...v1.4.0) (2013-08-23)
299
-
300
- ### New Features
301
-
302
- * New test raising_errors.feature to test raising routing errors that replaced the earlier routing.feature
303
- * Added recommendation in README.md for running install scripts after upgrading (Joost Baaij)
304
- * Describe configuration option 'autorun_database_cleaner' in README ([#255](https://github.com/cucumber/cucumber-rails/pull/255) Martin Eismann)
305
-
306
- ### Changed Features
307
-
308
- * Gemspec in 1.3.1 doesn't allow usage with rails 4 ([#244](https://github.com/cucumber/cucumber-rails/issues/244) Fabian Schwahn)
309
-
310
- ### Removed Features
311
-
312
- * routing.feature code was actually testing the raising of errors so it was renamed to raising_errors.feature and slightly changed to deal with rails 4 changes in public folder
313
- * multiple_databases.feature was removed as it was actually testing DatabaseCleaner behaviour
314
- * pre_bundler.feature was removed as it is no longer relevant
315
- * mongodb feature was removed as is there is no mongodb code in cucumber-rails codebase
316
-
317
- ### Bugfixes
318
-
319
- * Fixed tests so they pass in Rails 4 and updated gemspec ([#247](https://github.com/cucumber/cucumber-rails/pull/247) Dave Brace)
320
- * Allow use with Rails 4 ([#254](https://github.com/cucumber/cucumber-rails/pull/254) Marnen Laibow-Koser)
321
- * (dumb) Fix for Rails4 ([#256](https://github.com/cucumber/cucumber-rails/pull/256) Jon Rowe)
322
- * Revert "Merge pull request #256 from JonRowe/dumb_fix_for_rails4_test_he... ([#258](https://github.com/cucumber/cucumber-rails/pull/258) Kosmas Chatzimichalis)
323
-
324
- ## [v1.3.1](https://github.com/cucumber/cucumber-rails/compare/v1.3.0...v1.3.1) (2013-03-15)
325
-
326
- ### New Features
327
-
328
- * Multiple-gemfile testing and travis configuration ([#240](https://github.com/cucumber/cucumber-rails/pull/240) Simon Coffey)
329
-
330
- ### Changed Features
331
-
332
- * Fix a typo in a template ([#228](https://github.com/cucumber/cucumber-rails/pull/228) Robin Dupret)
333
- * Depend upon the generic test:prepare task ([#230](https://github.com/cucumber/cucumber-rails/pull/230) Graeme Mathieson)
334
- * Allow users to disable database_cleaner hooks ([#232](https://github.com/cucumber/cucumber-rails/pull/232) Simon Coffey)
335
- * Rails 4.0.0-beta ActionController::Integration depreciation fix ([#234](https://github.com/cucumber/cucumber-rails/pull/234) Daniel Bruns)
336
-
337
- ## [v1.3.0](https://github.com/cucumber/cucumber-rails/compare/v1.2.1...v1.3.0) (2012-02-19)
338
-
339
- ### New Features
340
-
341
- * JavaScript database strategies should take options ([#192](https://github.com/cucumber/cucumber-rails/issues/192), [#195](https://github.com/cucumber/cucumber-rails/pull/195) Thomas Walpole)
342
-
343
- ### Changed features
344
-
345
- * select_date arguments should be reversed ([#190](https://github.com/cucumber/cucumber-rails/issues/190), [#191](https://github.com/cucumber/cucumber-rails/pull/191) Gavin Hughes)
346
-
347
- ## [v1.2.1](https://github.com/cucumber/cucumber-rails/compare/v1.2.0...v1.2.1) (2011-12-04)
348
-
349
- ### New features
350
-
351
- * Allow ability to use deletion as a javascript database strategy ([#185](https://github.com/cucumber/cucumber-rails/pull/185) Thijs de Vries)
352
- * Support custom JS strategies ([#184](https://github.com/cucumber/cucumber-rails/pull/184) Michael Pabst)
353
-
354
- ## [v1.2.0](https://github.com/cucumber/cucumber-rails/compare/v1.1.1...v1.2.0) (2011-11-03)
355
-
356
- ### Removed features
357
-
358
- * The (deprecated) tableish method has been removed. See https://gist.github.com/1299371 for an alternative. (Aslak Hellesøy)
359
-
360
- ### Bugfixes
361
-
362
- * Non-threadsafe database connections shared between threads ([#166](https://github.com/cucumber/cucumber-rails/issues/166) Matt Wynne)
363
-
364
- ## [v1.1.1](https://github.com/cucumber/cucumber-rails/compare/v1.1.0...v1.1.1) (2011-10-03)
365
-
366
- ### Removed features
367
-
368
- The `cucumber:feature` generator has been removed. The reasoning behind this is the same as for
369
- removing `web_steps.rb`, `paths.rb` and `selectors.rb` in v1.1.0.
370
-
371
- ## [v1.1.0](https://github.com/cucumber/cucumber-rails/compare/v1.0.6...v1.1.0) (2011-09-28)
372
-
373
- ### Removed features
374
-
375
- The following files will no longer be generated if you are running `rails generate cucumber:install`:
376
-
377
- * features/step_definitions/web_steps.rb
378
- * features/support/paths.rb
379
- * features/support/selectors.rb
380
-
381
- The reason behind this is that the steps defined in `web_steps.rb` leads people to write scenarios of a
382
- very imperative nature that are hard to read and hard to maintain. Cucumber scenarios should not be a series
383
- of steps that describe what a user clicks. Instead, they should express what a user *does*. Example:
384
-
385
- Given I have signed up as "user@host.com"
386
-
387
- with a Step Definition that perhaps looks like this:
388
-
389
- Given /^I have signed up as "([^"]*)"$/ do |email|
390
- visit(signup_path)
391
- fill_in('Email', with: email)
392
- fill_in('Password', with: 's3cr3t')
393
- fill_in('Password Confirmation', with: 's3cr3t')
394
- click_button('Sign up')
395
- end
396
-
397
- Moving user interface details from the scenarios and down to the step definitions makes scenarios
398
- much easier to read. If you change the user interface you only have to change a step definition or two
399
- instead of a lot of scenarios that explicitly describe how to sign up.
400
-
401
- You can learn more about the reasoning behind this change at the following links:
402
-
403
- * [Cucumber mailing list: Removing web_steps.rb in Cucumber 1.1.0](http://groups.google.com/group/cukes/browse_thread/thread/26f80b93c94f2952)
404
- * [Cucumber-Rails issue #174: Remove web_steps.rb since it encourages people to write poor tests.](https://github.com/cucumber/cucumber-rails/issues/174)
405
- * [Refuctoring your Cukes by Matt Wynne](http://skillsmatter.com/podcast/home/refuctoring-your-cukes)
406
- * [Imperative vs Declarative Scenarios in User Stories by Ben Mabey](http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html)
407
- * [Whose domain is it anyway? by Dan North](http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/)
408
- * [You're Cuking it Wrong by Jonas Nicklas](http://elabs.se/blog/15-you-re-cuking-it-wrong)
409
-
410
- You can learn more about what Capybara has to offer in Capybara's [README](https://github.com/jnicklas/capybara).
411
-
412
- ## [v1.0.6](https://github.com/cucumber/cucumber-rails/compare/v1.0.5...v1.0.6) (2011-09-25)
413
-
414
- ### Bugfixes
415
-
416
- * Fix deprecation warnings ([#169](https://github.com/cucumber/cucumber-rails/issues/169), [#170](https://github.com/cucumber/cucumber-rails/pull/170) Micah Geisel)
417
- * Deprecate #tableish. The Capybara::Node::Finders API has obsoleted the need for it. ([#145](https://github.com/cucumber/cucumber-rails/issues/145) Aslak Hellesøy)
418
-
419
- ## [v1.0.5](https://github.com/cucumber/cucumber-rails/compare/v1.0.4...v1.0.5) (2011-09-14)
420
-
421
- ### Bugfixes
422
-
423
- * No = dependencies in gemspec, since rubies with old YAML (sych) can't read them. (Aslak Hellesøy)
424
-
425
- ## [v1.0.4](https://github.com/cucumber/cucumber-rails/compare/v1.0.3...v1.0.4) (2011-09-12)
426
-
427
- ### Bugfixes
428
-
429
- * Active_record hook prevents features that access multiple database from running correctly ([#152](https://github.com/cucumber/cucumber-rails/issues/152) winnipegtransit)
430
-
431
- ## [v1.0.3](https://github.com/cucumber/cucumber-rails/compare/v1.0.2...v1.0.3) (2011-09-11)
432
-
433
- ### Bugfixes
434
-
435
- * sqlite3-ruby is now sqlite3 ([#158](https://github.com/cucumber/cucumber-rails/pull/158) Trung Le)
436
- * Broken link in the USAGE file of the features generator ([#156](https://github.com/cucumber/cucumber-rails/pull/156) Pablo Alonso García)
437
- * Rails destroy cucumber:feature deletes the steps folder, even though it's not empty. ([#154](https://github.com/cucumber/cucumber-rails/pull/154]), [#111](https://github.com/cucumber/cucumber-rails/issues/111) mblake)
438
- * Adjust select_date, select_time xpaths so they work when scoped in the document ([#151](https://github.com/cucumber/cucumber-rails/pull/151) Thomas Walpole)
439
- * Extend javascript emulation to handle rails CSRF protection ([#164](https://github.com/cucumber/cucumber-rails/pull/164) Jonathon M. Abbott)
440
- * Add steps for finding fields with errors ([#162](https://github.com/cucumber/cucumber-rails/pull/162) Mike Burns)
441
-
442
- ## [v1.0.2](https://github.com/cucumber/cucumber-rails/compare/v1.0.1...v1.0.2) (2011-06-26)
443
-
444
- ### Bugfixes
445
-
446
- * Removed the dependency on rack-test, since it is not used directly. v1.0.1 was incompatible with Rails 3.0.9. (Aslak Hellesøy)
447
-
448
- ## [v1.0.1](https://github.com/cucumber/cucumber-rails/compare/v1.0.0...v1.0.1) (2011-06-25)
449
-
450
- ### New Features
451
-
452
- * Added a `@no-database-cleaner` tag you can add if you don't want to run DatabaseCleaner. Useful for debugging if you want to leave data in the database. Typical use case is to run `rails server --environment test` to look at/try app with data from test. (Aslak Hellesøy)
453
- * History file is now in Markdown format. (Aslak Hellesøy)
454
-
455
- ## [v1.0.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.2...v1.0.0) (2011-06-20)
456
-
457
- ### New Features
458
-
459
- * Upgraded Cucumber dependency to `1.0.0` (Aslak Hellesøy)
460
-
461
- ## [v0.5.2](https://github.com/cucumber/cucumber-rails/compare/v0.5.1...v0.5.2) (2011-06-07)
462
-
463
- ### New Features
464
-
465
- * Upgraded to Capybara 1.0.0.rc1 (Aslak Hellesøy)
466
- * Add stats to generator (#144 Aslak Hellesøy)
467
-
468
- ## [v0.5.1](https://github.com/cucumber/cucumber-rails/compare/v0.5.0...v0.5.1) (2011-05-25)
469
-
470
- ### Bugfixes
471
-
472
- * Mixed DB access feature for @javascript drivers (#142 Alexander Mankuta)
473
- * cucumber:feature and integers. not creating feature correctly (#30 John Ivanoff, Aslak Hellesøy)
474
- * New project can't find capybara's "visit" (#143 Aslak Hellesøy)
475
- * rails generate cucumber:install attempts double run (#140 Aslak Hellesøy)
476
-
477
- ## [v0.5.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.0.beta1...v0.5.0) (2011-05-17)
478
-
479
- ### Bugfixes
480
-
481
- * undefined method `add_assertion' for nil:NilClass (#96, #97, #98 Aslak Hellesøy)
482
- * Capybara name error from env.rb (#125 Aslak Hellesøy)
483
- * Fixed date-localization bug (#138 Michael Opitz)
484
-
485
- ## [v0.5.0.beta1](https://github.com/cucumber/cucumber-rails/compare/v0.4.1...v0.5.0.beta1) (2011-05-09)
486
-
487
- ### Removed features
488
-
489
- * Dropped support for Rails 2 (Aslak Hellesøy)
490
- * Dropped support for Webrat (Aslak Hellesøy)
491
- * Removed database cleaner strategy overrides (#134 Daniel Morrison, Daniel Duvall)
492
-
493
- ### Improvements
494
-
495
- * Upgrade to Capybara 1.0.0.beta1 or newer (#129, #130 Simon Menke, Klaus Hartl, Aslak Hellesøy)
496
- * Generated paths.rb cleanup (#133 Tim Pope)
497
- * Allow css pseudo-classes in scopers (#122 twalpole)
498
-
499
- ## [v0.4.1](https://github.com/cucumber/cucumber-rails/compare/v0.4.0...v0.4.1) (2011-04-05)
500
-
501
- ### Bugfixes
502
-
503
- * Fixed incorrect warning in generated files. (#115 Emanuele Vicentini)
504
- * Fixed incorrect hooks for DatabaseCleaner (#113 Markus Bengts)
505
- * Throw an error if the user forgot to add DatabaseCleaner to the Gemfile, allowing them to decide whether or not to use it. (#36 Aslak Hellesøy, Ryan Bigg)
506
-
507
- ## [v0.4.0](https://github.com/cucumber/cucumber-rails/compare/v0.3.2...v0.4.0) (2011-03-20)
508
-
509
- ### New Features
510
-
511
- * Add selectors helper (#63 Bodaniel Jeanes)
512
- * Capybara date stepdefs (#66 Rob Holland)
513
- * The World now includes Rack::Test::Methods, allowing get, post, put delete (Aslak Hellesøy)
514
-
515
- ### Bugfixes
516
-
517
- * Allow setting rails root (#102, #103, Fabio Kreusch)
518
- * Fix Date selection steps and helpers (#93, #99, #100, #101, #109 James Herdman, John Ferlito, twalpole, Geoff Drake, Ricky Robinson, Michael Fleet)
519
- * Can not run cucumber-rails (0.4.0.beta.1) with cucumber (0.10.0) (#89 Aslak Hellesøy)
520
- * Installing cucumber-rails without a database.yml fails (#61 Aslak Hellesøy)
521
- * Fix #click_link compatibility with Capybara 0.4. (#54, #77, #78, #80 Aslak Hellesøy)
522
- * Support for projects using other ORMs than ActiveRecord (or nothing at all). (#18, #22, #46, #85, #86, #87, #90 Aslak Hellesøy)
523
- * @allow-rescue not working in rails 3 (#31 Joe Ferris, Aslak Hellesøy)
524
- * Gem dependency on Nokogiri (for #tableish). (#53 Aslak Hellesøy)
525
-
526
- ### Removed Features
527
-
528
- * Automatic detection of RSpec, Capybara and Webrat for install generator. Set gems explicitly in your Gemfile (Rails3) or environment.rb (Rails2)
529
- * Then /^(?:|I )should see JSON:$/. Use #get and #last_response instead. See features/rails3.feature. (Aslak Hellesøy)
530
- * Cucumber::Rails::World.use_transactional_fixtures. TODO: Explain what to do instead.
531
- No more Cucumber::Rails::World.use_transactional_fixtures = false. Use DatabaseCleaner.strategy = :none instead
532
-
533
- ## [v0.3.2](https://github.com/cucumber/cucumber-rails/compare/v0.3.1...v0.3.2) (2010-06-06) The `rails-2.3.x` support branch branches off from here.
534
- * web_steps.rb uses "([^"]*)" instead of "([^\"]*)" (Aslak Hellesøy)
535
- * Renamed cucumber:skeleton to cucumber:install (Rails 3 generator). (Aslak Hellesøy)
536
- * Upgraded to be compatible with rspec 2.0.0.beta.10 (#35 Gabor Ratky, Pete Yandell)
537
-
538
- ## [v0.3.1](https://github.com/cucumber/cucumber-rails/compare/v0.3.0...v0.3.1) (2010-05-04)
539
-
540
- This release has a lot of bugfixes! The test suite (based on Aruba) verifies that Cucumber-Rails
541
- now works with various combinations of:
542
-
543
- * Cucumber 0.6.x/0.7.2
544
- * Rails2/Rails3
545
- * RSpec1/RSpec2/Test-Unit/Mini-Uint
546
- * Webrat/CapyBara
547
- * MRI 1.8.6/1.8.7/1.9.1
548
-
549
- This one requires a special mention: The handy (but error prone) rerun functionality has moved to a
550
- separate rerun profile, so all rerun.txt related issues should now be gone.
551
-
552
- * New Capybara Step Definitions for Dates. (Rob Holland)
553
- * Steps now recognise "Given I am on the users page" etc. (Solomon White)
554
- * Relegate rerun to its own profile and rake task (Mike Sassak)
555
- * Added new Then /^(?:|I )should see JSON:$/ step definition to Capybara - useful for REST. (Aslak Hellesøy)
556
- * The #tableish method now understands tables with colspan and rowspan
557
- * Support RSpec 2 (Johan Kiviniemi, Aslak Hellesøy, Rolf Bjaanes)
558
- * Added @no-js-emulation, which turns off javascript emulation for delete links when not using browser testing. (Rob Holland, Aslak Hellesøy)
559
- * Korean translation (Shim Taewon)
560
-
561
- ### Bugfixes
562
- * No longer need to install the test-unit gem on 1.9.1 (Aslak Hellesøy)
563
- * capybara rack-test field should contain step support for textarea (#28 Nicholas Rutherford)
564
- * "Rspec is not missing constant Matchers!" error. (#27 David Chelimsky, Aslak Hellesøy)
565
- * @culerity tag breaks Rails 3 RESTful helpers (#17 Aslak Hellesøy)
566
-
567
- ## [v0.3.0](https://github.com/cucumber/cucumber-rails/compare/v0.2.4...v0.3.0) (2010-02-26)
568
-
569
- This is a major release since we're now supporting both Rails 3 and RSpec 2. Older versions
570
- (Rails 2 and RSpec 1) are still supported.
571
-
572
- ### New Features
573
-
574
- * Support for both Rails-2.x and Rails-3.x (#10 Kristian Mandrup, Aleksey Gureiev, Ashley Moran, Aslak Hellesøy)
575
- * Support for both RSpec-1.x and RSpec-2.x (Louis Rose, Aslak Hellesøy)
576
- * Features will default to Javascript emulation unless you turn it off with @culerity, (Aslak Hellesøy)
577
- * Japanese translation. (MOROHASHI Kyosuke)
578
-
579
- ### Bugfixes
580
-
581
- * Support projects that don't use ActiveRecord (#14 Aslak Hellesøy)
582
- * Running test/unit tests when creating a skeleton (#12 Aleksey Gureiev)
583
- * Inform that config/database.yml is overwritten, be smarter about it and inform the user that it is forced. (#15 Aslak Hellesøy)
584
- * Reverts changes from issue #5 where verification of query string params was added to the step for being on a page. Adds step discussed in issue #11 for verification of query string. (#5, #11 Eric Milford)
585
- * Fixed typos in Capybara's web steps (has_not_xpath? => has_no_xpath?) (Thorbjørn Hermansen, Carlos Antonio da Silva)
586
-
587
- ### New Features
588
-
589
- * Added Danish translation (Kristian Mandrup)
590
- * Using Gemfile for Rails 3. Tidies it up and adds cucumber gems only if not already present! (Kristian Mandrup)
591
- * Added Generators wrapper module for Rails 3 generators so they are now all in Cucumber::Generators (Kristian Mandrup)
592
-
593
- ### Bugfixes
594
-
595
- * Started to work on solutions for generating suitable support files depending on Rails version
596
- - see skeleton_base.rb#create_feature_support and templates/support
597
-
598
- ## [v0.2.4](https://github.com/cucumber/cucumber-rails/compare/v0.2.3...v0.2.4) (2010-01-18)
599
-
600
- ### New Features
601
-
602
- * Added Spanish translation (Gabriel)
603
-
604
- ### Bugfixes
605
-
606
- * Fixed some broken Webrat/Test::Unit step definitions. (Aslak Hellesøy)
607
- * Better Javascript emulation with Capybara (#7 Thorbjørn Hermansen)
608
- * Removed stray quote in i18n web_steps.rb (Gabriel)
609
- * Update hooks to new boolean logic (#6 Jon Larkowski, Michael MacDonald)
610
- * Fixed incompatibility with Rails 3 (Mutwin Kraus)
611
- * Fixed broken "fill in the following" step for Capybara web_steps (Lenny Marks)
612
- * Capybara web_steps.rb with_scope didn't work in nested steps (Lenny Marks)
613
- * Fixed "should not see" steps in web_steps.rb to use the correct selector (Toni Tuominen)
614
-
615
- ## [v0.2.3](https://github.com/cucumber/cucumber-rails/compare/v0.2.2...v0.2.3) (2010-01-03)
616
-
617
- ### New Features
618
-
619
- * The #tableish Proc can return Strings as well as Nokogiri nodes now. (Aslak Hellesøy)
620
-
621
- ### Bugfixes
622
-
623
- * Handle all types of URIs in "I should be on ..." steps. (#5 Andrew D. Smith)
624
-
625
- ## [v0.2.2](https://github.com/cucumber/cucumber-rails/compare/v0.2.1...v0.2.2) (2009-12-21)
626
-
627
- ### Bugfixes
628
- * Fix bad link in gemspec. (Aslak Hellesøy)
629
- * Unified file attaching step names. (Jiří Zajpt)
630
- * Fix typos in variable names in several step definitions. (Jiří Zajpt)
631
- * cucumber.rake finds the wrong vendored cucumber when a plugin name starts with "cucumber" (#4 James Herdman, Paco Benavent, Aslak Hellesøy)
632
-
633
- ### New features
634
-
635
- * Czech translations. (Jiří Zajpt)
636
-
637
- ## [v0.2.1](https://github.com/cucumber/cucumber-rails/compare/v0.2.0...v0.2.1) (2009-12-16)
638
-
639
- Small bugfix release
640
-
641
- ### Bugfixes
642
- * Made sure database_cleaner is always set up as a dependency in config/environments/cucumber.rb. (Aslak Hellesøy)
643
-
644
-
645
- This is the first release of cucumber-rails, which was factored out of cucumber.
646
- We're calling it 0.2.0 just because we did some prereleases in the 0.1 series,
647
- and to celebrate that cucumber-rails now supports Capybara as an alternative to Webrat.
648
-
649
- ### UPGRADING FROM A PREVIOUS CUCUMBER SETUP
650
-
651
- 1. Remove your `features/support/version_check.rb`
652
- 2. Remove your `features/step_definitions/webrat_steps.rb`
653
- If you have added your own custom step definitions to this file,
654
- put them in a different file under features/step_definitions
655
- 3. run `ruby script/generate cucumber --help` to see what options you have.
656
- 4. run `ruby script/generate cucumber` - plus whatever options you think fit for you.
657
- Answer "n" (no) when asked to overwrite paths.rb.
658
- Answer "y" (yes) when asked to overwrite other files, but do "d" (diff) first.
659
- If you have edits in some of these files that you want to keep, store the diff
660
- in a temporary file and reapply after you have overwritten the file. ALso consider
661
- adding your custom code to another file that won't be overwritten the next time
662
- you upgrade.
663
-
664
- Many people have edits in their `env.rb` file. This is something you should try
665
- to avoid in the future. Instead, keep your custom setup in a different file
666
- under `features/support` - Cucumber loads all files under `features/**/*.rb` anyway.
667
-
668
- If you have a Spork setup, see the end of this thread:
669
- http://groups.google.com/group/cukes/browse_thread/thread/475385cc26377215
670
-
671
- ### New features
672
- * Added an @emulate_rails_javascript tag that will emulate onclick with Capybara (Aslak Hellesøy, Rob Holland)
673
- * Added a smart config/cucumber.yml file that will rerun previously failing scenarios (Aslak Hellesøy)
674
- * Support for Capybara. Run "script/generate --capybara" if you want that. (Rob Holland, Aslak Hellesøy)
675
- * New #tableish method to extract table-like data from a HTML page. Pure Nokogiri/CSS3/XPath. (Aslak Hellesøy)
676
-
677
- ### Bugfixes
678
- * Webrat step "Then I should be on" should use request_uri instead of path for missing query string parameters (ZhangJinzhu)
679
- * Added MIME type parameter to attach file step definition (Felix Flores)
680
- * Added check when including ActiveSupport::Testing::SetupAndTeardown for older Rails versions (Jeremy Durham)
681
-
682
- [deivid-rodriguez]: https://github.com/deivid-rodriguez
683
- [koic]: https://github.com/koic
684
- [kotovalexarian]: https://github.com/kotovalexarian
685
- [mvz]: https://github.com/mvz
686
- [olleolleolle]: https://github.com/olleolleolle
687
- [luke-hill]: https://github.com/luke-hill
688
- [amatsuda]: https://github.com/amatsuda
689
- [xtrasimplicity]: https://github.com/xtrasimplicity
690
- [janko]: https://github.com/janko
691
- [damonjmurray]: https://github.com/damonjmurray
692
- [orien]: https://github.com/orien
693
- [wagenet]: https://github.com/wagenet
694
- [cgriego]: https://github.com/cgriego
695
- [botandrose]: https://github.com/botandrose
696
- [Draiken]: https://github.com/Draiken
697
- [langalex]: https://github.com/langalex
698
- [orien]: https://github.com/orien
20
+ [Unreleased]: https://github.com/cucumber/cucumber-rails/compare/v2.6.0...main
21
+ [2.6.1]: https://github.com/cucumber/cucumber-rails/compare/v2.6.0...main
22
+ [v2.6.0]: ./CHANGELOG.old.md
data/CONTRIBUTING.md CHANGED
@@ -6,9 +6,10 @@ We appreciate that. But before you do, please learn our basic rules:
6
6
  * Do you have an idea for a new feature? Then don't expect it to be implemented unless you or someone else sends a [pull request](https://help.github.com/articles/using-pull-requests). You might be better to start a discussion on [the google group](http://groups.google.com/group/cukes).
7
7
  * Reporting a bug? Please tell us:
8
8
  * which version of Cucumber you're using
9
- * which version of Ruby you're using.
9
+ * which version of Ruby you're using
10
+ * which version of Rails you're using (include all associated gems)
10
11
  * How to reproduce it. Bugs with a failing test in a [pull request](https://help.github.com/articles/using-pull-requests) get fixed much quicker. Some bugs may never be fixed.
11
- * Want to paste some code or output? Put \`\`\` on a line above and below your code/output. See [GFM](https://help.github.com/articles/github-flavored-markdown)'s *Fenced Code Blocks* for details.
12
+ * Want to paste some code or output? Put ``` on a line above and below your code/output. See [GFM](https://help.github.com/articles/github-flavored-markdown)'s *Fenced Code Blocks* for details.
12
13
  * We love [pull requests](https://help.github.com/articles/using-pull-requests). But if you don't have a test to go with it we probably won't merge it.
13
14
 
14
15
  # Contributing to cucumber-rails
@@ -58,18 +59,3 @@ Now release it
58
59
  bundle exec rake
59
60
  git commit -m "Release X.Y.Z"
60
61
  rake release
61
-
62
- ## Gaining Release Karma
63
-
64
- To become a release manager, create a pull request adding your name to the list below, including
65
- your Rubygems email address in the ticket. One of the existing Release managers will then add you.
66
-
67
- Current release managers:
68
- * Kosmas Chatzimichalis
69
- * Matt Wynne
70
- * Mathieu Jobin
71
- * Andrew Walter
72
-
73
- To grant release karma, issue the following command:
74
-
75
- gem owner cucumber-rails --add <NEW OWNER RUBYGEMS EMAIL>
@@ -12,7 +12,7 @@ module Cucumber
12
12
  class << self
13
13
  def include_rack_test_helpers?
14
14
  # Using ActiveModel Boolean casting here will give false positives more often than not!
15
- !ENV['CR_REMOVE_RACK_TEST_HELPERS']&.casecmp('true')&.zero?
15
+ !ENV.fetch('CR_REMOVE_RACK_TEST_HELPERS', '').casecmp('true').zero?
16
16
  end
17
17
  end
18
18
  end
@@ -22,7 +22,7 @@ module Cucumber
22
22
  module Rails
23
23
  class World < ::ActionDispatch::IntegrationTest
24
24
  include Rack::Test::Methods if Cucumber::Rails.include_rack_test_helpers?
25
- include ActiveSupport::Testing::SetupAndTeardown if ActiveSupport::Testing.const_defined?('SetupAndTeardown')
25
+ include ActiveSupport::Testing::SetupAndTeardown if ActiveSupport::Testing.const_defined?(:SetupAndTeardown)
26
26
 
27
27
  def initialize
28
28
  @_result = Test::Unit::TestResult.new if defined?(Test::Unit::TestResult)
@@ -9,7 +9,7 @@ if called_from_env_rb
9
9
  require 'cucumber/rails/application'
10
10
  ENV['RAILS_ENV'] ||= 'test'
11
11
  ENV['RAILS_ROOT'] ||= File.expand_path("#{env_caller}/../..")
12
- require File.expand_path("#{ENV['RAILS_ROOT']}/config/environment")
12
+ require File.expand_path("#{ENV.fetch('RAILS_ROOT')}/config/environment")
13
13
  require 'cucumber/rails/action_dispatch'
14
14
  require 'rails/test_help'
15
15
 
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: 2.5.1
4
+ version: 2.6.1
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: 2022-04-04 00:00:00.000000000 Z
13
+ date: 2022-10-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: '3.2'
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '8'
44
+ version: '9'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,7 @@ dependencies:
51
51
  version: '3.2'
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '8'
54
+ version: '9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mime-types
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -146,30 +146,42 @@ dependencies:
146
146
  name: appraisal
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 2.4.1
149
152
  - - "<"
150
153
  - !ruby/object:Gem::Version
151
- version: '2.4'
154
+ version: '3'
152
155
  type: :development
153
156
  prerelease: false
154
157
  version_requirements: !ruby/object:Gem::Requirement
155
158
  requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: 2.4.1
156
162
  - - "<"
157
163
  - !ruby/object:Gem::Version
158
- version: '2.4'
164
+ version: '3'
159
165
  - !ruby/object:Gem::Dependency
160
166
  name: aruba
161
167
  requirement: !ruby/object:Gem::Requirement
162
168
  requirements:
163
- - - "~>"
169
+ - - ">="
164
170
  - !ruby/object:Gem::Version
165
171
  version: '1.0'
172
+ - - "<"
173
+ - !ruby/object:Gem::Version
174
+ version: '3'
166
175
  type: :development
167
176
  prerelease: false
168
177
  version_requirements: !ruby/object:Gem::Requirement
169
178
  requirements:
170
- - - "~>"
179
+ - - ">="
171
180
  - !ruby/object:Gem::Version
172
181
  version: '1.0'
182
+ - - "<"
183
+ - !ruby/object:Gem::Version
184
+ version: '3'
173
185
  - !ruby/object:Gem::Dependency
174
186
  name: bundler
175
187
  requirement: !ruby/object:Gem::Requirement
@@ -238,14 +250,14 @@ dependencies:
238
250
  requirements:
239
251
  - - "~>"
240
252
  - !ruby/object:Gem::Version
241
- version: 1.24.0
253
+ version: 1.28.2
242
254
  type: :development
243
255
  prerelease: false
244
256
  version_requirements: !ruby/object:Gem::Requirement
245
257
  requirements:
246
258
  - - "~>"
247
259
  - !ruby/object:Gem::Version
248
- version: 1.24.0
260
+ version: 1.28.2
249
261
  - !ruby/object:Gem::Dependency
250
262
  name: rubocop-packaging
251
263
  requirement: !ruby/object:Gem::Requirement
@@ -266,28 +278,28 @@ dependencies:
266
278
  requirements:
267
279
  - - "~>"
268
280
  - !ruby/object:Gem::Version
269
- version: 1.10.2
281
+ version: 1.13.3
270
282
  type: :development
271
283
  prerelease: false
272
284
  version_requirements: !ruby/object:Gem::Requirement
273
285
  requirements:
274
286
  - - "~>"
275
287
  - !ruby/object:Gem::Version
276
- version: 1.10.2
288
+ version: 1.13.3
277
289
  - !ruby/object:Gem::Dependency
278
290
  name: rubocop-rspec
279
291
  requirement: !ruby/object:Gem::Requirement
280
292
  requirements:
281
293
  - - "~>"
282
294
  - !ruby/object:Gem::Version
283
- version: 2.2.0
295
+ version: 2.10.0
284
296
  type: :development
285
297
  prerelease: false
286
298
  version_requirements: !ruby/object:Gem::Requirement
287
299
  requirements:
288
300
  - - "~>"
289
301
  - !ruby/object:Gem::Version
290
- version: 2.2.0
302
+ version: 2.10.0
291
303
  - !ruby/object:Gem::Dependency
292
304
  name: sqlite3
293
305
  requirement: !ruby/object:Gem::Requirement
@@ -374,10 +386,10 @@ licenses:
374
386
  - MIT
375
387
  metadata:
376
388
  bug_tracker_uri: https://github.com/cucumber/cucumber-rails/issues
377
- changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v2.5.1/CHANGELOG.md
389
+ changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v2.6.1/CHANGELOG.md
378
390
  documentation_uri: https://cucumber.io/docs
379
391
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
380
- source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v2.5.1
392
+ source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v2.6.1
381
393
  post_install_message:
382
394
  rdoc_options: []
383
395
  require_paths:
@@ -396,5 +408,5 @@ requirements: []
396
408
  rubygems_version: 3.1.2
397
409
  signing_key:
398
410
  specification_version: 4
399
- summary: cucumber-rails-2.5.1
411
+ summary: cucumber-rails-2.6.1
400
412
  test_files: []