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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbc4c4d5b2ac3c6cfda56f6d7582b6c2e4b0814d
4
- data.tar.gz: 6a260d8a28ed5df45fd14de2140aa0de0f6ef577
3
+ metadata.gz: c6c3862edc2b96903f2457b6c7cb31befdb32c7b
4
+ data.tar.gz: 4174731b56ae910ebd531b92e00d01c1b02f47f4
5
5
  SHA512:
6
- metadata.gz: e37e0ac83457d83c0c5d41676830097c5ccd6f24ae5cc636533d2c2bb54a2f7706f387ec9af97a458a332a198b90189fd4263ec3411fb07a75db56cd0db25107
7
- data.tar.gz: 135cc559ee24611b6f1ccab198445ea7a8efe2df7339c12409e5547a5c3ea0a1ae22d61a640b2a6703b1bb9e7c36af15d1f05fc2103d43d222bcd8fe9a978450
6
+ metadata.gz: a9d4f9d3a3ac85805a4eaa2e810ae8c000308439a25bf1fa5046748f0a2a309a335d1cce420456fd321261ffc6547ff9377d773adab315bc7f266cd5edff0a86
7
+ data.tar.gz: d2c81db2fd65cccb1a901096973c60d02dd26b60f49743435e03c0bc93fc58d7a16f2f90349b8593735e991ad1308007768793ccfa9d7c5cd09e48d45b38a1df
@@ -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 to be
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
- cmd.exit_status = exit_status if exit_status
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
 
@@ -1,3 +1,3 @@
1
1
  module SSHKit
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
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.0
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.4.3
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