From ea35d749af5563ecc1c3941e5d75ea7afe5ebbd0 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 16 Jun 2011 20:35:09 -0700 Subject: [PATCH] be more ruby-like --- Library/Homebrew/cmd/audit.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index d267c2ba3c..9f4caa9a3a 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -158,11 +158,12 @@ end def audit_formula_version f, text # Version as defined in the DSL (or nil) version_text = f.class.send('version').to_s + # Version as determined from the URL version_url = Pathname.new(f.url).version if version_url == version_text - return [" * version "+version_text+" is redundant with version scanned from url"] + return [" * version #{version_text} is redundant with version scanned from url"] end return []