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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 586c4ec80c2cc188c916a5f786142ed5be2be512
4
- data.tar.gz: a410ec10bb30dcfe8ac2f1102231d3167d32b45b
3
+ metadata.gz: fbea088b18d1d597a49eb689dddb2c36835ddd99
4
+ data.tar.gz: 5573fbe8afdaf353610e74c9460347f389bb6787
5
5
  SHA512:
6
- metadata.gz: 71627061aa7f2c6129a46b51b21ba14ce3961a40a175411746213fddaa95fa31ca9905cf47e533bbd01334649c94fe21b3c69f12f3f896dd4b49e3e3e831d6ef
7
- data.tar.gz: ea2549440da236a8e05cff355578a8a3561328211f24bb153a0b0684bb41c616b67c0853089ee9b8457d4f3870a6da7d59f890940eaacb4f8a867be6321c3439
6
+ metadata.gz: 36948cb65b58253f622b0153bb1eb0c63a7342ef5d2e0d8f41ab9951e4187d4a9e1195fa872adf57166530a0be84283f2103d1d03d21b11cf615a22f1355f976
7
+ data.tar.gz: 81a7993fbf4ba544ea6babc272d47284c3ce8e309e0a43a5685b3a802322cd6659a6547b175ba509da40e4a04b2a91f6423d7f2316e25c5db5c779fddd2143e9
@@ -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.first.status == 'ACTIVE'
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
 
@@ -1,3 +1,3 @@
1
1
  module Mikoshi
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
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.2
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-08 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport