Reimplemented HttpDownloadStrategy needs 4 parameters now
This commit is contained in:
parent
995c2d5a13
commit
b81ea96ca2
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user