diff options
author | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2018-12-13 22:38:40 -0500 |
---|---|---|
committer | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2018-12-13 22:38:40 -0500 |
commit | e4d62acc8d0c1325e6451ce222e7f4d5bdd55fc7 (patch) | |
tree | 69198bb4580416a9aa2af1473d80e108a997ce5d | |
parent | d14bcd1c192ecfdaa9b9b9e9d1d2e0912ae6977a (diff) | |
download | gitlab-shell-e4d62acc8d0c1325e6451ce222e7f4d5bdd55fc7.tar.gz |
Disable rubocop for old (<2.2) hash syntax
See the discussion on gitlab-org/gitlab-shell!166
-rw-r--r-- | lib/gitlab_net.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index de262d8..a84ba84 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -124,7 +124,7 @@ class GitlabNet # rubocop:disable Metrics/ClassLength gl_repository: gl_repository, identifier: identifier, changes: changes, - :"push_options[]" => push_options, # ruby <2.2 syntax + :"push_options[]" => push_options, # rubocop:disable Style/HashSyntax } resp = post("#{internal_api_endpoint}/post_receive", params) |