grape
grape copied to clipboard
Mustermann warnings on load
Mustermann 2.0 was released yesterday (July 18th, 2022). Grape relies on mustermann-grape which relies on mustermann specified as mustermann (>= 1.0.0), hence the jump to 2.0.
Getting the warning
lib/ruby/gems/2.7.0/gems/mustermann-2.0.0/lib/mustermann/ast/translator.rb:76: warning: Skipping set of ruby2_keywords flag for translate (method accepts keywords or method does not accept argument splat)
I assume it's in reference to stack.rb at https://github.com/ruby-grape/grape/blob/f5d9831bac2e2dd439d0f3901797995a91139690/lib/grape/middleware/stack.rb#L69 but I'm not certain what the issue is or how to correct it.