sport_ngin_aws_auditor 3.11.0 → 3.11.1
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: a87a5662cac1e058dc24bd10461c438d7d67681a
|
4
|
+
data.tar.gz: 66e2e758d04513a1ea34f448a61837c11a0fc4eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eaa4a8aab67724614ef8e44698982387b358b82881c489e2928d6a70f6db204dfdc7ef99aefb0d9405e55ed86bd400f0b35d57956a01f143ed44193e154dd57
|
7
|
+
data.tar.gz: 9ba84bb48f74f5ad69875ede9004696033afecb739113f49090c3b585d8f8558b458d55834e6c79ba88e800c471bd6ef7a8e2ae46c453240ee1a907677144c86
|
data/CHANGELOG.markdown
CHANGED
@@ -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 << extra_string << instance.name << ")"
|
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
|
@@ -25,16 +25,19 @@ module SportNginAwsAuditor
|
|
25
25
|
tag_name = options[:tag]
|
26
26
|
end
|
27
27
|
|
28
|
-
ignore_instances_patterns = options[:ignore_instances_patterns].split(', ') if options[:ignore_instances_patterns]
|
29
28
|
ignore_instances_regexes = []
|
30
|
-
ignore_instances_patterns
|
31
|
-
|
29
|
+
if options[:ignore_instances_patterns]
|
30
|
+
ignore_instances_patterns = options[:ignore_instances_patterns].split(', ')
|
31
|
+
ignore_instances_patterns.each do |r|
|
32
|
+
ignore_instances_regexes << Regexp.new(r)
|
33
|
+
end
|
32
34
|
end
|
35
|
+
|
33
36
|
zone_output = options[:zone_output]
|
34
37
|
|
35
38
|
cycle = [["EC2Instance", options[:ec2]],
|
36
|
-
|
37
|
-
|
39
|
+
["RDSInstance", options[:rds]],
|
40
|
+
["CacheInstance", options[:cache]]]
|
38
41
|
|
39
42
|
if !slack
|
40
43
|
print "Gathering info, please wait..."; print "\r"
|
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.1
|
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-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|