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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f55a97e81e82e74208daba1ab739870e2d20a69a24f1399ecc26d311fd7758b5
4
- data.tar.gz: 9365c7761a511133a1489f48d8f925d969972735fcd5204b439c047f85fa852a
3
+ metadata.gz: c6911c70d764bfa7d9de2c494403828fbc38c4ffeb85fe7a26db923a898b678b
4
+ data.tar.gz: 0426ee0f211bc6f7f379acfedb468bb0e6930740e725ef0272b450ba9afc08bb
5
5
  SHA512:
6
- metadata.gz: fc1f8615bb288650541853d281a6096217f2d5960fcb6de3d509012fec1fef88b70095dc8fb81c7aa2e53db2b4920f901318f2e95e28c6949e1513e9388029b3
7
- data.tar.gz: a85242c85b472ca36301579a8439cf6557a0cda61bc8709256624d66d842e218a0a6f661cf6339090e26356aea4704c7cff4cd7420812216285be7d0f155fb76
6
+ metadata.gz: 11d6a71ba658ce25b2b3648b4b2587b3d8912bb5053c3bc9f1a39eafe5127f0e9a97dedde121ee63eec9aa49de7a327fff076159ff94524cf2a1b60b43ef6c4e
7
+ data.tar.gz: 2ca3773b2c9a3c8acf3fba76ae8fc076d788dccfb4cab21cd163cc1c3c2de16cb733e15453409d3f16772fe7646c765ff59799634d83277741e3a3ce60a3f024
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -7,7 +7,7 @@
7
7
 
8
8
  require 'net/ssh'
9
9
  require 'c32'
10
- require 'resolve/hostname'
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
- resolver = Resolve::Hostname.new
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.0
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