diff options
author | David RodrÃguez <[email protected]> | 2020-03-24 19:51:43 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-03-30 12:42:10 +0900 |
commit | ba9dcdab3669f11b2e265712ceb43227c366fc3b () | |
tree | e6aa19535d1b3388c9303497e1dc649e9e804ed8 /lib/rubygems/test_utilities.rb | |
parent | f987302cf4a59944e5f01572d8ac36bbdbbc97cc (diff) |
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler. https://.com/rubygems/rubygems/commit/ab0580fd65
-rw-r--r-- | lib/rubygems/test_utilities.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ class Gem::FakeFetcher path = path.to_s @paths << path - raise ArgumentError, 'need full URI' unless path =~ %r'^https?://' unless @data.key? path raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path) @@ -121,7 +121,7 @@ class Gem::FakeFetcher path = path.to_s @paths << path - raise ArgumentError, 'need full URI' unless path =~ %r'^http://' unless @data.key? path raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path) |