mikoshi 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mikoshi/cli.rb +7 -1
- data/lib/mikoshi/plan/service.rb +1 -1
- data/lib/mikoshi/plan/task_definition.rb +1 -1
- data/lib/mikoshi/version.rb +1 -1
- data/mikoshi.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93f681dfba8a5e4a2c9d79d9406b4f998bec957d
|
4
|
+
data.tar.gz: bcd39eb5b70014aa56e1074bcdf9506e0df270f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbfece8f9cb93b1cb64f3279ef235c013f143b0b9eb0c1fbfed4b042592a8eb832789413d80022055d10f147de4fcf77f692af23ad0c325cd18bdbb75eb235d9
|
7
|
+
data.tar.gz: b0b8e944dba4af8f540038bcf4df1ee8d96042cd9ff71df47ac2a7bee9d0a7d12453383c7e467433ad5524192313c5ea4f5ab9d8f5c7f219851885c94c86c9c3
|
data/lib/mikoshi/cli.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# rubocop: disable Metrics/AbcSize
|
4
4
|
# rubocop: disable Metrics/ClassLength
|
5
5
|
|
6
|
-
require 'aws-sdk'
|
6
|
+
require 'aws-sdk-ecs'
|
7
7
|
require 'mikoshi/plan'
|
8
8
|
require 'mikoshi/plan/task_definition'
|
9
9
|
require 'mikoshi/plan/service'
|
@@ -43,6 +43,8 @@ module Mikoshi
|
|
43
43
|
version
|
44
44
|
when :help
|
45
45
|
usage
|
46
|
+
else
|
47
|
+
command_is_unkown(command: @options[:command])
|
46
48
|
end
|
47
49
|
end
|
48
50
|
|
@@ -175,6 +177,10 @@ module Mikoshi
|
|
175
177
|
update_service(service_name) if service_name
|
176
178
|
end
|
177
179
|
|
180
|
+
def command_is_unkown(command: nil)
|
181
|
+
warn "'#{command}' is unknown command. Please see help by `mikoshi help`."
|
182
|
+
end
|
183
|
+
|
178
184
|
def aws_client
|
179
185
|
opt =
|
180
186
|
if @options[:region].nil?
|
data/lib/mikoshi/plan/service.rb
CHANGED
data/lib/mikoshi/version.rb
CHANGED
data/mikoshi.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.required_ruby_version = '>= 2.3.0'
|
27
27
|
|
28
28
|
spec.add_dependency 'activesupport', '~> 5'
|
29
|
-
spec.add_dependency 'aws-sdk', '~>
|
29
|
+
spec.add_dependency 'aws-sdk-ecs', '~> 1'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
32
32
|
spec.add_development_dependency 'codacy-coverage'
|
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.
|
4
|
+
version: 0.7.0
|
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-
|
11
|
+
date: 2017-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: aws-sdk
|
28
|
+
name: aws-sdk-ecs
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
169
|
version: '0'
|
170
170
|
requirements: []
|
171
171
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.6.
|
172
|
+
rubygems_version: 2.6.13
|
173
173
|
signing_key:
|
174
174
|
specification_version: 4
|
175
175
|
summary: deploy and manage aws ecs
|