diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19b38eb..029c35d 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" 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/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/Gemfile.lock b/Gemfile.lock index b7fdfcd..301342d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,14 +11,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) @@ -30,46 +30,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) @@ -77,20 +76,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) @@ -99,7 +98,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) @@ -108,8 +107,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) @@ -128,10 +127,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 @@ -156,4 +155,4 @@ DEPENDENCIES servactory-rubocop (>= 0.9) BUNDLED WITH - 2.7.1 + 2.7.2 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: "../" diff --git a/spec/examples/usual/example3/language_spec.rb b/spec/examples/usual/example3/language_spec.rb index 0236576..1200995 100644 --- a/spec/examples/usual/example3/language_spec.rb +++ b/spec/examples/usual/example3/language_spec.rb @@ -78,7 +78,7 @@ let(:current_version) do Usual::Example3::Version.new( - name: "3.4.5" + name: "3.4.7" ) end @@ -104,7 +104,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", current: { - name: "3.4.5" + name: "3.4.7" } } end @@ -138,7 +138,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", currentVersion: { - name: "3.4.5", + name: "3.4.7", releasedAt: nil, endedAt: nil }, @@ -162,7 +162,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", currentVersion: { - name: "3.4.5", + name: "3.4.7", releasedAt: nil, endedAt: nil }, @@ -192,7 +192,7 @@ let(:current_version) do Usual::Example3::Version.new( - name: "3.4.5" + name: "3.4.7" ) end @@ -222,7 +222,7 @@ let(:current_version) do { - name: "3.4.5" + name: "3.4.7" } end @@ -289,7 +289,7 @@ let(:current_version) do Usual::Example3::Version.deserialization.new( - name: "3.4.5" + name: "3.4.7" ) end @@ -315,7 +315,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", currentVersion: { - name: "3.4.5" + name: "3.4.7" } } end @@ -342,7 +342,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", currentVersion: { - name: "3.4.5" + name: "3.4.7" } }.to_json end @@ -356,7 +356,7 @@ id: "73031620-be3b-4088-9a78-5589ff7e1f61", name: "Ruby", currentVersion: { - name: "3.4.5" + name: "3.4.7" } }.to_json end