3ad9a0896f
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>
16 lines
361 B
Ruby
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
|