homebrew-core/Formula/heroku.rb
Kevin Burke 9397de719b heroku: install Heroku CLI over HTTPS
cli-assets.heroku.com is listening on port 443 and presents a valid
certificate. We should use HTTPS for downloads to prevent man in the middle
attacks.

Closes #7993.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-12-18 14:21:27 -04:00

20 lines
529 B
Ruby

class Heroku < Formula
desc "Everything you need to get started with Heroku"
homepage "https://cli.heroku.com"
url "https://cli-assets.heroku.com/branches/stable/5.6.1-0976cf3/heroku-v5.6.1-0976cf3-darwin-amd64.tar.xz"
version "5.6.1-0976cf3"
sha256 "27994f23258ef21c0e40b9fa21fc24b5fcabc44c697c07bf2883fb9b6fc65869"
bottle :unneeded
depends_on :arch => :x86_64
def install
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/heroku"
end
test do
system bin/"heroku", "version"
end
end