]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commit
Added independent (non-wget) file downloads via open-uri.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 2 Sep 2008 03:01:13 +0000 (23:01 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 2 Sep 2008 03:01:13 +0000 (23:01 -0400)
commit9390083b114048a6782454a37f799733707ee5dc
treee9e784b043a9b210fd45e99e4379edf683928782
parent00f5e6f475d07afa862c8f33854d8ed52185ea81
Added independent (non-wget) file downloads via open-uri.

Removed a bad vimeo_remote_test require from the remote test suite.
Added the UriUtilities class and a bunch of tests for it.
Included the ProgressBar class in the vendor directory so that the UriUtilities class can display a progress bar during downloads.
Added the ProgressBar tests to the test suite.
Added error handling to the main whatever-dl script for newly-possible IO/connection errors.
Removed the wget exec() call in favor of the open-uri call.
bin/whatever-dl
src/uri_utilities.rb [new file with mode: 0644]
src/website.rb
test/remote_test_suite.rb
test/test_suite.rb
test/uri_utilities_remote_test.rb [new file with mode: 0644]
test/uri_utilities_test.rb [new file with mode: 0644]
vendor/ruby-progressbar/progressbar.rb [new file with mode: 0644]
vendor/ruby-progressbar/test.rb [new file with mode: 0644]