HttpDownloadStrategy renamed CurlDownloadStrategy

Because people didn't realise it was actually curl and thus supports eg. ftp too.
This commit is contained in:
Max Howell 2009-10-02 18:36:58 +01:00
parent 7a1ecdc5a0
commit 98657bf094

View file

@ -1,7 +1,7 @@
require 'brewkit'
# even though "file -b" reports this as a zip archive, it's just a binary
class SbtHttpDownloadStrategy <HttpDownloadStrategy
class SbtHttpDownloadStrategy <CurlDownloadStrategy
def stage
FileUtils.mv @dl, File.basename(@url)
end