From: Michael Orlitzky Date: Mon, 9 Dec 2013 16:23:48 +0000 (-0500) Subject: Whitespace cleanup. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=HEAD;p=dead%2Fwhatever-dl.git Whitespace cleanup. --- diff --git a/lib/whatever-dl/downloader.rb b/lib/whatever-dl/downloader.rb index c62ebf9..c21cccd 100644 --- a/lib/whatever-dl/downloader.rb +++ b/lib/whatever-dl/downloader.rb @@ -28,12 +28,12 @@ class Downloader end end - + # Abstract def download(url, outfile, headers = {}, continue = false) raise NotImplementedError end - + end diff --git a/lib/whatever-dl/open_uri_downloader.rb b/lib/whatever-dl/open_uri_downloader.rb index 05e6fe7..a3a0c35 100644 --- a/lib/whatever-dl/open_uri_downloader.rb +++ b/lib/whatever-dl/open_uri_downloader.rb @@ -26,12 +26,12 @@ class OpenUriDownloader < Downloader end uri = URI.parse(url) - + uu = UriUtilities.new() puts "Fetching #{url}" puts "Saving as #{outfile}." puts '' uu.download_with_progress_bar(uri, outfile, headers) end - + end diff --git a/lib/whatever-dl/wget_downloader.rb b/lib/whatever-dl/wget_downloader.rb index 82235d5..c393d1d 100644 --- a/lib/whatever-dl/wget_downloader.rb +++ b/lib/whatever-dl/wget_downloader.rb @@ -38,5 +38,5 @@ class WgetDownloader < Downloader puts "\nExecuting external command: #{cmd}\n\n" Kernel.exec(cmd) end - + end