lib/ridley/connection.rb in ridley-1.2.6 vs lib/ridley/connection.rb in ridley-1.3.0

- old
+ new

@@ -154,10 +154,10 @@ end end local.flush - FileUtils.cp(local.path, destination) + FileUtils.mv(local.path, destination) rescue OpenURI::HTTPError => ex abort(ex) ensure local.close(true) unless local.nil? end