From ca360b1754d7bea41e4fbb334fa9f47c15931129 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 10 Oct 2023 21:03:20 -0300 Subject: [PATCH] Add support for Rails 7.1 --- .github/workflows/test.yml | 5 ++ CHANGELOG.md | 2 +- Gemfile | 6 +- Gemfile.lock | 118 +++++++++++++++++++++++-------------- gemfiles/Gemfile-rails-7-0 | 9 +++ 5 files changed, 91 insertions(+), 49 deletions(-) create mode 100644 gemfiles/Gemfile-rails-7-0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9da04c..7554bf8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,7 @@ jobs: gemfile: - Gemfile - gemfiles/Gemfile-rails-main + - gemfiles/Gemfile-rails-7-0 - gemfiles/Gemfile-rails-6-1 - gemfiles/Gemfile-rails-6-0 - gemfiles/Gemfile-rails-5-2 @@ -27,6 +28,10 @@ jobs: ruby: '2.6' - gemfile: gemfiles/Gemfile-rails-main ruby: '2.5' + - gemfile: gemfiles/Gemfile-rails-7-0 + ruby: '2.6' + - gemfile: gemfiles/Gemfile-rails-7-0 + ruby: '2.5' - gemfile: gemfiles/Gemfile-rails-6-0 ruby: '3.2' - gemfile: gemfiles/Gemfile-rails-6-0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f78970..08a38c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## Unreleased -* Add support for Rails 7.0 and Ruby 3.1/3.2 (no changes required) +* Add support for Rails 7.0/7.1 and Ruby 3.1/3.2 (no changes required) * Remove test files from the gem package. ## 0.8.0 diff --git a/Gemfile b/Gemfile index 119e4d9..d0b9c6f 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,6 @@ gemspec gem 'rake' gem 'rdoc' -gem 'railties', '~> 7.0.0' -gem 'activemodel', '~> 7.0.0' -gem 'actionpack', '~> 7.0.0' +gem 'railties', '~> 7.1.0' +gem 'activemodel', '~> 7.1.0' +gem 'actionpack', '~> 7.1.0' diff --git a/Gemfile.lock b/Gemfile.lock index 8b5d163..0aea7ff 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,78 +8,106 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.0.4) - actionview (= 7.0.4) - activesupport (= 7.0.4) - rack (~> 2.0, >= 2.2.0) + actionpack (7.1.0) + actionview (= 7.1.0) + activesupport (= 7.1.0) + nokogiri (>= 1.8.5) + rack (>= 2.2.4) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actionview (7.0.4) - activesupport (= 7.0.4) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.0) + activesupport (= 7.1.0) builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activemodel (7.0.4) - activesupport (= 7.0.4) - activesupport (7.0.4) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activemodel (7.1.0) + activesupport (= 7.1.0) + activesupport (7.1.0) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) + base64 (0.1.1) + bigdecimal (3.1.4) builder (3.2.4) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) + connection_pool (2.4.1) crass (1.0.6) + drb (2.1.1) + ruby2_keywords erubi (1.12.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) - loofah (2.19.1) + io-console (0.6.0) + irb (1.8.1) + rdoc + reline (>= 0.3.8) + loofah (2.21.4) crass (~> 1.0.2) - nokogiri (>= 1.5.9) - method_source (1.0.0) - mini_portile2 (2.8.1) - minitest (5.17.0) - nokogiri (1.14.0) - mini_portile2 (~> 2.8.0) + nokogiri (>= 1.12.0) + mini_portile2 (2.8.4) + minitest (5.20.0) + mutex_m (0.1.2) + nokogiri (1.15.4) + mini_portile2 (~> 2.8.2) racc (~> 1.4) - psych (5.0.1) + psych (5.1.0) stringio - racc (1.6.2) - rack (2.2.5) - rack-test (2.0.2) + racc (1.7.1) + rack (3.0.8) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) rack (>= 1.3) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.4.4) - loofah (~> 2.19, >= 2.19.1) - railties (7.0.4) - actionpack (= 7.0.4) - activesupport (= 7.0.4) - method_source + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.1.0) + actionpack (= 7.1.0) + activesupport (= 7.1.0) + irb + rackup (>= 1.0.0) rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) rake (13.0.6) rdoc (6.5.0) psych (>= 4.0.0) - stringio (3.0.4) - thor (1.2.1) - tzinfo (2.0.5) + reline (0.3.9) + io-console (~> 0.5) + ruby2_keywords (0.0.5) + stringio (3.0.8) + thor (1.2.2) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) - zeitwerk (2.6.6) + webrick (1.8.1) + zeitwerk (2.6.12) PLATFORMS ruby DEPENDENCIES - actionpack (~> 7.0.0) - activemodel (~> 7.0.0) - railties (~> 7.0.0) + actionpack (~> 7.1.0) + activemodel (~> 7.1.0) + railties (~> 7.1.0) rake rdoc show_for! BUNDLED WITH - 2.4.3 + 2.4.20 diff --git a/gemfiles/Gemfile-rails-7-0 b/gemfiles/Gemfile-rails-7-0 new file mode 100644 index 0000000..7970f85 --- /dev/null +++ b/gemfiles/Gemfile-rails-7-0 @@ -0,0 +1,9 @@ +source 'https://rubygems.org' + +gemspec path: '..' + +gem 'rake' +gem 'rdoc' +gem 'railties', '~> 7.0.0' +gem 'activemodel', '~> 7.0.0' +gem 'actionpack', '~> 7.0.0'