aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-18 15:34:04 -0500
committerJack Nagel2014-03-18 21:28:33 -0500
commitd55345a98bd7cd44f818726d268f5bf54d4e0b4a (patch)
tree0d728a2633790baa80446413b746e1cd99bf9b70 /Library/Homebrew/download_strategy.rb
parentbacc2b5e8f58238b5c76165b68ad46fdcd454bc0 (diff)
downloadhomebrew-d55345a98bd7cd44f818726d268f5bf54d4e0b4a.tar.bz2
Reorder download strategy symbols by frequency
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-rw-r--r--Library/Homebrew/download_strategy.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 0a80b8344..e3caa07f7 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -837,15 +837,15 @@ class DownloadStrategyDetector
def self.detect_from_symbol(symbol)
case symbol
- when :bzr then BazaarDownloadStrategy
- when :curl then CurlDownloadStrategy
- when :cvs then CVSDownloadStrategy
- when :git then GitDownloadStrategy
- when :hg then MercurialDownloadStrategy
+ when :hg then MercurialDownloadStrategy
when :nounzip then NoUnzipCurlDownloadStrategy
- when :post then CurlPostDownloadStrategy
- when :ssl3 then CurlSSL3DownloadStrategy
- when :svn then SubversionDownloadStrategy
+ when :git then GitDownloadStrategy
+ when :bzr then BazaarDownloadStrategy
+ when :svn then SubversionDownloadStrategy
+ when :curl then CurlDownloadStrategy
+ when :ssl3 then CurlSSL3DownloadStrategy
+ when :cvs then CVSDownloadStrategy
+ when :post then CurlPostDownloadStrategy
else
raise "Unknown download strategy #{strategy} was requested."
end