Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 370 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 370 Bytes

Ruby GeoIP2 compatibility bindings

Implements the new Maxmind database format while keeping the output complatible with https://github.com/mtodd/geoip

Dependencies

This depends on libmaxminddb

Installation

gem install geoip2_compat

Usage

geoip = GeoIP2Compat.new(dbfile)
geoip.lookup("24.24.24.24")