Reorder download strategy symbols by frequency
This commit is contained in:
parent
eace29a50e
commit
aaea4d236a
@ -837,15 +837,15 @@ class DownloadStrategyDetector
|
|||||||
|
|
||||||
def self.detect_from_symbol(symbol)
|
def self.detect_from_symbol(symbol)
|
||||||
case symbol
|
case symbol
|
||||||
when :bzr then BazaarDownloadStrategy
|
when :hg then MercurialDownloadStrategy
|
||||||
when :curl then CurlDownloadStrategy
|
|
||||||
when :cvs then CVSDownloadStrategy
|
|
||||||
when :git then GitDownloadStrategy
|
|
||||||
when :hg then MercurialDownloadStrategy
|
|
||||||
when :nounzip then NoUnzipCurlDownloadStrategy
|
when :nounzip then NoUnzipCurlDownloadStrategy
|
||||||
when :post then CurlPostDownloadStrategy
|
when :git then GitDownloadStrategy
|
||||||
when :ssl3 then CurlSSL3DownloadStrategy
|
when :bzr then BazaarDownloadStrategy
|
||||||
when :svn then SubversionDownloadStrategy
|
when :svn then SubversionDownloadStrategy
|
||||||
|
when :curl then CurlDownloadStrategy
|
||||||
|
when :ssl3 then CurlSSL3DownloadStrategy
|
||||||
|
when :cvs then CVSDownloadStrategy
|
||||||
|
when :post then CurlPostDownloadStrategy
|
||||||
else
|
else
|
||||||
raise "Unknown download strategy #{strategy} was requested."
|
raise "Unknown download strategy #{strategy} was requested."
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user