-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
Fix build and test against Rails 5.1 and 5.2 #863
Conversation
The referenced activerecord-jdbcmysql-adapter branch no longer exists
These older versions of ActiveRecord require pg ~> 0.15, and won't accept the newest pg version 1.0.0
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.
is it work if Rails::Railtie removed?
I believe this is ready to go! A quick summary of changes:
@parndt could I trouble you for a review and hopefully a new gem release? Thanks so much 🙇♂️ |
The jdbc adapters arent working with the latest patch releases of Rails. We'd like to test these if they could work, so I've added them to allowed_failures instead of fully excluding them.
This fixes build errors under Rails 4.0 and 4.1. We always want to perform this callback, even if ActiveRecord is being used standalone without the rest of Rails.
@jhawthorn you could trouble me indeed as it seems you've gone to great trouble to achieve this great work! Thank you, John! |
This fixes some small issues with the build and adds gemfiles to test against Rails 5.1 and 5.2.
It would be wonderful if we could get a new gem release to support Rails 5.2 🙏 💎
EDIT:
I'm still seeing some errors on Rails 4.0 and 4.1. A git bisect suggests this may be introduced by 4bd4300. I'm investigating further 🔍 . (but maybe it is time to drop 4.0 and 4.1)
EDIT2: This is fixed by reverting 4bd4300. Not sure why.