Skip to content

Commit

Permalink
Support rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Aug 12, 2024
1 parent 9c0fe72 commit e00513c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- 6_1
- 7_0
- 7_1
- 7_2
# - master # versions failing
exclude:
- ruby_version: jruby
Expand Down
12 changes: 12 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
17 changes: 17 additions & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"
2 changes: 1 addition & 1 deletion ros-apartment.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e00513c

Please sign in to comment.