diff options
| author | Jack Nagel | 2013-10-14 22:05:30 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-10-14 22:05:30 -0500 |
| commit | 31e0bf61fa5173c8fb6267961ada71a82e3b9f00 (patch) | |
| tree | b057d268b8e5c5c3033d6cb91fffafce09ceeba5 /Library | |
| parent | 5ae32d5a793c00fb3f52c3c19f4469feab4aaf2f (diff) | |
| download | brew-31e0bf61fa5173c8fb6267961ada71a82e3b9f00.tar.bz2 | |
Pathname: removed unused method alias
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index eb0bfefad..f0b2c8285 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -235,11 +235,10 @@ class Pathname incremental_hash(Digest::SHA1) end - def sha2 + def sha256 require 'digest/sha2' incremental_hash(Digest::SHA2) end - alias_method :sha256, :sha2 def verify_checksum expected raise ChecksumMissingError if expected.nil? or expected.empty? |
