Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fast on the heels of 7.0 here comes the latest and greatest Rails version!
What it does
Gets us on Rails 7.1.
Why it is important
Latest is greatest. And specifically this gets us access to background preprocessing of variants for finishing #1150
Implementation notes
audited
we were using. The change we switched for was upstreamed and we need the more recent work to make it compatible with Rails 7.1. Just a couple of code changes were needed and tests seem to be passing okay.before_action
typos.rake app:update
yielded diffs on many of the config files. I took all the changes tobin
scripts whole hog and merged the rest. A second set of eyes across those diffs would be helpful though! 👀config/environments/test.rb
with a note explaining.bin/rails test
which made the SCSS deprecation warnings get pretty annoying. Pulling in a workaround from scss Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. picturepan2/spectre#694lib/rails_solargraph.rb
, so following a comment on the referenced gist I switch us to the solargraph-rails gem.