lib/vendorer.rb in vendorer-0.1.12 vs lib/vendorer.rb in vendorer-0.1.13

- old
+ new

@@ -16,10 +16,10 @@ update_or_not target_path do run "mkdir -p #{File.dirname(target_path)}" if @copy_from_url copy_from_path(target_path, url || path) else - run "curl '#{url}' -L -o #{target_path}" + run "curl '#{url}' -L --compressed -o #{target_path}" raise "Downloaded empty file" unless File.exist?(target_path) end yield target_path if block_given? end end