lib/reversed.rb in reversed-0.3.0 vs lib/reversed.rb in reversed-0.4.0
- old
+ new
@@ -1,7 +1,12 @@
-require "reversed/version"
+# dependencies
require "net/dns"
+
+# stdlib
require "ipaddr"
+
+# modules
+require "reversed/version"
module Reversed
def self.lookup(ip, timeout: 5, nameservers: nil)
ip = ip.to_s
unless ip.empty?