aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-28 19:56:35 -0800
committerAdam Vandenberg2012-03-10 09:24:10 -0800
commitcef5429f9373526ed1fe523bcbbbb42b5cf65ea9 (patch)
treef5c0965e9288ef1bb36be60872cdd167a0fc2186 /Library/Contributions
parentfee00469f61e14e7dd9503a7b3381a95eb49ad81 (diff)
downloadbrew-cef5429f9373526ed1fe523bcbbbb42b5cf65ea9.tar.bz2
Use new Requirements code in Homebrew
Diffstat (limited to 'Library/Contributions')
-rwxr-xr-xLibrary/Contributions/examples/brew-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-server b/Library/Contributions/examples/brew-server
index ab0c7e469..bcc15c257 100755
--- a/Library/Contributions/examples/brew-server
+++ b/Library/Contributions/examples/brew-server
@@ -146,8 +146,8 @@ get '/formula/:name' do
s << <<-HTML
<dt>Depends on</td>
HTML
- klass.deps.each do |name|
- s << "<dd>#{link_to_formula(name)}</dd>"
+ klass.deps.each do |dep|
+ s << "<dd>#{link_to_formula(dep.name)}</dd>"
end
end