module CocoapodsRepoSq::Downloader::Extensions
Helper module used to override the {::Pod::Downloader::downloader_class_by_key} method to include a `:square` key pointing to {Downloader}. This allows square to be defined as the protocol for downloading Pods on the {guides.cocoapods.org/syntax/podspec.html#source podfile source setting}
Public Instance Methods
downloader_class_by_key()
click to toggle source
Map of downloaded classes supported by Cocoapods available to the {guides.cocoapods.org/syntax/podspec.html#source podfile source setting}. Square is included to add support for Square SDK repository hosted podspecs and pods.
@return [Hash{Symbol=>Class}]
a map where the key is a symbol used in the podspec source setting such as `:http`, `:git`, `:square` and the class is the one responsible for implementing a particular download strategy
Calls superclass method
# File lib/cocoapods_repo_sq/downloader.rb, line 44 def downloader_class_by_key super.merge(:square => Downloader) end