summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2019-10-20 20:11:09 +0900
committerKoichi ITO <koic.ito@gmail.com>2019-10-20 20:39:38 +0900
commit102df2d0e29f36913cd9da7d9e0b8b28d3fe8b3d (patch)
tree4ffd314a4454abc017dbf655dee561e84ee2921a
parentfcb0fef62096bd8d64383f5bbfa584ce77f40fd8 (diff)
downloadbundler-102df2d0e29f36913cd9da7d9e0b8b28d3fe8b3d.tar.gz
Suppress `Warning: no department given for MutableConstant`
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. ```
-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")],