mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler.
ab0580fd65
This commit is contained in:
parent
f987302cf4
commit
ba9dcdab36
47 changed files with 302 additions and 302 deletions
|
@ -2188,7 +2188,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
|
||||
attributes.each do |attr_name|
|
||||
current_value = self.send attr_name
|
||||
current_value = current_value.sort if %i(files test_files).include? attr_name
|
||||
current_value = current_value.sort if %i[files test_files].include? attr_name
|
||||
if current_value != default_value(attr_name) or
|
||||
self.class.required_attribute? attr_name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue