oxidized-ssh 0.1.2.4 → 0.1.2.5

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: 33933968412841eff24b7cf1716f3d1258e8d166
4
- data.tar.gz: 6277af8a34384888d25491caf015c56bbacbc79f
3
+ metadata.gz: 660b4cbcfd374cdff3bb48e66bd54798c2ff9436
4
+ data.tar.gz: b1b896c73c46b27ebb577035c0c96e1be29b3873
5
5
  SHA512:
6
- metadata.gz: eab66b7a5d87c18f9eac17d2762b641ddad36fe9cdc03d4dddefc011bfc4bae621b866019980a633b359f7ef409782481fc2b27042c192a9f3823b9592766120
7
- data.tar.gz: bd085bea071b4328ca3a8779f803c7ca0fd6da47a63f7239a10334352afc1731ed01fb07fab5f4fc8d31a9bdd34ab0caa23b6df7aec3453f49f901a1cb0dd77d
6
+ metadata.gz: ddcc8e5c54088738f09e5cd7c61d96dcab01f56b2911a6c23754a8e9a1d5b390de66ecb94d0249bc4f06671c95c9b8605dc27f13f9b3f1d3cb394b6099c9d390
7
+ data.tar.gz: d201c8cb157ef5a1a8c69ee806c1953cec22428affbde6e7f7a8a8bb877c0d3bf0e672b0ce08c7822349f714b7ad6b1d669f7d0be47443bc71ab606ec965bd0e
data/lib/oxidized/ssh.rb CHANGED
@@ -45,10 +45,11 @@ module Oxidized
45
45
  end
46
46
 
47
47
  def exec(params)
48
- @logger.debug "sending command #{params} with expectation of #{@prompt}" if @debug
49
48
  if @exec
50
- @connection.exec!(params)
49
+ @logger.debug "sending exec command #{params}"
50
+ @output = @connection.exec!(params)
51
51
  else
52
+ @logger.debug "sending command #{params} with expectation of #{@prompt}" if @debug
52
53
  collect_output(params)
53
54
  end
54
55
  end
@@ -1,5 +1,5 @@
1
1
  module Oxidized
2
2
  module Ssh
3
- VERSION = "0.1.2.4"
3
+ VERSION = "0.1.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.4
4
+ version: 0.1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Schylar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh