aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-16 14:14:46 -0700
committerAdam Vandenberg2010-08-16 14:14:46 -0700
commit492748bc0b2776ff4f14017fd482961feadd3034 (patch)
treece3853a3e23012472ac8d02173ec3b30ab5b51e7 /Library
parent80bec9bcc1fc48cec8ad939fb30cec11fb1097d9 (diff)
downloadbrew-492748bc0b2776ff4f14017fd482961feadd3034.tar.bz2
Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb16
1 files changed, 8 insertions, 8 deletions
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