geocoder 1.2.6 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +189 -1
- data/LICENSE +1 -1
- data/README.md +387 -755
- data/examples/autoexpire_cache_redis.rb +5 -3
- data/examples/reverse_geocode_job.rb +40 -0
- data/lib/generators/geocoder/config/templates/initializer.rb +17 -16
- data/lib/generators/geocoder/maxmind/geolite_city_generator.rb +2 -0
- data/lib/generators/geocoder/maxmind/geolite_country_generator.rb +2 -0
- data/lib/generators/geocoder/maxmind/templates/migration/geolite_city.rb +1 -1
- data/lib/generators/geocoder/maxmind/templates/migration/geolite_country.rb +1 -1
- data/lib/generators/geocoder/migration_version.rb +15 -0
- data/lib/geocoder/cache.rb +6 -2
- data/lib/geocoder/calculations.rb +30 -38
- data/lib/geocoder/cli.rb +2 -2
- data/lib/geocoder/configuration.rb +18 -5
- data/lib/geocoder/esri_token.rb +38 -0
- data/lib/geocoder/exceptions.rb +19 -0
- data/lib/geocoder/ip_address.rb +16 -11
- data/lib/geocoder/kernel_logger.rb +25 -0
- data/lib/geocoder/logger.rb +47 -0
- data/lib/geocoder/lookup.rb +31 -12
- data/lib/geocoder/lookups/amap.rb +63 -0
- data/lib/geocoder/lookups/baidu.rb +17 -9
- data/lib/geocoder/lookups/baidu_ip.rb +7 -31
- data/lib/geocoder/lookups/ban_data_gouv_fr.rb +143 -0
- data/lib/geocoder/lookups/base.rb +73 -25
- data/lib/geocoder/lookups/bing.rb +38 -15
- data/lib/geocoder/lookups/db_ip_com.rb +52 -0
- data/lib/geocoder/lookups/dstk.rb +4 -2
- data/lib/geocoder/lookups/esri.rb +55 -8
- data/lib/geocoder/lookups/freegeoip.rb +18 -5
- data/lib/geocoder/lookups/geocoder_ca.rb +5 -6
- data/lib/geocoder/lookups/geocodio.rb +8 -8
- data/lib/geocoder/lookups/geoip2.rb +10 -5
- data/lib/geocoder/lookups/geoportail_lu.rb +65 -0
- data/lib/geocoder/lookups/google.rb +37 -9
- data/lib/geocoder/lookups/google_places_details.rb +9 -9
- data/lib/geocoder/lookups/google_places_search.rb +33 -0
- data/lib/geocoder/lookups/google_premier.rb +11 -1
- data/lib/geocoder/lookups/here.rb +29 -23
- data/lib/geocoder/lookups/ip2location.rb +67 -0
- data/lib/geocoder/lookups/ipapi_com.rb +82 -0
- data/lib/geocoder/lookups/ipdata_co.rb +62 -0
- data/lib/geocoder/lookups/ipgeolocation.rb +51 -0
- data/lib/geocoder/lookups/ipinfo_io.rb +44 -0
- data/lib/geocoder/lookups/ipregistry.rb +68 -0
- data/lib/geocoder/lookups/ipstack.rb +63 -0
- data/lib/geocoder/lookups/latlon.rb +59 -0
- data/lib/geocoder/lookups/location_iq.rb +50 -0
- data/lib/geocoder/lookups/mapbox.rb +59 -0
- data/lib/geocoder/lookups/mapquest.rb +7 -9
- data/lib/geocoder/lookups/maxmind.rb +7 -7
- data/lib/geocoder/lookups/maxmind_geoip2.rb +70 -0
- data/lib/geocoder/lookups/maxmind_local.rb +9 -2
- data/lib/geocoder/lookups/nominatim.rb +18 -6
- data/lib/geocoder/lookups/opencagedata.rb +16 -9
- data/lib/geocoder/lookups/osmnames.rb +57 -0
- data/lib/geocoder/lookups/pelias.rb +63 -0
- data/lib/geocoder/lookups/pickpoint.rb +41 -0
- data/lib/geocoder/lookups/pointpin.rb +14 -13
- data/lib/geocoder/lookups/postcode_anywhere_uk.rb +7 -8
- data/lib/geocoder/lookups/postcodes_io.rb +31 -0
- data/lib/geocoder/lookups/smarty_streets.rb +23 -5
- data/lib/geocoder/lookups/telize.rb +42 -7
- data/lib/geocoder/lookups/tencent.rb +59 -0
- data/lib/geocoder/lookups/yandex.rb +17 -9
- data/lib/geocoder/models/active_record.rb +4 -3
- data/lib/geocoder/models/mongo_base.rb +0 -2
- data/lib/geocoder/query.rb +15 -1
- data/lib/geocoder/railtie.rb +1 -1
- data/lib/geocoder/request.rb +103 -14
- data/lib/geocoder/results/amap.rb +87 -0
- data/lib/geocoder/results/baidu.rb +10 -14
- data/lib/geocoder/results/ban_data_gouv_fr.rb +257 -0
- data/lib/geocoder/results/base.rb +13 -1
- data/lib/geocoder/results/bing.rb +5 -1
- data/lib/geocoder/results/db_ip_com.rb +58 -0
- data/lib/geocoder/results/esri.rb +30 -6
- data/lib/geocoder/results/freegeoip.rb +2 -7
- data/lib/geocoder/results/geocoder_ca.rb +3 -3
- data/lib/geocoder/results/geocodio.rb +15 -3
- data/lib/geocoder/results/geoip2.rb +37 -25
- data/lib/geocoder/results/geoportail_lu.rb +71 -0
- data/lib/geocoder/results/google.rb +26 -0
- data/lib/geocoder/results/google_places_details.rb +4 -0
- data/lib/geocoder/results/google_places_search.rb +52 -0
- data/lib/geocoder/results/here.rb +21 -1
- data/lib/geocoder/results/ip2location.rb +22 -0
- data/lib/geocoder/results/ipapi_com.rb +45 -0
- data/lib/geocoder/results/ipdata_co.rb +40 -0
- data/lib/geocoder/results/ipgeolocation.rb +59 -0
- data/lib/geocoder/results/ipinfo_io.rb +48 -0
- data/lib/geocoder/results/ipregistry.rb +308 -0
- data/lib/geocoder/results/ipstack.rb +60 -0
- data/lib/geocoder/results/latlon.rb +71 -0
- data/lib/geocoder/results/location_iq.rb +6 -0
- data/lib/geocoder/results/mapbox.rb +57 -0
- data/lib/geocoder/results/mapquest.rb +5 -8
- data/lib/geocoder/results/maxmind.rb +0 -5
- data/lib/geocoder/results/maxmind_geoip2.rb +9 -0
- data/lib/geocoder/results/maxmind_local.rb +0 -5
- data/lib/geocoder/results/nominatim.rb +18 -3
- data/lib/geocoder/results/opencagedata.rb +20 -2
- data/lib/geocoder/results/osmnames.rb +56 -0
- data/lib/geocoder/results/pelias.rb +58 -0
- data/lib/geocoder/results/pickpoint.rb +6 -0
- data/lib/geocoder/results/pointpin.rb +0 -4
- data/lib/geocoder/results/postcodes_io.rb +40 -0
- data/lib/geocoder/results/smarty_streets.rb +55 -19
- data/lib/geocoder/results/telize.rb +0 -5
- data/lib/geocoder/results/tencent.rb +72 -0
- data/lib/geocoder/results/test.rb +1 -1
- data/lib/geocoder/results/yandex.rb +57 -7
- data/lib/geocoder/sql.rb +9 -6
- data/lib/geocoder/stores/active_record.rb +49 -10
- data/lib/geocoder/stores/base.rb +2 -14
- data/lib/geocoder/stores/mongo_base.rb +0 -31
- data/lib/geocoder/version.rb +1 -1
- data/lib/geocoder.rb +2 -1
- data/lib/hash_recursive_merge.rb +1 -2
- data/lib/maxmind_database.rb +4 -4
- data/lib/tasks/geocoder.rake +29 -4
- metadata +56 -159
- data/.gitignore +0 -6
- data/.travis.yml +0 -31
- data/Rakefile +0 -25
- data/gemfiles/Gemfile.mongoid-2.4.x +0 -16
- data/lib/geocoder/lookups/geocoder_us.rb +0 -39
- data/lib/geocoder/lookups/okf.rb +0 -43
- data/lib/geocoder/lookups/ovi.rb +0 -62
- data/lib/geocoder/lookups/yahoo.rb +0 -88
- data/lib/geocoder/results/geocoder_us.rb +0 -39
- data/lib/geocoder/results/okf.rb +0 -106
- data/lib/geocoder/results/ovi.rb +0 -62
- data/lib/geocoder/results/yahoo.rb +0 -55
- data/lib/oauth_util.rb +0 -112
- data/test/fixtures/baidu_invalid_key +0 -1
- data/test/fixtures/baidu_ip_202_198_16_3 +0 -19
- data/test/fixtures/baidu_ip_invalid_key +0 -1
- data/test/fixtures/baidu_ip_no_results +0 -1
- data/test/fixtures/baidu_no_results +0 -1
- data/test/fixtures/baidu_reverse +0 -1
- data/test/fixtures/baidu_shanghai_pearl_tower +0 -12
- data/test/fixtures/bing_invalid_key +0 -1
- data/test/fixtures/bing_madison_square_garden +0 -40
- data/test/fixtures/bing_no_results +0 -16
- data/test/fixtures/bing_reverse +0 -42
- data/test/fixtures/cloudmade_invalid_key +0 -1
- data/test/fixtures/cloudmade_madison_square_garden +0 -1
- data/test/fixtures/cloudmade_no_results +0 -1
- data/test/fixtures/esri_madison_square_garden +0 -59
- data/test/fixtures/esri_no_results +0 -8
- data/test/fixtures/esri_reverse +0 -21
- data/test/fixtures/freegeoip_74_200_247_59 +0 -12
- data/test/fixtures/freegeoip_no_results +0 -1
- data/test/fixtures/geocoder_ca_madison_square_garden +0 -1
- data/test/fixtures/geocoder_ca_no_results +0 -1
- data/test/fixtures/geocoder_ca_reverse +0 -34
- data/test/fixtures/geocoder_us_madison_square_garden +0 -1
- data/test/fixtures/geocoder_us_no_results +0 -1
- data/test/fixtures/geocodio_1101_pennsylvania_ave +0 -1
- data/test/fixtures/geocodio_bad_api_key +0 -3
- data/test/fixtures/geocodio_invalid +0 -4
- data/test/fixtures/geocodio_no_results +0 -1
- data/test/fixtures/geocodio_over_query_limit +0 -4
- data/test/fixtures/google_garbage +0 -456
- data/test/fixtures/google_madison_square_garden +0 -57
- data/test/fixtures/google_no_city_data +0 -44
- data/test/fixtures/google_no_locality +0 -51
- data/test/fixtures/google_no_results +0 -4
- data/test/fixtures/google_over_limit +0 -4
- data/test/fixtures/google_places_details_invalid_request +0 -4
- data/test/fixtures/google_places_details_madison_square_garden +0 -120
- data/test/fixtures/google_places_details_no_results +0 -4
- data/test/fixtures/google_places_details_no_reviews +0 -60
- data/test/fixtures/google_places_details_no_types +0 -66
- data/test/fixtures/here_madison_square_garden +0 -72
- data/test/fixtures/here_no_results +0 -8
- data/test/fixtures/mapquest_error +0 -16
- data/test/fixtures/mapquest_invalid_api_key +0 -16
- data/test/fixtures/mapquest_invalid_request +0 -16
- data/test/fixtures/mapquest_madison_square_garden +0 -52
- data/test/fixtures/mapquest_no_results +0 -16
- data/test/fixtures/maxmind_24_24_24_21 +0 -1
- data/test/fixtures/maxmind_24_24_24_22 +0 -1
- data/test/fixtures/maxmind_24_24_24_23 +0 -1
- data/test/fixtures/maxmind_24_24_24_24 +0 -1
- data/test/fixtures/maxmind_74_200_247_59 +0 -1
- data/test/fixtures/maxmind_invalid_key +0 -1
- data/test/fixtures/maxmind_no_results +0 -1
- data/test/fixtures/nominatim_madison_square_garden +0 -150
- data/test/fixtures/nominatim_no_results +0 -1
- data/test/fixtures/nominatim_over_limit +0 -1
- data/test/fixtures/okf_kirstinmaki +0 -67
- data/test/fixtures/okf_no_results +0 -4
- data/test/fixtures/opencagedata_invalid_api_key +0 -25
- data/test/fixtures/opencagedata_invalid_request +0 -26
- data/test/fixtures/opencagedata_madison_square_garden +0 -73
- data/test/fixtures/opencagedata_no_results +0 -29
- data/test/fixtures/opencagedata_over_limit +0 -31
- data/test/fixtures/ovi_madison_square_garden +0 -72
- data/test/fixtures/ovi_no_results +0 -8
- data/test/fixtures/pointpin_10_10_10_10 +0 -1
- data/test/fixtures/pointpin_555_555_555_555 +0 -1
- data/test/fixtures/pointpin_80_111_555_555 +0 -1
- data/test/fixtures/pointpin_no_results +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_WR26NJ +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_generic_error +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_hampshire +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_key_limit_exceeded +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_no_results +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_romsey +0 -1
- data/test/fixtures/postcode_anywhere_uk_geocode_v2_00_unknown_key +0 -1
- data/test/fixtures/smarty_streets_11211 +0 -1
- data/test/fixtures/smarty_streets_madison_square_garden +0 -47
- data/test/fixtures/smarty_streets_no_results +0 -1
- data/test/fixtures/telize_10_10_10_10 +0 -1
- data/test/fixtures/telize_555_555_555_555 +0 -4
- data/test/fixtures/telize_74_200_247_59 +0 -1
- data/test/fixtures/telize_no_results +0 -1
- data/test/fixtures/yahoo_error +0 -1
- data/test/fixtures/yahoo_invalid_key +0 -2
- data/test/fixtures/yahoo_madison_square_garden +0 -52
- data/test/fixtures/yahoo_no_results +0 -10
- data/test/fixtures/yahoo_over_limit +0 -2
- data/test/fixtures/yandex_canada_rue_dupuis_14 +0 -446
- data/test/fixtures/yandex_invalid_key +0 -1
- data/test/fixtures/yandex_kremlin +0 -48
- data/test/fixtures/yandex_new_york +0 -1
- data/test/fixtures/yandex_no_city_and_town +0 -112
- data/test/fixtures/yandex_no_results +0 -16
- data/test/integration/http_client_test.rb +0 -31
- data/test/mongoid_test_helper.rb +0 -43
- data/test/test_helper.rb +0 -416
- data/test/unit/active_record_test.rb +0 -16
- data/test/unit/cache_test.rb +0 -37
- data/test/unit/calculations_test.rb +0 -220
- data/test/unit/configuration_test.rb +0 -55
- data/test/unit/error_handling_test.rb +0 -56
- data/test/unit/geocoder_test.rb +0 -78
- data/test/unit/https_test.rb +0 -17
- data/test/unit/ip_address_test.rb +0 -27
- data/test/unit/lookup_test.rb +0 -153
- data/test/unit/lookups/bing_test.rb +0 -68
- data/test/unit/lookups/dstk_test.rb +0 -26
- data/test/unit/lookups/esri_test.rb +0 -48
- data/test/unit/lookups/freegeoip_test.rb +0 -27
- data/test/unit/lookups/geocoder_ca_test.rb +0 -17
- data/test/unit/lookups/geocodio_test.rb +0 -55
- data/test/unit/lookups/geoip2_test.rb +0 -27
- data/test/unit/lookups/google_places_details_test.rb +0 -122
- data/test/unit/lookups/google_premier_test.rb +0 -22
- data/test/unit/lookups/google_test.rb +0 -84
- data/test/unit/lookups/mapquest_test.rb +0 -60
- data/test/unit/lookups/maxmind_local_test.rb +0 -28
- data/test/unit/lookups/maxmind_test.rb +0 -63
- data/test/unit/lookups/nominatim_test.rb +0 -31
- data/test/unit/lookups/okf_test.rb +0 -38
- data/test/unit/lookups/opencagedata_test.rb +0 -64
- data/test/unit/lookups/pointpin_test.rb +0 -30
- data/test/unit/lookups/postcode_anywhere_uk_test.rb +0 -70
- data/test/unit/lookups/smarty_streets_test.rb +0 -71
- data/test/unit/lookups/telize_test.rb +0 -36
- data/test/unit/lookups/yahoo_test.rb +0 -35
- data/test/unit/method_aliases_test.rb +0 -26
- data/test/unit/model_test.rb +0 -38
- data/test/unit/mongoid_test.rb +0 -47
- data/test/unit/near_test.rb +0 -87
- data/test/unit/oauth_util_test.rb +0 -31
- data/test/unit/proxy_test.rb +0 -37
- data/test/unit/query_test.rb +0 -52
- data/test/unit/rake_task_test.rb +0 -21
- data/test/unit/request_test.rb +0 -35
- data/test/unit/result_test.rb +0 -72
- data/test/unit/test_mode_test.rb +0 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 25d03f1aeb92b80a0ec269a1f42093bb641e468d0824d324ad5157ed9cfcb559
|
4
|
+
data.tar.gz: 1a23a47bfb3d4af0de14421f8b1b76e03234aee309a8be7ddb2acd91ce04c30d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f4fd2a60fa6ccb91f7a04a737b5720aa4e276181c202b215b5dd8c50b1746d833ace8c2a034aae1282132e62f96be518b3b366c34f03c73ffcb4cf1dd3c6ab
|
7
|
+
data.tar.gz: 848c835773fd172b8469eefc28646c4c5cd3176d10bfb175f5d447bd24b51982555644b7ff5d45eddb2bc04cf7820fadb2363a23cf907ad13aa930f33b5dad09
|
data/CHANGELOG.md
CHANGED
@@ -3,8 +3,196 @@ Changelog
|
|
3
3
|
|
4
4
|
Major changes to Geocoder for each release. Please see the Git log for complete list of changes.
|
5
5
|
|
6
|
-
1.
|
6
|
+
1.6.1 (2020 Jan 23)
|
7
|
+
-------------------
|
8
|
+
* Sanitize lat/lon values passed to within_bounding_box to prevent SQL injection.
|
9
|
+
|
10
|
+
1.6.0 (2020 Jan 6)
|
11
|
+
-------------------
|
12
|
+
* Drop support for Rails 3.x.
|
13
|
+
* Add support for :osmnames lookup (thanks github.com/zacviandier).
|
14
|
+
* Add support for :ipgeolocation IP lookup (thanks github.com/ahsannawaz111).
|
15
|
+
|
16
|
+
1.5.2 (2019 Oct 3)
|
17
|
+
-------------------
|
18
|
+
* Add support for :ipregistry lookup (thanks github.com/ipregistry).
|
19
|
+
* Various fixes for Yandex lookup.
|
20
|
+
|
21
|
+
1.5.1 (2019 Jan 23)
|
22
|
+
-------------------
|
23
|
+
* Add support for :tencent lookup (thanks github.com/Anders-E).
|
24
|
+
* Add support for :smarty_streets international API (thanks github.com/ankane).
|
25
|
+
* Remove :mapzen lookup.
|
26
|
+
|
27
|
+
1.5.0 (2018 Jul 31)
|
28
|
+
-------------------
|
29
|
+
* Drop support for Ruby <2.0.
|
30
|
+
* Change default street address lookup from :google to :nominatim.
|
31
|
+
* Cache keys no longer include API credentials. This means many entries in existing cache implementations will be invalidated.
|
32
|
+
* Test lookup fixtures should now return `coordinates` and NOT `latitude`/`longitude` attributes (see #1258). This may break some people's tests.
|
33
|
+
* Add support for :ip2location lookup (thanks github.com/ip2location).
|
34
|
+
* Remove :ovi and :okf lookups.
|
35
|
+
|
36
|
+
1.4.9 (2018 May 27)
|
37
|
+
-------------------
|
38
|
+
* Fix regression in :geoip2 lookup.
|
39
|
+
* Add support for Postcodes.io lookup (thanks github.com/sledge909).
|
40
|
+
|
41
|
+
1.4.8 (2018 May 21)
|
42
|
+
-------------------
|
43
|
+
* Change default IP address lookup from :freegeoip to :ipinfo_io.
|
44
|
+
* Add support for :ipstack lookup (thanks github.com/Heath101).
|
45
|
+
* Fix incompatibility with redis-rb gem v4.0.
|
46
|
+
|
47
|
+
1.4.7 (2018 Mar 13)
|
48
|
+
-------------------
|
49
|
+
* Allow HTTP protocol for Nominatim.
|
50
|
+
|
51
|
+
1.4.6 (2018 Feb 28)
|
52
|
+
-------------------
|
53
|
+
* Add support for :ipdata_co lookup (thanks github.com/roschaefer).
|
54
|
+
* Update for Rails 5.2 compatibility (thanks github.com/stevenharman).
|
55
|
+
|
56
|
+
1.4.5 (2017 Nov 29)
|
57
|
+
-------------------
|
58
|
+
* Add support for :pickpoint lookup (thanks github.com/cylon-v).
|
59
|
+
* Add support for :db_ip_com lookup (thanks github.com/cv).
|
60
|
+
* Change FreeGeoIP host to freegeoip.net.
|
61
|
+
* Allow search radius to be a symbol representing a column in DB (thanks github.com/leonelgalan).
|
62
|
+
* Add support for new parameters and improved error handling for several lookups.
|
63
|
+
* Fix bug in SQL when searching for objects across 180th meridian.
|
64
|
+
|
65
|
+
1.4.4 (2017 May 17)
|
66
|
+
-------------------
|
67
|
+
* Use HTTPS by default for :freegeoip (thanks github.com/mehanoid).
|
68
|
+
* Add support for :amap lookup (thanks github.com/pzgz).
|
69
|
+
|
70
|
+
1.4.3 (2017 Feb 7)
|
71
|
+
-------------------
|
72
|
+
* Add :google_places_search lookup (thanks github.com/waruboy).
|
73
|
+
|
74
|
+
1.4.2 (2017 Jan 31)
|
75
|
+
-------------------
|
76
|
+
* Fix bug that caused Model.near to return an incorrect query in some cases.
|
77
|
+
|
78
|
+
1.4.1 (2016 Dec 2)
|
79
|
+
-------------------
|
80
|
+
* Add :location_iq lookup (thanks github.com/aleemuddin13 and glsignal).
|
81
|
+
* Add :ban_data_gouv_fr lookup (thanks github.com/JulianNacci).
|
82
|
+
* Fix :mapbox results when server returns no context (thanks github.com/jcmuller).
|
83
|
+
* Deprecate methods in Geocoder::Calculations: to_kilometers, to_miles, to_nautical_miles, mi_in_km, km_in_mi, km_in_nm, nm_in_km.
|
84
|
+
|
85
|
+
1.4.0 (2016 Sep 8)
|
86
|
+
-------------------
|
87
|
+
* Only consider an object geocoded if both lat and lon are present (previously was sufficient to have only one of the two) (thanks github.com/mltsy).
|
88
|
+
* Add support in :geocodio lookup for Canadian addresses (thanks github.com/bolandrm).
|
89
|
+
* Add support for SQLite extensions, if present (thanks github.com/stevecj).
|
90
|
+
* Always include Geocoder in Rack::Request, if defined (thanks github.com/wjordan).
|
91
|
+
|
92
|
+
1.3.7 (2016 Jun 9)
|
93
|
+
-------------------
|
94
|
+
* Fix Ruby 1.9, 2.0 incompatibility (thanks github.com/ebouchut).
|
95
|
+
* Update SmartyStreets zipcode API endpoint (thanks github.com/jeffects).
|
96
|
+
* Catch network errors (thanks github.com/sas1ni69).
|
97
|
+
|
98
|
+
1.3.6 (2016 May 31)
|
99
|
+
-------------------
|
100
|
+
* Fix Sinatra support broken in 1.3.5.
|
101
|
+
|
102
|
+
1.3.5 (2016 May 27)
|
103
|
+
-------------------
|
104
|
+
* Fix Rails 5 ActionDispatch include issue (thanks github.com/alepore).
|
105
|
+
* Fix bug that caused :esri lookup to ignore certain configured parameters (thanks github.com/aaronpk).
|
106
|
+
* Add reverse geocoding support to :pelias/:mapzen (thanks github.com/shinyaK14).
|
107
|
+
* Add support for custom host with :telize (thanks github.com/jwaldrip).
|
108
|
+
* Change the way :esri lookup generates cache keys for improved performance (thanks github.com/aaronpk).
|
109
|
+
* Improve HTTPS connections with :google (thanks github.com/jlhonora).
|
110
|
+
|
111
|
+
1.3.4 (2016 Apr 14)
|
112
|
+
-------------------
|
113
|
+
* Update :freegeoip host (old one is down).
|
114
|
+
* Add IP lookup :ipapi_com (thanks github.com/piotrgorecki).
|
115
|
+
|
116
|
+
1.3.3 (2016 Apr 4)
|
117
|
+
------------------
|
118
|
+
* Fix incorrect gem version number.
|
119
|
+
|
120
|
+
1.3.2 (2016 Apr 1)
|
121
|
+
------------------
|
122
|
+
* Remove :yahoo lookup (service was discontinued Mar 31) (thanks github.com/galiat).
|
123
|
+
* Add support for LatLon.io service (thanks github.com/evanmarks).
|
124
|
+
* Add support for IpInfo.io service (thanks github.com/rehan, akostyuk).
|
125
|
+
* Add support for Pelias/Mapzen service (thanks github.com/RealScout).
|
126
|
+
|
127
|
+
1.3.1 (2016 Feb 20)
|
128
|
+
-------------------
|
129
|
+
* Warn about upcoming discontinuation of :yahoo lookup (thanks github.com/galiat).
|
130
|
+
* Add #viewport method to results that return viewport data (thanks github.com/lime).
|
131
|
+
|
132
|
+
1.3.0 (2016 Jan 31)
|
133
|
+
-------------------
|
134
|
+
* Lazy load lookups to reduce memory footprint (thanks github.com/TrangPham).
|
135
|
+
* Add :geoportail_lu lookup (Luxembourg only) (thanks github.com/mdebo).
|
136
|
+
* Maxmind local query performance improvement (thanks github.com/vojtad).
|
137
|
+
* Remove deprecated Mongo near query methods (please use Mongo-native methods instead).
|
138
|
+
|
139
|
+
1.2.14 (2015 Dec 27)
|
140
|
+
--------------------
|
141
|
+
* Fix bug in :geoip2 lookup (thanks github.com/mromulus).
|
142
|
+
|
143
|
+
1.2.13 (2015 Dec 15)
|
144
|
+
--------------------
|
145
|
+
* Update :telize IP lookup to reflect new URL (thanks github.com/jfredrickson).
|
146
|
+
* Add reverse geocode rake task (thanks github.com/FanaHOVA).
|
147
|
+
* Fix reversed coordinates array with Mapbox (thanks github.com/marcusat).
|
148
|
+
* Fix missing city name in some cases with ESRI (thanks github.com/roybotnik).
|
149
|
+
* Prevent re-opening of DB file on every read with :geoip2 (thanks github.com/oogali).
|
150
|
+
|
151
|
+
1.2.12 (2015 Oct 29)
|
152
|
+
--------------------
|
153
|
+
* Fix Ruby 1.9.3 incompatibility (remove non-existent timeout classes) (thanks github.com/roychri).
|
154
|
+
|
155
|
+
1.2.11 (2015 Sep 10)
|
156
|
+
--------------------
|
157
|
+
* Fix load issue on Ruby 1.9.3.
|
158
|
+
|
159
|
+
1.2.10 (2015 Sep 7)
|
7
160
|
-------------------
|
161
|
+
* Force Yandex to use HTTPS (thanks github.com/donbobka).
|
162
|
+
* Force :google to use HTTPS if API key set.
|
163
|
+
* Fix out-of-the-box verbosity issues (GH #881).
|
164
|
+
* Improve timeout mechanism and add exception Geocoder::LookupTimeout (thanks github.com/ankane).
|
165
|
+
* Deprecate .near and #nearbys for MongoDB-backed models.
|
166
|
+
|
167
|
+
1.2.9 (2015 Jun 12)
|
168
|
+
-------------------
|
169
|
+
* Don't cache unsuccessful responses from Bing (thanks github.com/peteb).
|
170
|
+
* Show API response when not valid JSON.
|
171
|
+
* Log each API request.
|
172
|
+
* Force all SmartyStreets requests to use HTTPS.
|
173
|
+
|
174
|
+
1.2.8 (2015 Mar 21)
|
175
|
+
-------------------
|
176
|
+
* Add :maxmind_geoip2 lookup (thanks github.com/TrangPham).
|
177
|
+
* Add ability to force/specify query type (street or IP address) (thanks github.com/TrangPham).
|
178
|
+
* Add :basic_auth configuration (thanks github.com/TrangPham).
|
179
|
+
* Add `safe_location` method for Rails controllers (thanks github.com/edslocomb).
|
180
|
+
* Add :logger configuration (thanks github.com/TrangPham).
|
181
|
+
* Improve error condition handling with Bing (thanks github.com/TrangPham).
|
182
|
+
|
183
|
+
1.2.7 (2015 Jan 24)
|
184
|
+
-------------------
|
185
|
+
* DROP SUPPORT for Ruby 1.9.2.
|
186
|
+
* Use UTF-8 encoding for maxmind_local results (thanks github.com/ellmo).
|
187
|
+
* Update freegeoip response handling (thanks github.com/hosamaly).
|
188
|
+
* Update nominatim response handling (thanks github.com/jsantos).
|
189
|
+
* Update yandex response handling (thanks github.com/wfleming).
|
190
|
+
* Update geocodio response handling (thanks github.com/getsidewalk).
|
191
|
+
* Add ability to raise exception when response parsing fails (thanks github.com/spiderpug).
|
192
|
+
* Fix double-loading of Railtie (thanks github.com/wfleming and zhouguangming).
|
193
|
+
|
194
|
+
1.2.6 (2014 Nov 8)
|
195
|
+
------------------
|
8
196
|
* Add :geoip2 lookup (thanks github.com/ChristianHoj).
|
9
197
|
* Add :okf lookup (thanks github.com/kakoni).
|
10
198
|
* Add :postcode_anywhere_uk lookup (thanks github.com/rob-murray).
|
data/LICENSE
CHANGED