Skip to content

Commit

Permalink
test rails7.2 (#441)
Browse files Browse the repository at this point in the history
"Rails 7.2 has been released, and the main branch is moving towards Rails 8.0.
  • Loading branch information
kakubin authored Nov 2, 2024
1 parent 53f4dc5 commit 509f6df
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- '3.1'
- '3.0'
rails:
- activerecord_7.2
- activerecord_7.1
- activerecord_7.0
- activerecord_6.1
Expand All @@ -56,6 +57,10 @@ jobs:
exclude:
- ruby: '3.0'
rails: activerecord_edge
- ruby: '3.1'
rails: activerecord_edge
- ruby: '3.0'
rails: activerecord_7.2

steps:
- name: Checkout
Expand Down
15 changes: 15 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ appraise 'activerecord-7.1' do
end
end

appraise 'activerecord-7.2' do
gem 'activerecord', '~> 7.2.0'
platforms :ruby do
gem 'mysql2'
gem 'pg'
gem 'sqlite3'
end

platforms :jruby do
gem 'activerecord-jdbcmysql-adapter'
gem 'activerecord-jdbcpostgresql-adapter'
gem 'activerecord-jdbcsqlite3-adapter'
end
end

appraise 'activerecord-edge' do
gem 'activerecord', github: 'rails/rails'
platforms :ruby do
Expand Down
26 changes: 26 additions & 0 deletions gemfiles/activerecord_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.2.0"

platforms :mri do
group :development do
gem "bump", "~> 0.10.0"
gem "github_changelog_generator", "~> 1.16"
end
end

platforms :ruby do
gem "mysql2"
gem "pg"
gem "sqlite3"
end

platforms :jruby do
gem "activerecord-jdbcmysql-adapter"
gem "activerecord-jdbcpostgresql-adapter"
gem "activerecord-jdbcsqlite3-adapter"
end

gemspec path: "../"

0 comments on commit 509f6df

Please sign in to comment.