Don't rely on Dependency#to_s
This commit is contained in:
parent
3871165c58
commit
a487909e9a
@ -495,7 +495,7 @@ class Formula
|
|||||||
"installed" => [],
|
"installed" => [],
|
||||||
"linked_keg" => (linked_keg.realpath.basename.to_s if linked_keg.exist?),
|
"linked_keg" => (linked_keg.realpath.basename.to_s if linked_keg.exist?),
|
||||||
"keg_only" => keg_only?,
|
"keg_only" => keg_only?,
|
||||||
"dependencies" => deps.map {|dep| dep.to_s},
|
"dependencies" => deps.map(&:name),
|
||||||
"conflicts_with" => conflicts.map(&:name),
|
"conflicts_with" => conflicts.map(&:name),
|
||||||
"options" => [],
|
"options" => [],
|
||||||
"caveats" => caveats
|
"caveats" => caveats
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user