aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-28 20:42:20 -0500
committerJack Nagel2014-03-28 20:42:20 -0500
commitd55a166938164ee5ed3b1d0facce5552cfb5e0d8 (patch)
tree2efa09d781b96af62f4c42f11f708048d420a16f /Library
parent0f69ddf0b841bbdd9199920a0f1e61761c87e23c (diff)
downloadhomebrew-d55a166938164ee5ed3b1d0facce5552cfb5e0d8.tar.bz2
Don't rely on Dependency#to_s
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 50a6d1530..3aca80feb 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -495,7 +495,7 @@ class Formula
"installed" => [],
"linked_keg" => (linked_keg.realpath.basename.to_s if linked_keg.exist?),
"keg_only" => keg_only?,
- "dependencies" => deps.map {|dep| dep.to_s},
+ "dependencies" => deps.map(&:name),
"conflicts_with" => conflicts.map(&:name),
"options" => [],
"caveats" => caveats