Skip to content

Commit

Permalink
dep: drop support for old rubies
Browse files Browse the repository at this point in the history
- drop support completely from 1.9.2..2.6 (inclusive)
- drop native gem support for 2.7
  • Loading branch information
flavorjones committed Nov 27, 2023
1 parent b8753f5 commit 0e86a0b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gem-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
fail-fast: false
matrix:
sys: ["enable", "disable"]
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
ruby: ["3.0", "3.1", "3.2", "head"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
ruby: ["3.0", "3.1", "3.2", "3.3.0-preview3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -202,7 +202,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
ruby: ["3.0", "3.1", "3.2", "3.3.0-preview3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0"]
ruby: ["3.0"]
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
Expand All @@ -268,7 +268,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3.0-preview3"]
ruby: ["3.0", "3.1", "3.2", "3.3.0-preview3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -288,7 +288,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
ruby: ["3.0", "3.1", "3.2", "head"]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -306,7 +306,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
ruby: ["3.0", "3.1", "3.2", "head"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -324,7 +324,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3-rc"]
ruby: ["3.0", "3.1", "3.2", "3.3-rc"]
runs-on: ubuntu-latest
container:
image: ruby:${{matrix.ruby}}-alpine
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# sqlite3-ruby Changelog

## next / unreleased

### Ruby

This release introduces native gem support for Ruby 3.3.

This release ends native gem support for Ruby 2.7, for which [upstream support ended 2022-04-12](https://www.ruby-lang.org/en/downloads/branches/). Ruby 2.7 is still generally supported, but will not be shipped in the native gems.

This release ends support for Ruby 1.9.3, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, and 2.6.


## 1.6.9 / 2023-11-26

### Dependencies
Expand Down
4 changes: 2 additions & 2 deletions bin/test-gem-file-contents
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ Minitest::Reporters.use!([Minitest::Reporters::SpecReporter.new])
puts "Testing '#{gemfile}' (#{gemspec.platform})"
describe File.basename(gemfile) do
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", "3.2", "3.3"]
["2.7", "3.0", "3.1", "3.2", "3.3"]
}
let(:native_supported_ruby_versions) { ["2.7", "3.0", "3.1", "3.2", "3.3"] }
let(:native_supported_ruby_versions) { ["3.0", "3.1", "3.2", "3.3"] }
let(:ucrt_supported_ruby_versions) { ["3.1", "3.2", "3.3"] }
let(:platform_supported_ruby_versions) do
if gemspec.platform.to_s == "x64-mingw-ucrt"
Expand Down
2 changes: 1 addition & 1 deletion rakelib/native.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require "rake/extensiontask"
require "rake_compiler_dock"
require "yaml"

cross_rubies = ["3.3.0", "3.2.0", "3.1.0", "3.0.0", "2.7.0"]
cross_rubies = ["3.3.0", "3.2.0", "3.1.0", "3.0.0"]
cross_platforms = [
"aarch64-linux",
"arm-linux",
Expand Down
2 changes: 1 addition & 1 deletion sqlite3.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|

s.licenses = ["BSD-3-Clause"]

s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
s.required_ruby_version = Gem::Requirement.new(">= 2.7")

s.homepage = "https://github.com/sparklemotion/sqlite3-ruby"
s.metadata = {
Expand Down

0 comments on commit 0e86a0b

Please sign in to comment.