Skip to content

Commit

Permalink
Update deprecated hardware check
Browse files Browse the repository at this point in the history
```
Warning: Calling Hardware.is_64_bit? is deprecated!
Use Hardware::CPU.is_64_bit? instead.
/Users/pair/Library/Caches/Homebrew/Formula/pup.rb:7:in `<class:Pup>'
```
  • Loading branch information
philoserf committed Sep 1, 2016
1 parent f7c5cd0 commit 696d9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Expand Up @@ -50,7 +50,7 @@ class Pup < Formula
homepage 'https://github.com/ericchiang/pup'
version '0.4.0'
if Hardware.is_64_bit?
if Hardware::CPU.is_64_bit?
url 'https://github.com/ericchiang/pup/releases/download/v${VERSION}/${DARWIN_AMD64}'
sha256 '$( sha256sum dist/${DARWIN_AMD64} | awk '{ print $1 }' | xargs printf )'
else
Expand Down

0 comments on commit 696d9e8

Please sign in to comment.