Skip to content

Commit ae37d45

Browse files
yahondaclaude
andcommitted
Move Rails-main Gemfile to top level and add gemfiles/Gemfile.activerecord-8.1
Top-level Gemfile now tracks Rails main (rails/rails:main) and the oracle-enhanced adapter master (rsim/oracle-enhanced:master), mirroring how the previous gemfiles/Gemfile.activerecord-main pulled in bleeding-edge dependencies. Picking up rails/rails main as the default development target surfaces upstream regressions earlier than waiting for a released Rails line. Add gemfiles/Gemfile.activerecord-8.1 pinned to ~> 8.1.0 (matching the style of Gemfile.activerecord-8.0) and wire it into .github/workflows/test_gemfiles.yml so 8.1 gets the same matrix coverage the other released Rails lines have. The 8.1 row uses Ruby 3.3 because activerecord-oracle_enhanced-adapter 8.1.x requires Ruby >= 3.3.1. Drop Ruby 3.2 from .github/workflows/test.yml and test_11g.yml matrices for the same reason: those workflows resolve against the top-level Gemfile, which now pulls oracle-enhanced master and inherits its Ruby >= 3.3.1 requirement. Ruby 3.2 coverage continues through gemfiles/Gemfile.activerecord-8.0 (and earlier rows) in test_gemfiles.yml. Remove the redundant gemfiles/Gemfile.activerecord-main; tracking Rails main now happens in the top-level Gemfile. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent eaf2925 commit ae37d45

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
'4.0',
1616
'3.4',
1717
'3.3',
18-
'3.2',
1918
'jruby-10.1.0.0',
2019
]
2120
env:

.github/workflows/test_gemfiles.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
ruby: '3.1'
3939
- gemfile: gemfiles/Gemfile.activerecord-8.0
4040
ruby: '3.2'
41+
- gemfile: gemfiles/Gemfile.activerecord-8.1
42+
ruby: '3.3'
4143
env:
4244
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
4345
NLS_LANG: AMERICAN_AMERICA.AL32UTF8

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ group :test, :development do
1616
gem "rspec", "~> 3.1"
1717

1818
unless ENV["NO_ACTIVERECORD"]
19-
gem "activerecord", "~> 8.0"
20-
gem "activerecord-oracle_enhanced-adapter", "~> 8.0"
19+
gem "activerecord", github: "rails/rails", branch: "main"
20+
gem "activerecord-oracle_enhanced-adapter", github: "rsim/oracle-enhanced", branch: "master"
2121
gem "simplecov", ">= 0"
2222
end
2323

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ group :test, :development do
1010
gem 'rspec', '~> 3.1'
1111

1212
unless ENV['NO_ACTIVERECORD']
13-
gem 'activerecord', github: 'rails/rails', branch: 'main'
14-
gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
13+
gem 'activerecord', '~> 8.1.0'
14+
gem 'activerecord-oracle_enhanced-adapter', '~> 8.1.0'
1515
gem 'simplecov', '>= 0'
1616
end
1717

0 commit comments

Comments
 (0)