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