lib/cocoapods-core/source/acceptor.rb
# Checks whether the given specification can be accepted.
#
# @return [Array<String>] A list of errors. If the list is empty the
#         specification should be accepted.
#
Checks whether the given specification can be accepted.
Checks whether the given specification can be accepted .
def analyze(spec, previous_spec = nil)
        errors = []
        check_spec_source_change(spec, errors)
        check_if_untagged_version_is_acceptable(spec, previous_spec, errors)
        check_commit_change_for_untagged_version(spec, previous_spec, errors)
        check_dependencies(spec, errors)
        errors
      end
def analyze ( spec , previous_spec = nil ) errors = [ ] check_spec_source_change ( spec , errors ) check_if_untagged_version_is_acceptable ( spec , previous_spec , errors ) check_commit_change_for_untagged_version ( spec , previous_spec , errors ) check_dependencies ( spec , errors ) errors end
Checks whether the given specification can be accepted.
Checks whether the given specification can be accepted .
A list of errors. If the list is empty the specification should be accepted.
A list of errors . If the list is empty the specification should be accepted .
Array<String>
spec
<not_specific>
previous_spec
<not_specific>