lib/sup/maildir.rb in sup-1.1 vs lib/sup/maildir.rb in sup-1.2

- old
+ new

@@ -21,10 +21,10 @@ uri = URI(Source.encode_path_for_uri @path) @path = uri.path end raise ArgumentError, "not a maildir URI" unless uri.scheme == "maildir" - raise ArgumentError, "maildir URI cannot have a host: #{uri.host}" if uri.host + raise ArgumentError, "maildir URI cannot have a host: #{uri.host}" unless uri.host.nil? || uri.host.empty? raise ArgumentError, "maildir URI must have a path component" unless uri.path @sync_back = sync_back # sync by default if not specified @sync_back = true if @sync_back.nil?