Skip to content

Commit c01dd78

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 c01dd78

File tree

6 files changed

+35
-11
lines changed

6 files changed

+35
-11
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: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
GIT
2+
remote: https://github.com/ffi/ffi
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+
10+
GIT
11+
remote: https://github.com/ged/ruby-pg
12+
revision: bc3f2f8b1110e9bcb225d65554e1a7fc842d0506
13+
branch: master
14+
specs:
15+
pg (1.6.2)
16+
pg (1.6.2-arm64-darwin)
17+
pg (1.6.2-x86_64-linux)
18+
119
PATH
220
remote: .
321
specs:
@@ -41,8 +59,6 @@ GEM
4159
docile (1.4.1)
4260
drb (2.2.3)
4361
erb (5.1.1)
44-
ffi (1.17.2-arm64-darwin)
45-
ffi (1.17.2-x86_64-linux-gnu)
4662
fileutils (1.7.3)
4763
i18n (1.14.7)
4864
concurrent-ruby (~> 1.0)
@@ -58,14 +74,13 @@ GEM
5874
rb-fsevent (~> 0.10, >= 0.10.3)
5975
rb-inotify (~> 0.9, >= 0.9.10)
6076
logger (1.7.0)
61-
minitest (5.26.0)
77+
minitest (6.0.0)
78+
prism (~> 1.5)
6279
mutex_m (0.3.0)
6380
parallel (1.27.0)
6481
parser (3.3.9.0)
6582
ast (~> 2.4.1)
6683
racc
67-
pg (1.6.2-arm64-darwin)
68-
pg (1.6.2-x86_64-linux)
6984
pp (0.6.3)
7085
prettyprint
7186
prettyprint (0.2.0)
@@ -159,7 +174,7 @@ GEM
159174
concurrent-ruby (~> 1.0)
160175
unicode-display_width (3.2.0)
161176
unicode-emoji (~> 4.1)
162-
unicode-emoji (4.1.0)
177+
unicode-emoji (4.2.0)
163178
uri (1.0.4)
164179

165180
PLATFORMS
@@ -170,6 +185,8 @@ PLATFORMS
170185

171186
DEPENDENCIES
172187
debug
188+
ffi!
189+
pg!
173190
riverqueue!
174191
riverqueue-sequel!
175192
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)