diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41d09ebb..3ef91b47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.3" + ruby-version: "3.4" bundler-cache: true - name: Lint @@ -23,7 +23,7 @@ jobs: name: Test Ruby ${{ matrix.ruby }} on ActiveModel ${{ matrix.activemodel }} strategy: matrix: - ruby: ["3.2", "3.3"] + ruby: ["3.4"] activemodel: ["8.0"] include: - activemodel: "7.2" diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c4a6948..da3a3505 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# [5.5.0][] (TBD) + +## Added + + - Support for Ruby 3.4. + # [5.4.0][] (2024-11-23) ## Added diff --git a/spec/active_interaction/base_spec.rb b/spec/active_interaction/base_spec.rb index 361a8be3..ab5b2e1a 100644 --- a/spec/active_interaction/base_spec.rb +++ b/spec/active_interaction/base_spec.rb @@ -25,7 +25,11 @@ def execute # NOTE: the relative position between this method # and the compose line should be preserved. def self.composition_location - "#{__FILE__}:#{__LINE__ + 4}:in `execute'" + if RUBY_VERSION >= '3.4' + "#{__FILE__}:#{__LINE__ + 7}:in 'InterruptInteraction#execute'" + else + "#{__FILE__}:#{__LINE__ + 5}:in `execute'" + end end def execute