Skip to content

Commit d2f4643

Browse files
committed
Upgrade to Ruby 4.0.0 on release day
Just for fun, upgrade to Ruby 4.0.0 [1] on the day of its release. [1] https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
1 parent 955d2ab commit d2f4643

File tree

6 files changed

+25
-15
lines changed

6 files changed

+25
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
#
1515
# If updating this value, you probably also want to add a new version to the
1616
# spec version matrix below.
17-
RUBY_VERSION: "3.4"
17+
RUBY_VERSION: "4.0"
1818

1919
# A suitable URL for a test database.
2020
TEST_DATABASE_NAME: river_test
@@ -134,6 +134,7 @@ jobs:
134134
- "3.2"
135135
- "3.3"
136136
- "3.4"
137+
- "4.0"
137138

138139
services:
139140
postgres:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.4
1+
ruby 4.0

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ source "https://rubygems.org"
33
gemspec
44

55
group :development, :test do
6+
# both gems temporarily pointed to master to get Ruby 4.0 support
7+
# gem "ffi", git: "https://github.com/ffi/ffi", branch: "master"
8+
# gem "pg", git: "https://github.com/ged/ruby-pg", branch: "master"
9+
610
gem "standard"
711
gem "steep"
812
end

Gemfile.lock

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ GEM
4141
docile (1.4.1)
4242
drb (2.2.3)
4343
erb (5.1.1)
44+
ffi (1.17.2)
4445
ffi (1.17.2-arm64-darwin)
4546
ffi (1.17.2-x86_64-linux-gnu)
4647
fileutils (1.7.3)
@@ -51,25 +52,27 @@ GEM
5152
pp (>= 0.6.0)
5253
rdoc (>= 4.0.0)
5354
reline (>= 0.4.2)
54-
json (2.15.1)
55+
json (2.18.0)
5556
language_server-protocol (3.17.0.5)
5657
lint_roller (1.1.0)
5758
listen (3.9.0)
5859
rb-fsevent (~> 0.10, >= 0.10.3)
5960
rb-inotify (~> 0.9, >= 0.9.10)
6061
logger (1.7.0)
61-
minitest (5.26.0)
62+
minitest (6.0.0)
63+
prism (~> 1.5)
6264
mutex_m (0.3.0)
6365
parallel (1.27.0)
64-
parser (3.3.9.0)
66+
parser (3.3.10.0)
6567
ast (~> 2.4.1)
6668
racc
69+
pg (1.6.2)
6770
pg (1.6.2-arm64-darwin)
6871
pg (1.6.2-x86_64-linux)
6972
pp (0.6.3)
7073
prettyprint
7174
prettyprint (0.2.0)
72-
prism (1.6.0)
75+
prism (1.7.0)
7376
psych (5.2.6)
7477
date
7578
stringio
@@ -93,18 +96,18 @@ GEM
9396
diff-lcs (>= 1.2.0, < 2.0)
9497
rspec-support (~> 3.13.0)
9598
rspec-support (3.13.6)
96-
rubocop (1.80.2)
99+
rubocop (1.81.7)
97100
json (~> 2.3)
98101
language_server-protocol (~> 3.17.0.2)
99102
lint_roller (~> 1.1.0)
100103
parallel (~> 1.10)
101104
parser (>= 3.3.0.2)
102105
rainbow (>= 2.2.2, < 4.0)
103106
regexp_parser (>= 2.9.3, < 3.0)
104-
rubocop-ast (>= 1.46.0, < 2.0)
107+
rubocop-ast (>= 1.47.1, < 2.0)
105108
ruby-progressbar (~> 1.7)
106109
unicode-display_width (>= 2.4.0, < 4.0)
107-
rubocop-ast (1.47.1)
110+
rubocop-ast (1.48.0)
108111
parser (>= 3.3.7.2)
109112
prism (~> 1.4)
110113
rubocop-performance (1.25.0)
@@ -121,10 +124,10 @@ GEM
121124
simplecov_json_formatter (~> 0.1)
122125
simplecov-html (0.13.2)
123126
simplecov_json_formatter (0.1.4)
124-
standard (1.51.1)
127+
standard (1.52.0)
125128
language_server-protocol (~> 3.17.0.2)
126129
lint_roller (~> 1.0)
127-
rubocop (~> 1.80.2)
130+
rubocop (~> 1.81.7)
128131
standard-custom (~> 1.0.0)
129132
standard-performance (~> 1.8)
130133
standard-custom (1.0.2)
@@ -159,7 +162,7 @@ GEM
159162
concurrent-ruby (~> 1.0)
160163
unicode-display_width (3.2.0)
161164
unicode-emoji (~> 4.1)
162-
unicode-emoji (4.1.0)
165+
unicode-emoji (4.2.0)
163166
uri (1.0.4)
164167

165168
PLATFORMS

driver/riverqueue-activerecord/Gemfile.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,14 @@ GEM
5656
language_server-protocol (3.17.0.3)
5757
lint_roller (1.1.0)
5858
logger (1.6.4)
59-
minitest (5.25.4)
59+
minitest (6.0.0)
60+
prism (~> 1.5)
6061
parallel (1.26.3)
6162
parser (3.3.6.0)
6263
ast (~> 2.4.1)
6364
racc
6465
pg (1.5.9)
66+
prism (1.7.0)
6567
psych (5.2.2)
6668
date
6769
stringio
@@ -119,7 +121,7 @@ GEM
119121
concurrent-ruby (~> 1.0)
120122
unicode-display_width (3.1.2)
121123
unicode-emoji (~> 4.0, >= 4.0.4)
122-
unicode-emoji (4.0.4)
124+
unicode-emoji (4.2.0)
123125
uri (1.0.2)
124126

125127
PLATFORMS

driver/riverqueue-sequel/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ GEM
7272
rubocop-performance (~> 1.23.0)
7373
unicode-display_width (3.1.2)
7474
unicode-emoji (~> 4.0, >= 4.0.4)
75-
unicode-emoji (4.0.4)
75+
unicode-emoji (4.2.0)
7676

7777
PLATFORMS
7878
arm64-darwin-22

0 commit comments

Comments
 (0)