Skip to content

Commit 509f6df

Browse files
authored
test rails7.2 (#441)
"Rails 7.2 has been released, and the main branch is moving towards Rails 8.0.
1 parent 53f4dc5 commit 509f6df

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
- '3.1'
4646
- '3.0'
4747
rails:
48+
- activerecord_7.2
4849
- activerecord_7.1
4950
- activerecord_7.0
5051
- activerecord_6.1
@@ -56,6 +57,10 @@ jobs:
5657
exclude:
5758
- ruby: '3.0'
5859
rails: activerecord_edge
60+
- ruby: '3.1'
61+
rails: activerecord_edge
62+
- ruby: '3.0'
63+
rails: activerecord_7.2
5964

6065
steps:
6166
- name: Checkout

Appraisals

+15
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ appraise 'activerecord-7.1' do
4545
end
4646
end
4747

48+
appraise 'activerecord-7.2' do
49+
gem 'activerecord', '~> 7.2.0'
50+
platforms :ruby do
51+
gem 'mysql2'
52+
gem 'pg'
53+
gem 'sqlite3'
54+
end
55+
56+
platforms :jruby do
57+
gem 'activerecord-jdbcmysql-adapter'
58+
gem 'activerecord-jdbcpostgresql-adapter'
59+
gem 'activerecord-jdbcsqlite3-adapter'
60+
end
61+
end
62+
4863
appraise 'activerecord-edge' do
4964
gem 'activerecord', github: 'rails/rails'
5065
platforms :ruby do

gemfiles/activerecord_7.2.gemfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activerecord", "~> 7.2.0"
6+
7+
platforms :mri do
8+
group :development do
9+
gem "bump", "~> 0.10.0"
10+
gem "github_changelog_generator", "~> 1.16"
11+
end
12+
end
13+
14+
platforms :ruby do
15+
gem "mysql2"
16+
gem "pg"
17+
gem "sqlite3"
18+
end
19+
20+
platforms :jruby do
21+
gem "activerecord-jdbcmysql-adapter"
22+
gem "activerecord-jdbcpostgresql-adapter"
23+
gem "activerecord-jdbcsqlite3-adapter"
24+
end
25+
26+
gemspec path: "../"

0 commit comments

Comments
 (0)