miab 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/miab.rb +2 -3
- metadata +1 -21
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6911c70d764bfa7d9de2c494403828fbc38c4ffeb85fe7a26db923a898b678b
|
4
|
+
data.tar.gz: 0426ee0f211bc6f7f379acfedb468bb0e6930740e725ef0272b450ba9afc08bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11d6a71ba658ce25b2b3648b4b2587b3d8912bb5053c3bc9f1a39eafe5127f0e9a97dedde121ee63eec9aa49de7a327fff076159ff94524cf2a1b60b43ef6c4e
|
7
|
+
data.tar.gz: 2ca3773b2c9a3c8acf3fba76ae8fc076d788dccfb4cab21cd163cc1c3c2de16cb733e15453409d3f16772fe7646c765ff59799634d83277741e3a3ce60a3f024
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/miab.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
require 'net/ssh'
|
9
9
|
require 'c32'
|
10
|
-
require '
|
10
|
+
require 'resolv'
|
11
11
|
|
12
12
|
|
13
13
|
class Miab
|
@@ -131,8 +131,7 @@ class Miab
|
|
131
131
|
#
|
132
132
|
def ping()
|
133
133
|
|
134
|
-
|
135
|
-
ip = resolver.getaddress(@host)
|
134
|
+
ip = Resolv.getaddress(@host)
|
136
135
|
puts ('ip: ' + ip.inspect).debug if @debug
|
137
136
|
valid = pingecho(ip)
|
138
137
|
puts ('valid: ' + valid.inspect).debug if @debug
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -77,26 +77,6 @@ dependencies:
|
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0.2'
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: resolve-hostname
|
82
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
-
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 0.1.0
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.1'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.0
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0.1'
|
100
80
|
description:
|
101
81
|
email: james@jamesrobertson.eu
|
102
82
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|