RubyGems
npm
Organizations
Log in
Sign up
RubyGems
ddis
Versions diffs
1.2.3 → 1.2.4
ddis 1.2.3 → 1.2.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/ddis.rb
+1
-1
metadata
+1
-1
data/lib/ddis.rb
CHANGED
@@ -46,7 +46,7 @@ class DDis
46
46
@db.up_no_dns( ip )
47
47
end
48
48
49
-
if not up and hostname !~ /#{@unass}/
49
+
if not up and
(
hostname !~ /#{@unass}/
and ! hostname.nil? )
50
50
warn "#{ip} is down yet has a hostname set" if @verbose
51
51
@db.down_with_dns( ip )
52
52
end
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: ddis
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.2.
3
4
+
version: 1.2.
4
5
5
prerelease:
6
6
platform: ruby
7
7
authors: