1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Revert "Fix an issue causing nested Gem::Uri instances"

This reverts commit 6589f7bcc7a63a47cb73f58a290c1e1ac42bba99.

https://github.com/rubygems/rubygems/commit/9d0ce31f08
This commit is contained in:
David Rodríguez 2021-09-23 11:42:40 +02:00 committed by Hiroshi SHIBATA
parent b1ab1ee046
commit 4e7f085cf7

View file

@ -191,7 +191,7 @@ class Gem::Request
begin
@requests[connection.object_id] += 1
verbose "#{request.method} #{@uri.redacted}"
verbose "#{request.method} #{Gem::Uri.new(@uri).redacted}"
file_name = File.basename(@uri.path)
# perform download progress reporter only for gems