Skip to content

Commit 63eb0a4

Browse files
committed
feat!: upgrade minimally supported Ruby to 3.2
Update the CI builds to build with MRI Ruby 3.2, 3.3, and 3.4; TruffleRuby 24.2.1; and JRuby 10.0.0.1. In the CI build for JRuby on windows-latest, I had to update the version of Java to 21 which is the minimally supported version of Java for JRuby 10.x. BREAKING CHANGE: Users will need to be on Ruby 3.2 or greater
1 parent 03c19fc commit 63eb0a4

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,30 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
# Only the latest versions of JRuby and TruffleRuby are tested
25-
ruby: ["3.1", "3.2", "3.3", "3.4", "truffleruby-24.1.2", "jruby-9.4.12.0"]
25+
ruby: ["3.2", "3.3", "3.4", "truffleruby-24.2.1", "jruby-10.0.0.1"]
2626
operating-system: [ubuntu-latest]
2727
experimental: [No]
28+
java_version: [""]
2829
include:
29-
- # Only test with minimal Ruby version on Windows
30-
ruby: 3.1
30+
- ruby: 3.2
3131
operating-system: windows-latest
32+
experimental: No
33+
- ruby: jruby-10.0.0.1
34+
operating-system: windows-latest
35+
experimental: No
36+
java_version: "21"
3237

3338
steps:
3439
- name: Checkout Code
3540
uses: actions/checkout@v4
3641

42+
- name: Setup Java
43+
if: matrix.java_version != ''
44+
uses: actions/setup-java@v4
45+
with:
46+
distribution: 'temurin'
47+
java-version: ${{ matrix.java_version }}
48+
3749
- name: Setup Ruby
3850
uses: ruby/setup-ruby@v1
3951
with:

git.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
s.metadata['documentation_uri'] = "https://rubydoc.info/gems/#{s.name}/#{s.version}"
2525

2626
s.require_paths = ['lib']
27-
s.required_ruby_version = '>= 3.0.0'
27+
s.required_ruby_version = '>= 3.2.0'
2828
s.requirements = ['git 2.28.0 or greater']
2929

3030
s.add_runtime_dependency 'activesupport', '>= 5.0'

0 commit comments

Comments
 (0)