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
commita487909e9a720135940c4fc63c94a9f7af93a2f5 (patch)
treedb103ff23b4607b5743d21a23f7789e540451ba9 /Library
parent3871165c589bb2cf3611ecea538d9e500d49e916 (diff)
downloadbrew-a487909e9a720135940c4fc63c94a9f7af93a2f5.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