From 492748bc0b2776ff4f14017fd482961feadd3034 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 16 Aug 2010 14:14:46 -0700 Subject: [PATCH] Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192 --- Library/Homebrew/formula.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 0e6d6ddd38..eed9a5957c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -15,14 +15,14 @@ class SoftwareSpecification attr_reader :url, :specs, :using VCS_SYMBOLS = { - :bzr, BazaarDownloadStrategy, - :curl, CurlDownloadStrategy, - :cvs, CVSDownloadStrategy, - :git, GitDownloadStrategy, - :hg, MercurialDownloadStrategy, - :nounzip, NoUnzipCurlDownloadStrategy, - :post, CurlPostDownloadStrategy, - :svn, SubversionDownloadStrategy, + :bzr => BazaarDownloadStrategy, + :curl => CurlDownloadStrategy, + :cvs => CVSDownloadStrategy, + :git => GitDownloadStrategy, + :hg => MercurialDownloadStrategy, + :nounzip => NoUnzipCurlDownloadStrategy, + :post => CurlPostDownloadStrategy, + :svn => SubversionDownloadStrategy, } def initialize url, specs=nil