ecs_deployer 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac07facef5dba5851576ff9776da5018e819cd4e
4
- data.tar.gz: 0e53206689016b358db1812eeee2688f76ccd169
3
+ metadata.gz: 12a1a6119ccbfa559a988d6a7ccbc3804c8a746d
4
+ data.tar.gz: 6676d951da1365975628e81125c4d22437409094
5
5
  SHA512:
6
- metadata.gz: fb7f658a76ccca3847cba6f95847a334e1f853cba37abd53dde0ce30c9f841c3d57e1fc36779d58175a294a4dfb42adf74ca5a78e766bca13d4d93703fffe85b
7
- data.tar.gz: 0154a9014e4dacbd1ee88bd5fc75fb6d78c98eed149ba37c9672f33a41bbd6fa254a9c4716950e91d2a24b222fc3dc801e3b3625492835cbf482a77f2c4aa3ef
6
+ metadata.gz: cc408464570b09cb10cc4a4be000212be87c6b121d62498566d751ae8104f26f24f1d9468a1ec5e5fe50dd14a637f17b14dacf2cdf8e0908727c23c993163af1
7
+ data.tar.gz: e8ab53a763ea7aba4e88419dbebaee9cce021f027f3200d2e64310f9dc7418288110378989eb81568d9e468d95912cc10e67ce5b0ae2ed26ad78cd69eaebd4e7
@@ -13,12 +13,10 @@ module EcsDeployer
13
13
  attr_accessor :timeout, :pauling_interval
14
14
 
15
15
  # @param [Hash] aws_options
16
- # @option aws_options [String] :profile
17
- # @option aws_options [String] :region
18
- # @param [RuntimeCommand::Builder] runtime
16
+ # @param [Hash] runtime_options
19
17
  # @return [EcsDeployer::Client]
20
- def initialize(aws_options = {}, runtime = nil)
21
- @runtime = runtime || RuntimeCommand::Builder.new
18
+ def initialize(aws_options = {}, runtime_options = {})
19
+ @runtime = RuntimeCommand::Builder.new(runtime_options)
22
20
  @cli = Aws::ECS::Client.new(aws_options)
23
21
  @kms = Aws::KMS::Client.new(aws_options)
24
22
  @timeout = 600
@@ -190,7 +188,7 @@ module EcsDeployer
190
188
  raise TaskDesiredError, 'Task desired by service is 0.' if service_status[:desired_count].zero?
191
189
 
192
190
  wait_time = 0
193
- @runtime.puts 'Start deploing...'
191
+ @runtime.puts 'Start deploying...'
194
192
 
195
193
  loop do
196
194
  sleep(@pauling_interval)
@@ -1,3 +1,3 @@
1
1
  module EcsDeployer
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecs_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - naomichi-y
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: runtime_command