aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/heroku-toolbelt.rb36
1 files changed, 2 insertions, 34 deletions
diff --git a/Library/Formula/heroku-toolbelt.rb b/Library/Formula/heroku-toolbelt.rb
index 0e32a163d..368686527 100644
--- a/Library/Formula/heroku-toolbelt.rb
+++ b/Library/Formula/heroku-toolbelt.rb
@@ -1,36 +1,9 @@
require 'formula'
-class Ruby19 < Requirement
- fatal true
- default_formula 'ruby'
-
- satisfy :build_env => false do
- next unless which 'ruby'
- version = /\d\.\d/.match `ruby --version 2>&1`
-
- next unless version
- Version.new(version.to_s) >= Version.new("1.9")
- end
-
- def modify_build_environment
- ruby = which "ruby"
- return unless ruby
-
- ENV.prepend_path "PATH", ruby.dirname
- end
-
- def message; <<-EOS.undent
- The Heroku Toolbelt requires Ruby >= 1.9
- EOS
- end
-end
-
class HerokuToolbelt < Formula
homepage 'https://toolbelt.heroku.com/other'
- url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-3.15.0.tgz'
- sha1 '262f25eeb1d31ea8940acb49fd81b77bd0bdd6d6'
-
- depends_on Ruby19
+ url 'http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client-3.20.0.tgz'
+ sha1 'e3edb525fc25d4fbafc46768cc06353a5519db88'
def install
libexec.install Dir["*"]
@@ -40,9 +13,4 @@ class HerokuToolbelt < Formula
test do
system "#{bin}/heroku", "version"
end
-
- def caveats; <<-EOS.undent
- heroku-toolbelt requires an installation of Ruby 1.9 or greater.
- EOS
- end
end