diff --git a/Library/Homebrew/compat/cask.rb b/Library/Homebrew/compat/cask.rb index daec219d0e..36c7163a18 100644 --- a/Library/Homebrew/compat/cask.rb +++ b/Library/Homebrew/compat/cask.rb @@ -6,8 +6,8 @@ module Cask extend Enumerable def self.each(&block) - # TODO: 3.4.0: odeprecated "`Enumerable` methods on `Cask::Cask`", - # "`Cask::Cask.all` (but avoid looping over all casks, it's slow and insecure)" + odeprecated "`Enumerable` methods on `Cask::Cask`", + "`Cask::Cask.all` (but avoid looping over all casks, it's slow and insecure)" return to_enum unless block diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb index 013759f55d..925351de4c 100644 --- a/Library/Homebrew/compat/formula.rb +++ b/Library/Homebrew/compat/formula.rb @@ -5,8 +5,8 @@ class Formula extend Enumerable def self.each(&_block) - # TODO: 3.4.0: odeprecated "`Enumerable` methods on `Formula`", - # "`Formula.all` (but avoid looping over all formulae, it's slow and insecure)" + odeprecated "`Enumerable` methods on `Formula`", + "`Formula.all` (but avoid looping over all formulae, it's slow and insecure)" files.each do |file| yield Formulary.factory(file)