lib/whois.rb in jm81-whois-0.5.0 vs lib/whois.rb in jm81-whois-0.6.0
- old
+ new
@@ -1,9 +1,11 @@
-require 'socket'
-require 'date'
-require 'time'
-
-module Whois
- VERSION = '0.5.0'
-end
-
-require 'whois/domain'
+require 'socket'
+require 'date'
+require 'time'
+
+module Whois
+ class LookupRestricted < StandardError
+ end
+end
+
+require 'whois/version'
+require 'whois/domain'