lib/cocoapods-core/source/acceptor.rb
# Checks whether the specification at the given path can be accepted.
#
# @return [Array<String>] A list of errors. If the list is empty the
#         specification should be accepted.
#
Checks whether the specification at the given path can be accepted.
Checks whether the specification at the given path can be accepted .
def analyze_path(spec_path)
        spec = Specification.from_file(spec_path)
        analyze(spec)
      rescue
        ['Unable to load the specification.']
      end
def analyze_path ( spec_path ) spec = Specification . from_file ( spec_path ) analyze ( spec ) rescue [ 'Unable to load the specification.' ] end
Checks whether the specification at the given path can be accepted.
Checks whether the specification at the given path 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_path
<not_specific>