bin/dav in net_dav-0.1.1 vs bin/dav in net_dav-0.2.0

- old
+ new

@@ -34,10 +34,12 @@ file = $*[2] else url = URI.parse $*[1] end -res = Net::DAV.start(url) { |dav| +enable_curl = !ENV['DISABLE_CURL'] + +res = Net::DAV.start(url, :curl => enable_curl ) { |dav| dav.credentials(dav_user, dav_pass) if dav_user case cmd when 'put' File.open(file, "r") do |stream| dav.put(url.path, stream, File.size(file))