lib/jazzy/podspec_documenter.rb in jazzy-0.8.4 vs lib/jazzy/podspec_documenter.rb in jazzy-0.9.0
- old
+ new
@@ -114,9 +114,12 @@
install! 'cocoapods',
integrate_targets: false,
deterministic_uuids: false
[podspec, *podspec.recursive_subspecs].each do |ss|
+ # test_specification exists from CocoaPods 1.3.0
+ next if ss.respond_to?('test_specification') && ss.test_specification
+
ss.available_platforms.each do |p|
# Travis builds take too long when building docs for all available
# platforms for the Moya integration spec, so we just document OSX.
# Also Moya's RxSwift subspec doesn't yet support Swift 4, so skip
# that too while we're at it.