aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/software_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-09 19:52:34 +0000
committerMike McQuaid2018-01-09 19:52:34 +0000
commit2cbce1fbf0a7a361f2be8b3545998f1a36ab3588 (patch)
tree709d8f4543cd2b94da42fb1ca37c7ab3f6a3d57e /Library/Homebrew/compat/software_spec.rb
parent9ed1ed3c0577a20b0144cb83501838b2b8c681ae (diff)
downloadbrew-2cbce1fbf0a7a361f2be8b3545998f1a36ab3588.tar.bz2
Add more deprecations, disable some existing ones.
Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
Diffstat (limited to 'Library/Homebrew/compat/software_spec.rb')
-rw-r--r--Library/Homebrew/compat/software_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/compat/software_spec.rb b/Library/Homebrew/compat/software_spec.rb
index 8b0408d02..814c00fa8 100644
--- a/Library/Homebrew/compat/software_spec.rb
+++ b/Library/Homebrew/compat/software_spec.rb
@@ -1,6 +1,5 @@
class BottleSpecification
- def revision(*args)
- odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
- rebuild(*args)
+ def revision(*)
+ odisabled "BottleSpecification.revision", "BottleSpecification.rebuild"
end
end