-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep gem in fit #65
Keep gem in fit #65
Conversation
numbata
commented
Jan 31, 2024
- Bump ruby version for the danger workflow step up to 3.0.
- Fix rubocop offense
… >= 3.0 is required.
fc0cba4
to
53af52f
Compare
It looks like the rest_inline_violations = submit_inline_comments!({
danger_id: danger_id,
previous_violations: previous_violations
}.merge(**inline_violations)) The "new" Ruby version sees this explicitly defined hash as a position argument, not as part of keyword arguments. But the definition of the def submit_inline_comments!(warnings: [], errors: [], messages: [], markdowns: [], previous_violations: [], danger_id: "danger") Of course I can also create a PR for the @mscrivo wdyt? |
yeah I remember running into this before, which is why I set the ruby version back to 2.7 for danger. I think it's best to just to do that. Seems grape still runs danger and it uses 2.7 as well: https://github.com/ruby-grape/grape/actions/runs/7609193746/job/20719891863?pr=2414 |
The problem here is that the While the |
The original'danger' is already compatible. It's just grape's danger locked on outdated version of it. |
Fixed in #66 |
Thank for such active support! 👍 fyi: my attempt (in early version state) to achieve ruby 3.x support, but keep the ruby 2.x support. |