From 6ee6bee01f8dfa3c931f287cfcc874bb7a232b84 Mon Sep 17 00:00:00 2001 From: "Clinton R. Nixon" Date: Sun, 6 Sep 2009 15:17:46 -0400 Subject: [PATCH] Clean up indentation Signed-off-by: Max Howell I didn't commit it all, apologies. But I just can't read the sections nearly as easily if you indent private and protected. If it's a Ruby convention it frankly seems at odds with the rest of Ruby spacing conventions. --- Library/Homebrew/formula.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 79d325ec5e..39a0f78baf 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -97,11 +97,11 @@ class Formula # reimplement if we don't autodetect the download strategy you require def download_strategy case url - when %r[^svn://] then SubversionDownloadStrategy - when %r[^git://] then GitDownloadStrategy - when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy - when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy - else HttpDownloadStrategy + when %r[^svn://] then SubversionDownloadStrategy + when %r[^git://] then GitDownloadStrategy + when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy + when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy + else HttpDownloadStrategy end end # tell the user about any caveats regarding this package