diff options
| author | Viktor Szakáts | 2015-01-20 20:11:43 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-20 21:49:44 +0100 |
| commit | 577ed8f369f02dddef9f7a55e522faf3ed0ce560 (patch) | |
| tree | 99688957d1e3f82ceba582e56030ec9ca40605c2 /Library/Formula | |
| parent | 5a1138c09ce6d3c4825bb5e4d9ef3aaeeca5eebe (diff) | |
| download | homebrew-577ed8f369f02dddef9f7a55e522faf3ed0ce560.tar.bz2 | |
auto-scaling: pass strict audit, use https
Closes #36073.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/auto-scaling.rb | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/auto-scaling.rb b/Library/Formula/auto-scaling.rb index f776ba67d..7464d67aa 100644 --- a/Library/Formula/auto-scaling.rb +++ b/Library/Formula/auto-scaling.rb @@ -1,10 +1,8 @@ -require 'formula' - class AutoScaling < AmazonWebServicesFormula - homepage 'http://aws.amazon.com/developertools/2535' - url 'http://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip' - version '1.0.61.6' - sha1 '2e3aaaa2567f4dcafcedbfc05678270ab02ed341' + homepage "https://aws.amazon.com/developertools/2535" + url "https://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip" + version "1.0.61.6" + sha1 "2e3aaaa2567f4dcafcedbfc05678270ab02ed341" def caveats <<-EOS.undent @@ -24,7 +22,13 @@ class AutoScaling < AmazonWebServicesFormula export AWS_CREDENTIAL_FILE="<Path to credential file>" See the website for more details: - http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/UsingTheCommandLineTools.html + https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/UsingTheCommandLineTools.html EOS end + + test do + ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp + ENV["AWS_AUTO_SCALING_HOME"] = libexec + assert_match version.to_s, shell_output("#{bin}/as-version") + end end |
