diff options
| author | Jack Nagel | 2014-06-22 15:00:15 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-22 15:03:17 -0500 | 
| commit | f7b71472fe139f6351af9871a889c78f9e13a1c5 (patch) | |
| tree | baed819539e34ad9d6e1197b4591848708948bb2 /Library/Homebrew/cmd/cleanup.rb | |
| parent | 5cf83594155571ca67a85839d5c2cacc77fee4ea (diff) | |
| download | homebrew-f7b71472fe139f6351af9871a889c78f9e13a1c5.tar.bz2 | |
Move deprecated Formula class methods to compat
These have all been moved to Formulary.
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 3db9cca78..42ef7b329 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -39,7 +39,7 @@ module Homebrew    def cleanup_cellar      HOMEBREW_CELLAR.subdirs.each do |rack|        begin -        cleanup_formula Formula.factory(rack.basename.to_s) +        cleanup_formula Formulary.factory(rack.basename.to_s)        rescue FormulaUnavailableError          # Don't complain about directories from DIY installs        end @@ -80,7 +80,7 @@ module Homebrew        next unless (name = file.basename.to_s[/(.*)-(?:#{Regexp.escape(version)})/, 1])        begin -        f = Formula.factory(name) +        f = Formulary.factory(name)        rescue FormulaUnavailableError          next        end | 
