From 9cbf09ac3895187818f0165d7d0de5ac10c20833 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:22 -0500 Subject: [PATCH] rbenv-gem-rehash: use checksummed patches --- Formula/rbenv-gem-rehash.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/rbenv-gem-rehash.rb b/Formula/rbenv-gem-rehash.rb index 75dbdb231b..d34b73ce60 100644 --- a/Formula/rbenv-gem-rehash.rb +++ b/Formula/rbenv-gem-rehash.rb @@ -7,9 +7,10 @@ class RbenvGemRehash < Formula depends_on 'rbenv' - def patches - # Fixes issues with Homebrew-managed git-etc alpha. - 'https://github.com/sstephenson/rbenv-gem-rehash/commit/0756890cfd9c7bbbdde38560fe81626a0c5769bd.patch' + # Fixes issues with Homebrew-managed git-etc alpha. + patch do + url "https://github.com/sstephenson/rbenv-gem-rehash/commit/0756890cfd9c7bbbdde38560fe81626a0c5769bd.patch" + sha1 "8b3148da00ac9eb5802ef9fab5ec9d086f7c0946" end def install