Skip to content

Commit

Permalink
cucumber 7 support (#91)
Browse files Browse the repository at this point in the history
* cucumber 7 support

* Update gemfiles/Gemfile-rails.4.2.x.lock
  • Loading branch information
ykitamura-mdsol committed Oct 19, 2021
1 parent 5878060 commit d30659b
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
# Cucumber 6
- Gemfile-rails.6.0.x-cukes-6
- Gemfile-rails.6.1.x-cukes-6
# Cucumber 7
- Gemfile-rails.6.0.x-cukes-7
- Gemfile-rails.6.1.x-cukes-7
# Edge
- Gemfile-rails.edge
exclude:
Expand Down
6 changes: 6 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
== 0.6.2
* Relax dependency to support cucumber 7.x

== 0.6.1
* Relax dependency to support cucumber 6.x

== 0.6.0
* Drop support for cucumber < 3
* Officially support cucumber 4.1
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Cucumber 3.x - support is best-effort basis, but tests run on rails 4.2 all the
Cucumber 4.x - should work with all Rails 5.x versions, tests only run for 5.2 and 6.0
Cucumber 5.x - all tests pass for rails 5.2, 6.0 and 6.1
Cucumber 6.x - all tests pass for rails 6.0 and 6.1
Cucumber 7.x - all tests pass for rails 6.0 and 6.1

Please open pull-requests with fixes if you encounter any problems.
No active development on this gem.
Expand Down
26 changes: 13 additions & 13 deletions gemfiles/Gemfile-rails.4.2.x.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ GIT
PATH
remote: ..
specs:
pickle (0.6.1)
cucumber (>= 3.0, < 7.0)
pickle (0.6.2)
cucumber (>= 3.0, < 8.0)
rake

GEM
Expand Down Expand Up @@ -49,7 +49,7 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.7.0)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
arel (6.0.4)
backports (3.21.0)
Expand All @@ -62,7 +62,7 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
codecov (0.5.2)
codecov (0.6.0)
simplecov (>= 0.15, < 0.22)
concurrent-ruby (1.1.9)
crass (1.0.6)
Expand Down Expand Up @@ -95,28 +95,28 @@ GEM
factory_bot (5.2.0)
activesupport (>= 4.2.0)
gherkin (5.1.0)
git (1.8.1)
git (1.9.1)
rchardet (~> 1.8)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
loofah (2.10.0)
loofah (2.12.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
machinist (2.0)
mail (2.7.1)
mini_mime (>= 0.1.1)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2021.0225)
mini_mime (1.1.0)
mini_portile2 (2.5.3)
mime-types-data (3.2021.0901)
mini_mime (1.1.2)
mini_portile2 (2.6.1)
minitest (5.14.4)
multi_json (1.15.0)
multi_test (0.1.2)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
public_suffix (4.0.6)
racc (1.5.2)
Expand All @@ -140,14 +140,14 @@ GEM
activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.3.0)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
railties (4.2.11.3)
actionpack (= 4.2.11.3)
activesupport (= 4.2.11.3)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (13.0.3)
rake (13.0.6)
rchardet (1.8.0)
regexp_parser (2.1.1)
rspec-core (3.9.3)
Expand Down
11 changes: 11 additions & 0 deletions gemfiles/Gemfile-rails.6.0.x-cukes-7
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "http://rubygems.org"

# Bundler 1.x default to insecure http:// for github: shortcut
git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }

gemspec :path => ".."

gem "rails", "~> 6.0.0"
gem "cucumber", "~> 7.0"
gem "cucumber-rails"
gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
11 changes: 11 additions & 0 deletions gemfiles/Gemfile-rails.6.1.x-cukes-7
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "http://rubygems.org"

# Bundler 1.x default to insecure http:// for github: shortcut
git_source(:github){ |repo_name| "https://github.com/#{repo_name}.git" }

gemspec :path => ".."

gem "rails", "~> 6.1.0"
gem "cucumber", "~> 7.0"
gem "cucumber-rails"
gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800'
2 changes: 1 addition & 1 deletion lib/pickle/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pickle
VERSION = "0.6.1"
VERSION = "0.6.2"
end
2 changes: 1 addition & 1 deletion pickle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ["lib"]

s.add_dependency "cucumber", ">=3.0", "< 7.0"
s.add_dependency "cucumber", ">=3.0", "< 8.0"
s.add_dependency "rake"

s.add_development_dependency "rack"
Expand Down

0 comments on commit d30659b

Please sign in to comment.