Skip to content

Commit 3277185

Browse files
committed
Add support for Rails 8.0
We needed to: * Bring over quite a few things from `rails app:update`, which hopefully should make future upgrades easier, * Fix a change to the `enum` `ActiveModel` signature, which changed between Rails 6.0 and 7.0, * Add a version check from 7.0 for `raise_on_missing_callback_actions` https://rubyonrails.org/2024/11/7/rails-8-no-paas-required Closes #2703
1 parent 3f0cd95 commit 3277185

35 files changed

+3496
-444
lines changed

.github/workflows/main.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
ruby: [3.1, 3.2, 3.3]
16+
ruby: [3.2, 3.3]
1717
env:
1818
PGHOST: localhost
1919
PGUSER: administrate
@@ -65,10 +65,13 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
ruby: [3.1, 3.2, 3.3]
68-
appraisal: [rails61, rails70, pundit21]
68+
appraisal: [rails61, rails70, rails80, pundit21]
6969
include:
7070
- ruby: '3.0'
7171
appraisal: rails60
72+
exclude:
73+
- ruby: 3.1
74+
appraisal: rails80
7275
env:
7376
PGHOST: localhost
7477
PGUSER: administrate

Appraisals

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ appraise "rails70" do
1111
gem "rails", "~> 7.0"
1212
end
1313

14+
appraise "rails80" do
15+
gem "rails", "~> 8.0"
16+
end
17+
1418
appraise "pundit21" do
1519
gem "pundit", "~> 2.1.0"
1620
end

0 commit comments

Comments
 (0)