awspec 1.6.0 → 1.6.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: 466ac768eb0641720229a672cbae08730b832a11
4
- data.tar.gz: 2decb9ea00922203f475721287df0db888702207
3
+ metadata.gz: eed077890929747791c651ec850e49bb86cc01c5
4
+ data.tar.gz: 98cbb2b15a87e15a045ed7fa58928024cf6a0312
5
5
  SHA512:
6
- metadata.gz: d32f2a91e41428d4b91abb9ef3b7a6771e973766258027577cdb6ecd755c1f7a8760ca03bb2457b0b0502276696ba67cbc2519f61b30ad09068dc5cdff1c7e13
7
- data.tar.gz: 8e19b0c7223a42622d914a1ff4d9a690cdbdbcd1f47c26e4a11488a318e6b4094bc7c4176cf035d585d26b286b636886bf0b85ca42463869e1e81d2a121c9b0e
6
+ metadata.gz: f15bb29d18d6864d69318705aea35c1042271a81cc90db9e8a1ffe6e46a1bc4e52639308bb5bd1e138e19386dceaca1353a785eb60a199edf702845566637c41
7
+ data.tar.gz: 76c60ab1bbf7615dee36645d27608c6019644492dc3701b3cd9d48061208e82531ae213a95762ad7740dc0802454377cc3fd95c1779cdd21f3cfa56567405c41
@@ -26,7 +26,9 @@ describe cloudwatch_alarm('<%= alarm.alarm_name %>') do
26
26
  its(:state_value) { should eq '<%= alarm.state_value %>' }
27
27
  its(:statistic) { should eq '<%= alarm.statistic %>' }
28
28
  its(:period) { should eq <%= alarm.period %> }
29
+ <%- if alarm.unit != nil -%>
29
30
  its(:unit) { should eq '<%= alarm.unit %>' }
31
+ <% end -%>
30
32
  its(:evaluation_periods) { should eq <%= alarm.evaluation_periods %> }
31
33
  its(:datapoints_to_alarm) { should eq <%= alarm.datapoints_to_alarm %> }
32
34
  its(:threshold) { should eq <%= alarm.threshold %> }
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW