Skip to content

Commit 1f8bb81

Browse files
committed
update CI for ruby 4
1 parent 2b844da commit 1f8bb81

6 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
rails_version: "7.2"
4141
- ruby_version: "3.4"
4242
rails_version: "8.0"
43-
- ruby_version: "3.4"
43+
- ruby_version: "4.0"
4444
rails_version: "8.1"
4545
- ruby_version: "head"
4646
rails_version: "main"

Appraisals

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ appraise "rails-8.0" do
3434
end
3535

3636
appraise "rails-8.1" do
37-
ruby "~> 3.4.0"
37+
ruby "~> 4.0.0"
3838

3939
gem "rails", "~> 8.1.0"
4040

@@ -45,7 +45,7 @@ appraise "rails-8.1" do
4545
end
4646

4747
appraise "rails-main" do
48-
ruby "4.0.0.dev"
48+
ruby "4.1.0.dev"
4949

5050
gem "rack", git: "https://github.com/rack/rack", ref: "8a4475a9f416a72e5b02bd7817e4a8ed684f29b0"
5151
gem "rails", github: "rails/rails", branch: "main"

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ DEPENDENCIES
456456
yard-activesupport-concern (< 1)
457457

458458
RUBY VERSION
459-
ruby 3.3.0p0
459+
ruby 3.4.7p58
460460

461461
BUNDLED WITH
462462
2.6.2

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ nav_order: 6
1010

1111
## main
1212

13+
* Test against Ruby 4.0.0 in CI.
14+
15+
*Joel Hawksley*
16+
1317
* Fix translation scope resolution in deeply nested component blocks (3+ levels). Translations called inside deeply nested slot blocks using `renders_many`/`renders_one` were incorrectly resolving to an intermediate component's scope instead of the partial's scope where the block was defined. The fix captures the virtual path at block definition time and restores it during block execution, ensuring translations always resolve relative to where the block was created regardless of nesting depth.
1418

1519
*Nathaniel Watts*

gemfiles/rails_8.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
ruby "~> 3.4.0"
5+
ruby "~> 4.0.0"
66

77
gem "rails", "~> 8.1.0"
88

gemfiles/rails_main.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
ruby "4.0.0.dev"
5+
ruby "4.1.0.dev"
66

77
gem "rails", github: "rails/rails", branch: "main"
88
gem "rack", git: "https://github.com/rack/rack", ref: "8a4475a9f416a72e5b02bd7817e4a8ed684f29b0"

0 commit comments

Comments
 (0)