cucumber-rails 3.0.0.rc.1 → 3.0.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: fdeb706dc54bd5014ef40dfd61d2ee45ee5cbba0f2f81b984664806da280a728
4
- data.tar.gz: 8fc24afbbf2ba6972c03981b32b06718b60635adc29b068aec875f0af4ed5d60
3
+ metadata.gz: aff922e790b6af0827c954162431bdd3fd14bbe2b4bd619c586179ef8e85e4a4
4
+ data.tar.gz: 4bf436f3ea1d3c8e811a51b219a393013d78a70ea3a3869455fbba159aa35542
5
5
  SHA512:
6
- metadata.gz: ee60c8d97f5e5ef7cfab76ca0111ea4a7361bbc660c4cc1d6539edfd72a7aa616440be9c037b41fd3352b00c951151b29ca5e3e952a3c87a4c38ba0612709d95
7
- data.tar.gz: 217a1e5b2e5ad7e2faf83255c5e07abf6114bbab2dd40dafe57e6396ca6862a63cfbabc0af77f1d5a35287e18b2304bc07881c0390d899d42c2988175960a936
6
+ metadata.gz: 917cf1655f0bb54a419cf9b1077f227d7a98b22185f0a094485b90b26276c7e28bd8ed9a761a4fbc53bd76a9693265f574c52673355271a64dbf6f249fb3ecc7
7
+ data.tar.gz: d0fe500f91a3f2d2ed716d6a43586480b2a9200b617ea0ff97d8ce00159a27dd0e94688b87bdbc484cddeb7d3ff89cfbf377ff06da0b488f700459b6da4ad851
data/CHANGELOG.md CHANGED
@@ -5,10 +5,30 @@ All notable changes to this project will be documented in this file. For older v
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- This file is intended to be modified using the [`changelog`](github.com/cucumber/changelog) command-line tool.
8
+ This file is intended to be modified using the [`changelog`](https://github.com/cucumber/changelog) command-line tool.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [3.0.1] - 2024-11-05
13
+ ### Changed
14
+ - Add support for Rails 7.2 / Ruby 3.3 (No code changes required) [#586](https://github.com/cucumber/cucumber-rails/pull/586) [#588](https://github.com/cucumber/cucumber-rails/pull/588)
15
+
16
+ ### Fixed
17
+ - Internal testing code has been refactored to handle older ruby/rails installs [#583](https://github.com/cucumber/cucumber-rails/pull/583)
18
+
19
+ ## [3.0.0] - 2023-11-01
20
+ ### Changed
21
+ - Add support for Rails 7.1 [#575](https://github.com/cucumber/cucumber-rails/pull/575)
22
+ - Added new rubocop sub-gems (rails / rake) and updated repo to be rubocop 2.6 conformant [#581](https://github.com/cucumber/cucumber-rails/pull/581)
23
+
24
+ ### Fixed
25
+ - Some of the rails 5.2 tests were installing lots of old conflicting gems ([luke-hill](https://github.com/luke-hill))
26
+ - Generator updates (Updated the install locations for some scripts from `script/` to `bin/` and remove some legacy items)
27
+ ([luke-hill](https://github.com/luke-hill))
28
+ - Update minimum versions of several gems: capybara must be `v3.11+` and cucumber must be `v5+` (cucumber v9 is also permissible)
29
+ ([luke-hill](https://github.com/luke-hill))
30
+ - Fixed an issue where the World instantiation didn't re-run the inherited classes initializer ([luke-hill](https://github.com/luke-hill))
31
+
12
32
  ## [3.0.0.rc.1] - 2023-09-15
13
33
  ### Removed
14
34
  - Removed runtime dependencies: `mime-types`, `rexml`, and `webrick` [#559](https://github.com/cucumber/cucumber-rails/pull/559)
@@ -19,11 +39,23 @@ This file is intended to be modified using the [`changelog`](github.com/cucumber
19
39
  ### Changed
20
40
  - Automate release process [#554](https://github.com/cucumber/cucumber-rails/pull/554)
21
41
 
22
- ## [v2.6.0]
42
+ ## [2.6.0] - 2022-10-07
23
43
  ### Changed
24
- - New release process. Older releases are in [this changelog](./CHANGELOG.old.md).
25
-
26
- [Unreleased]: https://github.com/cucumber/cucumber-rails/compare/v3.0.0.rc.1...main
44
+ - Gem update: allowed cucumber 8 ([#538](https://github.com/cucumber/cucumber-rails/pull/538) / [#541](https://github.com/cucumber/cucumber-rails/pull/541) [mattwynne](https://github.com/mattwynne))
45
+ - New release process. Older releases are in [this changelog](./CHANGELOG.old.md)
46
+
47
+ ### Fixed
48
+ - Some bugs with dev dependencies have now been fixed externally, so these have been unrestricted
49
+ ([#552](https://github.com/cucumber/cucumber-rails/pull/552) [BrianHawley](https://github.com/BrianHawley))
50
+ - Fixed up some rubocop offenses from updated `rubocop-performance`
51
+ ([#550](https://github.com/cucumber/cucumber-rails/pull/550) [olleolleolle](https://github.com/olleolleolle))
52
+
53
+ [Unreleased]: https://github.com/cucumber/cucumber-rails/compare/v3.0.1...HEAD
54
+ [3.0.1]: https://github.com/cucumber/cucumber-rails/compare/v3.0.0...v3.0.1
55
+ [3.0.0]: https://github.com/cucumber/cucumber-rails/compare/v3.0.0.rc.1...v3.0.0
27
56
  [3.0.0.rc.1]: https://github.com/cucumber/cucumber-rails/compare/v2.6.1...v3.0.0.rc.1
28
57
  [2.6.1]: https://github.com/cucumber/cucumber-rails/compare/v2.6.0...v2.6.1
29
- [v2.6.0]: ./CHANGELOG.old.md
58
+ [2.6.0]: https://github.com/cucumber/cucumber-rails/compare/v2.5.1...v2.6.0
59
+ //github.com/mattwynne
60
+ [orien]: https://github.com/orien
61
+ [luke-hill]: https://github.com/luke-hill
data/CONTRIBUTING.md CHANGED
@@ -40,22 +40,13 @@ This document is a guide for those maintaining Cucumber-Rails, and others who wo
40
40
  To remove and rebuild the different gemfiles (for example, to update a rails version or its
41
41
  dependencies), use the following:
42
42
 
43
- [bundle exec] appraisal update
43
+ [bundle exec] rake gemfiles:reinstall
44
44
 
45
45
  If you've changed versions of the dependencies, you may find it helpful to forcefully clean
46
46
  each appraisal's gem lock file in `gemfiles/`. You can do this using:
47
47
 
48
- [bundle exec] rake clean
49
-
50
- ## Release Process
51
-
52
- * Make sure `CHANGELOG.md` is updated with the upcoming version number, and has entries for all fixes.
53
- * No need to add a new version header at this point - this should be done when a new release is made, later.
54
- * Make sure you have up-to-date and clean copy of `cucumber/cucumber.github.com.git` at the same level as cucumber repo.
48
+ [bundle exec] rake gemfiles:clean
55
49
 
56
- Now release it
50
+ ## Release Process
57
51
 
58
- bundle update
59
- bundle exec rake
60
- git commit -m "Release X.Y.Z"
61
- rake release
52
+ We now use polyglot-release. Consult [RELEASING.md](./RELEASING.md) for more info
data/LICENSE CHANGED
@@ -1,22 +1,22 @@
1
- The MIT License
1
+ MIT License
2
2
 
3
- Copyright (c) 2008-2020 Aslak Hellesøy and the Cucumber Team.
3
+ Copyright (c) 2008 Aslak Hellesøy and contributors
4
+ Copyright (c) 2013 Cucumber Ltd and contributors
4
5
 
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
12
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
15
 
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
data/README.md CHANGED
@@ -1,11 +1,9 @@
1
1
  # Cucumber-Rails
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/cucumber-rails.svg)](http://badge.fury.io/rb/cucumber-rails)
4
- [![Build Status](https://github.com/cucumber/cucumber-rails/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/cucumber/cucumber-rails/actions/workflows/build.yml)
4
+ [![build](https://github.com/cucumber/cucumber-rails/actions/workflows/test.yml/badge.svg)](https://github.com/cucumber/cucumber-rails/actions/workflows/test.yml)
5
5
  [![Code Climate](https://codeclimate.com/github/cucumber/cucumber-rails.svg)](https://codeclimate.com/github/cucumber/cucumber-rails)
6
6
  [![Open Source Helpers](https://www.codetriage.com/cucumber/cucumber-rails/badges/users.svg)](https://www.codetriage.com/cucumber/cucumber-rails)
7
- [![pull requests](https://oselvar.com/api/badge?label=pull%20requests&csvUrl=https%3A%2F%2Fraw.githubusercontent.com%2Fcucumber%2Foselvar-github-metrics%2Fmain%2Fdata%2Fcucumber%2Fcucumber-rails%2FpullRequests.csv)](https://oselvar.com/github/cucumber/oselvar-github-metrics/main/cucumber/cucumber-rails)
8
- [![issues](https://oselvar.com/api/badge?label=issues&csvUrl=https%3A%2F%2Fraw.githubusercontent.com%2Fcucumber%2Foselvar-github-metrics%2Fmain%2Fdata%2Fcucumber%2Fcucumber-rails%2Fissues.csv)](https://oselvar.com/github/cucumber/oselvar-github-metrics/main/cucumber/cucumber-rails)
9
7
 
10
8
  Cucumber-Rails brings Cucumber to Rails 5.2, 6.x and 7.x.
11
9
 
@@ -35,12 +33,6 @@ Finally, bootstrap your Rails app, for example:
35
33
 
36
34
  ## Running Cucumber
37
35
 
38
- With Rake:
39
-
40
- rake cucumber
41
-
42
- Without Rake:
43
-
44
36
  [bundle exec] cucumber
45
37
 
46
38
  ## Configuration options
@@ -54,7 +46,8 @@ before and after your scenarios. You can disable this behaviour like so:
54
46
  Cucumber::Rails::Database.autorun_database_cleaner = false
55
47
  ```
56
48
 
57
- By default, cucumber-rails will auto mix-in the helpers from `Rack::Test` into your default Cucumber World instance. You can prevent this behaviour like so:
49
+ By default, cucumber-rails will auto mix-in the helpers from `Rack::Test` into your default Cucumber World instance.
50
+ You can prevent this behaviour like so:
58
51
  ```ruby
59
52
  # features/support/env.rb
60
53
  ENV['CR_REMOVE_RACK_TEST_HELPERS'] = 'true'
@@ -73,7 +66,7 @@ Cucumber feature. Let's say you think you have found a bug in the cucumber:insta
73
66
  Fork this project, clone it to your workstation and check out a branch with a descriptive name:
74
67
 
75
68
  git clone git@github.com:you/cucumber-rails.git
76
- git checkout -b bugfix/generator-fails-on-ruby-25
69
+ git checkout -b bugfix/generator-fails-on-bundle-exec
77
70
 
78
71
  Start by making sure you can run the existing features. Now, create a feature that demonstrates
79
72
  what's wrong. See the existing features for examples. When you have a failing feature that
@@ -85,7 +78,7 @@ feature) before you send the pull request.
85
78
 
86
79
  ### Setting up your environment
87
80
 
88
- Make sure you have a supported ruby installed, cd into your cucumber-rails repository and:
81
+ Make sure you have a supported ruby installed, cd into your `cucumber-rails` repository and run
89
82
 
90
83
  gem install bundler
91
84
  bundle install
@@ -102,8 +95,8 @@ With all dependencies installed, all specs and features should pass:
102
95
 
103
96
  In order to test against multiple versions of key dependencies, the [Appraisal](https://github.com/thoughtbot/appraisal)
104
97
  gem is used to generate multiple gemfiles, stored in the `gemfiles/` directory.
105
- Normally these will only run on Travis; however, if you want to run the full test suite against
106
- all gemfiles, run the following commands:
98
+ Normally these will only run on GitHub via GitHub Actions; however if you want to run the full test
99
+ suite against all gemfiles, run the following commands:
107
100
 
108
101
  [bundle exec] appraisal install
109
102
  [bundle exec] appraisal rake test
@@ -118,10 +111,8 @@ To support the multiple-gemfile testing, when adding a new dependency the follow
118
111
 
119
112
  1. If it's a runtime dependency of the gem, add it to the gemspec
120
113
  2. If it's a primary development dependency, add it to the gemspec
121
- 3. If it's a dependency of a generated rails app in a test, add it to [the helper] that
122
- modifies the `Gemfile`.
114
+ 3. If it's a dependency of a generated rails app in a test, add it to [the helper method] that modifies the `Gemfile`
123
115
 
124
116
  For example, rspec is a primary development dependency, so it lives in the gemspec.
125
117
 
126
- [the helper]: https://github.com/cucumber/cucumber-rails/blob/5e37c530560ae1c1a79521c38a54bae0be94242b/features/step_definitions/cucumber_rails_steps.rb#L15
127
-
118
+ [the helper method]: ./features/support/cucumber_rails_gem_helper.rb
@@ -10,7 +10,14 @@ module Cucumber
10
10
  module ShowExceptions
11
11
  def call(env)
12
12
  env['action_dispatch.show_detailed_exceptions'] = !ActionController::Base.allow_rescue
13
- env['action_dispatch.show_exceptions'] = !env['action_dispatch.show_detailed_exceptions']
13
+
14
+ show_exceptions = !env['action_dispatch.show_detailed_exceptions']
15
+ if ::Rails.gem_version >= Gem::Version.new('7.1.0')
16
+ # Rails 7.1 deprecated `show_exceptions` boolean in in favor of symbols
17
+ show_exceptions = show_exceptions ? :all : :none
18
+ end
19
+
20
+ env['action_dispatch.show_exceptions'] = show_exceptions
14
21
  super(env)
15
22
  end
16
23
  end
@@ -108,14 +108,14 @@ end
108
108
 
109
109
  Before('not @no-js-emulation') do
110
110
  # Enable javascript emulation
111
- ::Capybara::RackTest::Node.class_eval do
111
+ Capybara::RackTest::Node.class_eval do
112
112
  alias_method :click, :click_with_javascript_emulation
113
113
  end
114
114
  end
115
115
 
116
116
  Before('@no-js-emulation') do
117
117
  # Disable javascript emulation
118
- ::Capybara::RackTest::Node.class_eval do
118
+ Capybara::RackTest::Node.class_eval do
119
119
  alias_method :click, :click_without_javascript_emulation
120
120
  end
121
121
  end
@@ -70,4 +70,4 @@ module Cucumber
70
70
  end
71
71
  end
72
72
 
73
- World(::Cucumber::Rails::Capybara::SelectDatesAndTimes)
73
+ World(Cucumber::Rails::Capybara::SelectDatesAndTimes)
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative 'database/strategy'
4
+ require_relative 'database/deletion_strategy'
5
+ require_relative 'database/null_strategy'
6
+ require_relative 'database/shared_connection_strategy'
7
+ require_relative 'database/truncation_strategy'
8
+
3
9
  module Cucumber
4
10
  module Rails
5
11
  module Database
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- if defined?(::ActionMailer)
3
+ if defined?(ActionMailer)
4
4
  Before do
5
5
  ActionMailer::Base.deliveries = []
6
6
  end
@@ -25,7 +25,7 @@ module Cucumber
25
25
  include ActiveSupport::Testing::SetupAndTeardown if ActiveSupport::Testing.const_defined?(:SetupAndTeardown)
26
26
 
27
27
  def initialize
28
- @_result = Test::Unit::TestResult.new if defined?(Test::Unit::TestResult)
28
+ super('MiniTest run-name if needed')
29
29
  end
30
30
 
31
31
  unless defined?(ActiveRecord::Base)
@@ -14,9 +14,12 @@ if called_from_env_rb
14
14
  require 'rails/test_help'
15
15
 
16
16
  unless Rails.application.config.cache_classes || defined?(Spring)
17
- warn "WARNING: You have set Rails' config.cache_classes to false
18
- (Spring needs cache_classes set to false). This is known to cause problems
19
- with database transactions. Set config.cache_classes to true if you want to use transactions."
17
+ warn <<~MESSAGE
18
+ WARNING: You have set Rails' config.cache_classes to false (Spring needs cache_classes set to false).
19
+ This is known to cause problems with database transactions.
20
+
21
+ Set config.cache_classes to true if you want to use transactions.
22
+ MESSAGE
20
23
  end
21
24
 
22
25
  require 'cucumber/rails/world'
@@ -31,8 +34,10 @@ if called_from_env_rb
31
34
 
32
35
  MultiTest.disable_autorun
33
36
  else
34
- warn "WARNING: Cucumber-rails required outside of env.rb. The rest of loading is being deferred
35
- until env.rb is called. To avoid this warning, move 'gem \'cucumber-rails\', require: false'
36
- under only group :test in your Gemfile. If already in the :test group, be sure you are
37
- specifying 'require: false'."
37
+ warn <<~MESSAGE
38
+ WARNING: Cucumber-rails has been required outside of env.rb. The rest of loading is being deferred until env.rb is called.
39
+
40
+ To avoid this warning, move `gem 'cucumber-rails', require: false` under `group :test` in your Gemfile.
41
+ If it is already in the `:test` group, be sure you are specifying 'require: false'.
42
+ MESSAGE
38
43
  end
@@ -19,18 +19,18 @@ module Cucumber
19
19
  end
20
20
 
21
21
  def create_scripts
22
- copy_file 'script/cucumber', 'script/cucumber'
23
- chmod 'script/cucumber', 0755
22
+ copy_file 'bin/cucumber', 'bin/cucumber'
23
+ chmod 'bin/cucumber', 0755
24
24
  end
25
25
 
26
26
  def create_step_definitions
27
27
  empty_directory 'features/step_definitions'
28
- create_file 'features/step_definitions/.gitkeep'
28
+ create_file 'features/step_definitions/.keep'
29
29
  end
30
30
 
31
31
  def create_feature_support
32
32
  empty_directory 'features/support'
33
- template 'support/rails.rb.erb', 'features/support/env.rb'
33
+ template 'support/env.rb.erb', 'features/support/env.rb'
34
34
  end
35
35
 
36
36
  def configure_environment
@@ -53,9 +53,6 @@ module Cucumber
53
53
 
54
54
  gsub_file 'config/database.yml', /^test:.*\n/, "test: &test\n"
55
55
  gsub_file 'config/database.yml', /\z/, "\ncucumber:\n <<: *test\n"
56
-
57
- # Since gsub_file doesn't ask the user, just inform user that the file was overwritten.
58
- puts ' force config/database.yml'
59
56
  end
60
57
 
61
58
  protected
@@ -5,5 +5,4 @@ rerun_opts = rerun.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} fe
5
5
  std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags 'not @wip'"
6
6
  %>
7
7
  default: <%%= std_opts %> features
8
- wip: --tags @wip:3 --wip features
9
8
  rerun: <%%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip'
@@ -1,3 +1,7 @@
1
+ <%= embed_file('support/edit_warning.txt') %>
2
+
3
+ require 'cucumber/rails'
4
+
1
5
  # By default, any exception happening in your Rails application will bubble up
2
6
  # to Cucumber so that your scenario will fail. This is a different from how
3
7
  # your application behaves in the production environment, where an error page will
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: 3.0.0.rc.1
4
+ version: 3.0.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: 2023-09-25 00:00:00.000000000 Z
13
+ date: 2024-11-05 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.18'
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: '2.18'
31
+ version: '3.11'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '4'
@@ -38,34 +38,20 @@ dependencies:
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '3.2'
41
+ version: '5'
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '9'
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: '3.2'
51
+ version: '5'
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '9'
55
- - !ruby/object:Gem::Dependency
56
- name: nokogiri
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.10'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.10'
54
+ version: '10'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: railties
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +78,14 @@ dependencies:
92
78
  requirements:
93
79
  - - ">="
94
80
  - !ruby/object:Gem::Version
95
- version: 1.1.4
81
+ version: 1.1.5
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
86
  - - ">="
101
87
  - !ruby/object:Gem::Version
102
- version: 1.1.4
88
+ version: 1.1.5
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: appraisal
105
91
  requirement: !ruby/object:Gem::Requirement
@@ -126,7 +112,7 @@ dependencies:
126
112
  requirements:
127
113
  - - ">="
128
114
  - !ruby/object:Gem::Version
129
- version: '1.0'
115
+ version: 1.1.2
130
116
  - - "<"
131
117
  - !ruby/object:Gem::Version
132
118
  version: '3'
@@ -136,156 +122,162 @@ dependencies:
136
122
  requirements:
137
123
  - - ">="
138
124
  - !ruby/object:Gem::Version
139
- version: '1.0'
125
+ version: 1.1.2
140
126
  - - "<"
141
127
  - !ruby/object:Gem::Version
142
128
  version: '3'
143
129
  - !ruby/object:Gem::Dependency
144
- name: bundler
130
+ name: database_cleaner
145
131
  requirement: !ruby/object:Gem::Requirement
146
132
  requirements:
147
133
  - - ">="
148
134
  - !ruby/object:Gem::Version
149
- version: '1.17'
135
+ version: '1.8'
136
+ - - "<"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.0'
150
139
  type: :development
151
140
  prerelease: false
152
141
  version_requirements: !ruby/object:Gem::Requirement
153
142
  requirements:
154
143
  - - ">="
155
144
  - !ruby/object:Gem::Version
156
- version: '1.17'
145
+ version: '1.8'
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: '3.0'
157
149
  - !ruby/object:Gem::Dependency
158
- name: database_cleaner
150
+ name: rails
159
151
  requirement: !ruby/object:Gem::Requirement
160
152
  requirements:
161
153
  - - ">="
162
154
  - !ruby/object:Gem::Version
163
- version: '1.8'
155
+ version: '5.2'
164
156
  - - "<"
165
157
  - !ruby/object:Gem::Version
166
- version: '3.0'
158
+ version: '8'
167
159
  type: :development
168
160
  prerelease: false
169
161
  version_requirements: !ruby/object:Gem::Requirement
170
162
  requirements:
171
163
  - - ">="
172
164
  - !ruby/object:Gem::Version
173
- version: '1.8'
165
+ version: '5.2'
174
166
  - - "<"
175
167
  - !ruby/object:Gem::Version
176
- version: '3.0'
168
+ version: '8'
177
169
  - !ruby/object:Gem::Dependency
178
170
  name: rake
179
171
  requirement: !ruby/object:Gem::Requirement
180
172
  requirements:
181
173
  - - ">="
182
174
  - !ruby/object:Gem::Version
183
- version: '12.0'
175
+ version: '13.0'
184
176
  type: :development
185
177
  prerelease: false
186
178
  version_requirements: !ruby/object:Gem::Requirement
187
179
  requirements:
188
180
  - - ">="
189
181
  - !ruby/object:Gem::Version
190
- version: '12.0'
182
+ version: '13.0'
191
183
  - !ruby/object:Gem::Dependency
192
184
  name: rspec
193
185
  requirement: !ruby/object:Gem::Requirement
194
186
  requirements:
195
187
  - - "~>"
196
188
  - !ruby/object:Gem::Version
197
- version: '3.6'
189
+ version: '3.12'
198
190
  type: :development
199
191
  prerelease: false
200
192
  version_requirements: !ruby/object:Gem::Requirement
201
193
  requirements:
202
194
  - - "~>"
203
195
  - !ruby/object:Gem::Version
204
- version: '3.6'
196
+ version: '3.12'
205
197
  - !ruby/object:Gem::Dependency
206
198
  name: rubocop
207
199
  requirement: !ruby/object:Gem::Requirement
208
200
  requirements:
209
201
  - - "~>"
210
202
  - !ruby/object:Gem::Version
211
- version: 1.28.2
203
+ version: 1.45.0
212
204
  type: :development
213
205
  prerelease: false
214
206
  version_requirements: !ruby/object:Gem::Requirement
215
207
  requirements:
216
208
  - - "~>"
217
209
  - !ruby/object:Gem::Version
218
- version: 1.28.2
210
+ version: 1.45.0
219
211
  - !ruby/object:Gem::Dependency
220
212
  name: rubocop-packaging
221
213
  requirement: !ruby/object:Gem::Requirement
222
214
  requirements:
223
215
  - - "~>"
224
216
  - !ruby/object:Gem::Version
225
- version: 0.5.1
217
+ version: 0.5.2
226
218
  type: :development
227
219
  prerelease: false
228
220
  version_requirements: !ruby/object:Gem::Requirement
229
221
  requirements:
230
222
  - - "~>"
231
223
  - !ruby/object:Gem::Version
232
- version: 0.5.1
224
+ version: 0.5.2
233
225
  - !ruby/object:Gem::Dependency
234
226
  name: rubocop-performance
235
227
  requirement: !ruby/object:Gem::Requirement
236
228
  requirements:
237
229
  - - "~>"
238
230
  - !ruby/object:Gem::Version
239
- version: 1.13.3
231
+ version: 1.17.1
240
232
  type: :development
241
233
  prerelease: false
242
234
  version_requirements: !ruby/object:Gem::Requirement
243
235
  requirements:
244
236
  - - "~>"
245
237
  - !ruby/object:Gem::Version
246
- version: 1.13.3
238
+ version: 1.17.1
247
239
  - !ruby/object:Gem::Dependency
248
- name: rubocop-rspec
240
+ name: rubocop-rails
249
241
  requirement: !ruby/object:Gem::Requirement
250
242
  requirements:
251
243
  - - "~>"
252
244
  - !ruby/object:Gem::Version
253
- version: 2.10.0
245
+ version: 2.18.0
254
246
  type: :development
255
247
  prerelease: false
256
248
  version_requirements: !ruby/object:Gem::Requirement
257
249
  requirements:
258
250
  - - "~>"
259
251
  - !ruby/object:Gem::Version
260
- version: 2.10.0
252
+ version: 2.18.0
261
253
  - !ruby/object:Gem::Dependency
262
- name: sqlite3
254
+ name: rubocop-rake
263
255
  requirement: !ruby/object:Gem::Requirement
264
256
  requirements:
265
257
  - - "~>"
266
258
  - !ruby/object:Gem::Version
267
- version: '1.3'
259
+ version: 0.6.0
268
260
  type: :development
269
261
  prerelease: false
270
262
  version_requirements: !ruby/object:Gem::Requirement
271
263
  requirements:
272
264
  - - "~>"
273
265
  - !ruby/object:Gem::Version
274
- version: '1.3'
266
+ version: 0.6.0
275
267
  - !ruby/object:Gem::Dependency
276
- name: rdoc
268
+ name: rubocop-rspec
277
269
  requirement: !ruby/object:Gem::Requirement
278
270
  requirements:
279
- - - ">="
271
+ - - "~>"
280
272
  - !ruby/object:Gem::Version
281
- version: '6.0'
273
+ version: 2.17.0
282
274
  type: :development
283
275
  prerelease: false
284
276
  version_requirements: !ruby/object:Gem::Requirement
285
277
  requirements:
286
- - - ">="
278
+ - - "~>"
287
279
  - !ruby/object:Gem::Version
288
- version: '6.0'
280
+ version: 2.17.0
289
281
  - !ruby/object:Gem::Dependency
290
282
  name: yard
291
283
  requirement: !ruby/object:Gem::Requirement
@@ -331,23 +323,20 @@ files:
331
323
  - lib/cucumber/rails/world.rb
332
324
  - lib/generators/cucumber/USAGE
333
325
  - lib/generators/cucumber/install_generator.rb
326
+ - lib/generators/cucumber/templates/bin/cucumber
334
327
  - lib/generators/cucumber/templates/config/cucumber.yml.erb
335
- - lib/generators/cucumber/templates/script/cucumber
336
- - lib/generators/cucumber/templates/support/_rails_each_run.rb.erb
337
- - lib/generators/cucumber/templates/support/_rails_prefork.rb.erb
338
- - lib/generators/cucumber/templates/support/capybara.rb
339
328
  - lib/generators/cucumber/templates/support/edit_warning.txt
340
- - lib/generators/cucumber/templates/support/rails.rb.erb
329
+ - lib/generators/cucumber/templates/support/env.rb.erb
341
330
  - lib/generators/cucumber/templates/tasks/cucumber.rake.erb
342
331
  homepage: https://cucumber.io
343
332
  licenses:
344
333
  - MIT
345
334
  metadata:
346
335
  bug_tracker_uri: https://github.com/cucumber/cucumber-rails/issues
347
- changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v3.0.0.rc.1/CHANGELOG.md
336
+ changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v3.0.1/CHANGELOG.md
348
337
  documentation_uri: https://cucumber.io/docs
349
338
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
350
- source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v3.0.0.rc.1
339
+ source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v3.0.1
351
340
  post_install_message:
352
341
  rdoc_options: []
353
342
  require_paths:
@@ -361,10 +350,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
361
350
  requirements:
362
351
  - - ">="
363
352
  - !ruby/object:Gem::Version
364
- version: 3.0.1
353
+ version: 3.2.3
365
354
  requirements: []
366
355
  rubygems_version: 3.3.5
367
356
  signing_key:
368
357
  specification_version: 4
369
- summary: cucumber-rails-3.0.0.rc.1
358
+ summary: cucumber-rails-3.0.1
370
359
  test_files: []
@@ -1 +0,0 @@
1
- require 'cucumber/rails'
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Capybara defaults to CSS3 selectors rather than XPath.
4
- # If you'd prefer to use XPath, just uncomment this line and adjust any
5
- # selectors in your step definitions to use the XPath syntax.
6
- # Capybara.default_selector = :xpath
@@ -1,4 +0,0 @@
1
- <%= embed_file('support/edit_warning.txt') %>
2
- <%= embed_template('support/_rails_prefork.rb.erb') %>
3
- <%= embed_file("support/capybara.rb") %>
4
- <%= embed_template('support/_rails_each_run.rb.erb') %>