victor / whereami

get your location from the command line
http://victor.github.io/whereami/
MIT License
213 stars 24 forks source link

Brew tap fails because of "sha1" usage (instead of sha256) #24

Open aethernet opened 7 years ago

aethernet commented 7 years ago

Hi

When tapping, brew complains about the formula using an outdated crypto.

Calling Formula.sha1 is disabled!
Use Formula.sha256 instead.

Here's the full log :

$ brew tap victor/whereami                         
==> Tapping victor/whereami
Cloning into '/usr/local/Homebrew/Library/Taps/victor/homebrew-whereami'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
Unpacking objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/victor/homebrew-whereami/whereami.rb
Calling Formula.sha1 is disabled!
Use Formula.sha256 instead.
/usr/local/Homebrew/Library/Taps/victor/homebrew-whereami/whereami.rb:6:in `<class:Whereami>'
Please report this to the victor/whereami tap!
Error: Cannot tap victor/whereami: invalid syntax in tap!