net-ssh-simple 1.1.0 → 1.1.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.
- data/README.rdoc +1 -1
- data/lib/net/ssh/simple/core.rb +6 -3
- data/lib/net/ssh/simple/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -9,7 +9,7 @@ Net::SSH::Simple is a simple wrapper around Net::SSH and Net::SCP.
|
|
9
9
|
* All errors are raised as {Net::SSH::Simple::Error}[http://rubydoc.info/gems/net-ssh-simple/Net/SSH/Simple/Error]
|
10
10
|
* Efficient by default; re-uses transport connections where possible
|
11
11
|
* Lots of documentation
|
12
|
-
* 100% test coverage
|
12
|
+
* {100%}[https://busyloop.net/oss/net-ssh-simple/coverage/] test coverage
|
13
13
|
|
14
14
|
== Installation
|
15
15
|
|
data/lib/net/ssh/simple/core.rb
CHANGED
@@ -140,9 +140,9 @@ module Net
|
|
140
140
|
# #
|
141
141
|
# # Here be dragons: Using the event-API for a stdin->stdout pipeline
|
142
142
|
# #
|
143
|
-
# Net::SSH::Simple.sync do
|
143
|
+
# r = Net::SSH::Simple.sync do
|
144
144
|
# # open a shell
|
145
|
-
#
|
145
|
+
# ssh('localhost', '/bin/sh') do |e,c,d|
|
146
146
|
# # e = :start, :stdout, :stderr, :exit_code, :exit_signal or :finish
|
147
147
|
# # c = our Net::SSH::Connection::Channel instance
|
148
148
|
# # d = data for this event
|
@@ -199,7 +199,10 @@ module Net
|
|
199
199
|
#
|
200
200
|
# # Our Result has been populated normally, except for
|
201
201
|
# # :stdout and :stdin (because we used :no_append).
|
202
|
-
# puts r
|
202
|
+
# puts r #=> Net::SSH::Simple::Result
|
203
|
+
# puts r.exit_code #=> 0
|
204
|
+
# puts r.stdout #=> ''
|
205
|
+
# puts r.stderr #=> ''
|
203
206
|
#
|
204
207
|
#
|
205
208
|
# @author moe@busyloop.net
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 1.1.
|
8
|
+
- 1
|
9
|
+
version: 1.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Moe
|
@@ -149,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
hash:
|
152
|
+
hash: 4391388084429679989
|
153
153
|
segments:
|
154
154
|
- 0
|
155
155
|
version: "0"
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
requirements:
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
hash:
|
161
|
+
hash: 4391388084429679989
|
162
162
|
segments:
|
163
163
|
- 0
|
164
164
|
version: "0"
|