Skip to content

Commit 951d06b

Browse files
authored
Add Rails 7.1 support (#278)
Adds Rails 7.1 to the Appraisals matrix, and also cleans Rails 6.0 out as a follow-up to #187.
1 parent 7ab779f commit 951d06b

File tree

7 files changed

+99
-8
lines changed

7 files changed

+99
-8
lines changed

.github/workflows/super_diff.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
rails_appraisal:
6262
- rails_6_1
6363
- rails_7_0
64+
- rails_7_1
6465
- no_rails
6566
rspec_appraisal:
6667
- rspec_lt_3_10

Appraisals

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ rails_dependencies =
99
end
1010

1111
appraisals = {
12-
rails_6_0:
12+
rails_6_1:
1313
proc do
1414
instance_eval(&rails_dependencies)
1515

16-
gem 'rails', '~> 6.0.0'
16+
gem 'rails', '~> 6.1.0'
1717
gem 'sqlite3', '~> 1.4.0', platform: %i[ruby mswin mingw]
1818
end,
19-
rails_6_1:
19+
rails_7_0:
2020
proc do
2121
instance_eval(&rails_dependencies)
2222

23-
gem 'rails', '~> 6.1.0'
23+
gem 'rails', '~> 7.0.0'
2424
gem 'sqlite3', '~> 1.4.0', platform: %i[ruby mswin mingw]
2525
end,
26-
rails_7_0:
26+
rails_7_1:
2727
proc do
2828
instance_eval(&rails_dependencies)
2929

30-
gem 'rails', '~> 7.0.0'
30+
gem 'rails', '~> 7.1.0'
3131
gem 'sqlite3', '~> 1.4.0', platform: %i[ruby mswin mingw]
3232
end,
3333
no_rails: proc {},
@@ -66,7 +66,7 @@ appraisals = {
6666
end
6767
}
6868

69-
rails_appraisals = %i[no_rails rails_6_0 rails_6_1 rails_7_0]
69+
rails_appraisals = %i[no_rails rails_6_1 rails_7_0 rails_7_1]
7070
rspec_appraisals = %i[rspec_lt_3_10 rspec_gte_3_10 rspec_gte_3_13]
7171

7272
rails_appraisals.each do |rails_appraisal|

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Features
6+
7+
- Add official Rails 7.1 support. [#278](https://github.com/splitwise/super_diff/pull/278)
8+
59
### Other changes
610

711
- Fix `logger` dependency issues in CI. [#277](https://github.com/splitwise/super_diff/pull/277)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ for more on how to do that.
113113
`super_diff` is [tested][gh-actions] to work with
114114
Ruby >= 3.x,
115115
RSpec 3.x,
116-
and Rails >= 6.x.
116+
and Rails >= 6.1.
117117

118118
[gh-actions]: https://github.com/splitwise/super_diff/actions?query=workflow%3ASuperDiff
119119

Lines changed: 30 additions & 0 deletions
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", "~> 7.1.0"
22+
gem "sqlite3", "~> 1.4.0", 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: "../"
Lines changed: 30 additions & 0 deletions
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", "~> 7.1.0"
22+
gem "sqlite3", "~> 1.4.0", 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: "../"
Lines changed: 26 additions & 0 deletions
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", "~> 7.1.0"
22+
gem "sqlite3", "~> 1.4.0", platform: [:ruby, :mswin, :mingw]
23+
gem "rspec", "~> 3.9.0"
24+
gem "rspec-rails"
25+
26+
gemspec path: "../"

0 commit comments

Comments
 (0)