Skip to content

Commit aceceec

Browse files
authored
Add Rails 8.0 support (#281)
Adds Rails 8.0 to the Appraisals and CI matrix.
1 parent 3001963 commit aceceec

6 files changed

+99
-1
lines changed

Diff for: .github/workflows/super_diff.yml

+4
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ jobs:
6262
- rails_7_0
6363
- rails_7_1
6464
- rails_7_2
65+
- rails_8_0
6566
- no_rails
6667
rspec_appraisal:
6768
- rspec_lt_3_10
6869
- rspec_gte_3_10
6970
- rspec_gte_3_13
71+
exclude:
72+
- ruby: "3.1"
73+
rails_appraisal: "rails_8_0"
7074
env:
7175
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails_appraisal }}_${{ matrix.rspec_appraisal }}.gemfile
7276
steps:

Diff for: Appraisals

+8-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ appraisals = {
3737
gem 'rails', '~> 7.2.0'
3838
gem 'sqlite3', '~> 1.4.0', platform: %i[ruby mswin mingw]
3939
end,
40+
rails_8_0:
41+
proc do
42+
instance_eval(&rails_dependencies)
43+
44+
gem 'rails', '~> 8.0.0'
45+
gem 'sqlite3', '>= 2.1', platform: %i[ruby mswin mingw]
46+
end,
4047
no_rails: proc {},
4148
rspec_lt_3_10:
4249
proc do |with_rails|
@@ -73,7 +80,7 @@ appraisals = {
7380
end
7481
}
7582

76-
rails_appraisals = %i[no_rails rails_6_1 rails_7_0 rails_7_1 rails_7_2]
83+
rails_appraisals = %i[no_rails rails_6_1 rails_7_0 rails_7_1 rails_7_2 rails_8_0]
7784
rspec_appraisals = %i[rspec_lt_3_10 rspec_gte_3_10 rspec_gte_3_13]
7885

7986
rails_appraisals.each do |rails_appraisal|

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- Add official Rails 7.1 support. [#278](https://github.com/splitwise/super_diff/pull/278)
1212
- Add official Rails 7.2 support. [#279](https://github.com/splitwise/super_diff/pull/279)
13+
- Add official Rails 8.0 support. [#281](https://github.com/splitwise/super_diff/pull/281)
1314

1415
### Other changes
1516

Diff for: gemfiles/rails_8_0_rspec_gte_3_10.gemfile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal"
6+
gem "bundler-audit"
7+
gem "childprocess"
8+
gem "climate_control"
9+
gem "prettier_print"
10+
gem "pry-byebug", platform: :mri
11+
gem "pry-nav", platform: :jruby
12+
gem "rake"
13+
gem "rubocop"
14+
gem "syntax_tree"
15+
gem "syntax_tree-haml"
16+
gem "syntax_tree-rbs"
17+
gem "activerecord-jdbcsqlite3-adapter", platform: :jruby
18+
gem "jdbc-sqlite3", platform: :jruby
19+
gem "net-ftp"
20+
gem "combustion"
21+
gem "rails", "~> 8.0.0"
22+
gem "sqlite3", ">= 2.1", platform: [:ruby, :mswin, :mingw]
23+
gem "rspec", "3.12.0"
24+
gem "rspec-core", "3.12.0"
25+
gem "rspec-expectations", "3.12.3"
26+
gem "rspec-mocks", "3.12.0"
27+
gem "rspec-support", "3.12.0"
28+
gem "rspec-rails"
29+
30+
gemspec path: "../"

Diff for: gemfiles/rails_8_0_rspec_gte_3_13.gemfile

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal"
6+
gem "bundler-audit"
7+
gem "childprocess"
8+
gem "climate_control"
9+
gem "prettier_print"
10+
gem "pry-byebug", platform: :mri
11+
gem "pry-nav", platform: :jruby
12+
gem "rake"
13+
gem "rubocop"
14+
gem "syntax_tree"
15+
gem "syntax_tree-haml"
16+
gem "syntax_tree-rbs"
17+
gem "activerecord-jdbcsqlite3-adapter", platform: :jruby
18+
gem "jdbc-sqlite3", platform: :jruby
19+
gem "net-ftp"
20+
gem "combustion"
21+
gem "rails", "~> 8.0.0"
22+
gem "sqlite3", ">= 2.1", platform: [:ruby, :mswin, :mingw]
23+
gem "rspec", "3.13.0"
24+
gem "rspec-core", "3.13.0"
25+
gem "rspec-expectations", "3.13.0"
26+
gem "rspec-mocks", "3.13.0"
27+
gem "rspec-support", "3.13.0"
28+
gem "rspec-rails"
29+
30+
gemspec path: "../"

Diff for: gemfiles/rails_8_0_rspec_lt_3_10.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 "appraisal", git: "https://github.com/thoughtbot/appraisal"
6+
gem "bundler-audit"
7+
gem "childprocess"
8+
gem "climate_control"
9+
gem "prettier_print"
10+
gem "pry-byebug", platform: :mri
11+
gem "pry-nav", platform: :jruby
12+
gem "rake"
13+
gem "rubocop"
14+
gem "syntax_tree"
15+
gem "syntax_tree-haml"
16+
gem "syntax_tree-rbs"
17+
gem "activerecord-jdbcsqlite3-adapter", platform: :jruby
18+
gem "jdbc-sqlite3", platform: :jruby
19+
gem "net-ftp"
20+
gem "combustion"
21+
gem "rails", "~> 8.0.0"
22+
gem "sqlite3", ">= 2.1", platform: [:ruby, :mswin, :mingw]
23+
gem "rspec", "~> 3.9.0"
24+
gem "rspec-rails"
25+
26+
gemspec path: "../"

0 commit comments

Comments
 (0)