Ruby gem for comparing multiple ranges of IP numbers