hashpump 1.2.0

Closes Homebrew/homebrew#40253.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2015-06-01 00:08:02 +01:00
parent 3d9d69cb4a
commit 047c779479

View file

@ -1,9 +1,8 @@
require "formula"
class Hashpump < Formula
homepage "https://github.com/bwall/HashPump"
url "https://github.com/bwall/HashPump/archive/v1.1.0.tar.gz"
sha1 "610582b0e4c86bbcbe5620d4a3ad48e9c3046817"
url "https://github.com/bwall/HashPump/archive/v1.2.0.tar.gz"
sha256 "d002e24541c6604e5243e5325ef152e65f9fcd00168a9fa7a06ad130e28b811b"
bottle do
cellar :any
sha1 "b205ab988f9d104af20fc395167a2fd101acc2fb" => :mavericks
@ -11,8 +10,6 @@ class Hashpump < Formula
sha1 "0b6068bb47267c3df84c9fd51656e2760fba1cd8" => :lion
end
revision 1
depends_on "openssl"
def install
@ -23,9 +20,9 @@ class Hashpump < Formula
end
test do
output = `#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \\
output = %x(#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \\
-d 'count=10&lat=37.351&user_id=1&long=-119.827&waffle=eggo' \\
-a '&waffle=liege' -k 14`
-a '&waffle=liege' -k 14)
assert output.include? "0e41270260895979317fff3898ab85668953aaa2"
assert output.include? "&waffle=liege"
assert_equal 0, $?.exitstatus