NARKOZ / gitlab

Ruby wrapper and CLI for the GitLab REST API
https://narkoz.github.io/gitlab
BSD 2-Clause "Simplified" License
1.06k stars 394 forks source link

Add Issue related_merge_requests endpoint #683

Closed ddavison closed 4 months ago

ddavison commented 7 months ago
$ rake rubocop
Offenses:

lib/gitlab/cli_helpers.rb:23:48: C: [Correctable] Style/RedundantParentheses: Don't use parentheses around a logical expression.
      @client ||= Gitlab::Client.new(endpoint: (Gitlab.endpoint || ''))
                                               ^^^^^^^^^^^^^^^^^^^^^^^

165 files inspected, 1 offense detected, 1 offense autocorrectable
RuboCop failed!
ddavison commented 7 months ago

This is an upstream fix, after this comment was spotted.

ddavison commented 7 months ago

@NARKOZ — This one is ready for review! :pray:

Also, it looks like the Actions was having an issue with the Ruby/Bundle versioning (example of that from https://github.com/NARKOZ/gitlab/pull/680). This PR should fix that workflow.