Module: CocoapodsRepoSq::DownloaderExtensions
- Defined in:
- lib/cocoapods_repo_sq/downloader.rb
Overview
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
podfile source setting
Instance Method Summary collapse
-
#downloader_class_by_key ⇒ Hash{Symbol=>Class}
Map of downloaded classes supported by Cocoapods to be used in the the podfile source setting Square is included to add support for Square SDK repository hosted podspecs and pods.
Instance Method Details
#downloader_class_by_key ⇒ Hash{Symbol=>Class}
Map of downloaded classes supported by Cocoapods to be used in the the podfile source setting Square is included to add support for Square SDK repository hosted podspecs and pods.
38 39 40 |
# File 'lib/cocoapods_repo_sq/downloader.rb', line 38 def downloader_class_by_key super.merge(:square => Downloader) end |