aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMike McQuaid2016-08-19 12:15:00 +0100
committerGitHub2016-08-19 12:15:00 +0100
commit9967bc99f030e83f0e16fe279b4ee1d90456da2a (patch)
tree1efdee997c93954ad0f1176eb18fd1eb43568e13 /Library/Homebrew/compat
parent82ea19bc15a2f93c9b2f71da16eea2f5fa207936 (diff)
parent27ecf588c703c49f2dfd89e269dfba2f7af5e670 (diff)
downloadbrew-9967bc99f030e83f0e16fe279b4ee1d90456da2a.tar.bz2
Merge pull request #731 from MikeMcQuaid/rename-bottle-revision
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