mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems
HEAD(2c6d256). It contains to update vendored Molinillo to 0.5.0. https://github.com/rubygems/rubygems/pull/1638 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
513345607d
commit
f20ad4889d
32 changed files with 984 additions and 260 deletions
|
@ -102,6 +102,8 @@ class Gem::Security::Signer
|
|||
def sign data
|
||||
return unless @key
|
||||
|
||||
raise Gem::Security::Exception, 'no certs provided' if @cert_chain.empty?
|
||||
|
||||
if @cert_chain.length == 1 and @cert_chain.last.not_after < Time.now then
|
||||
re_sign_key
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue