blob: f795260ef173c87dc3e2a2b5b3002faa49404ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | 
class Smartypants < Formula
  homepage "http://daringfireball.net/projects/smartypants/"
  url "http://daringfireball.net/projects/downloads/SmartyPants_1.5.1.zip"
  sha256 "2813a12d8dd23f091399195edd7965e130103e439e2a14f298b75b253616d531"
  def install
    bin.install "SmartyPants.pl" => "smartypants"
  end
  test do
    assert_equal "“Give me a beer”, said Mike O’Connor",
      pipe_output("#{bin}/smartypants",
                  %("Give me a beer", said Mike O'Connor), 0)
  end
end
  |