mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge rubygems master.
This is RC version of Rubygems 2.7.0.
688fb7e83c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6b05153a3a
commit
c00e84327f
96 changed files with 2021 additions and 701 deletions
|
|
@ -18,7 +18,7 @@ class TestGemSecurityTrustDir < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_cert_path
|
||||
digest = OpenSSL::Digest::SHA1.hexdigest PUBLIC_CERT.subject.to_s
|
||||
digest = Gem::Security::DIGEST_ALGORITHM.hexdigest PUBLIC_CERT.subject.to_s
|
||||
|
||||
expected = File.join @dest_dir, "cert-#{digest}.pem"
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ class TestGemSecurityTrustDir < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_name_path
|
||||
digest = OpenSSL::Digest::SHA1.hexdigest PUBLIC_CERT.subject.to_s
|
||||
digest = Gem::Security::DIGEST_ALGORITHM.hexdigest PUBLIC_CERT.subject.to_s
|
||||
|
||||
expected = File.join @dest_dir, "cert-#{digest}.pem"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue