From becc063beb6dbce9c2417553954d085aaa0d3e8f Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 24 Feb 2015 09:34:12 +0100 Subject: rhino 1.7r5 Closes #37142. Signed-off-by: Mike McQuaid --- Library/Formula/rhino.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/rhino.rb b/Library/Formula/rhino.rb index 306136278..05ccb53fa 100644 --- a/Library/Formula/rhino.rb +++ b/Library/Formula/rhino.rb @@ -1,13 +1,17 @@ require 'formula' class Rhino < Formula - homepage 'http://www.mozilla.org/rhino/' - url 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip' - sha1 '483e097cb575c724c745edd80c9512f073bd510a' - version '1.7R4' + homepage 'https://www.mozilla.org/rhino/' + url 'https://github.com/mozilla/rhino/releases/download/Rhino1_7R5_RELEASE/rhino1_7R5.zip' + sha1 '39ada4cca8c7f651a68eda3f307ff9b68808f0ce' + version '1.7R5' def install libexec.install 'js.jar' bin.write_jar_script libexec/'js.jar', 'rhino' end + + test do + system "#{bin}/rhino", '-e', 'print(42);' + end end -- cgit v1.2.3