summaryrefslogtreecommitdiff
path: root/lib/bundler/compact_index_client/updater.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-10-15 11:37:41 -0500
committerColby Swandale <colby@taplaboratories.com>2017-10-22 14:25:54 +1100
commitb6e4dd966bc5ca95ee01c6e890a6a0f0ecbbebee (patch)
tree35e89077dafd0069fca4db81081c129e9054c035 /lib/bundler/compact_index_client/updater.rb
parent8254bbde35f89e10adc92f9cddb5a8976c80c743 (diff)
downloadbundler-b6e4dd966bc5ca95ee01c6e890a6a0f0ecbbebee.tar.gz
Load digest subclasses in a thread-safe mannercolby/1-16-digest-patches
Diffstat (limited to 'lib/bundler/compact_index_client/updater.rb')
-rw-r--r--lib/bundler/compact_index_client/updater.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/compact_index_client/updater.rb b/lib/bundler/compact_index_client/updater.rb
index 6a66fbc3fe..9451423446 100644
--- a/lib/bundler/compact_index_client/updater.rb
+++ b/lib/bundler/compact_index_client/updater.rb
@@ -99,7 +99,7 @@ module Bundler
# because we need to preserve \n line endings on windows when calculating
# the checksum
SharedHelpers.filesystem_access(path, :read) do
- Digest::MD5.hexdigest(IO.read(path))
+ Digest(:MD5).hexdigest(IO.read(path))
end
end
end