-
Notifications
You must be signed in to change notification settings - Fork 529
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
Implement Rails 5.0 compatibility #290
Conversation
Note that this includes #286 because of the regression involved, plus this is something that was ultimately commented out of the other Rails 5 branch. |
Note that Rails needs Ruby 2.2.0 or greater, hence the Travis failures here. See rails/rails@32f7491#diff-73ac7236f7a8247a9cd61d338ef49cda |
- jruby-19mode | ||
|
||
env: | ||
- RAILS='~> 4.0.13' | ||
- RAILS='~> 4.1.10' | ||
- RAILS='~> 4.2.1' | ||
- RAILS='~> 5.0.beta' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might have to update this to 5.0.0.beta1
.
Maybe drop support for 2.0 and 2.1 for this gem? I think that would be a good idea since rails is moving to the 2.2 area and this is largely a rails gem. |
I’m fine with any direction on this. IMO, the way to fix the tests would be to switch to multiple Gemfiles rather than using an ENV setting, because I’m not sure that you can exclude from a Travis test matrix based on the ENV setting. |
We can skip older versions of ruby with rails 5 using the exclude matrix feature of CircleCI. https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix Ideally I'd like to keep compatibility with older versions of ruby unless there's a compelling reason to drop it. |
Cool. Apparently you can have the ENV be part of the exclusion. I will update the |
Is there any chance to push this? Updating paranoia is blocking me from updating to 5.0.0, and issue seems to be with travis settings, not anything with the code. |
Unless someone else wants to pick this up, I should be able to finalize the matrix for this on the weekend. |
@halostatue Any progress? |
Thanks for the work! This was cherry-picked with modifications into master, which should now support rails 5. |
Nice one @jhawthorn |
Is a release coming soon? |
No description provided.