Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192
This commit is contained in:
parent
80bec9bcc1
commit
492748bc0b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user