Skip to content

Commit b2701ec

Browse files
authored
Merge pull request #145 from skryukov/add-rails-7.2-to-ci-matrix
Add Rails 7.2 to the CI matrix
2 parents e203b30 + ae9ec9b commit b2701ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
ruby: ['3.1', '3.2', '3.3']
11-
rails: ['6.1', '7.0', '7.1']
11+
rails: ['6.1', '7.0', '7.1', '7.2']
1212

1313
runs-on: ubuntu-latest
1414
name: Test against Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ source "https://rubygems.org"
33
# Specify your gem's dependencies in inertia-rails.gemspec
44
gemspec
55

6-
version = ENV["RAILS_VERSION"] || "7.1"
7-
gem "rails", "~> #{version}.0"
6+
version = ENV["RAILS_VERSION"] || "7.2"
7+
gem "rails", "~> #{version}.0"

spec/dummy/config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
config.cache_store = :null_store
3030

3131
# Raise exceptions instead of rendering exception templates.
32-
config.action_dispatch.show_exceptions = false
32+
config.action_dispatch.show_exceptions = Rails.version < '7.1' ? false : :none
3333

3434
# Disable request forgery protection in test environment.
3535
config.action_controller.allow_forgery_protection = false

0 commit comments

Comments
 (0)