From 4e7f085cf7a4e83a05ce134f19719146ee131ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 23 Sep 2021 11:42:40 +0200 Subject: [PATCH] [rubygems/rubygems] Revert "Fix an issue causing nested Gem::Uri instances" This reverts commit 6589f7bcc7a63a47cb73f58a290c1e1ac42bba99. https://github.com/rubygems/rubygems/commit/9d0ce31f08 --- lib/rubygems/request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 2f426c64ce..72e25e20ab 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -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