Class: Pod::Installer::PodSourceInstaller

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#installation_optionsObject

Returns the value of attribute installation_options.



8
9
10
# File 'lib/cocoapods-tdf-bin/native/pod_source_installer.rb', line 8

def installation_options
  @installation_options
end

Instance Method Details

#old_verify_source_is_secureObject



10
# File 'lib/cocoapods-tdf-bin/native/pod_source_installer.rb', line 10

alias old_verify_source_is_secure verify_source_is_secure

#verify_source_is_secure(root_spec) ⇒ Object



11
12
13
14
15
16
# File 'lib/cocoapods-tdf-bin/native/pod_source_installer.rb', line 11

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