class Bundler::Fetcher
def dependency_api_uri(gem_names = [])
def dependency_api_uri(gem_names = []) url = "#{redirected_uri}api/v1/dependencies" url << "?gems=#{URI.encode(gem_names.join(","))}" if gem_names.any? URI.parse(url) end
def dependency_api_uri(gem_names = []) url = "#{redirected_uri}api/v1/dependencies" url << "?gems=#{URI.encode(gem_names.join(","))}" if gem_names.any? URI.parse(url) end