aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/fetcher
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-08-23 16:21:26 -0700
committerSamuel Giddins <segiddins@segiddins.me>2016-01-25 10:45:41 -0600
commiteb28a3a3a6b4740c7e4b2c0269489943fcea229c (patch)
tree32f16db878455004ca2d394fab91b1bcfc57a9ed /lib/bundler/fetcher
parent26f5117e55a89256d53ae9f49c14f8eda91ec1b3 (diff)
downloadbundler-eb28a3a3a6b4740c7e4b2c0269489943fcea229c.tar.gz
add standalone-checksum parsing for the fetcher
Diffstat (limited to 'lib/bundler/fetcher')
-rw-r--r--lib/bundler/fetcher/compact_index.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/fetcher/compact_index.rb b/lib/bundler/fetcher/compact_index.rb
index 06d00fdf..b43a8cee 100644
--- a/lib/bundler/fetcher/compact_index.rb
+++ b/lib/bundler/fetcher/compact_index.rb
@@ -19,6 +19,9 @@ module Bundler
complete_gems = []
remaining_gems = gem_names.dup
+ # Read info file checksums out of versions to allow request-skipping
+ compact_index_client.parse_checksums!
+
until remaining_gems.empty?
Bundler.ui.debug "Looking up gems #{remaining_gems.inspect}"