lassebunk / gretel

Flexible Ruby on Rails breadcrumbs plugin.
MIT License
889 stars 114 forks source link

Switch alias_method_chain to Module#prepend #66

Closed craig1410 closed 8 years ago

craig1410 commented 8 years ago

Fixes #65

Not sure how I could DRY the two variants of the code without making it less easy to understand. Suggestions welcome. Maybe dropping Ruby 1.9 support in future is an option.

Jonjoe commented 8 years ago

Can we please get this merged? Kinda annoying having dep warnings :P Thanks <3.

:shipit:

jtrost commented 8 years ago

The master branch has not been updated in two and a half years, so chances are this won't be merged in anytime soon. For now, I put this in my Gemfile to get rid of the deprecation warnings.

gem 'gretel', github: 'craig1410/gretel', branch: 'dep_alias_method_chain'

craig1410 commented 8 years ago

Thanks @WilHall