Skip to content

Commit b1b3f28

Browse files
committed
Bump the minimum Ruby version to 3.1
This commit bumps the minimum Ruby version to 3.1 - Rails 7.2 requires Ruby 3.1 rails/rails#50491 https://guides.rubyonrails.org/7_2_release_notes.html#make-ruby-3-1-the-new-minimum-version - Remove workaround for Ruby 2.7 8cb2077 ```ruby % ruby -v ruby 3.1.7p261 (2025-03-26 revision 0a3704f218) [arm64-darwin25] % gem -v 3.3.27 % bundler -v Bundler version 2.3.27 % gem update --system Updating rubygems-update Fetching rubygems-update-3.6.9.gem Successfully installed rubygems-update-3.6.9 Parsing documentation for rubygems-update-3.6.9 Installing ri documentation for rubygems-update-3.6.9 Done installing documentation for rubygems-update after 2 seconds Parsing documentation for rubygems-update-3.6.9 Done installing documentation for rubygems-update after 0 seconds Installing RubyGems 3.6.9 Successfully built RubyGem Name: bundler Version: 2.6.9 File: bundler-2.6.9.gem Bundler 2.6.9 installed RubyGems 3.6.9 installed Regenerating binstubs Regenerating plugins Parsing documentation for rubygems-3.6.9 Installing ri documentation for rubygems-3.6.9 ... snip ... RubyGems system software updated ~ % gem -v 3.6.9 ``` - Bump the TargetRubyVersion in .rubocop.yml
1 parent 9b67960 commit b1b3f28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
./ci/setup_accounts.sh
7474
- name: Update RubyGems
7575
run: |
76-
gem update --system || gem update --system 3.4.22
76+
gem update --system
7777
- name: Bundle install
7878
run: |
7979
bundle install --jobs 4 --retry 3

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins:
44
- rubocop-rspec
55

66
AllCops:
7-
TargetRubyVersion: 2.7
7+
TargetRubyVersion: 3.1
88
DisabledByDefault: true
99
SuggestExtensions: false
1010

activerecord-oracle_enhanced-adapter.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
77
s.version = version
88

99
s.required_rubygems_version = ">= 1.8.11"
10-
s.required_ruby_version = ">= 2.7.0"
10+
s.required_ruby_version = ">= 3.1.0"
1111
s.license = "MIT"
1212
s.authors = ["Raimonds Simanovskis"]
1313
s.description = 'Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.

0 commit comments

Comments
 (0)