aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rbenv-aliases.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/rbenv-aliases.rb')
-rw-r--r--Library/Formula/rbenv-aliases.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/rbenv-aliases.rb b/Library/Formula/rbenv-aliases.rb
index 1a19f3eba..bce7684c9 100644
--- a/Library/Formula/rbenv-aliases.rb
+++ b/Library/Formula/rbenv-aliases.rb
@@ -1,15 +1,17 @@
-require 'formula'
-
class RbenvAliases < Formula
- homepage 'https://github.com/tpope/rbenv-aliases'
- url 'https://github.com/tpope/rbenv-aliases/archive/v1.0.1.tar.gz'
- sha1 '7fcfe5ea3011c5f9e00ad41d85bebc2d19869b61'
+ homepage "https://github.com/tpope/rbenv-aliases"
+ url "https://github.com/tpope/rbenv-aliases/archive/v1.0.1.tar.gz"
+ sha1 "7fcfe5ea3011c5f9e00ad41d85bebc2d19869b61"
- head 'https://github.com/tpope/rbenv-aliases.git'
+ head "https://github.com/tpope/rbenv-aliases.git"
- depends_on 'rbenv'
+ depends_on "rbenv"
def install
- prefix.install Dir['*']
+ prefix.install Dir["*"]
+ end
+
+ test do
+ assert shell_output("rbenv hooks install").include? "autoalias.bash"
end
end