Merged
Conversation
Updates the gemspec to support Rails 8.2.x by changing the upper bound from < 8.2.0 to < 8.3.0 for actionpack, activesupport, and railties. Also adds a rails-8.2 appraisal configuration for testing against Rails 8.2.0.alpha.
modosc
approved these changes
Oct 24, 2025
Contributor
Author
|
Apologies. Specs run locally but the Github Action is failing because there's no gem for 8.2.0.alpha yet, it's only referenced in Rails main https://github.com/rails/rails/blob/f73b7f173b3004ec9e920b99dafaaf029887847a/RAILS_VERSION |
modosc
reviewed
Oct 26, 2025
Appraisals
Outdated
| gem 'rails', '~> 8.1.0.rc1' | ||
| end | ||
|
|
||
| appraise 'rails-8.2' do |
Owner
There was a problem hiding this comment.
for now you can just remove this piece and it should be ok. once there's an actual branch/gem release this can be added back.
Contributor
Author
There was a problem hiding this comment.
Thanks, I've made that change
…ch has been created
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR adds support for Rails 8.2 by updating the gem dependencies to allow Rails versions up to (but not including) 8.3.0.
Changes
actionpack,activesupport, andrailtiesdependency constraints from< 8.2.0to< 8.3.0in the gemspecrails-8.2appraisal configuration for testing against Rails 8.2.0.alphaTesting
The gem should work with Rails 8.2 as there are no breaking changes in the Rails APIs that this gem depends on (request handling and middleware).
Motivation
Rails 8.2.0.alpha is now available, and projects using the edge version of Rails cannot currently use this gem due to the version constraint.