Class: Pod::Downloader::Http
- Inherits:
- 
      Object
      
        - Object
- Pod::Downloader::Http
 
- Defined in:
- lib/cocoapods_plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
- #download_file(full_filename) ⇒ Object
- #orig_download_file ⇒ Object
- #orig_should_flatten? ⇒ Object
- #should_flatten? ⇒ Boolean
Class Method Details
.options ⇒ Object
| 8 9 10 | # File 'lib/cocoapods_plugin.rb', line 8 def self. [:type, :flatten, :sha1, :sha256, :indexDownload] end | 
Instance Method Details
#download_file(full_filename) ⇒ Object
| 15 16 17 | # File 'lib/cocoapods_plugin.rb', line 15 def download_file(full_filename) CodingArUtil.download(url, full_filename) end | 
#orig_download_file ⇒ Object
| 12 | # File 'lib/cocoapods_plugin.rb', line 12 alias_method :orig_download_file, :download_file | 
#orig_should_flatten? ⇒ Object
| 13 | # File 'lib/cocoapods_plugin.rb', line 13 alias_method :orig_should_flatten?, :should_flatten? | 
#should_flatten? ⇒ Boolean
| 19 20 21 22 23 24 25 | # File 'lib/cocoapods_plugin.rb', line 19 def should_flatten? if .key?(:indexDownload) true else orig_should_flatten? end end |