Skip to content

Commit

Permalink
Merge pull request #60 from appfolio/bank_appraise_rails_72
Browse files Browse the repository at this point in the history
Appraise Rails 7.2
  • Loading branch information
Maimer authored Oct 1, 2024
2 parents 0df213b + e33853c commit 93e6257
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ when '3.1.3', '3.2.1', '3.3.0'
gem 'activerecord', '~> 7.1.0'
end
end

appraise "ruby-#{RUBY_VERSION}_activerecord72" do
source 'https://rubygems.org' do
gem 'activerecord', '~> 7.2.0'
end
end
else
raise "Unsupported Ruby version #{RUBY_VERSION}"
end
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
source 'https://rubygems.org' # global source

source 'https://rubygems.org' do
gem 'activesupport', '>= 6.1', '< 7.2'
gem 'activesupport', '>= 6.1', '< 7.3'
gem 'appraisal', '>= 2.5', '< 3'
gem 'bundler', '>= 2.2', '< 3'
gem 'debug', '>= 1.9', '< 2'
gem 'minitest', '>= 5.22', '< 6'
gem 'minitest-reporters', '>= 1.6', '< 2'
gem 'minitest', '>= 5.25', '< 6'
gem 'minitest-reporters', '>= 1.7', '< 2'
gem 'mysql2', '>= 0.5.6', '< 1'
gem 'rake', '>= 13', '< 14'
gem 'simplecov', '>= 0.22', '< 1', group: :test, require: false
Expand Down
4 changes: 2 additions & 2 deletions store_base_sti_class.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
compatibility.'
MSG
spec.summary = <<~MSG
Modifies ActiveRecord 6.1.x - 7.1.x with the ability to store the actual class (instead of the base class) in
Modifies ActiveRecord 6.1.x - 7.2.x with the ability to store the actual class (instead of the base class) in
polymorhic _type columns when using STI.
MSG
spec.homepage = 'https://github.com/appfolio/store_base_sti_class'
Expand All @@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = Gem::Requirement.new('< 3.4')
spec.metadata['allowed_push_host'] = 'https://rubygems.org'

spec.add_dependency('activerecord', ['>= 6.1', '< 7.2'])
spec.add_dependency('activerecord', ['>= 6.1', '< 7.3'])
end

0 comments on commit 93e6257

Please sign in to comment.