lib/ridley/connection.rb in ridley-1.5.2 vs lib/ridley/connection.rb in ridley-1.5.3
- old
+ new
@@ -154,10 +154,10 @@
end
end
local.flush
- FileUtils.mv(local.path, destination)
+ FileUtils.cp(local.path, destination)
rescue OpenURI::HTTPError => ex
abort(ex)
ensure
local.close(true) unless local.nil?
end