-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix freegeoip property because of an API change
FreeGeoIp updated API to 3.0 (cf. fiorix/freegeoip@0e7907b) and changed how to handle zip code field. The field is zip_code now. Fix #368
- Loading branch information
1 parent
dfc841c
commit 1374d71
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
tests/.cached_responses/6fd35c260d7fda4e7f347938b874844db7e65375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
s:223:"{"ip":"74.200.247.59","country_code":"US","country_name":"United States","region_code":"TX","region_name":"Texas","city":"Plano","zipcode":"75093","latitude":33.0347,"longitude":-96.8134,"metro_code":"623","areacode":"972"}"; | ||
s:234:"{"ip":"74.200.247.59","country_code":"US","country_name":"United States","region_code":"TX","region_name":"Texas","city":"Plano","zip_code":"75093","time_zone":"America/Chicago","latitude":33.035,"longitude":-96.814,"metro_code":623} | ||
"; |
3 changes: 2 additions & 1 deletion
3
tests/.cached_responses/d4e19dd13e2a5ed145696eb7db068bca3da7632a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
s:223:"{"ip":"74.200.247.59","country_code":"US","country_name":"United States","region_code":"TX","region_name":"Texas","city":"Plano","zipcode":"75093","latitude":33.0347,"longitude":-96.8134,"metro_code":"623","areacode":"972"}"; | ||
s:234:"{"ip":"74.200.247.59","country_code":"US","country_name":"United States","region_code":"TX","region_name":"Texas","city":"Plano","zip_code":"75093","time_zone":"America/Chicago","latitude":33.035,"longitude":-96.814,"metro_code":623} | ||
"; |