Skip to content

Commit

Permalink
Fix AR 8
Browse files Browse the repository at this point in the history
  • Loading branch information
djezzzl committed Dec 24, 2024
1 parent 9c3b2a1 commit 911960f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,22 @@ appraise 'ar_4_2' do
gem 'sqlite3', '~> 1.3.9'
end

%w[5.2 6.0 6.1 7.0 7.1 8.0].each do |version|
%w[5.2 6.0 6.1 7.0 7.1].each do |version|
appraise "ar_#{version.gsub('.', '_')}" do
remove_gem 'appraisal'
gem 'activerecord', "~> #{version}.0"
gem 'sqlite3', '~> 1.3'
end
end

%w[8.0].each do |version|
appraise "ar_#{version.gsub('.', '_')}" do
remove_gem 'appraisal'
gem 'activerecord', "~> #{version}.0"
gem 'sqlite3', '>= 2.0'
end
end

appraise 'ar_main' do
remove_gem 'appraisal'
gem 'activerecord', git: 'https://github.com/rails/rails', branch: 'main'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/ar_8_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ source 'https://rubygems.org'
gem 'activerecord', '~> 8.0.0'
gem 'mysql2', '~> 0.5'
gem 'pg', '>= 0.2'
gem 'sqlite3', '~> 1.3'
gem 'sqlite3', '>= 2.0'

gemspec path: '../'

0 comments on commit 911960f

Please sign in to comment.