willdurand/Geocoder — pull request #176 by piotrgradzinski (2013-01-10 11:29:47+00:00)
Title: Fix problem in GeoIpsProvider

Accorind to api guide of GeoIPs (http://www.geoips.com/developer/api-guide) the response schema looks like this:
{
"status" : "Success",
"ip" : "66.147.244.214",
"hostname" : "box714.bluehost.com",
"owner" : "BLUEHOST INC.",
"continent_name" : "NORTH AMERICA",
"continent_code" : "NA",
"country_name" : "UNITED STATES",
"country_code" : "US",
"region_name" : "UTAH",
"region_code" : "UT",
"county_name" : "UTAH",
"city_name" : "PROVO",
"latitude" : "40.3402",
"longitude" : "-111.6073",
"timezone" : "MST",
}

In this response there is no additional key 'response'. Because of this the current GeoIPs Provider generates an error.

This pull request should fix this. Solution is actually really simple.