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: 9b78fd1868472a038023d6d6ff2e308514871566
4
- data.tar.gz: 542d43dc284773ad7a2c7392faeae7c8211ab384
3
+ metadata.gz: 8d0f76d7c93a5ec23dfbc04f861ea9f1bae8e32a
4
+ data.tar.gz: 5f9f2299fc81a61bcffe6d5e15a22d167a880de7
5
5
  SHA512:
6
- metadata.gz: 7f6705c31e48c9fbfcd38282ecf6e6a2fbbddd522150b6d8b3c007c0e2219e8f49b5f34b34fcfbd4b6bf0fe1ec9ae913c72ee82948dfb26b8ff346c52b6eef50
7
- data.tar.gz: 5bf312a33b03a9fe3fe0e0bccb8965eddac50f48e3da5f08ee9bfddda08a52d1157ea38e12c4d85c3a1b28ea85fc66e984b72d29df8e26e20797012afa4b2726
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 << 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
@@ -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 = (platform || "") << (audit_results.region || "") << ' ' << size
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 << audit_results.region << ' ' << size
212
+ name = "#{platform}#{audit_results.region} #{size}"
213
213
  else
214
214
  name = ri.to_s
215
215
  end
@@ -1,3 +1,3 @@
1
1
  module SportNginAwsAuditor
2
- VERSION = "3.11.2"
2
+ VERSION = "3.11.3"
3
3
  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.2
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-16 00:00:00.000000000 Z
13
+ date: 2016-12-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: aws-sdk