Skip to content
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

Rails5 Upgrade #86

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open

Rails5 Upgrade #86

wants to merge 45 commits into from

Conversation

jlsookiki
Copy link

Piggy backs off @inbeom's PR - fixes the test failures ( I think) and also does some refactoring to remove final deprecations from alias_method_chain calls

inbeom and others added 19 commits October 8, 2016 20:08
As of ActiveRecord 5.0 monkey-patchings initiated by
ActiveUUID::Patches.apply! do not modify Mysql2Adapter and/or
SQLite3Adapter of ActiveRecord because they are not loaded by the time
the apply! method is invoked.

To load patches properly on loading time, we override
ActiveRecord::Base.establish_connection method to load the patches
immediately after connections are established.
As loading order of activeuuid and connection establishment in
spec_helper has been switched.
@jashmenn
Copy link
Owner

I'd love to be able to merge this. Could you get the tests passing?

@inbeom
Copy link
Collaborator

inbeom commented Jan 20, 2017

@jashmenn I think we'd better to merge my fork first, as this PR is based on that and all tests pass on it. You can take a look on https://github.com/inbeom/activeuuid.

Things changed:

  • Dropped Ruby 2.0, Rails 3.x support.
  • Updated JRuby version.
  • Removed rbx environment from Travis manifest as Travis is far behind on updating it. (Confirmed tests passing on head of rbx)

May I open another PR?

@geori
Copy link

geori commented Mar 20, 2017

Please merge the fork by inbeom. We've been using the rails5 fix in production for months.

@aren55555
Copy link

Where has this been left?

@inbeom
Copy link
Collaborator

inbeom commented Jun 9, 2017

@aren55555 You might want to try my fork. It passes the tests with Rails 5 environment.

@aren55555
Copy link

@inbeom Without looking at all the commits; what is the difference between @jlsookiki's fork (aka this PR) and your fork?

How can I help to get this merged? What tests are failing? Where can I lend a hand?

@jashmenn
Copy link
Owner

jashmenn commented Jun 9, 2017

If we can get the tests passing I'm happy to merge!

@inbeom
Copy link
Collaborator

inbeom commented Jun 14, 2017

@jashmenn #85, what this one is based on, passes tests on the all environments but the obsolete ones. Can you consider merging it first? I think now almost no one expects gems to pass their tests on Ruby 2.0, RBX, JRuby while maintaining compatibility with the most recent versions of Ruby. Plus, Travis lacks support of recent versions of RBX and JRuby.

There are some more commits pushed to my fork regarding the narrowing down of supported environments, making its status green.

@jashmenn
Copy link
Owner

@jlsookiki and @inbeom I've added you as collaborators, feel free to merge when you believe this is ready

@inbeom
Copy link
Collaborator

inbeom commented Jun 23, 2017

@jashmenn Thanks. I will catch up some open issues and prepare to put my hands on the maintenance of this gem.

@atyndall
Copy link

@inbeom @jlsookiki do you still plan to merge these PRs?

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.

6 participants