method
fetch_spec
ruby latest stable - Class:
Bundler::Fetcher::CompactIndex
fetch_spec(spec)public
No documentation available.
# File lib/bundler/fetcher/compact_index.rb, line 54
def fetch_spec(spec)
spec -= [nil, "ruby", ""]
contents = compact_index_client.spec(*spec)
return nil if contents.nil?
contents.unshift(spec.first)
contents[3].map! {|d| Gem::Dependency.new(*d) }
EndpointSpecification.new(*contents)
end