class Pod::ExternalSources::DownloaderSource

Provides support for fetching a specification file from a source handled by the downloader. Supports all the options of the downloader

@note The podspec must be in the root of the repository and should have a

name matching the one of the dependency.

Public Instance Methods

description() click to toggle source

@see AbstractExternalSource#description

# File lib/cocoapods/external_sources/downloader_source.rb, line 18
def description
  strategy = Downloader.strategy_from_options(params)
  options = params.dup
  url = options.delete(strategy)
  result = "from `#{url}`"
  options.each do |key, value|
    result << ", #{key} `#{value}`"
  end
  result
end
fetch(sandbox) click to toggle source

@see AbstractExternalSource#fetch

# File lib/cocoapods/external_sources/downloader_source.rb, line 12
def fetch(sandbox)
  pre_download(sandbox)
end