Folk,

The Ruby GEM for GeoIP has been updated (now v0.2.0) to support the
GeoIPCity database. In the process, an incorrect translation from the
C language original has been repaired, so the new Gem correctly
identifies the database version.

Note: this is a pure Ruby GeoIP, unrelated to Sean Chittendon's
wrapper around the official C api.

Usage:

require 'rubygems'
require_gem 'geoip'

p GeoIP.new('GeoIPCity.dat').city('lazaridis.com')

-> ["lazaridis.com", "212.227.109.28", "DE", "DEU", "Germany", "EU", 
"01", "Karlsruhe", "", 49.0047, 8.38579999999999]

Please don't use this latitude/longitude for targeting, as he
is/was recently actually in Northern Greece :-).

Clifford Heath.