aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rbenv-bundler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/rbenv-bundler.rb')
-rw-r--r--Library/Formula/rbenv-bundler.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/rbenv-bundler.rb b/Library/Formula/rbenv-bundler.rb
index c5ed9a98c..dfddca31c 100644
--- a/Library/Formula/rbenv-bundler.rb
+++ b/Library/Formula/rbenv-bundler.rb
@@ -1,14 +1,16 @@
-require 'formula'
-
class RbenvBundler < Formula
- homepage 'https://github.com/carsomyr/rbenv-bundler'
- url 'https://github.com/carsomyr/rbenv-bundler/archive/0.99.tar.gz'
- sha1 '21dd20ee363d8b8c0807e659ffa2d572c67848b5'
- head 'https://github.com/carsomyr/rbenv-bundler.git'
+ homepage "https://github.com/carsomyr/rbenv-bundler"
+ url "https://github.com/carsomyr/rbenv-bundler/archive/0.99.tar.gz"
+ sha1 "21dd20ee363d8b8c0807e659ffa2d572c67848b5"
+ head "https://github.com/carsomyr/rbenv-bundler.git"
- depends_on 'rbenv'
+ depends_on "rbenv"
def install
- prefix.install Dir['*']
+ prefix.install Dir["*"]
+ end
+
+ test do
+ assert shell_output("rbenv hooks exec").include? "bundler.bash"
end
end