ssh_scan 0.0.37 → 0.0.38.pre

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
  SHA256:
3
- metadata.gz: 195a5119e3da26d5ec580e04515eaebc535a14a6339876bd1f706613ed7e5e66
4
- data.tar.gz: c3a7c0ed4c3dc3856f947d351fa2fca337c0087ffa35d6bca72718dbdba9f034
3
+ metadata.gz: 58aac2fcecc90ba9f2ad0c148f10e7596a700e6d07257f0ba97808ec6b222ae2
4
+ data.tar.gz: 75c59e14931ddc0d849136ae371f83093eddf429b3919df6d5677b0af4104da8
5
5
  SHA512:
6
- metadata.gz: c12b131fe0ea8f32572479f50ad75325346e4bded4e37b83d73a6405b60d06d3e20657108b1cd61554497896039da0562273c5f91bf95d37ead4c7b74105a67d
7
- data.tar.gz: 35fd82e8beca94d613992d8db2cee74955c822d9bfbaed291bf15d19f73a6acff827c6af5212d35db36cb5374e017272bedfeecd97c1f6b62db4bd462f6ad893
6
+ metadata.gz: 5554e8a633d3a5aac0330956b6bcc0cbeee2f5b340bd6db874088f6120eaa1aad40634120937659df10092fb61878f819878b151715d7bec395d56d488e61f47
7
+ data.tar.gz: c7af58d84e3f90d21c6a47ad9e35c623b8f64443527a705011d75a54403c2d256eccd59998a24e6dfe1d62bba2245e4cbfbfa3fea0314f8d28dfd6b894c661b4
data/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![Build Status](https://secure.travis-ci.org/mozilla/ssh_scan.png)](http://travis-ci.org/mozilla/ssh_scan)
4
4
  [![Code Climate](https://codeclimate.com/github/mozilla/ssh_scan.png)](https://codeclimate.com/github/mozilla/ssh_scan)
5
5
  [![Gem Version](https://badge.fury.io/rb/ssh_scan.svg)](https://badge.fury.io/rb/ssh_scan)
6
- [![Join the chat at https://gitter.im/mozilla-ssh_scan/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mozilla-ssh_scan/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7
6
  [![Coverage Status](https://coveralls.io/repos/github/mozilla/ssh_scan/badge.svg?branch=master)](https://coveralls.io/github/mozilla/ssh_scan?branch=master)
8
7
 
9
8
  A SSH configuration and policy scanner
@@ -126,7 +126,9 @@ module SSHScan
126
126
  cmd = ['ssh-keyscan', '-t', 'rsa,dsa', '-p', port.to_s, target].join(" ")
127
127
 
128
128
  Utils::Subprocess.new(cmd) do |stdout, stderr, thread|
129
- output += stdout
129
+ if stdout
130
+ output += stdout
131
+ end
130
132
  end
131
133
 
132
134
  host_keys = output.split
@@ -1,3 +1,3 @@
1
1
  module SSHScan
2
- VERSION = '0.0.37'
2
+ VERSION = '0.0.38.pre'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssh_scan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.37
4
+ version: 0.0.38.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Claudius
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-01-15 00:00:00.000000000 Z
15
+ date: 2019-01-17 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bindata
@@ -228,9 +228,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  requirements:
231
- - - ">="
231
+ - - ">"
232
232
  - !ruby/object:Gem::Version
233
- version: '0'
233
+ version: 1.3.1
234
234
  requirements: []
235
235
  rubygems_version: 3.0.2
236
236
  signing_key: