From f14e8105f3897f2d3e29e3e6bbf73bd147b6e1fa Mon Sep 17 00:00:00 2001 From: Nicholas Lee Date: Mon, 19 Aug 2024 10:11:56 -0700 Subject: [PATCH] Appraise Rails 7.2 --- Appraisals | 6 ++++++ Gemfile | 8 ++++---- paperclip.gemspec | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Appraisals b/Appraisals index c106b38ab..9cae94273 100644 --- a/Appraisals +++ b/Appraisals @@ -19,6 +19,12 @@ when '3.1.2', '3.2.1', '3.3.0' gem 'rails', '~> 7.1.0' end end + + appraise "ruby-#{RUBY_VERSION}_rails72" do + source 'https://rubygems.org' do + gem 'rails', '~> 7.2.0' + end + end else raise "Unsupported Ruby version #{RUBY_VERSION}" end diff --git a/Gemfile b/Gemfile index efeb8c7b0..ee45621b6 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org' # global source source 'https://rubygems.pkg.github.com/appfolio' # global source source 'https://rubygems.org' do - gem 'activerecord', '>= 6.1', '< 7.2' + gem 'activerecord', '>= 6.1', '< 7.3' gem 'activerecord-import', '> 1', '< 2' gem 'aruba', '>= 0.9', '< 1' gem 'aws-sdk-s3', '>= 1.93', '< 2' @@ -16,9 +16,9 @@ source 'https://rubygems.org' do gem 'fog-local', '>= 0.7', '< 1' gem 'generator_spec', '>= 0.9', '< 1' gem 'launchy', '>= 2.5', '< 3' - gem 'mysql2', '>= 0.5.5', '< 1' - gem 'nokogiri', '>= 1.14', '< 2' - gem 'railties', '>= 6.1', '< 7.2' + gem 'mysql2', '>= 0.5.6', '< 1' + gem 'nokogiri', '>= 1.16', '< 2' + gem 'railties', '>= 6.1', '< 7.3' gem 'rspec', '>= 3', '< 4' gem 'shoulda', '>= 4', '< 5' gem 'timecop', '>= 0.9', '< 1' diff --git a/paperclip.gemspec b/paperclip.gemspec index fc886bda2..221024189 100644 --- a/paperclip.gemspec +++ b/paperclip.gemspec @@ -19,8 +19,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = Gem::Requirement.new('< 3.4') spec.metadata['allowed_push_host'] = 'https://rubygems.pkg.github.com/appfolio' - spec.add_dependency('activemodel', ['>= 6.1', '< 7.2']) - spec.add_dependency('activesupport', ['>= 6.1', '< 7.2']) + spec.add_dependency('activemodel', ['>= 6.1', '< 7.3']) + spec.add_dependency('activesupport', ['>= 6.1', '< 7.3']) spec.add_dependency('terrapin', ['>= 0.6', '< 0.7']) spec.add_dependency('marcel', ['>= 1.0.1', '< 2']) spec.add_dependency('mime-types', ['>= 3.3', '< 4'])