diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 14:01:16 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | ee7475734fa7717512f26c9c0bcf7500e7456539 (patch) | |
tree | 4080e2e02e8b5c6a8929661043eeb053171f2487 | |
parent | bf69d1fc5d73aab8e0b69e0389ab5131f3d40223 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/BarePercentLiterals
https://github.com/rubygems/rubygems/commit/02d8147243
-rw-r--r-- | lib/rubygems/installer.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index d0cf3ddf61..9089771283 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -990,7 +990,7 @@ TEXT bindir="${0%/*}" EOS - script << %Q(exec "$bindir/#{ruby_install_name}" "-x" "$0" "$@"\n) + script << %(exec "$bindir/#{ruby_install_name}" "-x" "$0" "$@"\n) <<~EOS #!/bin/sh diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index c1965487db..69c553f14b 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -804,8 +804,7 @@ dependencies: [] end full_path.taint - loader = Thread.new { $SAFE = 1 - Gem::Specification.load full_path } + loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path } spec = loader.value @a2.files.clear |