CocoaPods / search.cocoapods.org

This is the CocoaPods search engine repo, please direct CocoaPods issues to the main CocoaPods repository.
25 stars 11 forks source link

Handle invalid podspecs #4

Closed floere closed 12 years ago

floere commented 12 years ago

Example:

./tmp/specs/SDWebImage/2.4/SDWebImage.podspec:5:in `block in _eval_podspec': undefined method `licence=' for #<Pod::Specification for SDWebImage (2.4)> (NoMethodError)
    from ./tmp/specs/SDWebImage/2.4/SDWebImage.podspec:1:in `new'
    from /app/vendor/bundle/ruby/1.9.1/gems/cocoapods-0.3.2/lib/cocoapods/specification.rb:26:in `initialize'
    from ./tmp/specs/SDWebImage/2.4/SDWebImage.podspec:1:in `_eval_podspec'
    from /app/vendor/bundle/ruby/1.9.1/gems/cocoapods-0.3.2/lib/cocoapods/specification.rb:5:in `eval'
    from /app/vendor/bundle/ruby/1.9.1/gems/cocoapods-0.3.2/lib/cocoapods/specification.rb:5:in `_eval_podspec'
    from /app/vendor/bundle/ruby/1.9.1/gems/cocoapods-0.3.2/lib/cocoapods/specification.rb:16:in `from_file'
    from /app/vendor/bundle/ruby/1.9.1/gems/picky-3.5.4/lib/picky/index_indexed.rb:9:in `reindex'
    from /app/vendor/bundle/ruby/1.9.1/gems/picky-3.5.4/lib/picky/category_indexing.rb:44:in `with_data_snapshot'
    from /app/config.ru:1:in `new'
    from /app/config.ru:1:in `<main>'
floere commented 12 years ago

Invalid Podspecs are ignored as well as possible.