lib/miteru/http_client.rb in miteru-0.9.4 vs lib/miteru/http_client.rb in miteru-0.9.5

- old
+ new

@@ -53,10 +53,10 @@ end def filename_to_save(url) filename = url.split("/").last extname = File.extname(filename) - "#{SecureRandom.alphanumeric}.#{extname}" + "#{SecureRandom.alphanumeric}#{extname}" end def download_path(base_dir, filename) "#{base_dir}/#{filename}" end