Grape v(1.7.1) isn't compatible with ruby v.3.2.2
MuhammadRaza29 opened this issue · comments
I have updated my ruby from 2.7.6
to 3.2.2
Now, Grape isn't working fine with ruby v3.2.2.
I'm using fail Grape::Exceptions::Validation, params: ["Sample Param"]
. Now, grape is returning the following errors.
*** ArgumentError Exception: wrong number of arguments (given 1, expected 0; required keyword: params)
.
https://github.com/ruby-grape/grape/blob/master/lib/grape/exceptions/validation.rb is accepting keyword argument but keyword argument is deprecated in ruby v3.
Care to add ruby 3.2.2 to CI? Let's see if that fails too.
It's still failing on CircleCi.
We don't use CircleCI. Can you please make a PR into this repo so we can see the errors? Maybe try to fix it too?
Sorry, there was an issue in my application code. There is no issue in Grape gem. You can close this issue.