aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/diy.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-22 15:00:15 -0500
committerJack Nagel2014-06-22 15:03:17 -0500
commit4d9d01893e61dc111736977a8faf1a5473de12a9 (patch)
tree041fae5272b1cbf56a16e239f0c157a545a45838 /Library/Homebrew/cmd/diy.rb
parent90183877ff25f1ea8e5575079754dcfbb51188c2 (diff)
downloadbrew-4d9d01893e61dc111736977a8faf1a5473de12a9.tar.bz2
Move deprecated Formula class methods to compat
These have all been moved to Formulary.
Diffstat (limited to 'Library/Homebrew/cmd/diy.rb')
-rw-r--r--Library/Homebrew/cmd/diy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/diy.rb b/Library/Homebrew/cmd/diy.rb
index 98d57c819..736971a89 100644
--- a/Library/Homebrew/cmd/diy.rb
+++ b/Library/Homebrew/cmd/diy.rb
@@ -37,7 +37,7 @@ module Homebrew
def detected_name(path, version)
basename = path.basename.to_s
detected_name = basename[/(.*?)-?#{Regexp.escape(version)}/, 1] || basename
- canonical_name = Formula.canonical_name(detected_name)
+ canonical_name = Formulary.canonical_name(detected_name)
odie <<-EOS.undent if detected_name != canonical_name
The detected name #{detected_name.inspect} exists in Homebrew as an alias