Skip to content
Snippets Groups Projects
Commit 492748bc authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192

parent 80bec9bc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment