Skip to content

Relax version requirement and test against Rails master (6.0.0.alpha) #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 4, 2018

Conversation

sikachu
Copy link
Member

@sikachu sikachu commented Jun 2, 2018

I'm trying to fix a compatibility issue with rspec-rails, and looks like right now they can't even point to rails master since rails-controller-testing requirement does not support prerelease version.

@rails-bot
Copy link

Thanks for the pull request, and welcome! The Rails team is excited to review your changes, and you should hear from @rafaelfranca (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@sikachu sikachu force-pushed the ps-rails-master branch from 1ba62c6 to f64a390 Compare June 2, 2018 05:29
@sikachu sikachu changed the title suppoRelax and test against Rails master (6.0.0.alpha) Relax and test against Rails master (6.0.0.alpha) Jun 2, 2018
@sikachu sikachu changed the title Relax and test against Rails master (6.0.0.alpha) Relax version requirement and test against Rails master (6.0.0.alpha) Jun 2, 2018
@sikachu sikachu force-pushed the ps-rails-master branch from f64a390 to e51c8ce Compare June 2, 2018 05:54
s.add_dependency "actionpack", "~> 5.x", ">= 5.0.1"
s.add_dependency "actionview", "~> 5.x", ">= 5.0.1"
s.add_dependency "activesupport", "~> 5.x"
s.add_dependency "actionpack", ">= 5.0.1", "< 6.1.x"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we need "< 6.1.x"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@composerinteralia I think being a bit conservative is good, since we don't know the future.

This will make the gem compatible up to 6.1.0.rc* but not 6.1.0 final. By the point that 6.1.0.alpha starts, I think we will already have another patch ready to bump it to, say, < 6.2.x, depends on how Rails core team decide on what's the next version should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants