gitlab-gem: use new Resource#fetch API.

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

View file

@ -34,7 +34,7 @@ class GitlabGem < 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, "--ignore-dependencies",
"--no-document", "--install-dir", libexec
end