I already store ip addresses in my database as integers. I would like to be able to do geocoding on these ip addresses without the intermediate step of first converting them to strings. This is good both for code simplicity and performance.
Separate issue: I ran rake ensure_maxmind_files prior to running specs. The database files I fetched contained the new country code you see in c47cd21. I included the change in this PR so that the test suite would be 100% passing.
country code has changed in most recent mmdb file.
support integer ip addresses
If client already has ip addresses as integers, there should be no need to
convert to strings so that maxminddb can re-convert back to integers.
The change looks great. I'll bump up the gem version number to 0.1.2 soon.
Thanks for your contribution!!
Great! Thank you, Yuji.