Class: Pod::Installer::PodSourceDownloader
- Inherits:
-
Object
- Object
- Pod::Installer::PodSourceDownloader
- Defined in:
- lib/cocoapods-bin-forest/native/pod_source_installer.rb
Overview
Cocoapods新版本(1.15.2)将 PodSourceInstaller 的verify_source_is_secure 等方法迁移到 PodSourceDownloader 所以这里需要修改一下
Instance Attribute Summary collapse
-
#installation_options ⇒ Object
Returns the value of attribute installation_options.
Instance Method Summary collapse
Instance Attribute Details
#installation_options ⇒ Object
Returns the value of attribute installation_options.
11 12 13 |
# File 'lib/cocoapods-bin-forest/native/pod_source_installer.rb', line 11 def end |
Instance Method Details
#old_verify_source_is_secure ⇒ Object
13 |
# File 'lib/cocoapods-bin-forest/native/pod_source_installer.rb', line 13 alias old_verify_source_is_secure verify_source_is_secure |
#verify_source_is_secure(root_spec) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/cocoapods-bin-forest/native/pod_source_installer.rb', line 14 def verify_source_is_secure(root_spec) # http source 默认不警告 if .warn_for_unsecure_source? old_verify_source_is_secure(root_spec) end end |