Skip to content

Commit 1bc9dbc

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. BREAKING CHANGE: Users will need to be on Ruby 3.2 or greater
1 parent 03c19fc commit 1bc9dbc

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,26 @@ 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
3233

3334
steps:
3435
- name: Checkout Code
3536
uses: actions/checkout@v4
3637

38+
- name: Setup Java
39+
if: matrix.java_version != ''
40+
uses: actions/setup-java@v4
41+
with:
42+
distribution: 'temurin'
43+
java-version: ${{ matrix.java_version }}
44+
3745
- name: Setup Ruby
3846
uses: ruby/setup-ruby@v1
3947
with:

.github/workflows/experimental_continuous_integration.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,25 @@ jobs:
2727
ruby: head
2828
operating-system: ubuntu-latest
2929
experimental: Yes
30+
java_version: ""
3031

3132
- # Since JRuby on Windows is known to not work, consider this experimental
3233
ruby: jruby-head
3334
operating-system: windows-latest
3435
experimental: Yes
36+
java_version: "21"
3537

3638
steps:
3739
- name: Checkout Code
3840
uses: actions/checkout@v4
3941

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+
4049
- name: Setup Ruby
4150
uses: ruby/setup-ruby@v1
4251
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)