From 36e4811dcafd4cc5b23a619edbb62fc9b0bc86b1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 16 Aug 2010 14:14:46 -0700 Subject: Use 1.9 compat syntax. Fixes #2192 --- Library/Homebrew/formula.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 0e6d6ddd3..eed9a5957 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 -- cgit v1.2.3