From cfb2de3f43f9a85496779514776475a32cc21ced Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Fri, 27 Mar 2015 22:12:59 -0700 Subject: vnu 20150328 Closes #38139. Signed-off-by: Xu Cheng --- Library/Formula/vnu.rb | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/vnu.rb b/Library/Formula/vnu.rb index 30c06e343..fb97828e9 100644 --- a/Library/Formula/vnu.rb +++ b/Library/Formula/vnu.rb @@ -1,8 +1,8 @@ class Vnu < Formula homepage "https://validator.github.io/validator/" - url "https://github.com/validator/validator/releases/download/20150216/vnu-20150216.jar.zip" - sha1 "76806240e7f07d210e23e0dd96a06f6f2c5f0162" - version "20150216" + url "https://github.com/validator/validator/releases/download/15.3.28/vnu.jar_15.3.28.zip" + sha256 "5b7d17fca4900253d30d0b367afa1b7afc3b8f09f3cfa4e4e656e679b21d7841" + version "20150328" def install libexec.install "vnu.jar" @@ -10,8 +10,7 @@ class Vnu < Formula end test do - path = testpath/"index.html" - path.write <<-EOS.undent + (testpath/"index.html").write <<-EOS.undent @@ -21,7 +20,6 @@ class Vnu < Formula EOS - - system bin/"vnu", path + system bin/"vnu", testpath/"index.html" end end -- cgit v1.2.3