Skip to content

Commit fbb1e36

Browse files
authored
Run CI against Rails 7.2 (#33)
* Add /gemfiles/vendor/ to .gitignore since the directory is used when installing by using Gemfile under gemfiles/ dir * Rails 6.1 or above should use rspec-rails 6.x to comply its policy https://github.com/rspec/rspec-rails/blob/d0e322b20bb713b200b66d4a7cc21a272d0b4374/README.md#L11-L16 * Rails 8.0 require sqlite3 2.0 or above rails/rails#51958 * Add Ruby 3.3 x Rails 7.2 to test matrix
1 parent bcb4776 commit fbb1e36

File tree

9 files changed

+31
-6
lines changed

9 files changed

+31
-6
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
- ruby: '3.2'
4040
activerecord: '7.1'
4141
gemfile: 'activerecord_7_1.gemfile'
42+
- ruby: '3.1'
43+
activerecord: '7.2'
44+
gemfile: 'activerecord_7_2.gemfile'
45+
- ruby: '3.2'
46+
activerecord: '7.2'
47+
gemfile: 'activerecord_7_2.gemfile'
48+
- ruby: '3.3'
49+
activerecord: '7.2'
50+
gemfile: 'activerecord_7_2.gemfile'
4251
- ruby: '3.3'
4352
activerecord: 'HEAD'
4453
gemfile: 'activerecord_master.gemfile'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/spec/reports/
88
/tmp/
99
/gemfiles/*.lock
10+
/gemfiles/vendor/
1011

1112
# rspec failure tracking
1213
.rspec_status

Appraisals

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ appraise "activerecord-7-1" do
4343
gem "rspec-rails", "~> 5.0"
4444
end
4545

46+
appraise "activerecord-7-2" do
47+
gem "activerecord", "~> 7.2.0"
48+
gem "sqlite3", "~> 1.4"
49+
gem "rspec-rails", "~> 5.0"
50+
end
51+
4652
appraise "activerecord-master" do
4753
git "https://github.com/rails/rails.git" do
4854
gem "rails"

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
after_commit_everywhere (1.3.1)
4+
after_commit_everywhere (1.4.0)
55
activerecord (>= 4.2)
66
activesupport
77

gemfiles/activerecord_6_1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ source "https://rubygems.org"
44

55
gem "activerecord", "~> 6.1.0"
66
gem "sqlite3", "~> 1.4"
7-
gem "rspec-rails", "~> 4.0"
7+
gem "rspec-rails", "~> 6.0"
88

99
gemspec path: "../"

gemfiles/activerecord_7_0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ source "https://rubygems.org"
44

55
gem "activerecord", "~> 7.0.0"
66
gem "sqlite3", "~> 1.4"
7-
gem "rspec-rails", "~> 5.0"
7+
gem "rspec-rails", "~> 6.0"
88

99
gemspec path: "../"

gemfiles/activerecord_7_1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ source "https://rubygems.org"
44

55
gem "activerecord", "~> 7.1.0"
66
gem "sqlite3", "~> 1.4"
7-
gem "rspec-rails", "~> 5.0"
7+
gem "rspec-rails", "~> 6.0"
88

99
gemspec path: "../"

gemfiles/activerecord_7_2.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activerecord", "~> 7.2.0"
6+
gem "sqlite3", "~> 1.4"
7+
gem "rspec-rails", "~> 6.0"
8+
9+
gemspec path: "../"

gemfiles/activerecord_master.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git "https://github.com/rails/rails.git" do
77
gem "activerecord"
88
end
99

10-
gem "sqlite3", "~> 1.4"
11-
gem "rspec-rails", "~> 5.0"
10+
gem "sqlite3", "~> 2.0"
11+
gem "rspec-rails", "~> 6.0"
1212

1313
gemspec path: "../"

0 commit comments

Comments
 (0)