ztk 1.6.29 → 1.6.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjIwODhiMDEyZjNkNmEwNDZkNGE4MjA0NWU5MTQ3MjUwNjUzNmYwMw==
4
+ NWQxOGYzNTBiMmJmZjI0ZTM4YzZlZjRlMGQ0NDMzODJmNmQ0MDBjYQ==
5
5
  data.tar.gz: !binary |-
6
- ODFmN2EyOWIxNDEwYjhjZTczOGRlMjc0Y2RiMzg3MjQ5NWJkNGI3Yg==
6
+ YWQzMjAzOTZjYWQzY2U4YTgwYmI3ZjY2Mjg1ZmRhMzdkM2JiMTZkMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTczNTQ1ZTI4NTU5YmExMDdhNzI1YzVmOWUyODM1N2JlNDUyN2M5OTEzZTJk
10
- NDE2ZDI1ZjBjNjM3MjkyZmNjOTM1MjQ4NWJlZjIzNmMxODcxNDk2NWY5Yzcw
11
- MmY5YTZlYTc5MDJhMzM3YTlhYjdmMThjNmZhZTkyNmU1M2MxMDA=
9
+ ZjQ1MmU3Mzk4ZDVkZjlmMDI3MGQ5MTE5ZmRjNzQ4NjJjZDJmN2E3MzVkZWUw
10
+ MzcyMmRiNzI5YjZhOTlkMWUxMWM1NDcxMzA0MDNjMTdiYTY5NzgwOWNiODA1
11
+ MThhNzI0ZDg3YjZhMDE3NmU0YTBiOTQ2OTI4MzE3ZTIxMDVmNmQ=
12
12
  data.tar.gz: !binary |-
13
- OWFhY2E3ZmQzYmZiZWFkOWUwZjcwZGU0YjY1NzhlNjA5YTFhZjJkZmU0MGQ1
14
- NGQ0YjUwY2E2NDliNGI5YTQyYzUzMzM3Yjc0MTZiZWQ3ZjBmYTUzY2E5OGZk
15
- ZmJmNmVlOWZkNjc2ZGNiNzkwZjNkNWVmOTAxNDc1MmNkZjM3OTI=
13
+ NDQ5OWVlNGYzOWI2MmI5NzYyOTY1ZmRkYTk3MTM5MTMwMzljMjA3MjNlYzUx
14
+ MzBmZWYyNmUwZTk5MWVmNWZjMmFmMjM0NWE5MDFiNjQ2MzFiYWNiMjE5N2Jl
15
+ NTk5ZWE2OTNjMjBjMGI0OTlkMmYxODdmMDNlZDU4MDY4ZDllOGQ=
@@ -24,12 +24,20 @@ module ZTK
24
24
  def close
25
25
  config.ui.logger.debug { "close" }
26
26
 
27
- if (@ssh && !@ssh.closed?)
27
+ if (!@ssh.nil? && !@ssh.closed?)
28
+ config.ui.logger.debug { "SSH object is valid and not closed" }
29
+
28
30
  begin
31
+ config.ui.logger.debug { "attempting to close" }
29
32
  @ssh.close
30
- rescue EOFError
31
- # NOOP
33
+ config.ui.logger.debug { "closed" }
34
+
35
+ rescue Exception => e
36
+ config.ui.logger.fatal { "EXCEPTION: #{e.inspect}" }
32
37
  end
38
+
39
+ else
40
+ config.ui.logger.debug { "SSH object is NIL!" }
33
41
  end
34
42
 
35
43
  @ssh = nil
@@ -1,6 +1,6 @@
1
1
  module ZTK
2
2
 
3
3
  # ZTK Version String
4
- VERSION = "1.6.29"
4
+ VERSION = "1.6.30"
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.29
4
+ version: 1.6.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Patten