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 +4 -4
- data/CHANGELOG.md +38 -6
- data/CONTRIBUTING.md +4 -13
- data/LICENSE +18 -18
- data/README.md +9 -18
- data/lib/cucumber/rails/action_dispatch.rb +8 -1
- data/lib/cucumber/rails/capybara/javascript_emulation.rb +2 -2
- data/lib/cucumber/rails/capybara/select_dates_and_times.rb +1 -1
- data/lib/cucumber/rails/database.rb +6 -0
- data/lib/cucumber/rails/hooks/mail.rb +1 -1
- data/lib/cucumber/rails/world.rb +1 -1
- data/lib/cucumber/rails.rb +12 -7
- data/lib/generators/cucumber/install_generator.rb +4 -7
- data/lib/generators/cucumber/templates/config/cucumber.yml.erb +0 -1
- data/lib/generators/cucumber/templates/support/{_rails_each_run.rb.erb → env.rb.erb} +4 -0
- metadata +53 -64
- data/lib/generators/cucumber/templates/support/_rails_prefork.rb.erb +0 -1
- data/lib/generators/cucumber/templates/support/capybara.rb +0 -6
- data/lib/generators/cucumber/templates/support/rails.rb.erb +0 -4
- /data/lib/generators/cucumber/templates/{script → bin}/cucumber +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aff922e790b6af0827c954162431bdd3fd14bbe2b4bd619c586179ef8e85e4a4
|
4
|
+
data.tar.gz: 4bf436f3ea1d3c8e811a51b219a393013d78a70ea3a3869455fbba159aa35542
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
## [
|
42
|
+
## [2.6.0] - 2022-10-07
|
23
43
|
### Changed
|
24
|
-
-
|
25
|
-
|
26
|
-
|
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
|
-
[
|
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]
|
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
|
-
|
50
|
+
## Release Process
|
57
51
|
|
58
|
-
|
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
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c) 2008
|
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
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|
-
|
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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
OF
|
22
|
-
|
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
|
-
[![
|
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.
|
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-
|
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
|
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]:
|
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
|
-
|
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
|
-
|
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
|
-
|
118
|
+
Capybara::RackTest::Node.class_eval do
|
119
119
|
alias_method :click, :click_without_javascript_emulation
|
120
120
|
end
|
121
121
|
end
|
@@ -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
|
data/lib/cucumber/rails/world.rb
CHANGED
@@ -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
|
-
|
28
|
+
super('MiniTest run-name if needed')
|
29
29
|
end
|
30
30
|
|
31
31
|
unless defined?(ActiveRecord::Base)
|
data/lib/cucumber/rails.rb
CHANGED
@@ -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
|
18
|
-
|
19
|
-
|
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
|
35
|
-
|
36
|
-
|
37
|
-
|
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 '
|
23
|
-
chmod '
|
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/.
|
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/
|
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.
|
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:
|
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: '
|
21
|
+
version: '3.11'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: '4'
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
requirements:
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '3.11'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '4'
|
@@ -38,34 +38,20 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '5'
|
42
42
|
- - "<"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '10'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '5'
|
52
52
|
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: 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.
|
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.
|
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:
|
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:
|
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:
|
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.
|
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.
|
145
|
+
version: '1.8'
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '3.0'
|
157
149
|
- !ruby/object:Gem::Dependency
|
158
|
-
name:
|
150
|
+
name: rails
|
159
151
|
requirement: !ruby/object:Gem::Requirement
|
160
152
|
requirements:
|
161
153
|
- - ">="
|
162
154
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
155
|
+
version: '5.2'
|
164
156
|
- - "<"
|
165
157
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
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: '
|
165
|
+
version: '5.2'
|
174
166
|
- - "<"
|
175
167
|
- !ruby/object:Gem::Version
|
176
|
-
version: '
|
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: '
|
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: '
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
238
|
+
version: 1.17.1
|
247
239
|
- !ruby/object:Gem::Dependency
|
248
|
-
name: rubocop-
|
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.
|
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.
|
252
|
+
version: 2.18.0
|
261
253
|
- !ruby/object:Gem::Dependency
|
262
|
-
name:
|
254
|
+
name: rubocop-rake
|
263
255
|
requirement: !ruby/object:Gem::Requirement
|
264
256
|
requirements:
|
265
257
|
- - "~>"
|
266
258
|
- !ruby/object:Gem::Version
|
267
|
-
version:
|
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:
|
266
|
+
version: 0.6.0
|
275
267
|
- !ruby/object:Gem::Dependency
|
276
|
-
name:
|
268
|
+
name: rubocop-rspec
|
277
269
|
requirement: !ruby/object:Gem::Requirement
|
278
270
|
requirements:
|
279
|
-
- - "
|
271
|
+
- - "~>"
|
280
272
|
- !ruby/object:Gem::Version
|
281
|
-
version:
|
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:
|
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/
|
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.
|
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.
|
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.
|
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.
|
358
|
+
summary: cucumber-rails-3.0.1
|
370
359
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'cucumber/rails'
|
File without changes
|