lib/jazzy/podspec_documenter.rb in jazzy-0.8.2 vs lib/jazzy/podspec_documenter.rb in jazzy-0.8.3
- old
+ new
@@ -22,10 +22,10 @@
targets = installer.pod_targets
.select { |pt| pt.pod_name == podspec.root.name }
.map(&:label)
targets.map do |t|
- args = %W(doc --module-name #{podspec.module_name} -- -target #{t})
+ args = %W[doc --module-name #{podspec.module_name} -- -target #{t}]
swift_version = (config.swift_version || '3')[0] + '.0'
args << "SWIFT_VERSION=\"#{swift_version}\""
SourceKitten.run_sourcekitten(args)
end
end