aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 19:51:23 -0500
committerJack Nagel2014-03-13 21:35:41 -0500
commitda5d6d28423914625cf6e896b65082848bdd79df (patch)
treee5222242e8237ef15de824e5dfeacf8ab7194b6b /Library/Homebrew/patch.rb
parentbf6c6b233eb4b9c884b39e4adee20fb88c919bfb (diff)
downloadhomebrew-da5d6d28423914625cf6e896b65082848bdd79df.tar.bz2
Teach audit about new patches implementation
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index 27ce2d9c3..1a6f36c5d 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -86,7 +86,7 @@ class ExternalPatch < Patch
attr_reader :resource, :strip
def_delegators :@resource, :fetch, :verify_download_integrity,
- :cached_download, :clear_cache
+ :cached_download, :clear_cache, :url
def initialize(strip, &block)
@strip = strip
@@ -94,10 +94,6 @@ class ExternalPatch < Patch
@whence = :resource
end
- def url
- resource.url
- end
-
def owner= owner
resource.owner = owner
resource.name = "patch-#{resource.checksum}"