From 4b10c0711d96296e6d66c12175999548059d09a4 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sun, 18 Jan 2015 22:28:42 +0100 Subject: aws-elasticache 1.12 Closes #36012. Signed-off-by: Mike McQuaid --- Library/Formula/aws-elasticache.rb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Library/Formula/aws-elasticache.rb') diff --git a/Library/Formula/aws-elasticache.rb b/Library/Formula/aws-elasticache.rb index 546630e0f..a2c30101d 100644 --- a/Library/Formula/aws-elasticache.rb +++ b/Library/Formula/aws-elasticache.rb @@ -1,14 +1,18 @@ -require 'formula' - class AwsElasticache < AmazonWebServicesFormula - homepage 'http://aws.amazon.com/developertools/2310261897259567' - url 'https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2013-06-15-1.9.000.zip' - version '1.9.000' - sha1 'c8962cc2ea22f88883b38cda2674d1befbed1b71' + homepage "https://aws.amazon.com/developertools/2310261897259567" + url "https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2014-09-30-1.12.000.zip" + version "1.12.000" + sha1 "aeed292beada4aabe7d88562af0f1353556c0767" - depends_on 'ec2-api-tools' + depends_on "ec2-api-tools" def caveats standard_instructions "AWS_ELASTICACHE_HOME" end + + test do + ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp + ENV["AWS_ELASTICACHE_HOME"] = libexec + system "#{bin}/elasticache-version" + end end -- cgit v1.2.3