lib/jazzy/config.rb in jazzy-0.6.0 vs lib/jazzy/config.rb in jazzy-0.6.1
- old
+ new
@@ -157,10 +157,10 @@
Array(files).map { |f| expand_path(f) }
end
config_attr :swift_version,
command_line: '--swift-version VERSION',
- default: '2.2',
+ default: nil,
parse: ->(v) do
raise 'jazzy only supports Swift 2.0 or later.' if v.to_f < 2
v
end