Skip to content

Commit

Permalink
Add rails 7.2 beta to testing appraisals
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Jul 16, 2024
1 parent 2e4c8fc commit 435f80a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
appraise 'rails-61' do
gem 'activerecord', '~> 6.1.0'
gem 'actionpack', '~> 6.1.0'
gem 'actionpack', '~> 6.1.0'
end

appraise 'rails-70' do
gem 'activerecord', '~> 7.0.0'
gem 'actionpack', '~> 7.0.0'
gem 'actionpack', '~> 7.0.0'
end

appraise 'rails-71' do
gem 'activerecord', '~> 7.1.0'
gem 'actionpack', '~> 7.1.0'
gem 'actionpack', '~> 7.1.0'
end

appraise 'rails-72' do
gem 'activerecord', '~> 7.2.0.beta3'
gem 'actionpack', '~> 7.2.0.beta3'
end
17 changes: 17 additions & 0 deletions gemfiles/rails_72.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.2.0.beta3"
gem "actionpack", "~> 7.2.0.beta3"

platforms :jruby do
gem "activerecord-jdbcsqlite3-adapter", ">= 1.3", "< 61"
gem "jruby-openssl", "~> 0.9.4"
end

platforms :ruby do
gem "sqlite3", "~> 1.3"
end

gemspec path: "../"
1 change: 1 addition & 0 deletions test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class ToSql < (Arel::VERSION[/\A\d+/].to_i >= 6 ? Arel::Visitors::Reduce : Arel:

require 'default_value_for'

puts "\nTesting with ruby version #{RUBY_VERSION}"
puts "\nTesting with Active Record version #{ActiveRecord::VERSION::STRING}"
puts "\nTesting with Action Pack version #{ActionPack::VERSION::STRING}\n\n"

Expand Down

0 comments on commit 435f80a

Please sign in to comment.