aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:22 -0500
committerJack Nagel2014-03-16 23:09:21 -0500
commitb4860b7d9a608d359fa8d4f42001a0fa4a04d3ae (patch)
tree88c4e67ee079cff5c4dbfa208b28ead2f198e830 /Library
parent667d5dfd317dd5150ec03a1b4ced63f8178b7249 (diff)
downloadhomebrew-b4860b7d9a608d359fa8d4f42001a0fa4a04d3ae.tar.bz2
rbenv-gem-rehash: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rbenv-gem-rehash.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/rbenv-gem-rehash.rb b/Library/Formula/rbenv-gem-rehash.rb
index 75dbdb231..d34b73ce6 100644
--- a/Library/Formula/rbenv-gem-rehash.rb
+++ b/Library/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