Skip to content

Commit e735d96

Browse files
add support for Ruby 3.4
1 parent 5787f9b commit e735d96

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Ruby
1414
uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: "3.3"
16+
ruby-version: "3.4"
1717
bundler-cache: true
1818

1919
- name: Lint
@@ -23,7 +23,7 @@ jobs:
2323
name: Test Ruby ${{ matrix.ruby }} on ActiveModel ${{ matrix.activemodel }}
2424
strategy:
2525
matrix:
26-
ruby: ["3.2", "3.3"]
26+
ruby: ["3.4"]
2727
activemodel: ["8.0"]
2828
include:
2929
- activemodel: "7.2"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# [5.5.0][] (TBD)
2+
3+
## Added
4+
5+
- Support for Ruby 3.4.
6+
17
# [5.4.0][] (2024-11-23)
28

39
## Added

spec/active_interaction/base_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ def execute
2525
# NOTE: the relative position between this method
2626
# and the compose line should be preserved.
2727
def self.composition_location
28-
"#{__FILE__}:#{__LINE__ + 4}:in `execute'"
28+
if RUBY_VERSION >= '3.4'
29+
"#{__FILE__}:#{__LINE__ + 7}:in 'InterruptInteraction#execute'"
30+
else
31+
"#{__FILE__}:#{__LINE__ + 5}:in `execute'"
32+
end
2933
end
3034

3135
def execute

0 commit comments

Comments
 (0)