as-combined-metrics 1.0.3 → 1.0.4

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: b09fe34d776f7b3f7d74981e5083628ca797970b
4
- data.tar.gz: 47410ce48eaa6735e77aea059bc8be0bb00e6298
3
+ metadata.gz: 7e0601f55f5dc5a35826a569e4aabda6cfc573ab
4
+ data.tar.gz: a0e1b3f52d50ab1c3d9532db1c94381c5272c506
5
5
  SHA512:
6
- metadata.gz: 50a835a845f35324d3e99c51d9cd5794dbb3eb7691b680d42e4d4c1b52aad7597443d080fb635527370a2a90828c5bc58241c0a721ef2374d7cf45d5045c7122
7
- data.tar.gz: e70cc9d709f56ed579a5fb29e996dbbe374e56a6079f0274223631326c37b0ceb8ac0b50830b0858f42ae09603640afe93295b72733df3369e5ac7cae7bf81e6
6
+ metadata.gz: 68d288d8af32557e51b3824f167ab81b3c5e6f5f256f7ad3b993aa6dee13428fa8126eecdd05f092cb6e3fa074071a6728f2d0b7aa14efac4712d8532c07987a
7
+ data.tar.gz: 893d83858fcbf4057b6c6a6c315bd441cacd3459759d97e421a0b55140978a83fcc56403737e658fab6823fc02db70e807097505f326e6d89c99dfc882c319bf
@@ -1,5 +1,5 @@
1
1
  module AsCombinedMetrics
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  ABOUT = "as-combined-metrics v#{VERSION} (c) #{Time.now.strftime("2015-%Y")} @innovia"
4
4
 
5
5
  $:.unshift File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib]))
@@ -16,7 +16,7 @@ module AsCombinedMetrics::Cli::CloudFormation
16
16
 
17
17
  if !stack_info.nil?
18
18
  @autoscale_group_name = stack_info.stack_resource_detail.physical_resource_id
19
- if !@autoscale_group_name.empty? || !@autoscale_group_name.nil?
19
+ if !@autoscale_group_name.empty? && !@autoscale_group_name.nil?
20
20
  @config[:autoscale_group_name] ||= []
21
21
  @config[:autoscale_group_name] << @autoscale_group_name
22
22
  File.open(options[:config_file], "w") { |f| f.write(@config.to_yaml) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: as-combined-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ami Mahloof