Reimplemented HttpDownloadStrategy needs 4 parameters now

This commit is contained in:
Max Howell 2009-10-19 03:01:41 +01:00
parent 995c2d5a13
commit b81ea96ca2

View File

@ -98,11 +98,11 @@ private
end end
class HttpDownloadStrategy <CurlDownloadStrategy class HttpDownloadStrategy <CurlDownloadStrategy
def initialize url, name, version def initialize url, name, version, specs
opoo "HttpDownloadStrategy is deprecated" opoo "HttpDownloadStrategy is deprecated"
puts "Please use CurlDownloadStrategy in future" puts "Please use CurlDownloadStrategy in future"
puts "HttpDownloadStrategy will be removed in version 0.5" puts "HttpDownloadStrategy will be removed in version 0.5"
super url, name, version super url, name, version, specs
end end
end end