From: Michael Orlitzky Date: Mon, 11 Jun 2012 01:34:47 +0000 (-0400) Subject: Fix a few require paths. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2e77ebd6945c8c681fe2c4ab04e1ec50eabd2f5c;p=dead%2Fwhatever-dl.git Fix a few require paths. --- diff --git a/vendor/ruby-progressbar/progressbar.rb b/lib/vendor/ruby-progressbar/progressbar.rb similarity index 100% rename from vendor/ruby-progressbar/progressbar.rb rename to lib/vendor/ruby-progressbar/progressbar.rb diff --git a/vendor/ruby-progressbar/test.rb b/lib/vendor/ruby-progressbar/test.rb similarity index 100% rename from vendor/ruby-progressbar/test.rb rename to lib/vendor/ruby-progressbar/test.rb diff --git a/lib/whatever-dl/downloader.rb b/lib/whatever-dl/downloader.rb index b9921e8..85cc4e3 100644 --- a/lib/whatever-dl/downloader.rb +++ b/lib/whatever-dl/downloader.rb @@ -38,5 +38,5 @@ end # This is wacky, but seems to work. -require 'src/wget_downloader' -require 'src/open_uri_downloader' +require 'whatever-dl/wget_downloader' +require 'whatever-dl/open_uri_downloader' diff --git a/lib/whatever-dl/open_uri_downloader.rb b/lib/whatever-dl/open_uri_downloader.rb index e55c0fa..05e6fe7 100644 --- a/lib/whatever-dl/open_uri_downloader.rb +++ b/lib/whatever-dl/open_uri_downloader.rb @@ -16,7 +16,7 @@ # http://www.fsf.org/licensing/licenses/gpl.html # -require 'src/uri_utilities' +require 'whatever-dl/uri_utilities' class OpenUriDownloader < Downloader