Skip to content

Commit

Permalink
Use 1.9 compat syntax. Fixes Homebrew#2192
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Aug 16, 2010
1 parent f2c7fca commit 74da11a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Library/Homebrew/formula.rb
Expand Up @@ -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
Expand Down

0 comments on commit 74da11a

Please sign in to comment.