From 136aa4c6f45ca7f4cb1c691ffb5ccb53f1eef165 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 10 Apr 2013 11:52:54 -0500 Subject: Remove last use of deprecated Formula#recursive_deps Fixes Homebrew/homebrew#19107. --- Library/Homebrew/compat/compatibility.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Library/Homebrew/compat') 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 -- cgit v1.2.3