From fea89daae6e7b2d6bcae4b89becc819a1df4aac9 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 31 Jul 2009 11:05:23 -0700 Subject: [PATCH] Extract 'verify_download_integrity' method In order to support more than just MD5 verification, extract 'verify_download' into a separate method. --- Library/Homebrew/formula.rb | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 56525be1ee..1b20c9640a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -31,11 +31,11 @@ class AbstractFormula private class <