ipscanner 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ipscanner.rb +2 -2
  2. metadata +1 -1
@@ -16,8 +16,8 @@ class IPScanner
16
16
  def self.pingecho(host, timeout=5, service="echo")
17
17
  begin
18
18
  timeout(timeout) do
19
- s = TCPSocket.new(host, service)
20
- s.close
19
+ s = TCPSocket.new(host, service)
20
+ s.close
21
21
  end
22
22
  rescue Errno::ECONNREFUSED
23
23
  return true
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ipscanner
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.5
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson