sshkit 1.7.0 → 1.7.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/sshkit/backends/netssh.rb +5 -2
- data/lib/sshkit/version.rb +1 -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: c6c3862edc2b96903f2457b6c7cb31befdb32c7b
|
|
4
|
+
data.tar.gz: 4174731b56ae910ebd531b92e00d01c1b02f47f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9d4f9d3a3ac85805a4eaa2e810ae8c000308439a25bf1fa5046748f0a2a309a335d1cce420456fd321261ffc6547ff9377d773adab315bc7f266cd5edff0a86
|
|
7
|
+
data.tar.gz: d2c81db2fd65cccb1a901096973c60d02dd26b60f49743435e03c0bc93fc58d7a16f2f90349b8593735e991ad1308007768793ccfa9d7c5cd09e48d45b38a1df
|
data/CHANGELOG.md
CHANGED
|
@@ -5,8 +5,12 @@ appear at the top.
|
|
|
5
5
|
|
|
6
6
|
## `master` (Unreleased)
|
|
7
7
|
|
|
8
|
-
* Add your entries here, remember to credit yourself however you want
|
|
9
|
-
credited!
|
|
8
|
+
* Add your entries below here, remember to credit yourself however you want
|
|
9
|
+
to be credited!
|
|
10
|
+
|
|
11
|
+
## 1.7.1
|
|
12
|
+
|
|
13
|
+
* Fix a regression in 1.7.0 that caused command completion messages to be removed from log output. @mattbrictson
|
|
10
14
|
|
|
11
15
|
## 1.7.0
|
|
12
16
|
|
|
@@ -150,7 +150,6 @@ module SSHKit
|
|
|
150
150
|
end
|
|
151
151
|
chan.on_request("exit-status") do |ch, data|
|
|
152
152
|
exit_status = data.read_long
|
|
153
|
-
output << cmd
|
|
154
153
|
end
|
|
155
154
|
#chan.on_request("exit-signal") do |ch, data|
|
|
156
155
|
# # TODO: This gets called if the program is killed by a signal
|
|
@@ -175,7 +174,11 @@ module SSHKit
|
|
|
175
174
|
end
|
|
176
175
|
ssh.loop
|
|
177
176
|
end
|
|
178
|
-
|
|
177
|
+
# Set exit_status and log the result upon completion
|
|
178
|
+
if exit_status
|
|
179
|
+
cmd.exit_status = exit_status
|
|
180
|
+
output << cmd
|
|
181
|
+
end
|
|
179
182
|
end
|
|
180
183
|
end
|
|
181
184
|
|
data/lib/sshkit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sshkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Hambley
|
|
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
227
227
|
version: '0'
|
|
228
228
|
requirements: []
|
|
229
229
|
rubyforge_project:
|
|
230
|
-
rubygems_version: 2.
|
|
230
|
+
rubygems_version: 2.2.2
|
|
231
231
|
signing_key:
|
|
232
232
|
specification_version: 4
|
|
233
233
|
summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby
|