grape icon indicating copy to clipboard operation
grape copied to clipboard

Mustermann warnings on load

Open mglenn opened this issue 3 years ago • 0 comments

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.

mglenn avatar Jul 19 '22 14:07 mglenn