forestryio / jekyll-menus

A menus (site navigation) plugin for your Jekyll website that also works with https://forestry.io (Jekyll CMS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation warnings to use double-splats for hash parameters

clairity opened this issue · comments

a couple sets of ruby 2.7 deprecation warnings from jekyll-menus pops up on the console:

gems/jekyll-menus-0.6.1/lib/jekyll/menus.rb:103: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
gems/jekyll-menus-0.6.1/lib/jekyll/menus.rb:164: warning: The called method `_simple_front_matter_menu' is defined here
gems/jekyll-menus-0.6.1/lib/jekyll/menus.rb:181: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
gems/jekyll-menus-0.6.1/lib/jekyll/menus.rb:190: warning: The called method `_fill_front_matter_menu' is defined here

looking at https://piechowski.io/post/last-arg-keyword-deprecated-ruby-2-7/ these don't seem to be too serious, but may be worth a quick fix.