sport_ngin_aws_auditor 3.11.2 → 3.11.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d0f76d7c93a5ec23dfbc04f861ea9f1bae8e32a
|
4
|
+
data.tar.gz: 5f9f2299fc81a61bcffe6d5e15a22d167a880de7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be355e56498bb4b5d63b3f4031f7b5b3b947b0c555410edd1d5ec133c4fdb01b345f8465da37d3fcd6e76b39818fa5a997f244d8ba796c6a0f41769501f2452c
|
7
|
+
data.tar.gz: 6b1013de4972e1bfadbe884606f897a1ed8afbebae32069188da0782b152893bdc14e7282ee05dd75edf56e693aa0e3714c4e1f235e20c6c9ac0804d3d5f4ec3
|
data/CHANGELOG.markdown
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
#### v3.11.3
|
2
|
+
* Missed this bug because I did not test previous bug's fix in Slack
|
3
|
+
|
4
|
+
> Emma Sax: Unknown User: https://github.com/sportngin/sport_ngin_aws_auditor/pull/30
|
5
|
+
|
1
6
|
#### v3.11.2
|
2
7
|
* We actually do not want to cache the counts of instances and reserved instances between multiple runs
|
3
8
|
|
@@ -58,7 +58,7 @@ module SportNginAwsAuditor
|
|
58
58
|
def add_additional_instances_to_hash(instances_to_add, instance_hash, extra_string)
|
59
59
|
instances_to_add.each do |instance|
|
60
60
|
next if instance.nil?
|
61
|
-
key = instance.to_s.dup
|
61
|
+
key = "#{instance.to_s.dup}#{extra_string}#{instance.name})"
|
62
62
|
instance_result = {}
|
63
63
|
|
64
64
|
if instance_hash.has_key?(instance.to_s) && instance_hash[instance.to_s][:count] > 0
|
@@ -85,7 +85,7 @@ module SportNginAwsAuditor
|
|
85
85
|
# and size = 't2.small'
|
86
86
|
size = my_match[2] if my_match
|
87
87
|
|
88
|
-
n =
|
88
|
+
n = "#{platform}#{audit_results.region} #{size}"
|
89
89
|
say "#{n} (#{ri.count}) on #{ri.expiration_date}"
|
90
90
|
else
|
91
91
|
say "#{ri.to_s} (#{ri.count}) on #{ri.expiration_date}"
|
@@ -209,7 +209,7 @@ module SportNginAwsAuditor
|
|
209
209
|
# and size = 't2.small'
|
210
210
|
size = my_match[2] if my_match
|
211
211
|
|
212
|
-
name = platform
|
212
|
+
name = "#{platform}#{audit_results.region} #{size}"
|
213
213
|
else
|
214
214
|
name = ri.to_s
|
215
215
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sport_ngin_aws_auditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.11.
|
4
|
+
version: 3.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Hursh
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-12-
|
13
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|