lib/rubygems/security/trust_dir.rb in rubygems-update-3.1.6 vs lib/rubygems/security/trust_dir.rb in rubygems-update-3.2.0.rc.1
- old
+ new
@@ -24,10 +24,10 @@
def initialize(dir, permissions = DEFAULT_PERMISSIONS)
@dir = dir
@permissions = permissions
- @digester = Gem::Security::DIGEST_ALGORITHM
+ @digester = Gem::Security.create_digest
end
##
# Returns the path to the trusted +certificate+