aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorJack Nagel2013-04-10 11:52:54 -0500
committerJack Nagel2013-04-10 11:55:02 -0500
commit136aa4c6f45ca7f4cb1c691ffb5ccb53f1eef165 (patch)
tree6e2fc57abc99a5b9ed078a159443af59c83870d0 /Library/Homebrew/compat
parentbd4aaac96b1f08d59a8e208095ac56ff446608df (diff)
downloadbrew-136aa4c6f45ca7f4cb1c691ffb5ccb53f1eef165.tar.bz2
Remove last use of deprecated Formula#recursive_deps
Fixes Homebrew/homebrew#19107.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/compatibility.rb15
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