contexto 0.4.0 → 0.4.1

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: c9d853b62cb8229724967564e62e2859f8beca0f
4
- data.tar.gz: c432ccfaa18265460d64091e55c4cb35576c4306
3
+ metadata.gz: 48444280a564bf1eb111bc211f2ea5daa4dc23a0
4
+ data.tar.gz: 534754a84c0c1b4c0bbb59eead9cb3544fec522e
5
5
  SHA512:
6
- metadata.gz: 04c68752563ed98910f38857298457ab690a5e09f6bab7797409226747b9bf874c949a284c3f24bde25b3ffc56cff875bce93fd364f2f3d8b2bab264af22aa55
7
- data.tar.gz: a52c31323a4499e5869f37f19195c67d72335b11c1290a2d6d900e2926354725219014cd6bbb9f0c098be2abe8a8df872d964059fc72a00f2f2929e7a9130a8b
6
+ metadata.gz: 6e8bbb22f5fe0304559ac71b00ba7244889228121b828dcc09d44e6c59e46ec7fb37cba743c068bf9d91e39197981bb70bd425733d59964217e490219bc247cb
7
+ data.tar.gz: c69ab314bfe1d2000dafb99bac83b100b3664bdca416855a68a84d7d0a9944ae563442c6de9f738ca0292107a794ab0044c10b90c195e39322a1c07c7c459b8b
data/README.md CHANGED
@@ -59,7 +59,10 @@ Do you want to connect to container sidekiq? :
59
59
  Please choose a connection type?
60
60
  ```
61
61
 
62
- You can get Contexto to connect via SSH to a Bash shell, or a Rails console.
62
+ You can get Contexto to connect via SSH to a Bash shell, or a Rails
63
+ console. If you're using SSH you'll need to add a key allowing access to
64
+ the specific ECS hosts. This is usually the key used when you created
65
+ the cluster.
63
66
 
64
67
  You can also specify a cluster and service to take a shortcut to a
65
68
  specific set of containers.
data/bin/contexto CHANGED
@@ -16,10 +16,14 @@ optparse = OptionParser.new do |opts|
16
16
  opts.banner = 'Usage: contexto [options]'
17
17
  opts.on('-c', '--cluster CLUSTER', 'Cluster') { |v| options[:cluster] = v }
18
18
  opts.on('-s', '--service SERVICE', 'Service') { |v| options[:service] = v }
19
- opts.on_tail("-h", "--help", "Show this message") do
19
+ opts.on_tail('-h', '--help', 'Show this message') do
20
20
  puts opts
21
21
  exit
22
22
  end
23
+ opts.on_tail('-v', '--version', 'Show version') do
24
+ puts Contexto::VERSION
25
+ exit
26
+ end
23
27
  end
24
28
 
25
29
  begin
data/contexto.gemspec CHANGED
@@ -21,8 +21,9 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'aws-sdk', '~> 2'
23
23
  spec.add_dependency 'command_line_reporter'
24
- spec.add_dependency 'net-ssh-gateway'
24
+ spec.add_dependency 'dotenv'
25
25
  spec.add_dependency 'highline'
26
+ spec.add_dependency 'net-ssh-gateway'
26
27
 
27
28
  spec.add_development_dependency 'bundler', '~> 1.14'
28
29
  spec.add_development_dependency 'pry', '~> 0.10.4'
@@ -1,4 +1,4 @@
1
1
  # Contexto version
2
2
  module Contexto
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.4.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contexto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Turnbull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: net-ssh-gateway
42
+ name: dotenv
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: net-ssh-gateway
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -167,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
181
  version: '0'
168
182
  requirements: []
169
183
  rubyforge_project:
170
- rubygems_version: 2.6.13
184
+ rubygems_version: 2.6.14
171
185
  signing_key:
172
186
  specification_version: 4
173
187
  summary: Shows you context for ECS services and containers.