lib/filbunke/client.rb in filbunke-2.1.2 vs lib/filbunke/client.rb in filbunke-2.1.3
- old
+ new
@@ -239,10 +239,10 @@
end
end
def update_http_file!(file, local_file_path)
downloaded_file = nil
- tmp_filename = "#{local_file_path}-#{(0...8).map { (65 + rand(26)).chr }.join}.tmp"
+ tmp_filename = "#{local_file_path}.tmp"
begin
async_request = if @repository.user
Typhoeus::Request.new(
URI.escape(file.url),
:followlocation => true,