Closed tyok closed 7 years ago
I'm getting the feeling that TalentBox won't merge this PR because they want to support ancient versions of Ruby. Considering the fact that #125 was merged 6 months ago, which adds stuff specific to Ruby 1.9.x
Hi @tyok, @mikeyhew and @art-solopov.
I've simply replaced the alias_method_chain
by the equivalent alias_method
invocations... this works across ruby/rails versions.
@mikeyhew
I'm getting the feeling that TalentBox won't merge this PR because they want to support ancient versions of Ruby. Considering the fact that #125 was merged 6 months ago, which adds stuff specific to Ruby 1.9.x
I'm willing to drop support for older ruby versions (< 2.2), I will create a 0.9.x-stable branch from the current master and then we can start looking at what code we can remove... but I suspect there's not so much which would change, it will mainly reduce the TravisCI time (which is a good thing).
Thank you very much @JonathanTron!
You're welcome @art-solopov, I'll try to get the CI green and then cut a new 0.9.x release.
@JonathanTron
I'm willing to drop support for older ruby versions (< 2.2), I will create a 0.9.x-stable branch from the current master and then we can start looking at what code we can remove [...]
That's good news! It will make me more enthusiastic about contributing :smile:
Thanks, alias_method_chain
makes me dizzy. I can't believe the workaround is that simple!
The spring support code uses
alias_method_chain
which has been deprecated in Rails 5.1.0.beta1.