mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -9,7 +9,7 @@ class Gem::Licenses
|
|||
|
||||
# Software Package Data Exchange (SPDX) standard open-source software
|
||||
# license identifiers
|
||||
LICENSE_IDENTIFIERS = %w(
|
||||
LICENSE_IDENTIFIERS = %w[
|
||||
0BSD
|
||||
AAL
|
||||
ADSL
|
||||
|
@ -379,10 +379,10 @@ class Gem::Licenses
|
|||
xinetd
|
||||
xpp
|
||||
zlib-acknowledgement
|
||||
).freeze
|
||||
].freeze
|
||||
|
||||
# exception identifiers
|
||||
EXCEPTION_IDENTIFIERS = %w(
|
||||
EXCEPTION_IDENTIFIERS = %w[
|
||||
389-exception
|
||||
Autoconf-exception-2.0
|
||||
Autoconf-exception-3.0
|
||||
|
@ -410,7 +410,7 @@ class Gem::Licenses
|
|||
mif-exception
|
||||
openvpn-openssl-exception
|
||||
u-boot-exception-2.0
|
||||
).freeze
|
||||
].freeze
|
||||
|
||||
REGEXP = %r{
|
||||
\A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue