Clean up indentation
Signed-off-by: Max Howell <max@methylblue.com> 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.
This commit is contained in:
parent
3f11c4ab1f
commit
6ee6bee01f
@ -97,11 +97,11 @@ class Formula
|
|||||||
# reimplement if we don't autodetect the download strategy you require
|
# reimplement if we don't autodetect the download strategy you require
|
||||||
def download_strategy
|
def download_strategy
|
||||||
case url
|
case url
|
||||||
when %r[^svn://] then SubversionDownloadStrategy
|
when %r[^svn://] then SubversionDownloadStrategy
|
||||||
when %r[^git://] then GitDownloadStrategy
|
when %r[^git://] then GitDownloadStrategy
|
||||||
when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy
|
when %r[^http://(.+?\.)?googlecode\.com/svn] then SubversionDownloadStrategy
|
||||||
when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy
|
when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy
|
||||||
else HttpDownloadStrategy
|
else HttpDownloadStrategy
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# tell the user about any caveats regarding this package
|
# tell the user about any caveats regarding this package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user