Skip to content

Commit 57453eb

Browse files
committed
ext: update native gem packaging to add 3.2 and drop 2.6
1 parent ecac479 commit 57453eb

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

.github/workflows/gem-install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
fail-fast: false
7777
matrix:
7878
sys: ["enable", "disable"]
79-
ruby: ["3.1", "truffleruby-head"]
79+
ruby: ["3.1", "3.2", "truffleruby-head"]
8080
runs-on: macos-latest
8181
steps:
8282
- uses: actions/checkout@v3
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v3
105105
- uses: ruby/setup-ruby-pkgs@v1
106106
with:
107-
ruby-version: "3.0"
107+
ruby-version: "${{matrix.ruby}}"
108108
mingw: "sqlite3"
109109
- uses: actions/download-artifact@v3
110110
with:
@@ -121,13 +121,13 @@ jobs:
121121
fail-fast: false
122122
matrix:
123123
sys: ["enable", "disable"]
124-
ruby: ["3.1"]
124+
ruby: ["3.1", "3.2"]
125125
runs-on: windows-2022
126126
steps:
127127
- uses: actions/checkout@v3
128128
- uses: ruby/setup-ruby-pkgs@v1
129129
with:
130-
ruby-version: "3.1"
130+
ruby-version: "${{matrix.ruby}}"
131131
mingw: "sqlite3"
132132
- uses: actions/download-artifact@v3
133133
with:

.github/workflows/sqlite3-ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
os: [ubuntu-latest, macos-latest, windows-latest]
26-
ruby: ["3.2", "3.1", "3.0", "2.7", "2.6"]
26+
ruby: ["3.2", "3.1", "3.0", "2.7"]
2727
lib: [system, packaged]
2828
include:
2929
- { os: ubuntu-latest, ruby: truffleruby-head, lib: packaged }
@@ -95,7 +95,7 @@ jobs:
9595
fail-fast: false
9696
matrix:
9797
os: [ubuntu-latest, macos-latest, windows-latest]
98-
ruby: ["3.2", "2.6"] # oldest and newest
98+
ruby: ["3.2", "2.7"] # oldest and newest
9999
include:
100100
- { os: windows-latest, ruby: mingw }
101101
- { os: windows-latest, ruby: mswin }

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## next / unreleased
44

5+
### Ruby
6+
7+
This release introduces native gem support for Ruby 3.2.
8+
9+
This release ends native gem support for Ruby 2.6, for which [upstream support ended 2022-04-12](https://www.ruby-lang.org/en/downloads/branches/).
10+
11+
512
### Dependencies
613

714
* Vendored sqlite3 is updated to [v3.40.1](https://sqlite.org/releaselog/3_40_1.html).

bin/test-gem-file-contents

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ Minitest::Reporters.use!([Minitest::Reporters::SpecReporter.new])
6565

6666
puts "Testing '#{gemfile}' (#{gemspec.platform})"
6767
describe File.basename(gemfile) do
68-
let(:all_supported_ruby_versions) { ["1.9.2", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1"] }
69-
let(:native_supported_ruby_versions) { ["2.6", "2.7", "3.0", "3.1"] }
70-
let(:ucrt_supported_ruby_versions) { ["3.1"] }
68+
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"]
70+
}
71+
let(:native_supported_ruby_versions) { ["2.7", "3.0", "3.1", "3.2"] }
72+
let(:ucrt_supported_ruby_versions) { ["3.1", "3.2"] }
7173
let(:platform_supported_ruby_versions) do
7274
if gemspec.platform.to_s == "x64-mingw-ucrt"
7375
ucrt_supported_ruby_versions

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.1.0", "3.0.0", "2.7.0", "2.6.0"]
9+
cross_rubies = ["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)