diff options
| author | Jack Nagel | 2014-03-28 20:42:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-28 20:42:20 -0500 |
| commit | d55a166938164ee5ed3b1d0facce5552cfb5e0d8 (patch) | |
| tree | 2efa09d781b96af62f4c42f11f708048d420a16f /Library | |
| parent | 0f69ddf0b841bbdd9199920a0f1e61761c87e23c (diff) | |
| download | homebrew-d55a166938164ee5ed3b1d0facce5552cfb5e0d8.tar.bz2 | |
Don't rely on Dependency#to_s
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
