method

fetch_spec

ruby latest stable - Class: Bundler::Fetcher::CompactIndex

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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