From 459f92b065546ebef244f101636c49aca9bc4b2b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 8 Jan 2015 14:28:43 -0500 Subject: [PATCH] Remove another use of the direct url writer masgn is hard to grep for :/ --- Library/Homebrew/cmd/create.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index f99bf00a56..3f169be219 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -109,7 +109,9 @@ class FormulaCreator if fetch? && version r = Resource.new - r.url, r.version, r.owner = url, version, self + r.url(url) + r.version(version) + r.owner = self @sha1 = r.fetch.sha1 if r.download_strategy == CurlDownloadStrategy end