sumomo 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/sumomo/custom_resources/AMILookup.js +4 -4
- data/lib/sumomo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85ea8b9717493794761cd6651e7595ea4056994972508fd8af43965852a7a653
|
4
|
+
data.tar.gz: 5ceac9bf30af9b4e632a680bb0c414daca770b05c35ed5fd1aa29700f5227a51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdf4b4055e84d51971a94a479830bb3cc5e8bfdab565fec391db7bca5426e720489b5a7f95e4da899c2a9ebfead5ea120e2873efb544f38c549b53584cf668f9
|
7
|
+
data.tar.gz: d819e57bec186f3e3c08a54b50f379ade66b9e9cc5e4b362ba427e0c12ac85a0ddcde969d9aa2ee89b407fd41a42c16679559a9448df92a426c2b898287d2766
|
@@ -144,9 +144,9 @@ var typeToArch = {
|
|
144
144
|
}
|
145
145
|
|
146
146
|
var archToAMINamePattern = {
|
147
|
-
"PV64": "amzn-ami-pv
|
148
|
-
"HVM64": "
|
149
|
-
"HVMG2": "
|
147
|
+
"PV64": "amzn-ami-pv*x86_64-ebs",
|
148
|
+
"HVM64": "amzn2-ami-hvm-2.0.*x86_64-gp2",
|
149
|
+
"HVMG2": "amzn2-ami-graphics-hvm-2.0.*x86_64-ebs*"
|
150
150
|
};
|
151
151
|
|
152
152
|
var ec2 = new aws.EC2({region: request.ResourceProperties.Region});
|
@@ -174,7 +174,7 @@ ec2.describeImages(describeImagesParams, function(err, describeImagesResult)
|
|
174
174
|
var response = {}
|
175
175
|
var id = "NONE";
|
176
176
|
var images = describeImagesResult.Images;
|
177
|
-
// Sort images by name in
|
177
|
+
// Sort images by name in descending order. The names contain the AMI version, formatted as YYYY.MM.Ver.
|
178
178
|
images.sort(function(x, y) { return y.Name.localeCompare(x.Name); });
|
179
179
|
for (var j = 0; j < images.length; j++)
|
180
180
|
{
|
data/lib/sumomo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sumomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Siaw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|