drapergem / draper

Decorators/View-Models for Rails Applications
MIT License
5.23k stars 527 forks source link

Remove ruby 2.7 deprecation #870

Closed badlamer closed 4 years ago

badlamer commented 4 years ago

Description

Remove ruby 2.7 deprecation

lib/ruby/gems/2.7.0/gems/draper-3.1.0/lib/draper/delegation.rb:10: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

Detail your changes here.
A few sentences describing the overall goals of the pull request's commits will suffice. Some questions you might answer:

References

mberlanda commented 4 years ago

hey @codebycliff , would it be possible to bump a minor version with this deprecation warning fixed ? Thanks a lot!

codebycliff commented 4 years ago

Unfortunately there are breaking changes in master so a quick minor version release won't be possible. I'm hoping to cut a new version in the coming weeks.

swistaczek commented 4 years ago

Hey, any chance that you know release date @codebycliff :)?

codebycliff commented 4 years ago

I just got version 4.0.0 released this morning. Please let me know if you have any issues with it.