Sinatra app (in pure Ruby) wrapping MaxMind's GeoIP City database