summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-25 15:58:45 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 07:35:48 +0900
commit1ac6890bd05a48e385f564d212765a3a60899659 (patch)
treed4f2fc7b16347fcad8de58ab8a2b4b1c42abf9a7 /lib/rubygems.rb
parentf42ad4a4250620ca64b2f668fed91d475934eaa7 (diff)
[rubygems/rubygems] Fix removing unresolved default spec files from map
https://github.com/rubygems/rubygems/commit/7964917bbc
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 85790fc..9440ab0 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1303,6 +1303,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
def remove_unresolved_default_spec(spec)
spec.files.each do |file|
@path_to_default_spec_map.delete(file)
+ @path_to_default_spec_map.delete(file.sub(suffix_regexp, ""))
end
end