ruby-changes:57106
From: Hiroshi <ko1@a...>
Date: Sat, 17 Aug 2019 07:57:26 +0900 (JST)
Subject: [ruby-changes:57106] Hiroshi SHIBATA: ae3002b540 (master): [rubygems/rubygems] Fixup #2844
https://git.ruby-lang.org/ruby.git/commit/?id=ae3002b540 From ae3002b5401fb8b38d9a3a9b9e27e6a36ac79ff2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 16 Aug 2019 16:02:32 +0900 Subject: [rubygems/rubygems] Fixup #2844 https://github.com/rubygems/rubygems/commit/5924286ae2 diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 1b89946..2950d94 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -87,7 +87,7 @@ module Gem::GemcutterUtilities https://github.com/ruby/ruby/blob/trunk/lib/rubygems/gemcutter_utilities.rb#L87 unless (host_uri.scheme == allowed_host_uri.scheme) && (host_uri.host == allowed_host_uri.host) alert_error "#{self.host.inspect} is not allowed by the gemspec, which only allows #{allowed_push_host.inspect}" - terminate_interaction 1 + terminate_interaction(ERROR_CODE) end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/