lib/whois/domain/int.rb in jm81-whois-0.6.0 vs lib/whois/domain/int.rb in jm81-whois-0.7.0

- old
+ new

@@ -6,18 +6,18 @@ ATTR_NAMES = { :created_on => 'created', :updated_on => 'changed', :name_servers => 'nserver' } - + def registrar_name ".int Domain Registry (IANA)" end - + def available? - @raw =~ /domain: INT/ + @raw =~ /returned 0 objects/ end - + def name_servers # Remove IP address. super.collect{ |ns| ns.match(/\A([\S]*)\s/)[1] } end end \ No newline at end of file