ghi: use new Resource#fetch API.

This commit is contained in:
Mike McQuaid 2019-06-15 17:27:18 +01:00
parent b4ae505602
commit 22962f6720

View file

@ -27,7 +27,7 @@ class Ghi < Formula
def install
ENV["GEM_HOME"] = libexec
resources.each do |r|
r.verify_download_integrity(r.fetch)
r.fetch
system "gem", "install", r.cached_download, "--no-document",
"--install-dir", libexec
end