aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMike McQuaid2017-07-14 17:03:33 +0100
committerMike McQuaid2017-07-21 10:50:07 +0100
commit2d18ba586b3250062cd58c8f5af81fc30a35bb5f (patch)
tree68c6130df8f85bb7c2e5dddb0cf4c12413f52bc9 /Library/Homebrew/compat
parente0560ff363d5efa177cf567281e78f73848557b4 (diff)
downloadbrew-2d18ba586b3250062cd58c8f5af81fc30a35bb5f.tar.bz2
Enable more deprecations.
It's been long enough that these have been commented out so let's enable them globally.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/software_spec.rb2
-rw-r--r--Library/Homebrew/compat/utils.rb5
2 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/compat/software_spec.rb b/Library/Homebrew/compat/software_spec.rb
index 5efd2aeb4..8b0408d02 100644
--- a/Library/Homebrew/compat/software_spec.rb
+++ b/Library/Homebrew/compat/software_spec.rb
@@ -1,6 +1,6 @@
class BottleSpecification
def revision(*args)
- # odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
+ odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
rebuild(*args)
end
end
diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb
index f2cca4726..8904f0f2b 100644
--- a/Library/Homebrew/compat/utils.rb
+++ b/Library/Homebrew/compat/utils.rb
@@ -1,8 +1,3 @@
-def shell_profile
- # odeprecated "shell_profile", "Utils::Shell.profile"
- Utils::Shell.profile
-end
-
module Tty
module_function