homebrew-core/Formula/gist.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

16 lines
361 B
Ruby

require 'formula'
class Gist < Formula
homepage 'https://github.com/defunkt/gist'
url 'https://github.com/defunkt/gist/archive/v3.1.0.tar.gz'
sha1 'ae524b79c2321779e2553a7847fab82f178e8ffc'
head 'https://github.com/defunkt/gist.git'
def install
rake "install", "prefix=#{prefix}"
end
test do
system "#{bin}/gist", '--version'
end
end