aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMike McQuaid2016-08-18 17:32:35 +0100
committerMike McQuaid2016-08-18 17:32:35 +0100
commit27ecf588c703c49f2dfd89e269dfba2f7af5e670 (patch)
treea199823b10854208ac646cb69e019116268258b4 /Library/Homebrew/compat
parent5c7c9de669025bbe4cad9829be39c5cf3b31ad25 (diff)
downloadbrew-27ecf588c703c49f2dfd89e269dfba2f7af5e670.tar.bz2
Rename bottle's revision to rebuild.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/software_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/software_spec.rb b/Library/Homebrew/compat/software_spec.rb
new file mode 100644
index 000000000..51b0f3a0b
--- /dev/null
+++ b/Library/Homebrew/compat/software_spec.rb
@@ -0,0 +1,8 @@
+class BottleSpecification
+ def revision(*args)
+ # Don't announce deprecation yet as this is quite a big change
+ # to a public interface.
+ # odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
+ rebuild(*args)
+ end
+end