From 137c35df29f38526599862dc9c9fc90ad0289ab1 Mon Sep 17 00:00:00 2001 From: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com> Date: Fri, 28 Apr 2023 12:17:05 +0900 Subject: [PATCH] Trash deprecated ruby/rails version, add support for cucumber 8 (#96) * Trash deprecated ruby/rails version, add support for cucumber 8, clean up Gemfile * default value for local setup * Update History/Changelog file --- .github/workflows/build.yml | 86 +------ .../Gemfile-rails.5.2.x-cukes-5 => Gemfile | 9 +- History.txt | 7 + gemfiles/Gemfile-rails.4.2.x | 13 -- gemfiles/Gemfile-rails.4.2.x.lock | 216 ------------------ gemfiles/Gemfile-rails.5.0.x | 12 - gemfiles/Gemfile-rails.5.1.x | 10 - gemfiles/Gemfile-rails.5.2.x | 11 - gemfiles/Gemfile-rails.5.2.x-cukes-4 | 11 - gemfiles/Gemfile-rails.6.0.x-cukes-3 | 10 - gemfiles/Gemfile-rails.6.0.x-cukes-4 | 10 - gemfiles/Gemfile-rails.6.0.x-cukes-5 | 11 - gemfiles/Gemfile-rails.6.0.x-cukes-6 | 11 - gemfiles/Gemfile-rails.6.0.x-cukes-7 | 11 - gemfiles/Gemfile-rails.6.1.x-cukes-3 | 10 - gemfiles/Gemfile-rails.6.1.x-cukes-4 | 10 - gemfiles/Gemfile-rails.6.1.x-cukes-5 | 11 - gemfiles/Gemfile-rails.6.1.x-cukes-6 | 11 - gemfiles/Gemfile-rails.6.1.x-cukes-7 | 11 - gemfiles/Gemfile-rails.7.0.x-cukes-6 | 11 - gemfiles/Gemfile-rails.7.0.x-cukes-7 | 11 - gemfiles/Gemfile-rails.edge | 9 - lib/pickle/version.rb | 2 +- pickle.gemspec | 6 +- 24 files changed, 22 insertions(+), 498 deletions(-) rename gemfiles/Gemfile-rails.5.2.x-cukes-5 => Gemfile (50%) delete mode 100644 gemfiles/Gemfile-rails.4.2.x delete mode 100644 gemfiles/Gemfile-rails.4.2.x.lock delete mode 100644 gemfiles/Gemfile-rails.5.0.x delete mode 100644 gemfiles/Gemfile-rails.5.1.x delete mode 100644 gemfiles/Gemfile-rails.5.2.x delete mode 100644 gemfiles/Gemfile-rails.5.2.x-cukes-4 delete mode 100644 gemfiles/Gemfile-rails.6.0.x-cukes-3 delete mode 100644 gemfiles/Gemfile-rails.6.0.x-cukes-4 delete mode 100644 gemfiles/Gemfile-rails.6.0.x-cukes-5 delete mode 100644 gemfiles/Gemfile-rails.6.0.x-cukes-6 delete mode 100644 gemfiles/Gemfile-rails.6.0.x-cukes-7 delete mode 100644 gemfiles/Gemfile-rails.6.1.x-cukes-3 delete mode 100644 gemfiles/Gemfile-rails.6.1.x-cukes-4 delete mode 100644 gemfiles/Gemfile-rails.6.1.x-cukes-5 delete mode 100644 gemfiles/Gemfile-rails.6.1.x-cukes-6 delete mode 100644 gemfiles/Gemfile-rails.6.1.x-cukes-7 delete mode 100644 gemfiles/Gemfile-rails.7.0.x-cukes-6 delete mode 100644 gemfiles/Gemfile-rails.7.0.x-cukes-7 delete mode 100644 gemfiles/Gemfile-rails.edge diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d420d84..dbc4fbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,88 +15,14 @@ jobs: strategy: fail-fast: false matrix: - ruby: - - '3.1' - - '3.0' - - 2.7 - - 2.6 - - 2.5 - gemfile: - # Cucumber 3.2+ - - Gemfile-rails.4.2.x - - Gemfile-rails.5.0.x - - Gemfile-rails.5.1.x - - Gemfile-rails.5.2.x - - Gemfile-rails.6.0.x-cukes-3 - - Gemfile-rails.6.1.x-cukes-3 - # Cucumber 4.1+ - - Gemfile-rails.5.2.x-cukes-4 - - Gemfile-rails.6.0.x-cukes-4 - # Cucumber 5.3+ - - Gemfile-rails.5.2.x-cukes-5 - - Gemfile-rails.6.0.x-cukes-5 - - Gemfile-rails.6.1.x-cukes-5 - # Cucumber 6 - - Gemfile-rails.6.0.x-cukes-6 - - Gemfile-rails.6.1.x-cukes-6 - - Gemfile-rails.7.0.x-cukes-6 - # Cucumber 7 - - Gemfile-rails.6.0.x-cukes-7 - - Gemfile-rails.6.1.x-cukes-7 - - Gemfile-rails.7.0.x-cukes-7 - # Edge - - Gemfile-rails.edge - exclude: - # Rails edge is now 7.x and requires ruby 2.7 - - gemfile: Gemfile-rails.edge - ruby: 2.6 - - gemfile: Gemfile-rails.edge - ruby: 2.5 - - gemfile: Gemfile-rails.7.0.x-cukes-7 - ruby: 2.6 - - gemfile: Gemfile-rails.7.0.x-cukes-7 - ruby: 2.5 - - gemfile: Gemfile-rails.7.0.x-cukes-6 - ruby: 2.6 - - gemfile: Gemfile-rails.7.0.x-cukes-6 - ruby: 2.5 - - gemfile: Gemfile-rails.4.2.x - ruby: 2.7 - - gemfile: Gemfile-rails.4.2.x - ruby: '3.0' - - gemfile: Gemfile-rails.4.2.x - ruby: '3.1' - - gemfile: Gemfile-rails.5.0.x - ruby: '3.1' - - gemfile: Gemfile-rails.5.1.x - ruby: '3.1' - - gemfile: Gemfile-rails.5.2.x - ruby: '3.1' - - gemfile: Gemfile-rails.6.0.x-cukes-3 - ruby: '3.1' - - gemfile: Gemfile-rails.6.1.x-cukes-3 - ruby: '3.1' - - gemfile: Gemfile-rails.5.2.x-cukes-4 - ruby: '3.1' - - gemfile: Gemfile-rails.6.0.x-cukes-4 - ruby: '3.1' - - gemfile: Gemfile-rails.5.2.x-cukes-5 - ruby: '3.1' - - gemfile: Gemfile-rails.6.0.x-cukes-5 - ruby: '3.1' - - gemfile: Gemfile-rails.6.1.x-cukes-5 - ruby: '3.1' - - gemfile: Gemfile-rails.6.0.x-cukes-6 - ruby: '3.1' - - gemfile: Gemfile-rails.6.1.x-cukes-6 - ruby: '3.1' - - gemfile: Gemfile-rails.6.0.x-cukes-7 - ruby: '3.1' - - gemfile: Gemfile-rails.6.1.x-cukes-7 - ruby: '3.1' + rails: ["7.0", "6.1", "6.0"] + ruby: ["3.2.2", "3.1.4", "3.0.6", "2.7.8"] + cucumber: ["8.0", "7.0", "6.0", "5.0", "4.0", "3.0"] env: - BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }} + RUBY_VERSION: ${{ matrix.ruby }} + RAILS_VERSION: ${{ matrix.rails }} + CUKES_VERSION: ${{ matrix.cucumber }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/gemfiles/Gemfile-rails.5.2.x-cukes-5 b/Gemfile similarity index 50% rename from gemfiles/Gemfile-rails.5.2.x-cukes-5 rename to Gemfile index f4a32a6..9383a24 100644 --- a/gemfiles/Gemfile-rails.5.2.x-cukes-5 +++ b/Gemfile @@ -1,11 +1,12 @@ source "https://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 => ".." +gemspec :path => "." -gem "rails", "~> 5.2.0" -gem "cucumber", "~> 5.0" +# use ENV vars, with default value as fallback for local setup +ruby (ENV['RUBY_VERSION'] || '3.2.2') +gem "rails", "~> #{ENV['RAILS_VERSION'] || '7.0'}.0" +gem "cucumber", "~> #{ENV['CUKES_VERSION'] || '7.0'}" gem "cucumber-rails" gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/History.txt b/History.txt index 98b0352..bb9b086 100644 --- a/History.txt +++ b/History.txt @@ -1,3 +1,10 @@ +== 0.8.0 +* Added support for Cucumber 8.x +* Removed support for Rails 4.2 -> 5.2 +* Removed support for Ruby 2.0 -> 2.6 +* Clean up Gemfiles, testing Ruby 2.7 -> 3.2 and Rails 6.0 -> 7.0 +* Cucumber 3.x -> 8.x remain supported. + == 0.7.2 * Eliminate noisy warning: =~ called on anything but String objects. diff --git a/gemfiles/Gemfile-rails.4.2.x b/gemfiles/Gemfile-rails.4.2.x deleted file mode 100644 index 5d6aef1..0000000 --- a/gemfiles/Gemfile-rails.4.2.x +++ /dev/null @@ -1,13 +0,0 @@ -source "https://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", "~> 4.2.9" -gem "cucumber", "~> 3.2.0" -gem "sqlite3", "~> 1.3.6" -gem "bundler", "~> 1.17" - -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.4.2.x.lock b/gemfiles/Gemfile-rails.4.2.x.lock deleted file mode 100644 index 822eaf1..0000000 --- a/gemfiles/Gemfile-rails.4.2.x.lock +++ /dev/null @@ -1,216 +0,0 @@ -GIT - remote: https://github.com/mathieujobin/fabrication.git - revision: 923cf6fcefd0566b1d6be7bd2f685b89388f4800 - ref: 923cf6fcefd0566b1d6be7bd2f685b89388f4800 - specs: - fabrication (2.16.2) - -PATH - remote: .. - specs: - pickle (0.7.2) - cucumber (>= 3.0, < 8.0) - rake - -GEM - remote: https://rubygems.org/ - specs: - actionmailer (4.2.11.3) - actionpack (= 4.2.11.3) - actionview (= 4.2.11.3) - activejob (= 4.2.11.3) - mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 1.0, >= 1.0.5) - actionpack (4.2.11.3) - actionview (= 4.2.11.3) - activesupport (= 4.2.11.3) - rack (~> 1.6) - rack-test (~> 0.6.2) - rails-dom-testing (~> 1.0, >= 1.0.5) - rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.11.3) - activesupport (= 4.2.11.3) - builder (~> 3.1) - erubis (~> 2.7.0) - rails-dom-testing (~> 1.0, >= 1.0.5) - rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (4.2.11.3) - activesupport (= 4.2.11.3) - globalid (>= 0.3.0) - activemodel (4.2.11.3) - activesupport (= 4.2.11.3) - builder (~> 3.1) - activerecord (4.2.11.3) - activemodel (= 4.2.11.3) - activesupport (= 4.2.11.3) - arel (~> 6.0) - activesupport (4.2.11.3) - i18n (~> 0.7) - minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) - tzinfo (~> 1.1) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) - arel (6.0.4) - backports (3.23.0) - builder (3.2.4) - capybara (3.35.3) - addressable - mini_mime (>= 0.1.3) - nokogiri (~> 1.8) - rack (>= 1.6.0) - rack-test (>= 0.6.3) - regexp_parser (>= 1.5, < 3.0) - xpath (~> 3.2) - codecov (0.6.0) - simplecov (>= 0.15, < 0.22) - concurrent-ruby (1.1.10) - crass (1.0.6) - cucumber (3.2.0) - builder (>= 2.1.2) - cucumber-core (~> 3.2.0) - cucumber-expressions (~> 6.0.1) - cucumber-wire (~> 0.0.1) - diff-lcs (~> 1.3) - gherkin (~> 5.1.0) - multi_json (>= 1.7.5, < 2.0) - multi_test (>= 0.1.2) - cucumber-core (3.2.1) - backports (>= 3.8.0) - cucumber-tag_expressions (~> 1.1.0) - gherkin (~> 5.0) - cucumber-expressions (6.0.1) - cucumber-rails (2.1.0) - capybara (>= 2.12, < 4) - cucumber (>= 3.0.2, < 5) - mime-types (>= 2.0, < 4) - nokogiri (~> 1.8) - rails (>= 4.2, < 7) - cucumber-tag_expressions (1.1.1) - cucumber-wire (0.0.1) - database_cleaner (1.99.0) - diff-lcs (1.5.0) - docile (1.4.0) - erubis (2.7.0) - factory_bot (5.2.0) - activesupport (>= 4.2.0) - gherkin (5.1.0) - git (1.10.2) - rchardet (~> 1.8) - globalid (0.4.2) - activesupport (>= 4.2.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - loofah (2.15.0) - crass (~> 1.0.2) - nokogiri (>= 1.5.9) - machinist (2.0) - mail (2.7.1) - mini_mime (>= 0.1.1) - mime-types (3.4.1) - mime-types-data (~> 3.2015) - mime-types-data (3.2022.0105) - mini_mime (1.1.2) - mini_portile2 (2.6.1) - minitest (5.15.0) - multi_json (1.15.0) - multi_test (0.1.2) - nokogiri (1.12.5) - mini_portile2 (~> 2.6.1) - racc (~> 1.4) - public_suffix (4.0.6) - racc (1.6.0) - rack (1.6.13) - rack-test (0.6.3) - rack (>= 1.0) - rails (4.2.11.3) - actionmailer (= 4.2.11.3) - actionpack (= 4.2.11.3) - actionview (= 4.2.11.3) - activejob (= 4.2.11.3) - activemodel (= 4.2.11.3) - activerecord (= 4.2.11.3) - activesupport (= 4.2.11.3) - bundler (>= 1.3.0, < 2.0) - railties (= 4.2.11.3) - sprockets-rails - rails-deprecated_sanitizer (1.0.4) - activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.9) - activesupport (>= 4.2.0, < 5.0) - nokogiri (~> 1.6) - rails-deprecated_sanitizer (>= 1.0.1) - 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.6) - rchardet (1.8.0) - regexp_parser (2.2.1) - rspec-core (3.9.3) - rspec-support (~> 3.9.3) - rspec-expectations (3.9.4) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.9.0) - rspec-mocks (3.9.1) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.9.0) - rspec-rails (3.9.1) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.9.0) - rspec-expectations (~> 3.9.0) - rspec-mocks (~> 3.9.0) - rspec-support (~> 3.9.0) - rspec-support (3.9.4) - simplecov (0.21.2) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) - simplecov_json_formatter (0.1.4) - sprockets (4.0.3) - concurrent-ruby (~> 1.0) - rack (> 1, < 3) - sprockets-rails (3.2.2) - actionpack (>= 4.0) - activesupport (>= 4.0) - sprockets (>= 3.0.0) - sqlite3 (1.3.13) - thor (1.2.1) - thread_safe (0.3.6) - tzinfo (1.2.9) - thread_safe (~> 0.1) - webrick (1.7.0) - xpath (3.2.0) - nokogiri (~> 1.8) - yard (0.9.27) - webrick (~> 1.7.0) - -PLATFORMS - ruby - -DEPENDENCIES - bundler (~> 1.17) - capybara - codecov - cucumber (~> 3.2.0) - cucumber-rails - database_cleaner - fabrication! - factory_bot - git - machinist - pickle! - rack - rails (~> 4.2.9) - rspec-rails (~> 3.0) - sqlite3 (~> 1.3.6) - yard - -BUNDLED WITH - 1.17.3 diff --git a/gemfiles/Gemfile-rails.5.0.x b/gemfiles/Gemfile-rails.5.0.x deleted file mode 100644 index 388f36e..0000000 --- a/gemfiles/Gemfile-rails.5.0.x +++ /dev/null @@ -1,12 +0,0 @@ -source "https://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", "~> 5.0.2" -gem "cucumber", "~> 3.2.0" -gem "sqlite3", "~> 1.3.6" - -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.5.1.x b/gemfiles/Gemfile-rails.5.1.x deleted file mode 100644 index 74b45b5..0000000 --- a/gemfiles/Gemfile-rails.5.1.x +++ /dev/null @@ -1,10 +0,0 @@ -source "https://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", "~> 5.1.0" -gem "cucumber", "~> 3.2" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.5.2.x b/gemfiles/Gemfile-rails.5.2.x deleted file mode 100644 index d7ec11b..0000000 --- a/gemfiles/Gemfile-rails.5.2.x +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 5.2.0" -gem "cucumber", "~> 3.2.0" - -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.5.2.x-cukes-4 b/gemfiles/Gemfile-rails.5.2.x-cukes-4 deleted file mode 100644 index 0e0acc6..0000000 --- a/gemfiles/Gemfile-rails.5.2.x-cukes-4 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 5.2.0" -gem "cucumber", "~> 4.0" - -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.0.x-cukes-3 b/gemfiles/Gemfile-rails.6.0.x-cukes-3 deleted file mode 100644 index 71ac697..0000000 --- a/gemfiles/Gemfile-rails.6.0.x-cukes-3 +++ /dev/null @@ -1,10 +0,0 @@ -source "https://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 "activerecord", "~> 6.0.0" -gem "cucumber", "~> 3.2" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.0.x-cukes-4 b/gemfiles/Gemfile-rails.6.0.x-cukes-4 deleted file mode 100644 index 593b4d1..0000000 --- a/gemfiles/Gemfile-rails.6.0.x-cukes-4 +++ /dev/null @@ -1,10 +0,0 @@ -source "https://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 "activerecord", "~> 6.0.0" -gem "cucumber", "~> 4.1" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.0.x-cukes-5 b/gemfiles/Gemfile-rails.6.0.x-cukes-5 deleted file mode 100644 index 16c51ff..0000000 --- a/gemfiles/Gemfile-rails.6.0.x-cukes-5 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 5.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.0.x-cukes-6 b/gemfiles/Gemfile-rails.6.0.x-cukes-6 deleted file mode 100644 index 1e2e62b..0000000 --- a/gemfiles/Gemfile-rails.6.0.x-cukes-6 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 6.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.0.x-cukes-7 b/gemfiles/Gemfile-rails.6.0.x-cukes-7 deleted file mode 100644 index 77b8852..0000000 --- a/gemfiles/Gemfile-rails.6.0.x-cukes-7 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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' diff --git a/gemfiles/Gemfile-rails.6.1.x-cukes-3 b/gemfiles/Gemfile-rails.6.1.x-cukes-3 deleted file mode 100644 index cbf6fe2..0000000 --- a/gemfiles/Gemfile-rails.6.1.x-cukes-3 +++ /dev/null @@ -1,10 +0,0 @@ -source "https://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 "activerecord", "~> 6.1.0" -gem "cucumber", "~> 3.2" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.1.x-cukes-4 b/gemfiles/Gemfile-rails.6.1.x-cukes-4 deleted file mode 100644 index 66ee55a..0000000 --- a/gemfiles/Gemfile-rails.6.1.x-cukes-4 +++ /dev/null @@ -1,10 +0,0 @@ -source "https://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 "activerecord", "~> 6.1.0" -gem "cucumber", "~> 4.1" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.1.x-cukes-5 b/gemfiles/Gemfile-rails.6.1.x-cukes-5 deleted file mode 100644 index 405adb4..0000000 --- a/gemfiles/Gemfile-rails.6.1.x-cukes-5 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 5.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.1.x-cukes-6 b/gemfiles/Gemfile-rails.6.1.x-cukes-6 deleted file mode 100644 index 0629eec..0000000 --- a/gemfiles/Gemfile-rails.6.1.x-cukes-6 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 6.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.6.1.x-cukes-7 b/gemfiles/Gemfile-rails.6.1.x-cukes-7 deleted file mode 100644 index c2ea938..0000000 --- a/gemfiles/Gemfile-rails.6.1.x-cukes-7 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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' diff --git a/gemfiles/Gemfile-rails.7.0.x-cukes-6 b/gemfiles/Gemfile-rails.7.0.x-cukes-6 deleted file mode 100644 index 9369128..0000000 --- a/gemfiles/Gemfile-rails.7.0.x-cukes-6 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 7.0.2" -gem "cucumber", "~> 6.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.7.0.x-cukes-7 b/gemfiles/Gemfile-rails.7.0.x-cukes-7 deleted file mode 100644 index c20dda6..0000000 --- a/gemfiles/Gemfile-rails.7.0.x-cukes-7 +++ /dev/null @@ -1,11 +0,0 @@ -source "https://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", "~> 7.0.2" -gem "cucumber", "~> 7.0" -gem "cucumber-rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/gemfiles/Gemfile-rails.edge b/gemfiles/Gemfile-rails.edge deleted file mode 100644 index 7c10d40..0000000 --- a/gemfiles/Gemfile-rails.edge +++ /dev/null @@ -1,9 +0,0 @@ -source "https://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", :github => "rails/rails" -gem 'fabrication', github: 'mathieujobin/fabrication', ref: '923cf6fcefd0566b1d6be7bd2f685b89388f4800' diff --git a/lib/pickle/version.rb b/lib/pickle/version.rb index dc37144..e3ca65a 100644 --- a/lib/pickle/version.rb +++ b/lib/pickle/version.rb @@ -1,3 +1,3 @@ module Pickle - VERSION = "0.7.2" + VERSION = "0.8.0" end diff --git a/pickle.gemspec b/pickle.gemspec index 380c403..b62ada0 100644 --- a/pickle.gemspec +++ b/pickle.gemspec @@ -13,13 +13,13 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/ianwhite/pickle" s.rubyforge_project = "pickle" - s.required_rubygems_version = ">= 2.0" + s.required_rubygems_version = ">= 2.7" s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.require_paths = ["lib"] - s.add_dependency "cucumber", ">=3.0", "< 8.0" + s.add_dependency "cucumber", ">=3.0", "< 9.0" s.add_dependency "rake" s.add_development_dependency "rack" @@ -27,7 +27,7 @@ Gem::Specification.new do |s| s.add_development_dependency "git" s.add_development_dependency "yard" s.add_development_dependency "rspec-rails", "~>3.0" - s.add_development_dependency "rails", ">= 4.2.0", "< 8.0" + s.add_development_dependency "rails", ">= 6.0", "< 8.0" s.add_development_dependency "cucumber-rails" s.add_development_dependency "factory_bot" s.add_development_dependency "fabrication", '~> 2.0'