Skip to content

Commit b8753f5

Browse files
authored
Merge pull request #429 from sparklemotion/flavorjones-ruby-33-support
ext: add experimental support for ruby 3.3
2 parents d4df9fd + b540402 commit b8753f5

File tree

6 files changed

+16
-20
lines changed

6 files changed

+16
-20
lines changed

.github/workflows/gem-install.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
fail-fast: false
6363
matrix:
6464
sys: ["enable", "disable"]
65-
ruby: ["2.7", "3.0", "3.1", "3.2"]
65+
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
6666
runs-on: ubuntu-latest
6767
steps:
6868
- uses: actions/checkout@v4
@@ -82,7 +82,7 @@ jobs:
8282
fail-fast: false
8383
matrix:
8484
sys: ["enable", "disable"]
85-
ruby: ["3.1", "3.2", "truffleruby"]
85+
ruby: ["3.1", "3.2", "head", "truffleruby"]
8686
runs-on: macos-latest
8787
steps:
8888
- uses: actions/checkout@v4
@@ -128,7 +128,7 @@ jobs:
128128
fail-fast: false
129129
matrix:
130130
sys: ["enable", "disable"]
131-
ruby: ["3.1", "3.2"]
131+
ruby: ["3.1", "3.2", "head"]
132132
runs-on: windows-2022
133133
steps:
134134
- uses: actions/checkout@v4
@@ -182,7 +182,7 @@ jobs:
182182
strategy:
183183
fail-fast: false
184184
matrix:
185-
ruby: ["2.7", "3.0", "3.1", "3.2"]
185+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
186186
runs-on: ubuntu-latest
187187
steps:
188188
- uses: actions/checkout@v4
@@ -202,7 +202,7 @@ jobs:
202202
strategy:
203203
fail-fast: false
204204
matrix:
205-
ruby: ["2.7", "3.0", "3.1", "3.2"]
205+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
206206
runs-on: ubuntu-latest
207207
steps:
208208
- uses: actions/checkout@v4
@@ -226,7 +226,7 @@ jobs:
226226
strategy:
227227
fail-fast: false
228228
matrix:
229-
ruby: ["3.1", "3.2"]
229+
ruby: ["3.1", "3.2", "head"]
230230
runs-on: windows-2022
231231
steps:
232232
- uses: actions/checkout@v4
@@ -268,7 +268,7 @@ jobs:
268268
strategy:
269269
fail-fast: false
270270
matrix:
271-
ruby: ["2.7", "3.0", "3.1", "3.2"]
271+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
272272
runs-on: ubuntu-latest
273273
steps:
274274
- uses: actions/checkout@v4
@@ -288,7 +288,7 @@ jobs:
288288
strategy:
289289
fail-fast: false
290290
matrix:
291-
ruby: ["2.7", "3.0", "3.1", "3.2"]
291+
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
292292
runs-on: macos-latest
293293
steps:
294294
- uses: actions/checkout@v4
@@ -306,7 +306,7 @@ jobs:
306306
strategy:
307307
fail-fast: false
308308
matrix:
309-
ruby: ["2.7", "3.0", "3.1", "3.2"]
309+
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
310310
runs-on: ubuntu-latest
311311
steps:
312312
- uses: actions/checkout@v4
@@ -324,7 +324,7 @@ jobs:
324324
strategy:
325325
fail-fast: false
326326
matrix:
327-
ruby: ["2.7", "3.0", "3.1", "3.2"]
327+
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3-rc"]
328328
runs-on: ubuntu-latest
329329
container:
330330
image: ruby:${{matrix.ruby}}-alpine

.github/workflows/sqlite3-ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-latest, macos-latest, windows-latest]
28-
ruby: ["3.2", "3.1", "3.0", "2.7"]
28+
ruby: ["head", "3.2", "3.1", "3.0", "2.7"]
2929
lib: [system, packaged]
3030
include:
3131
- { os: ubuntu-latest, ruby: truffleruby, lib: packaged }

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ gemspec
44

55
gem("minitest", "5.20.0")
66
gem("rake-compiler", "1.2.5")
7-
gem("rake-compiler-dock", "1.3.1")
7+
gem("rake-compiler-dock", "1.4.0.rc1")
88
gem("rdoc", "6.6.0")
99

1010
gem("ruby_memcheck", "2.2.1") if Gem::Platform.local.os == "linux"

bin/test-gem-file-contents

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ Minitest::Reporters.use!([Minitest::Reporters::SpecReporter.new])
6666
puts "Testing '#{gemfile}' (#{gemspec.platform})"
6767
describe File.basename(gemfile) do
6868
let(:all_supported_ruby_versions) {
69-
["1.9.2", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2"]
69+
["1.9.2", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
7070
}
71-
let(:native_supported_ruby_versions) { ["2.7", "3.0", "3.1", "3.2"] }
72-
let(:ucrt_supported_ruby_versions) { ["3.1", "3.2"] }
71+
let(:native_supported_ruby_versions) { ["2.7", "3.0", "3.1", "3.2", "3.3"] }
72+
let(:ucrt_supported_ruby_versions) { ["3.1", "3.2", "3.3"] }
7373
let(:platform_supported_ruby_versions) do
7474
if gemspec.platform.to_s == "x64-mingw-ucrt"
7575
ucrt_supported_ruby_versions

bin/test-gem-install

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ pushd $GEMS_DIR
2424

2525
popd
2626

27-
if [ -n "${BUNDLE_APP_CONFIG:-}" ] ; then
28-
export BUNDLE_CACHE_PATH="${BUNDLE_APP_CONFIG}/cache"
29-
fi
30-
3127
bundle install --local || bundle install
3228

3329
rm -rf lib ext # ensure we don't use the local files

rakelib/native.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require "rake/extensiontask"
66
require "rake_compiler_dock"
77
require "yaml"
88

9-
cross_rubies = ["3.2.0", "3.1.0", "3.0.0", "2.7.0"]
9+
cross_rubies = ["3.3.0", "3.2.0", "3.1.0", "3.0.0", "2.7.0"]
1010
cross_platforms = [
1111
"aarch64-linux",
1212
"arm-linux",

0 commit comments

Comments
 (0)