29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
class Httpry < Formula
|
|
desc "Packet sniffer for displaying and logging HTTP traffic"
|
|
homepage "https://github.com/jbittel/httpry"
|
|
url "https://github.com/jbittel/httpry/archive/httpry-0.1.8.tar.gz"
|
|
sha256 "b3bcbec3fc6b72342022e940de184729d9cdecb30aa754a2c994073447468cf0"
|
|
head "https://github.com/jbittel/httpry.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
rebuild 1
|
|
sha256 "71014794d2a136fea229dd19d6fe7dc136037c074a817d70bd7b13713653f19f" => :sierra
|
|
sha256 "56d6a77e429bf9dde3d5e5edb9959fc7ed913430236cf628e0aec6445c07c85a" => :el_capitan
|
|
sha256 "af0deb9d79e72df6369f57ed1050abeb70c62f77ab481232b556ba6da5ace66c" => :yosemite
|
|
sha256 "ec016612be65aa5761213134d211f9bee121d8904dae9b9d73ebfc37d4de3cea" => :mavericks
|
|
sha256 "a554f7789ce0d685a837fa2b795f7936a97603a7c2b915ee6923c0527e8bc1de" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "httpry"
|
|
man1.install "httpry.1"
|
|
doc.install Dir["doc/*"]
|
|
end
|
|
|
|
test do
|
|
system bin/"httpry", "-h"
|
|
end
|
|
end
|