From fbd7bbc43c9b29540de495305378067d065dec81 Mon Sep 17 00:00:00 2001 From: Anton Sokolov Date: Thu, 23 Oct 2025 00:41:56 +0800 Subject: [PATCH 1/3] Update Ruby version and dependencies **Changes:** - Upgraded Ruby version to `3.4.7` in `.ruby-version` and `.tool-versions`. - Updated `Gemfile.lock` dependencies: - Bumped versions of `activesupport`, `json`, `rubocop`, and other gems to align with the new Ruby version. - Adjusted minor and patch versions for compatibility and improvements. - Updated Bundler version to `2.7.2` in `Gemfile.lock`. This ensures the application is consistent with the latest Ruby patch version and maintains compatibility with updated gem dependencies. --- .ruby-version | 2 +- .tool-versions | 2 +- Gemfile.lock | 57 +++++++++++++++++++++++++------------------------- 3 files changed, 30 insertions(+), 31 deletions(-) diff --git a/.ruby-version b/.ruby-version index 4f5e697..2aa5131 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.4.5 +3.4.7 diff --git a/.tool-versions b/.tool-versions index 27a8619..3f03c7a 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.4.5 +ruby 3.4.7 diff --git a/Gemfile.lock b/Gemfile.lock index 8d241a6..7f9a1e5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,14 +10,14 @@ PATH GEM remote: https://rubygems.org/ specs: - activesupport (8.0.2.1) + activesupport (8.1.0) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) @@ -29,46 +29,45 @@ GEM thor (>= 0.14.0) ast (2.4.3) base64 (0.3.0) - benchmark (0.4.1) - bigdecimal (3.2.2) + bigdecimal (3.3.1) concurrent-ruby (1.3.5) - connection_pool (2.5.3) + connection_pool (2.5.4) diff-lcs (1.6.2) drb (2.2.3) i18n (1.14.7) concurrent-ruby (~> 1.0) - json (2.13.2) + json (2.15.1) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) - minitest (5.25.5) + minitest (5.26.0) mutex_m (0.3.0) parallel (1.27.0) parser (3.3.9.0) ast (~> 2.4.1) racc - prism (1.4.0) + prism (1.6.0) racc (1.8.1) - rack (3.2.0) + rack (3.2.3) rainbow (3.1.1) rake (13.3.0) - rbs (3.9.4) + rbs (3.9.5) logger - regexp_parser (2.11.2) - rspec (3.13.1) + regexp_parser (2.11.3) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.5) + rspec-core (3.13.6) rspec-support (~> 3.13.0) rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.5) + rspec-mocks (3.13.6) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.5) - rubocop (1.80.0) + rspec-support (3.13.6) + rubocop (1.81.6) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -76,20 +75,20 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.46.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.46.0) + rubocop-ast (1.47.1) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-factory_bot (2.27.1) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-performance (1.25.0) + rubocop-performance (1.26.1) lint_roller (~> 1.1) rubocop (>= 1.75.0, < 2.0) - rubocop-ast (>= 1.38.0, < 2.0) - rubocop-rails (2.33.3) + rubocop-ast (>= 1.47.1, < 2.0) + rubocop-rails (2.33.4) activesupport (>= 4.2.0) lint_roller (~> 1.1) rack (>= 1.1) @@ -98,7 +97,7 @@ GEM rubocop-rake (0.7.1) lint_roller (~> 1.1) rubocop (>= 1.72.1) - rubocop-rspec (3.6.0) + rubocop-rspec (3.7.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) rubocop-rspec_rails (2.31.0) @@ -107,8 +106,8 @@ GEM rubocop-rspec (~> 3.5) ruby-progressbar (1.13.0) securerandom (0.4.1) - servactory (2.16.0) - activesupport (>= 5.1, < 8.1) + servactory (2.16.1) + activesupport (>= 5.1) base64 (>= 0.2) bigdecimal (>= 3.1) i18n (>= 1.14) @@ -125,10 +124,10 @@ GEM thor (1.4.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (3.1.5) - unicode-emoji (~> 4.0, >= 4.0.4) - unicode-emoji (4.0.4) - uri (1.0.3) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.1.0) + uri (1.0.4) zeitwerk (2.7.3) PLATFORMS @@ -153,4 +152,4 @@ DEPENDENCIES servactory-rubocop (>= 0.9) BUNDLED WITH - 2.7.1 + 2.7.2 From b99be7f6acde4ce538dd09ec6c65a2a2ad49aab6 Mon Sep 17 00:00:00 2001 From: Anton Sokolov Date: Thu, 23 Oct 2025 00:43:27 +0800 Subject: [PATCH 2/3] Add Rails 8.1 appraisal configuration **Changes:** - Introduced a new `rails-8.1` appraisal in the `Appraisals` file, including the `activesupport` gem with version `~> 8.1.0`. - Generated a corresponding `rails_8.1.gemfile` with `activesupport` dependency and gemspec inclusion. This ensures compatibility testing for Rails 8.1 and streamlines dependency management for the new version. --- Appraisals | 4 ++++ gemfiles/rails_8.1.gemfile | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 gemfiles/rails_8.1.gemfile diff --git a/Appraisals b/Appraisals index 75cacb6..eab73af 100644 --- a/Appraisals +++ b/Appraisals @@ -34,3 +34,7 @@ end appraise "rails-8.0" do gem "activesupport", "~> 8.0.0" end + +appraise "rails-8.1" do + gem "activesupport", "~> 8.1.0" +end diff --git a/gemfiles/rails_8.1.gemfile b/gemfiles/rails_8.1.gemfile new file mode 100644 index 0000000..890e279 --- /dev/null +++ b/gemfiles/rails_8.1.gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activesupport", "~> 8.1.0" + +gemspec path: "../" From a5c17585147a212c2829be09e06284f69b0d45a7 Mon Sep 17 00:00:00 2001 From: Anton Sokolov Date: Thu, 23 Oct 2025 00:44:10 +0800 Subject: [PATCH 3/3] Expand Rails matrix in GitHub Actions to include Rails 8.1 **Changes:** - Updated `.github/workflows/test.yml` to add `rails_8.1` to the test matrix. - Ensures CI compatibility testing for the most recent Rails version. --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbd78ca..3102ce2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,7 @@ jobs: - rails_7.1 - rails_7.2 - rails_8.0 + - rails_8.1 ruby-version: - "3.2" - "3.3"