Skip to content

Commit

Permalink
Rails 7.1 (#94)
Browse files Browse the repository at this point in the history
* Add Rails 7.1 to appraisals
* Allow gem to be installed on Rails 7.1 bundles
* Fix backtrace cleaning for Rails 7.1 because ActionView::Template::Error now explicitly delegates backtrace to cause
* Add Rails 7.1 to Github Actions
* Bump rspec versions
* Make command more explicit in README
* Rails 7.1 now requires the template to be an UnboundTemplate instance, so we return that with backwards compat for Rails 6.1
* Don't bind locals on the cached unbound templates
* Upgrade dummy app to Rails 7.1 and add a regression test for children rendering bug in 7.1
* Fix empty children rendering bug in Rails 7.1. Because our children explicitly concat on @output_buffer, we should not return anything from capture block. This used to work anyway on Rails <7.1 but it no longer works
  • Loading branch information
patbenatar authored Oct 23, 2023
1 parent 3f1a56a commit 53a9d10
Show file tree
Hide file tree
Showing 17 changed files with 657 additions and 278 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: [rails_6_1, rails_7_0, rails_master]
gemfile: [rails_6_1, rails_7_0, rails_7_1, rails_master]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [2.7, '3.0', 3.1]
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
end

appraise "rails-7-1" do
gem "rails", "~> 7.1.0"
end

appraise "rails-master" do
gem "rails", git: "https://github.com/rails/rails.git", branch: :main
end
Loading

0 comments on commit 53a9d10

Please sign in to comment.