mtodd/geoip — pull request #12 by maxime (2012-09-25 10:29:56+00:00)
Title: Bug fix

db = GeoIP::City.new("GeoLiteCity.dat")
look_up = db.look_up("119.236.232.169")

Gives you a:

[BUG] Segmentation fault

Because region_name is empty for that IP. Those 2 commits fix that bug so that it returns an empty string. There are probably a better fix than returning an empty string but at least it fixes my problem.