aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlex Dunn2015-03-27 22:12:59 -0700
committerXu Cheng2015-03-30 11:51:24 +0800
commitcfb2de3f43f9a85496779514776475a32cc21ced (patch)
tree1afee1ede29006aa2407e372602f3d50d7c82a63 /Library
parentbbc7f924b4184ca9ce0f6ba759b6afe0c813a77e (diff)
downloadhomebrew-cfb2de3f43f9a85496779514776475a32cc21ced.tar.bz2
vnu 20150328
Closes #38139. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vnu.rb12
1 files changed, 5 insertions, 7 deletions
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
<!DOCTYPE html>
<html>
<head>
@@ -21,7 +20,6 @@ class Vnu < Formula
</body>
</html>
EOS
-
- system bin/"vnu", path
+ system bin/"vnu", testpath/"index.html"
end
end