Class: Pod::Installer::PodSourceDownloader

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-fy-bin/native/pod_source_downloader.rb

Overview

cocoapods 把方法迁移到 PodSourceDownloader class PodSourceInstaller

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#installation_optionsObject

Returns the value of attribute installation_options.



9
10
11
# File 'lib/cocoapods-fy-bin/native/pod_source_downloader.rb', line 9

def installation_options
  @installation_options
end

Instance Method Details

#old_verify_source_is_secureObject



11
# File 'lib/cocoapods-fy-bin/native/pod_source_downloader.rb', line 11

alias old_verify_source_is_secure verify_source_is_secure

#verify_source_is_secure(root_spec) ⇒ Object



12
13
14
15
16
17
# File 'lib/cocoapods-fy-bin/native/pod_source_downloader.rb', line 12

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