diff options
| author | Jack Nagel | 2013-04-10 11:52:54 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-10 11:55:02 -0500 |
| commit | 4386be0a19b904ef6f92bcf0638b82b20ee137e0 (patch) | |
| tree | 7d3993795823ec6abde228a1161f791312955b86 /Library/Homebrew/compat | |
| parent | d664a196ce1baf5f09503a61264e45de40e34294 (diff) | |
| download | homebrew-4386be0a19b904ef6f92bcf0638b82b20ee137e0.tar.bz2 | |
Remove last use of deprecated Formula#recursive_deps
Fixes #19107.
Diffstat (limited to 'Library/Homebrew/compat')
| -rw-r--r-- | Library/Homebrew/compat/compatibility.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index 6a473be47..941b078cc 100644 --- a/Library/Homebrew/compat/compatibility.rb +++ b/Library/Homebrew/compat/compatibility.rb @@ -100,21 +100,6 @@ class Formula end end - # These methods return lists of Formula objects. - # They are eprecated in favor of Dependency::expand_dependencies - # and Formula#recursive_dependencies, which return lists of - # Dependency objects instead. - def self.expand_deps f - f.deps.map do |dep| - f_dep = Formula.factory dep.to_s - expand_deps(f_dep) << f_dep - end - end - - def recursive_deps - Formula.expand_deps(self).flatten.uniq - end - def self.all opoo "Formula.all is deprecated, use Formula.map instead" map |
