Module: Pod::Downloader::SquareExtensions

Defined in:
lib/pod/downloader/square.rb

Overview

Helper module used to override the #downloader_class_by_key method to include a :square key pointing to Square. This allows square to be defined as the protocol for downloading Pods on the podfile source setting

Instance Method Summary collapse

Instance Method Details

#downloader_class_by_keyHash{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.

Returns:

  • (Hash{Symbol=>Class})


36
37
38
# File 'lib/pod/downloader/square.rb', line 36

def downloader_class_by_key
  super.merge(:square => Square)
end