lib/cocoapods_plugin.rb in cocoapods-stats-0.6.1 vs lib/cocoapods_plugin.rb in cocoapods-stats-0.6.2
- old
+ new
@@ -1,8 +1,8 @@
module CocoaPodsStats
class SpecsRepoValidator
def validates?(source)
- source && source.url.end_with?('CocoaPods/Specs.git')
+ source && source.url && source.url.end_with?('CocoaPods/Specs.git')
end
end
class OptOutValidator
def validates?