From aaea4d236a5d470caf91c1827fcc30a911c42303 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Mar 2014 15:34:04 -0500 Subject: [PATCH] Reorder download strategy symbols by frequency --- Library/Homebrew/download_strategy.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 0a80b8344b..e3caa07f74 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