summaryrefslogtreecommitdiff
path: root/lib/rubygems/source.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2023-10-26 22:11:34 +0200
committerHiroshi SHIBATA <[email protected]>2023-11-13 11:06:10 +0900
commit54511303a46901a82e9b2d4ee460b2048e59a2e5 ()
tree3a465cce48ee0228b455a6810ac8cc026b1bded2 /lib/rubygems/source.rb
parent435eb56f6175b7c9a16121ec8441f7492fa9aec5 (diff)
[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGems
https://.com/rubygems/rubygems/commit/10c26a483d
-rw-r--r--lib/rubygems/source.rb1
1 files changed, 0 insertions, 1 deletions
@@ -101,7 +101,6 @@ class Gem::Source
def cache_dir(uri)
# Correct for windows paths
escaped_path = uri.path.sub(%r{^/([a-z]):/}i, '/\\1-/')
- escaped_path.tap(&Gem::UNTAINT)
File.join Gem.spec_cache_dir, "#{uri.host}%#{uri.port}", File.dirname(escaped_path)
end