CurlUnsafeDownloadStrategy
This Download Strategy is provided for use with sites that only provide HTTPS and also have a broken cert. Try not to need this, as we probably won't accept the forulae into trunk.
This commit is contained in:
parent
b5ba49b90e
commit
984d0bd05d
@ -143,6 +143,16 @@ class NoUnzipCurlDownloadStrategy <CurlDownloadStrategy
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# This Download Strategy is provided for use with sites that
|
||||||
|
# only provide HTTPS and also have a broken cert.
|
||||||
|
# Try not to need this, as we probably won't accept the forulae
|
||||||
|
# into trunk.
|
||||||
|
class CurlUnsafeDownloadStrategy <CurlDownloadStrategy
|
||||||
|
def _fetch
|
||||||
|
curl @url, '--insecure', '-o', @tarball_path
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class SubversionDownloadStrategy <AbstractDownloadStrategy
|
class SubversionDownloadStrategy <AbstractDownloadStrategy
|
||||||
def initialize url, name, version, specs
|
def initialize url, name, version, specs
|
||||||
super
|
super
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user