Class: Pod::Installer::PodSourceInstaller
- Inherits:
-
Object
- Object
- Pod::Installer::PodSourceInstaller
- Defined in:
- lib/swordfish/native/pod_source_installer.rb
Instance Attribute Summary collapse
-
#installation_options ⇒ Object
class PodSourceDownloader.
Instance Method Summary collapse
- #download_source ⇒ Object
-
#old_download_source ⇒ Object
alias old_verify_source_is_secure verify_source_is_secure def verify_source_is_secure(root_spec) # http source 默认不警告 if installation_options.warn_for_unsecure_source? old_verify_source_is_secure(root_spec) end end.
Instance Attribute Details
#installation_options ⇒ Object
class PodSourceDownloader
10 11 12 |
# File 'lib/swordfish/native/pod_source_installer.rb', line 10 def @installation_options end |
Instance Method Details
#download_source ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/swordfish/native/pod_source_installer.rb', line 21 def download_source unless downloaded? downloader = PodSourceDownloader.new(sandbox, podfile, specs_by_platform, :can_cache => can_cache?) downloader. = downloader.download! end end |
#old_download_source ⇒ Object
alias old_verify_source_is_secure verify_source_is_secure def verify_source_is_secure(root_spec)
# http source 默认不警告
if .warn_for_unsecure_source?
old_verify_source_is_secure(root_spec)
end
end
20 |
# File 'lib/swordfish/native/pod_source_installer.rb', line 20 alias old_download_source download_source |