mikoshi 0.1.2 → 0.1.3
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 +3 -3
- 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: fbea088b18d1d597a49eb689dddb2c36835ddd99
|
4
|
+
data.tar.gz: 5573fbe8afdaf353610e74c9460347f389bb6787
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36948cb65b58253f622b0153bb1eb0c63a7342ef5d2e0d8f41ab9951e4187d4a9e1195fa872adf57166530a0be84283f2103d1d03d21b11cf615a22f1355f976
|
7
|
+
data.tar.gz: 81a7993fbf4ba544ea6babc272d47284c3ce8e309e0a43a5685b3a802322cd6659a6547b175ba509da40e4a04b2a91f6423d7f2316e25c5db5c779fddd2143e9
|
data/lib/mikoshi/plan/service.rb
CHANGED
@@ -26,10 +26,10 @@ 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.
|
30
|
-
update_service
|
31
|
-
else
|
29
|
+
if resp.services.empty?
|
32
30
|
create_service
|
31
|
+
else
|
32
|
+
update_service
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
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.3
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|