diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0057e434..11c6a131 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: - 6_1 - 7_0 - 7_1 + - 7_2 # - master # versions failing exclude: - ruby_version: jruby diff --git a/Appraisals b/Appraisals index a9efbab6..90e9d708 100644 --- a/Appraisals +++ b/Appraisals @@ -36,6 +36,18 @@ appraise 'rails-7-1' do end end +appraise 'rails-7-2' do + gem 'rails', '~> 7.2.0' + platforms :ruby do + gem 'sqlite3', '~> 1.6' + end + platforms :jruby do + gem 'activerecord-jdbc-adapter', '~> 71.0' + gem 'activerecord-jdbcpostgresql-adapter', '~> 71.0' + gem 'activerecord-jdbcmysql-adapter', '~> 71.0' + end +end + # Install Rails from the main branch are failing # appraise 'rails-master' do # gem 'rails', git: 'https://github.com/rails/rails.git' diff --git a/gemfiles/rails_7_2.gemfile b/gemfiles/rails_7_2.gemfile new file mode 100644 index 00000000..37f8e6a2 --- /dev/null +++ b/gemfiles/rails_7_2.gemfile @@ -0,0 +1,17 @@ +# This file was generated by Appraisal + +source "http://rubygems.org" + +gem "rails", "~> 7.2.0" + +platforms :ruby do + gem "sqlite3", "~> 1.6" +end + +platforms :jruby do + gem "activerecord-jdbc-adapter", "~> 71.0" + gem "activerecord-jdbcpostgresql-adapter", "~> 71.0" + gem "activerecord-jdbcmysql-adapter", "~> 71.0" +end + +gemspec path: "../" diff --git a/ros-apartment.gemspec b/ros-apartment.gemspec index 918026da..496d717e 100644 --- a/ros-apartment.gemspec +++ b/ros-apartment.gemspec @@ -32,7 +32,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.0', '< 3.4' - s.add_dependency 'activerecord', '>= 6.1.0', '< 7.2' + s.add_dependency 'activerecord', '>= 6.1.0', '<= 8.1' s.add_dependency 'parallel', '< 2.0' s.add_dependency 'public_suffix', '>= 2.0.5', '< 6.0' s.add_dependency 'rack', '>= 1.3.6', '< 4.0'