Skip to content

Commit e9faab2

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 e9faab2

File tree

6 files changed

+24
-9
lines changed

6 files changed

+24
-9
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source "https://rubygems.org"
33
gemspec
44

55
group :development, :test do
6+
# temporarily pointed to master to get Ruby 4.0 support
7+
gem "ffi", git: "https://github.com/ffi/ffi.git", branch: "master"
68
gem "standard"
79
gem "steep"
810
end

Gemfile.lock

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
GIT
2+
remote: https://github.com/ffi/ffi.git
3+
revision: 83f9135a13bf1c3f07bed832f0495e027b944cd9
4+
branch: master
5+
specs:
6+
ffi (1.17.2)
7+
ffi (1.17.2-arm64-darwin)
8+
ffi (1.17.2-x86_64-linux-gnu)
9+
110
PATH
211
remote: .
312
specs:
@@ -41,8 +50,6 @@ GEM
4150
docile (1.4.1)
4251
drb (2.2.3)
4352
erb (5.1.1)
44-
ffi (1.17.2-arm64-darwin)
45-
ffi (1.17.2-x86_64-linux-gnu)
4653
fileutils (1.7.3)
4754
i18n (1.14.7)
4855
concurrent-ruby (~> 1.0)
@@ -58,12 +65,14 @@ GEM
5865
rb-fsevent (~> 0.10, >= 0.10.3)
5966
rb-inotify (~> 0.9, >= 0.9.10)
6067
logger (1.7.0)
61-
minitest (5.26.0)
68+
minitest (6.0.0)
69+
prism (~> 1.5)
6270
mutex_m (0.3.0)
6371
parallel (1.27.0)
6472
parser (3.3.9.0)
6573
ast (~> 2.4.1)
6674
racc
75+
pg (1.6.2)
6776
pg (1.6.2-arm64-darwin)
6877
pg (1.6.2-x86_64-linux)
6978
pp (0.6.3)
@@ -159,7 +168,7 @@ GEM
159168
concurrent-ruby (~> 1.0)
160169
unicode-display_width (3.2.0)
161170
unicode-emoji (~> 4.1)
162-
unicode-emoji (4.1.0)
171+
unicode-emoji (4.2.0)
163172
uri (1.0.4)
164173

165174
PLATFORMS
@@ -170,6 +179,7 @@ PLATFORMS
170179

171180
DEPENDENCIES
172181
debug
182+
ffi!
173183
riverqueue!
174184
riverqueue-sequel!
175185
rspec-core

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)