class Bundler::CompactIndexClient::Cache

def info_path(name)

def info_path(name)
  name = name.to_s
  if /[^a-z0-9_-]/.match?(name)
    name += "-#{SharedHelpers.digest(:MD5).hexdigest(name).downcase}"
    info_roots.last.join(name)
  else
    info_roots.first.join(name)
  end
end