diff options
| author | Xu Cheng | 2016-03-20 14:03:28 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-03-20 14:55:58 +0800 |
| commit | bd7e8543b3fba04a914f8f8c583652d6970d51db (patch) | |
| tree | 093840f1a433792f3231f32b9f6d6bf9d428b11a /Library/Homebrew/extend/pathname.rb | |
| parent | 93cbab0021676010f195c8629d79fefdb00a2d40 (diff) | |
| download | brew-bd7e8543b3fba04a914f8f8c583652d6970d51db.tar.bz2 | |
deprecate SHA1
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 2f3fbc32f..3f898fecb 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -300,12 +300,6 @@ class Pathname digest.hexdigest end - # @private - def sha1 - require "digest/sha1" - incremental_hash(Digest::SHA1) - end - def sha256 require "digest/sha2" incremental_hash(Digest::SHA2) |
