em-ssh 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -4
- data/lib/em-ssh/connection.rb +3 -3
- data/lib/em-ssh/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3a1ab19210a256baf2bea47493401f47a8e524bf6676a65a50e02b27e15c19c4
|
4
|
+
data.tar.gz: 3d029f59612cfa309fe4fdf06795d42ad129dc88fb1f6fdf0da06b526b379ef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6caefc632e97522dfad98b87207a1d58025fd5ac103f69d804ede8bf436b5c520bd926819724d7b68d044efc4a2534f3f9e02e50a25c93bfdb154e38e4092b4e
|
7
|
+
data.tar.gz: 545da96e7d7850af8473d051939563953f8059650bea4d852311c6615ca57d431b5ed94e70b64f7652d0a8a295e12fe57f5b6a045d1f07ef312f22933a946879
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
#EM-SSH
|
1
|
+
# EM-SSH
|
2
2
|
Em-ssh is a net-ssh adapter for EventMachine. For the most part you can take any net-ssh code you have and run it in the EventMachine reactor.
|
3
3
|
|
4
4
|
Em-ssh is not associated with the Jamis Buck's [net-ssh](http://net-ssh.github.com/) library. Please report any bugs with em-ssh to [https://github.com/simulacre/em-ssh/issues](https://github.com/simulacre/em-ssh/issues)
|
5
|
-
##Installation
|
5
|
+
## Installation
|
6
6
|
gem install em-ssh
|
7
7
|
|
8
|
-
##Synopsis
|
8
|
+
## Synopsis
|
9
9
|
|
10
10
|
```ruby
|
11
11
|
require "em-ssh"
|
@@ -61,7 +61,7 @@ end
|
|
61
61
|
|
62
62
|
See [http://net-ssh.github.com/ssh/v2/api/index.html](http://net-ssh.github.com/ssh/v2/api/index.html)
|
63
63
|
|
64
|
-
##Shell
|
64
|
+
## Shell
|
65
65
|
|
66
66
|
Em-ssh provides an expect-like shell abstraction layer on top of net-ssh in EM::Ssh::Shell
|
67
67
|
|
data/lib/em-ssh/connection.rb
CHANGED
@@ -345,11 +345,11 @@ module EventMachine
|
|
345
345
|
def select_host_key_verifier(paranoid)
|
346
346
|
case paranoid
|
347
347
|
when true, nil then
|
348
|
-
Net::SSH::Verifiers::
|
348
|
+
Net::SSH::Verifiers::AcceptNewOrLocalTunnel.new
|
349
349
|
when false then
|
350
|
-
Net::SSH::Verifiers::
|
350
|
+
Net::SSH::Verifiers::Never.new
|
351
351
|
when :very then
|
352
|
-
Net::SSH::Verifiers::
|
352
|
+
Net::SSH::Verifiers::AcceptNew.new
|
353
353
|
else
|
354
354
|
if paranoid.respond_to?(:verify)
|
355
355
|
paranoid
|
data/lib/em-ssh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Crane
|
8
|
+
- kt97679
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2018-07-23 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: eventmachine
|
@@ -28,16 +29,16 @@ dependencies:
|
|
28
29
|
name: net-ssh
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - "
|
32
|
+
- - ">="
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
+
version: 5.0.2
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - "
|
39
|
+
- - ">="
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
+
version: 5.0.2
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: ruby-termios
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,11 +69,11 @@ dependencies:
|
|
68
69
|
version: '1.6'
|
69
70
|
description: ''
|
70
71
|
email:
|
71
|
-
- em-ssh@
|
72
|
+
- em-ssh@gru.is
|
72
73
|
executables:
|
74
|
+
- em-ssh-shell
|
73
75
|
- em-ssh
|
74
76
|
- em-ssh-debug
|
75
|
-
- em-ssh-shell
|
76
77
|
extensions: []
|
77
78
|
extra_rdoc_files: []
|
78
79
|
files:
|
@@ -94,7 +95,7 @@ files:
|
|
94
95
|
- lib/em-ssh/session.rb
|
95
96
|
- lib/em-ssh/shell.rb
|
96
97
|
- lib/em-ssh/version.rb
|
97
|
-
homepage: http://github.com/
|
98
|
+
homepage: http://github.com/gruis/em-ssh
|
98
99
|
licenses:
|
99
100
|
- MIT
|
100
101
|
metadata: {}
|
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
115
|
version: 1.3.6
|
115
116
|
requirements: []
|
116
117
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.7.6
|
118
119
|
signing_key:
|
119
120
|
specification_version: 4
|
120
121
|
summary: An EventMachine compatible net-ssh
|