Skip to content

Commit 8b89026

Browse files
committed
chore: Update supported Ruby versions to 3.3.10 and 3.4.7
We've updated the supported Ruby versions in our CI configuration, and also dropped support for Ruby 3.0 and 3.1 in line with our minimum required Ruby version of 3.2.9. This ensures compatibility with the latest Ruby releases and maintains our commitment to supporting actively maintained Ruby versions.
1 parent 4fc9f20 commit 8b89026

File tree

8 files changed

+5
-26
lines changed

8 files changed

+5
-26
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
ruby:
30-
- 3.4.5
31-
- 3.3.9
30+
- 3.4.7
31+
- 3.3.10
3232
- 3.2.9
33-
- 3.1.7
34-
- 3.0.7
3533
appraisal:
3634
- rails_8_1
3735
- rails_8_0
@@ -42,13 +40,7 @@ jobs:
4240
- postgresql
4341
exclude:
4442
- { ruby: 3.2.9, appraisal: rails_8_0 }
45-
- { ruby: 3.1.7, appraisal: rails_8_0 }
46-
- { ruby: 3.0.7, appraisal: rails_8_0 }
4743
- { ruby: 3.2.9, appraisal: rails_8_0 }
48-
- { ruby: 3.1.7, appraisal: rails_8_0 }
49-
- { ruby: 3.0.7, appraisal: rails_8_0 }
50-
- { ruby: 3.0.7, appraisal: rails_7_1 }
51-
- { ruby: 3.0.7, appraisal: rails_7_2 }
5244
env:
5345
DATABASE_ADAPTER: ${{ matrix.adapter }}
5446
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.5
1+
3.4.7

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 3.4.5
1+
ruby 3.4.7

gemfiles/rails_7_1.gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,3 @@ gem "shoulda-context", "~> 2.0.0"
3636
gem "bcrypt", "~> 3.1.7"
3737
gem "sqlite3", "~> 1.4"
3838
gem "pg", "~> 1.1"
39-
40-
if RUBY_VERSION >= "3.1" && RUBY_VERSION < "3.2"
41-
gem "error_highlight", ">= 0.4.0", platforms: [:ruby]
42-
end

gemfiles/rails_7_2.gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,3 @@ gem "shoulda-context", "~> 2.0.0"
3939
gem "bcrypt", "~> 3.1.7"
4040
gem "sqlite3", "~> 1.4"
4141
gem "pg", "~> 1.1"
42-
43-
if RUBY_VERSION >= "3.1" && RUBY_VERSION < "3.2"
44-
gem "error_highlight", ">= 0.4.0", platforms: [:ruby]
45-
end

shoulda-matchers.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ Gem::Specification.new do |s|
3636
'shoulda-matchers.gemspec']
3737
s.require_paths = ['lib']
3838

39-
s.required_ruby_version = '>= 3.0.5'
39+
s.required_ruby_version = '>= 3.2.9'
4040
s.add_dependency('activesupport', '>= 5.2.0')
4141
end

spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
$LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
33

44
require 'pry'
5-
require 'pry-byebug' if RUBY_VERSION < '3.2'
65

76
require 'rspec'
87

spec/support/acceptance/helpers/ruby_version_helpers.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@ module RubyVersionHelpers
55
def ruby_version
66
Tests::Version.new(RUBY_VERSION)
77
end
8-
9-
def ruby_gt_3_1?
10-
ruby_version >= '3.1'
11-
end
128
end
139
end

0 commit comments

Comments
 (0)