awspec 0.37.5 → 0.37.6

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: f8577550325b5bec35e9c599726320c4f3dc6356
4
- data.tar.gz: 71d0c49688c547c7c9a58e5bff132426ed5057ae
3
+ metadata.gz: e41aa3a594513744d431ace78f7d9b5cbe48d19a
4
+ data.tar.gz: dd884ee9d4e1ab1f7f6150e8062d6c69bbd47ab5
5
5
  SHA512:
6
- metadata.gz: 53a3aa743068f51ca2f961fa2752615f11a55de454f5cac7e9393af3a96519962dee0a0612ece16b278ce65887da9c50f75f224b867e69dbea1a888dc558f2c9
7
- data.tar.gz: f747005fa3228e3fe61ebea576b7b02490b6a0365655d52fd6b78b76046c08ee491e4aab3f026bf8d689b883c872ed69113d983bedc50f635a709b41fa77843d
6
+ metadata.gz: 328b137ab36fc507b7341e855adc1d9acdfe6eed115c50390ee08b57ffb6c07cb6281f7762596df40191c1ffe17f2cf8aa230fcb411601a60dc6b61678a8f9a7
7
+ data.tar.gz: 2afdbbf071997f119ebeae58b3e69a8db54a2cc6172135953f3ac8ece326e6825a27a0530f56cadea7c7e5745b865e52e7604766963f978bf5ec98a7b43e80aa
@@ -70,7 +70,8 @@ module Awspec::Type
70
70
 
71
71
  def has_events?
72
72
  status = find_ec2_status(@id)
73
- !status.nil?
73
+ return false if status.nil?
74
+ status.events.count > 0
74
75
  end
75
76
  end
76
77
  end
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.37.5'
2
+ VERSION = '0.37.6'
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: 0.37.5
4
+ version: 0.37.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW