summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-10-22 11:17:06 +0000
committerBundlerbot <bot@bundler.io>2019-10-22 11:17:06 +0000
commitbb6edfa90155b9ba66e3a66605bb1651cf35e359 (patch)
tree4ffd314a4454abc017dbf655dee561e84ee2921a
parentfcb0fef62096bd8d64383f5bbfa584ce77f40fd8 (diff)
parent102df2d0e29f36913cd9da7d9e0b8b28d3fe8b3d (diff)
downloadbundler-bb6edfa90155b9ba66e3a66605bb1651cf35e359.tar.gz
Merge #7386
7386: Suppress `Warning: no department given for MutableConstant` r=colby-swandale a=koic This PR suppresses the following `Warning: no department given for MutableConstant`. ```console % cd path/to/bundler % bundle exec rubocop -v 0.75.1 % bundle exec rubocop --parallel (snip) /Users/koic/src/github.com/bundler/bundler/lib/bundler/gem_helpers.rb: Warning: no department given for MutableConstant. Run `rubocop -a --only Migration/DepartmentName` to fix. ``` Co-authored-by: Koichi ITO <koic.ito@gmail.com>
-rw-r--r--lib/bundler/gem_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helpers.rb b/lib/bundler/gem_helpers.rb
index 90dfb70867..be047f4397 100644
--- a/lib/bundler/gem_helpers.rb
+++ b/lib/bundler/gem_helpers.rb
@@ -2,7 +2,7 @@
module Bundler
module GemHelpers
- GENERIC_CACHE = { Gem::Platform::RUBY => Gem::Platform::RUBY } # rubocop:disable MutableConstant
+ GENERIC_CACHE = { Gem::Platform::RUBY => Gem::Platform::RUBY } # rubocop:disable Style/MutableConstant
GENERICS = [
[Gem::Platform.new("java"), Gem::Platform.new("java")],
[Gem::Platform.new("mswin32"), Gem::Platform.new("mswin32")],