lib/jazzy/podspec_documenter.rb in jazzy-0.9.5 vs lib/jazzy/podspec_documenter.rb in jazzy-0.9.6
- old
+ new
@@ -96,11 +96,11 @@
end
private_class_method :github_file_prefix
# Latest valid value for SWIFT_VERSION.
- LATEST_SWIFT_VERSION = '4.2'.freeze
+ LATEST_SWIFT_VERSION = '5'.freeze
# All valid values for SWIFT_VERSION that are longer
# than a major version number. Ordered ascending.
LONG_SWIFT_VERSIONS = ['4.2'].freeze
@@ -137,14 +137,12 @@
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.
# TODO: remove once jazzy is fast enough.
if ENV['JAZZY_INTEGRATION_SPECS']
- next if (p.name != :osx) || (ss.name == 'Moya/RxSwift')
+ next if p.name != :osx
end
target("Jazzy-#{ss.name.gsub('/', '__')}-#{p.name}") do
use_frameworks!
platform p.name, p.deployment_target
pod ss.name, path: path.realpath.to_s