class Bundler::CompactIndexClient
def initialize(directory, fetcher)
def initialize(directory, fetcher) @directory = Pathname.new(directory) @updater = Updater.new(fetcher) @cache = Cache.new(@directory) @endpoints = Set.new @info_checksums_by_name = {} @parsed_checksums = false @mutex = Mutex.new @in_parallel = lambda do |inputs, &blk| inputs.map(&blk) end end