Project

ffi-geoip

0.0
No commit activity in last 3 years
No release in over 3 years
An ffi wrapper for GeoIP
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0.0
 Project Readme

geoip-c Ruby Bindings via FFI¶ ↑

Requirements¶ ↑

  • the ffi extension for Ruby.

  • the GeoIP library version 1.5 or higher. Lower versions may work to some extent but this is untested.

Features¶ ↑

ffi-geoip is an FFI-based implementation of the native GeoIP Ruby bindings. This gem mimics the native GeoIP bindings as closely as possible and should be directly compatible. To test this, you can run the tests using the native bindings via the ‘USE_BINARY` environment variable and they should also succeed. A simple use-case for this extension is for, say, JRuby, where the native GeoIP gem is not available.

License¶ ↑

This gem is licensed under an MIT-style license. See the MIT-LICENSE file for details.