elastic_whenever 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: e0e7d05777768c016d7e92ae3791eea3511113f15f2978f38769d7e6aba9f55b
4
- data.tar.gz: 95bd85ba0b94bfcdb5415c67e2c3791158c545c162c495d188a425c4b2381022
3
+ metadata.gz: 2acb9a47149651251063b2f1bcd457067f75cfd603db66ec252bfc367c923d3b
4
+ data.tar.gz: e6588eb7b07de1e9aa3b252c2da6858637346e8334a179d3dfbbc4a87d13211e
5
5
  SHA512:
6
- metadata.gz: 9a937e60f02d79654c12b37dc1fe8136ff6e29f1bc40717b483fd1fb57bb0e97041a59f91f6d19cb76ef01c053d4505d3a5753ef8452c6a693a01316a511ec76
7
- data.tar.gz: eb8131af0486713cd3e10cae6c9a3f7f6092a4b99736564a86515f1d6c97ed3131fdb391ac00a42193bcbffbb44d59e118cec9e69a4d896369c01dcff1171159
6
+ metadata.gz: 7f5497d55ce4b2c6f8a62742f4902c291009fe3d60ed630f61a37a8088939dbc93e4d5072849f4dc87e61218572ac88cd19f551e45b4b166f56086cf6c8a5b4f
7
+ data.tar.gz: 68df187c4e639557fec8a3ecb22f19832cea79976bdae70d4107eaa65df965e45ab7e30f9b2b8192c84c05284b5c5cf5fad9f409275ac098c2cc8fc390a2786c
@@ -1,3 +1,9 @@
1
+ # v0.3.2 (2018-06-25)
2
+
3
+ ## BugFix
4
+
5
+ - fix: `Task::Role#exists?` always return true ([#33](https://github.com/wata727/elastic_whenever/pull/33))
6
+
1
7
  # v0.3.1 (2018-06-25)
2
8
 
3
9
  ## BugFix
@@ -20,7 +20,9 @@ module ElasticWhenever
20
20
  end
21
21
 
22
22
  def exists?
23
- !!role
23
+ !!arn
24
+ rescue Aws::IAM::Errors::NoSuchEntity
25
+ false
24
26
  end
25
27
 
26
28
  def arn
@@ -49,4 +51,4 @@ module ElasticWhenever
49
51
  end
50
52
  end
51
53
  end
52
- end
54
+ end
@@ -1,3 +1,3 @@
1
1
  module ElasticWhenever
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_whenever
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuma Watanabe