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
[Ruby 2.7] Warnings for gitlab.rb #1250
Comments
Cool, open to PRs 👍🏻 - so long as it doesn't break backwards compat |
[Ruby 2.7] Fix warnings for GitLab #1250
I'm not sure #1254 fixes this issue. I'm not familiar with ruby but first tested the same thing just taking inspiration from #1220. And I still had these warnings. This has been confirmed by testing the new version 8.0.5: test danger:
before_script:
- danger --version
script:
- danger --fail-on-errors=true What produced the result : $ danger --version
8.0.5
$ danger --fail-on-errors=true
...
/usr/local/bundle/gems/danger-8.0.5/lib/danger/request_sources/gitlab.rb:208: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/bundle/gems/danger-8.0.5/lib/danger/request_sources/gitlab.rb:348: warning: The called method `submit_inline_comments!' is defined here
...
/usr/local/bundle/gems/danger-8.0.5/lib/danger/request_sources/gitlab.rb:226: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/bundle/gems/danger-8.0.5/lib/danger/helpers/comments_helper.rb:94: warning: The called method `generate_comment' is defined here So were you able to test these patches (#1254 && #1222) with Ruby 2.7.x ? thanks, ping @orta |
Same for me. Warning are still there ! |
Report
What did you do?
Run danger on CI (GitLab) with Ruby 2.7.1
What did you expect to happen?
Everything should work correctly.
What happened instead?
Everything works except is throwing warnings.
Identical to #1220 but for
gitlab.rb
Your Environment
The text was updated successfully, but these errors were encountered: