mikoshi 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mikoshi/plan/service.rb +1 -1
- data/lib/mikoshi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 972936670f9943f6febe1c3278f20748aa177f08
|
4
|
+
data.tar.gz: 331e305bc5ec739f49bda2760d3e84bee31172e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a519d1baabe7e96840b95243c545fa8c9f9a28ed29a294f6d3edd0de1f20dbaaed643f212aba9c83cbf0fc2fc7f0615cf235d9e76fb771ebccdfe3de7acf986b
|
7
|
+
data.tar.gz: c2485c56e97703e1204f347b74319a8cd327e765d105495a6d1876a879c1dda79e7289344147fc09217228beccbda37ff97ded95971f239cf4712609f77ec475
|
data/lib/mikoshi/plan/service.rb
CHANGED
@@ -26,7 +26,7 @@ module Mikoshi
|
|
26
26
|
|
27
27
|
def deploy_service
|
28
28
|
resp = @client.describe_services(cluster: @data[:cluster], services: [@data[:service]])
|
29
|
-
if resp.services.empty?
|
29
|
+
if resp.services.empty? || resp.services.first.status == 'INACTIVE'
|
30
30
|
create_service
|
31
31
|
else
|
32
32
|
update_service
|
data/lib/mikoshi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mikoshi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|