bcome 0.6.9 → 0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bcome/version.rb +1 -1
- data/lib/ssh.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52610d7514cc0f00c5fae318ec4ea4df718669fb
|
4
|
+
data.tar.gz: 20843e08dc83bc72b4c9ffed7bb73e25d59e6dd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 333c1922e067e4c8175d351134e6613add4880e7ac7eb46ee41c3adc2267f90895f29b11d1837d99f64ffc1d7ef768f5273cb3a5806ec3e438e5b55ce91da15f
|
7
|
+
data.tar.gz: 95274dbe4e7d4774386f0183049e84c0a0d96bd5c9ee083533dd56422ea8a0d663758f096728441eb46d35e75cc114e5820b489b3dd8f70ff9a0bb5d1379aa67
|
data/lib/bcome/version.rb
CHANGED
data/lib/ssh.rb
CHANGED
@@ -21,7 +21,10 @@ class ::Bcome::Ssh
|
|
21
21
|
ssh_keys = command.ssh_keys
|
22
22
|
proxy = command.proxy
|
23
23
|
|
24
|
-
|
24
|
+
net_ssh_params = { :keys => ssh_keys, :paranoid => false }
|
25
|
+
net_ssh_params[:proxy] = proxy if proxy
|
26
|
+
|
27
|
+
::Net::SSH.start(instance.ip_address, ssh_user, net_ssh_params) do |ssh|
|
25
28
|
ssh_exec!(ssh, command)
|
26
29
|
output_append("\n(#{instance.identifier})$".cyan + ">\s#{command.command} (#{command.pretty_result})\n")
|
27
30
|
output_append("#{command.output}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Roderick (Webzakimbo)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|