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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbea088b18d1d597a49eb689dddb2c36835ddd99
4
- data.tar.gz: 5573fbe8afdaf353610e74c9460347f389bb6787
3
+ metadata.gz: 972936670f9943f6febe1c3278f20748aa177f08
4
+ data.tar.gz: 331e305bc5ec739f49bda2760d3e84bee31172e8
5
5
  SHA512:
6
- metadata.gz: 36948cb65b58253f622b0153bb1eb0c63a7342ef5d2e0d8f41ab9951e4187d4a9e1195fa872adf57166530a0be84283f2103d1d03d21b11cf615a22f1355f976
7
- data.tar.gz: 81a7993fbf4ba544ea6babc272d47284c3ce8e309e0a43a5685b3a802322cd6659a6547b175ba509da40e4a04b2a91f6423d7f2316e25c5db5c779fddd2143e9
6
+ metadata.gz: a519d1baabe7e96840b95243c545fa8c9f9a28ed29a294f6d3edd0de1f20dbaaed643f212aba9c83cbf0fc2fc7f0615cf235d9e76fb771ebccdfe3de7acf986b
7
+ data.tar.gz: c2485c56e97703e1204f347b74319a8cd327e765d105495a6d1876a879c1dda79e7289344147fc09217228beccbda37ff97ded95971f239cf4712609f77ec475
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Mikoshi
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.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.3
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-09 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport