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
commit36e4811dcafd4cc5b23a619edbb62fc9b0bc86b1 (patch)
treeaa6b4fb6465a654469e3623441a3fba1dc64c2f1 /Library
parent75f7c230b93e833c7a928b3376b67e8bd59dfd69 (diff)
downloadhomebrew-36e4811dcafd4cc5b23a619edbb62fc9b0bc86b1.tar.bz2
Use 1.9 compat syntax. Fixes #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