lib/cocoapods-core/source.rb
# Loads the specification for the given Pod gracefully.
#
# @param  [String] name
#         the name of the Pod.
#
# @return [Specification] The specification for the last version of the
#         Pod.
# @return [Nil] If the spec could not be loaded.
#
Loads the specification for the given Pod gracefully.
Loads the specification for the given Pod gracefully .
def load_spec_gracefully(name)
      versions = versions(name)
      version = versions.sort.last if versions
      specification(name, version) if version
    rescue Informative
      Pod::CoreUI.warn "Skipping `#{name}` because the podspec " \
        'contains errors.'
      nil
    end
def load_spec_gracefully ( name ) versions = versions ( name ) version = versions . sort . last if versions specification ( name , version ) if version rescue Informative Pod :: CoreUI . warn "Skipping `#{name}` because the podspec " 'contains errors.' nil end
Loads the specification for the given Pod gracefully.
Loads the specification for the given Pod gracefully .
The specification for the last version of the Pod.
The specification for the last version of the Pod .
Specification
If the spec could not be loaded.
If the spec could not be loaded .
Nil
name
<not_specific>
<not_specific>
name the name of the Pod.
name the name of the Pod .