mikoshi 0.1.4 → 0.1.5

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: 972936670f9943f6febe1c3278f20748aa177f08
4
- data.tar.gz: 331e305bc5ec739f49bda2760d3e84bee31172e8
3
+ metadata.gz: e732444d9107e6409fde22edc4700c1c7ceaad3c
4
+ data.tar.gz: ba803c7452847c673431eab79e2d02b99d748423
5
5
  SHA512:
6
- metadata.gz: a519d1baabe7e96840b95243c545fa8c9f9a28ed29a294f6d3edd0de1f20dbaaed643f212aba9c83cbf0fc2fc7f0615cf235d9e76fb771ebccdfe3de7acf986b
7
- data.tar.gz: c2485c56e97703e1204f347b74319a8cd327e765d105495a6d1876a879c1dda79e7289344147fc09217228beccbda37ff97ded95971f239cf4712609f77ec475
6
+ metadata.gz: 6fccda9380d7deecc83029d0cb2180601bc6949d2997e37d279728ebecbd083a78c66512cf4eee74d9b4bb75e41a319ee12bfc0e471831bbd3463619d3f68e8b
7
+ data.tar.gz: 65224e4c679303011d1a2c85bb77935c72e26023c583f35cd8a3698e513c9b987d71fedd81ec538ef3da4190368be12b2621a8c56bf54b53cc13533382d937a3
data/README.md CHANGED
@@ -49,7 +49,7 @@ Then, invoke those commands.
49
49
  # update task_definition
50
50
  $ mikoshi update_task ping2googledns --region ap-northeast-1
51
51
  Update task definition: ping2googledns
52
- Done update task definition: ping2googledns revison: 6
52
+ Done update task definition: ping2googledns revision: 6
53
53
 
54
54
  # update service
55
55
  $ TASK_REVISION=3 mikoshi update_service ping2googledns
@@ -60,7 +60,7 @@ Update service success
60
60
  # update task_definition and service
61
61
  $ mikoshi deploy -t ping2googledns -s ping2googledns
62
62
  Update task definition: ping2googledns
63
- Done update task definition: ping2googledns revison: 7
63
+ Done update task definition: ping2googledns revision: 7
64
64
  Update service : ping2googledns
65
65
  Waiting for 10 sec...
66
66
  Waiting for 10 sec...
data/lib/mikoshi/cli.rb CHANGED
@@ -23,7 +23,7 @@ module Mikoshi
23
23
  )
24
24
  puts "Update task definition: #{task_name}"
25
25
  task.register_task_definition
26
- puts "Done update task definition: #{task_name} revison: #{ENV['TASK_REVISION']}"
26
+ puts "Done update task definition: #{task_name} revision: #{ENV['TASK_DEF_REVISION']}"
27
27
  end
28
28
 
29
29
  desc 'update_service SERVICE_NAME', 'Update service'
@@ -10,7 +10,7 @@ module Mikoshi
10
10
  super
11
11
 
12
12
  if @data[:task_definition].match(TASK_DEFINITION_WITH_REVISION).nil?
13
- raise ArgumentError, 'task_definition should have revison by numerically.'
13
+ raise ArgumentError, 'task_definition should have revision by numerically.'
14
14
  end
15
15
 
16
16
  @data.store :service_name, @data[:service]
@@ -9,7 +9,7 @@ module Mikoshi
9
9
 
10
10
  def register_task_definition
11
11
  resp = @client.register_task_definition(@data)
12
- ENV['TASK_REVISION'] = resp.task_definition.revision.to_s
12
+ ENV['TASK_DEF_REVISION'] = resp.task_definition.revision.to_s
13
13
  resp
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Mikoshi
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.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.4
4
+ version: 0.1.5
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-15 00:00:00.000000000 Z
11
+ date: 2017-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport