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
|
attr_reader :url, :specs, :using
|
||||||
|
|
||||||
VCS_SYMBOLS = {
|
VCS_SYMBOLS = {
|
||||||
:bzr, BazaarDownloadStrategy,
|
:bzr => BazaarDownloadStrategy,
|
||||||
:curl, CurlDownloadStrategy,
|
:curl => CurlDownloadStrategy,
|
||||||
:cvs, CVSDownloadStrategy,
|
:cvs => CVSDownloadStrategy,
|
||||||
:git, GitDownloadStrategy,
|
:git => GitDownloadStrategy,
|
||||||
:hg, MercurialDownloadStrategy,
|
:hg => MercurialDownloadStrategy,
|
||||||
:nounzip, NoUnzipCurlDownloadStrategy,
|
:nounzip => NoUnzipCurlDownloadStrategy,
|
||||||
:post, CurlPostDownloadStrategy,
|
:post => CurlPostDownloadStrategy,
|
||||||
:svn, SubversionDownloadStrategy,
|
:svn => SubversionDownloadStrategy,
|
||||||
}
|
}
|
||||||
|
|
||||||
def initialize url, specs=nil
|
def initialize url, specs=nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user