From c04d8d47c65220b22dda4f523508c50755ca29d1 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Sat, 25 Apr 2015 18:40:40 -0700 Subject: halibut 1.1 Closes #39068. Signed-off-by: Xu Cheng --- Library/Formula/halibut.rb | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Library/Formula/halibut.rb b/Library/Formula/halibut.rb index f9c49b714..3f5d28779 100644 --- a/Library/Formula/halibut.rb +++ b/Library/Formula/halibut.rb @@ -1,9 +1,9 @@ -require 'formula' - class Halibut < Formula - homepage 'http://www.chiark.greenend.org.uk/~sgtatham/halibut/' - url 'http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.0.tar.gz' - sha1 '1e4643faf2bb4e1843740b8c70635d3d33bb7989' + homepage "http://www.chiark.greenend.org.uk/~sgtatham/halibut/" + url "http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.1.tar.gz" + sha256 "b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0" + + head "git://git.tartarus.org/simon/halibut.git" bottle do cellar :any @@ -23,13 +23,10 @@ class Halibut < Formula end test do - # Initial sanity test - system "#{bin}/halibut", "--version" - - # Test converting to HTML. - (testpath/'sample.but').write('Hello, world!') + (testpath/"sample.but").write("Hello, world!") system "#{bin}/halibut", "--html=sample.html", "sample.but" - assert_match /

\nHello, world!\n<\/p>/, (testpath/'sample.html').read() + assert_match("

\nHello, world!\n<\/p>", + (testpath/"sample.html").read) end end -- cgit v1.2.3