summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-03-24 19:51:43 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-30 12:42:10 +0900
commitba9dcdab3669f11b2e265712ceb43227c366fc3b (patch)
treee6aa19535d1b3388c9303497e1dc649e9e804ed8 /lib/rubygems.rb
parentf987302cf4a59944e5f01572d8ac36bbdbbc97cc (diff)
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler. https://github.com/rubygems/rubygems/commit/ab0580fd65
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 9bd4e9b..73321ec 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1011,7 +1011,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
def self.suffixes
@suffixes ||= ['',
'.rb',
- *%w(DLEXT DLEXT2).map do |key|
+ *%w[DLEXT DLEXT2].map do |key|
val = RbConfig::CONFIG[key]
next unless val and not val.empty?
".#{val}"