From 68d5a2d00c0df4c8ac703be476573d1a79b9d716 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sun, 28 Dec 2025 10:53:03 +0100 Subject: [PATCH] Test supported Rails versions against Ruby 4.0.0 Additionally, update dependencies by using the oldest supported Ruby version for each Gemfile --- .github/workflows/ci.yml | 7 +++++ Gemfile.lock | 54 ++++++++++++++++++---------------- gemfiles/rails_70/Gemfile.lock | 22 ++++++++------ gemfiles/rails_71/Gemfile.lock | 33 +++++++++++---------- gemfiles/rails_72/Gemfile.lock | 33 +++++++++++---------- gemfiles/rails_80/Gemfile.lock | 41 ++++++++++++++------------ 6 files changed, 104 insertions(+), 86 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b8bc40..42a071f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: - "3.2" - "3.3" - "3.4" + - "4.0" rails: - rails_70 - rails_71 @@ -31,6 +32,12 @@ jobs: rails: rails_81 - ruby: "3.4" rails: rails_70 + - ruby: "4.0" + rails: rails_70 + - ruby: "4.0" + rails: rails_71 + - ruby: "4.0" + rails: rails_72 steps: - uses: actions/checkout@v6 - name: Configure bundler (default) diff --git a/Gemfile.lock b/Gemfile.lock index db0c5a3..db35015 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -83,7 +83,7 @@ GEM ast (2.4.3) base64 (0.3.0) benchmark (0.5.0) - bigdecimal (3.3.1) + bigdecimal (4.0.1) builder (3.3.0) capybara (3.40.0) addressable @@ -99,29 +99,29 @@ GEM activesupport (>= 3.0.0) railties (>= 3.0.0) thor (>= 0.14.6) - concurrent-ruby (1.3.5) - connection_pool (2.5.5) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) crass (1.0.6) - date (3.5.0) + date (3.5.1) diff-lcs (1.6.2) docile (1.4.1) drb (2.2.3) - erb (6.0.0) + erb (6.0.1) erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) - io-console (0.8.1) - irb (1.15.3) + io-console (0.8.2) + irb (1.16.0) pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.16.0) + json (2.18.0) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.9.0) @@ -135,8 +135,9 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) - net-imap (0.5.12) + minitest (6.0.1) + prism (~> 1.5) + net-imap (0.6.2) date net-protocol net-pop (0.1.2) @@ -164,11 +165,12 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - prism (1.6.0) - pry (0.15.2) + prism (1.7.0) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) - psych (5.2.6) + reline (>= 0.6.0) + psych (5.3.1) date stringio public_suffix (7.0.0) @@ -179,7 +181,7 @@ GEM rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) - rackup (2.2.1) + rackup (2.3.1) rack (>= 3) rails (8.0.4) actioncable (= 8.0.4) @@ -213,7 +215,7 @@ GEM zeitwerk (~> 2.6) rainbow (3.1.1) rake (13.3.1) - rdoc (6.16.1) + rdoc (7.0.3) erb psych (>= 4.0.0) tsort @@ -242,7 +244,7 @@ GEM rspec-mocks (~> 3.13) rspec-support (~> 3.13) rspec-support (3.13.6) - rubocop (1.81.7) + rubocop (1.82.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -250,12 +252,12 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.47.1, < 2.0) + rubocop-ast (>= 1.48.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.48.0) + rubocop-ast (1.49.0) parser (>= 3.3.7.2) - prism (~> 1.4) + prism (~> 1.7) rubocop-capybara (2.22.1) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) @@ -280,15 +282,15 @@ GEM simplecov (~> 0.19) simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) - stringio (3.1.8) + stringio (3.2.0) thor (1.4.0) - timeout (0.4.4) + timeout (0.6.0) tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (3.2.0) unicode-emoji (~> 4.1) - unicode-emoji (4.1.0) + unicode-emoji (4.2.0) uri (1.1.1) useragent (0.16.11) websocket-driver (0.8.0) @@ -297,7 +299,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.7.3) + zeitwerk (2.7.4) PLATFORMS aarch64-linux @@ -324,4 +326,4 @@ DEPENDENCIES simplecov-cobertura BUNDLED WITH - 2.7.2 + 4.0.3 diff --git a/gemfiles/rails_70/Gemfile.lock b/gemfiles/rails_70/Gemfile.lock index 5949df4..8072222 100644 --- a/gemfiles/rails_70/Gemfile.lock +++ b/gemfiles/rails_70/Gemfile.lock @@ -84,7 +84,7 @@ GEM public_suffix (>= 2.0.2, < 8.0) base64 (0.3.0) benchmark (0.5.0) - bigdecimal (3.3.1) + bigdecimal (4.0.1) builder (3.3.0) capybara (3.40.0) addressable @@ -100,19 +100,20 @@ GEM activesupport (>= 3.0.0) railties (>= 3.0.0) thor (>= 0.14.6) - concurrent-ruby (1.3.5) + concurrent-ruby (1.3.6) crass (1.0.6) - date (3.5.0) + date (3.5.1) diff-lcs (1.6.2) docile (1.4.1) drb (2.2.3) erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) + io-console (0.8.2) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.9.0) @@ -126,9 +127,9 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) + minitest (5.27.0) mutex_m (0.3.0) - net-imap (0.5.12) + net-imap (0.5.13) date net-protocol net-pop (0.1.2) @@ -149,9 +150,10 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) - pry (0.15.2) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) + reline (>= 0.6.0) public_suffix (6.0.2) racc (1.8.1) rack (2.2.21) @@ -187,6 +189,8 @@ GEM zeitwerk (~> 2.5) rake (13.3.1) regexp_parser (2.11.3) + reline (0.6.3) + io-console (~> 0.5) rexml (3.4.4) rspec (3.13.2) rspec-core (~> 3.13.0) @@ -220,7 +224,7 @@ GEM simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) thor (1.4.0) - timeout (0.4.4) + timeout (0.6.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) websocket-driver (0.8.0) diff --git a/gemfiles/rails_71/Gemfile.lock b/gemfiles/rails_71/Gemfile.lock index 8e718c1..2c52cfa 100644 --- a/gemfiles/rails_71/Gemfile.lock +++ b/gemfiles/rails_71/Gemfile.lock @@ -90,7 +90,7 @@ GEM public_suffix (>= 2.0.2, < 8.0) base64 (0.3.0) benchmark (0.5.0) - bigdecimal (3.3.1) + bigdecimal (4.0.1) builder (3.3.0) capybara (3.40.0) addressable @@ -101,16 +101,16 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - cgi (0.5.0) + cgi (0.5.1) coderay (1.1.3) combustion (1.5.0) activesupport (>= 3.0.0) railties (>= 3.0.0) thor (>= 0.14.6) - concurrent-ruby (1.3.5) + concurrent-ruby (1.3.6) connection_pool (2.5.5) crass (1.0.6) - date (3.5.0) + date (3.5.1) diff-lcs (1.6.2) docile (1.4.1) drb (2.2.3) @@ -119,15 +119,15 @@ GEM erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) - io-console (0.8.1) - irb (1.15.3) + io-console (0.8.2) + irb (1.16.0) pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.9.0) @@ -141,9 +141,9 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) + minitest (5.27.0) mutex_m (0.3.0) - net-imap (0.5.12) + net-imap (0.5.13) date net-protocol net-pop (0.1.2) @@ -167,10 +167,11 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - pry (0.15.2) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) - psych (5.2.6) + reline (>= 0.6.0) + psych (5.3.1) date stringio public_suffix (6.0.2) @@ -181,7 +182,7 @@ GEM rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) - rackup (2.2.1) + rackup (2.3.1) rack (>= 3) rails (7.1.6) actioncable (= 7.1.6) @@ -215,7 +216,7 @@ GEM tsort (>= 0.2) zeitwerk (~> 2.6) rake (13.3.1) - rdoc (6.16.1) + rdoc (7.0.3) erb psych (>= 4.0.0) tsort @@ -254,9 +255,9 @@ GEM simplecov (~> 0.19) simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) - stringio (3.1.8) + stringio (3.2.0) thor (1.4.0) - timeout (0.4.4) + timeout (0.6.0) tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) diff --git a/gemfiles/rails_72/Gemfile.lock b/gemfiles/rails_72/Gemfile.lock index 26d19ff..e27dfb5 100644 --- a/gemfiles/rails_72/Gemfile.lock +++ b/gemfiles/rails_72/Gemfile.lock @@ -84,7 +84,7 @@ GEM public_suffix (>= 2.0.2, < 8.0) base64 (0.3.0) benchmark (0.5.0) - bigdecimal (3.3.1) + bigdecimal (4.0.1) builder (3.3.0) capybara (3.40.0) addressable @@ -95,16 +95,16 @@ GEM rack-test (>= 0.6.3) regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) - cgi (0.5.0) + cgi (0.5.1) coderay (1.1.3) combustion (1.5.0) activesupport (>= 3.0.0) railties (>= 3.0.0) thor (>= 0.14.6) - concurrent-ruby (1.3.5) + concurrent-ruby (1.3.6) connection_pool (2.5.5) crass (1.0.6) - date (3.5.0) + date (3.5.1) diff-lcs (1.6.2) docile (1.4.1) drb (2.2.3) @@ -113,15 +113,15 @@ GEM erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) - io-console (0.8.1) - irb (1.15.3) + io-console (0.8.2) + irb (1.16.0) pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.9.0) @@ -135,8 +135,8 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) - net-imap (0.5.12) + minitest (5.27.0) + net-imap (0.5.13) date net-protocol net-pop (0.1.2) @@ -160,10 +160,11 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - pry (0.15.2) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) - psych (5.2.6) + reline (>= 0.6.0) + psych (5.3.1) date stringio public_suffix (6.0.2) @@ -174,7 +175,7 @@ GEM rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) - rackup (2.2.1) + rackup (2.3.1) rack (>= 3) rails (7.2.3) actioncable (= 7.2.3) @@ -208,7 +209,7 @@ GEM tsort (>= 0.2) zeitwerk (~> 2.6) rake (13.3.1) - rdoc (6.16.1) + rdoc (7.0.3) erb psych (>= 4.0.0) tsort @@ -247,9 +248,9 @@ GEM simplecov (~> 0.19) simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) - stringio (3.1.8) + stringio (3.2.0) thor (1.4.0) - timeout (0.4.4) + timeout (0.6.0) tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) diff --git a/gemfiles/rails_80/Gemfile.lock b/gemfiles/rails_80/Gemfile.lock index edb8826..81af122 100644 --- a/gemfiles/rails_80/Gemfile.lock +++ b/gemfiles/rails_80/Gemfile.lock @@ -82,7 +82,7 @@ GEM public_suffix (>= 2.0.2, < 8.0) base64 (0.3.0) benchmark (0.5.0) - bigdecimal (3.3.1) + bigdecimal (4.0.1) builder (3.3.0) capybara (3.40.0) addressable @@ -98,26 +98,26 @@ GEM activesupport (>= 3.0.0) railties (>= 3.0.0) thor (>= 0.14.6) - concurrent-ruby (1.3.5) - connection_pool (2.5.5) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) crass (1.0.6) - date (3.5.0) + date (3.5.1) diff-lcs (1.6.2) docile (1.4.1) drb (2.2.3) - erb (6.0.0) + erb (6.0.1) erubi (1.13.1) globalid (1.3.0) activesupport (>= 6.1) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) - io-console (0.8.1) - irb (1.15.3) + io-console (0.8.2) + irb (1.16.0) pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) logger (1.7.0) - loofah (2.24.1) + loofah (2.25.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.9.0) @@ -131,8 +131,9 @@ GEM method_source (1.1.0) mini_mime (1.1.5) mini_portile2 (2.8.9) - minitest (5.26.2) - net-imap (0.5.12) + minitest (6.0.1) + prism (~> 1.5) + net-imap (0.6.2) date net-protocol net-pop (0.1.2) @@ -156,10 +157,12 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - pry (0.15.2) + prism (1.7.0) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) - psych (5.2.6) + reline (>= 0.6.0) + psych (5.3.1) date stringio public_suffix (7.0.0) @@ -170,7 +173,7 @@ GEM rack (>= 3.0.0) rack-test (2.2.0) rack (>= 1.3) - rackup (2.2.1) + rackup (2.3.1) rack (>= 3) rails (8.0.4) actioncable (= 8.0.4) @@ -203,7 +206,7 @@ GEM tsort (>= 0.2) zeitwerk (~> 2.6) rake (13.3.1) - rdoc (6.16.1) + rdoc (7.0.3) erb psych (>= 4.0.0) tsort @@ -242,9 +245,9 @@ GEM simplecov (~> 0.19) simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) - stringio (3.1.8) + stringio (3.2.0) thor (1.4.0) - timeout (0.4.4) + timeout (0.6.0) tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -256,7 +259,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.7.3) + zeitwerk (2.7.4) PLATFORMS aarch64-linux @@ -278,4 +281,4 @@ DEPENDENCIES simplecov-cobertura BUNDLED WITH - 2.6.9 + 4.0.3