Closed nicklandgrebe closed 8 years ago
Awesome stuff! 👍 💯 This should work with Rails 4 as well, right? Shall we add Appraisal to test both?
Seems like it'd be very useful! I rolled back the gemspec to include >= 4 instead of my mistake of requiring 5.
Since the two changes I made were Ruby/logic related instead of Rails based, I'm guessing there is backward compatibility. Appraisal would confirm that for sure.
Changed implementations of
alias_method_chain
to useModule.prepend
instead, which according to this is how it's done now.The specs for Ruby versions less than < 2.2.2 fail, but Rails 5 requires Ruby 2.2.2 or newer.