lib/jazzy/config.rb in jazzy-0.8.1 vs lib/jazzy/config.rb in jazzy-0.8.2

- old
+ new

@@ -160,10 +160,11 @@ config_attr :swift_version, command_line: '--swift-version VERSION', default: nil, parse: ->(v) do + return nil if v.empty? raise 'jazzy only supports Swift 2.0 or later.' if v.to_f < 2 v end # ──────── Metadata ──────── @@ -256,10 +257,11 @@ command_line: '--skip-documentation', description: 'Will skip the documentation generation phase.', default: false config_attr :min_acl, - command_line: '--min-acl [private | internal | public]', + command_line: + '--min-acl [private | fileprivate | internal | public | open]', description: 'minimum access control level to document', default: 'public', parse: ->(acl) do SourceDeclaration::AccessControlLevel.from_human_string(acl) end