geocoder 1.5.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/LICENSE +1 -1
- data/README.md +323 -237
- data/bin/console +13 -0
- data/examples/autoexpire_cache_redis.rb +2 -0
- data/lib/easting_northing.rb +171 -0
- data/lib/geocoder/cache.rb +9 -1
- data/lib/geocoder/configuration.rb +3 -1
- data/lib/geocoder/configuration_hash.rb +4 -4
- data/lib/geocoder/ip_address.rb +8 -1
- data/lib/geocoder/lookup.rb +20 -3
- data/lib/geocoder/lookups/abstract_api.rb +46 -0
- data/lib/geocoder/lookups/amazon_location_service.rb +53 -0
- data/lib/geocoder/lookups/ban_data_gouv_fr.rb +14 -1
- data/lib/geocoder/lookups/bing.rb +1 -1
- data/lib/geocoder/lookups/esri.rb +6 -0
- data/lib/geocoder/lookups/geoapify.rb +72 -0
- data/lib/geocoder/lookups/geocodio.rb +1 -1
- data/lib/geocoder/lookups/geoip2.rb +4 -0
- data/lib/geocoder/lookups/google.rb +7 -2
- data/lib/geocoder/lookups/google_places_details.rb +8 -14
- data/lib/geocoder/lookups/google_places_search.rb +28 -2
- data/lib/geocoder/lookups/google_premier.rb +4 -0
- data/lib/geocoder/lookups/here.rb +7 -16
- data/lib/geocoder/lookups/ip2location.rb +10 -14
- data/lib/geocoder/lookups/ipgeolocation.rb +51 -0
- data/lib/geocoder/lookups/ipqualityscore.rb +50 -0
- data/lib/geocoder/lookups/latlon.rb +1 -2
- data/lib/geocoder/lookups/maxmind_local.rb +7 -1
- data/lib/geocoder/lookups/melissa_street.rb +41 -0
- data/lib/geocoder/lookups/nationaal_georegister_nl.rb +38 -0
- data/lib/geocoder/lookups/osmnames.rb +57 -0
- data/lib/geocoder/lookups/photon.rb +89 -0
- data/lib/geocoder/lookups/pickpoint.rb +1 -1
- data/lib/geocoder/lookups/smarty_streets.rb +6 -1
- data/lib/geocoder/lookups/telize.rb +1 -1
- data/lib/geocoder/lookups/tencent.rb +9 -9
- data/lib/geocoder/lookups/test.rb +4 -0
- data/lib/geocoder/lookups/uk_ordnance_survey_names.rb +59 -0
- data/lib/geocoder/lookups/yandex.rb +1 -2
- data/lib/geocoder/results/abstract_api.rb +146 -0
- data/lib/geocoder/results/amazon_location_service.rb +57 -0
- data/lib/geocoder/results/baidu.rb +0 -4
- data/lib/geocoder/results/ban_data_gouv_fr.rb +27 -2
- data/lib/geocoder/results/db_ip_com.rb +1 -1
- data/lib/geocoder/results/esri.rb +5 -2
- data/lib/geocoder/results/geoapify.rb +179 -0
- data/lib/geocoder/results/ipgeolocation.rb +59 -0
- data/lib/geocoder/results/ipqualityscore.rb +54 -0
- data/lib/geocoder/results/ipregistry.rb +4 -8
- data/lib/geocoder/results/mapbox.rb +10 -4
- data/lib/geocoder/results/melissa_street.rb +46 -0
- data/lib/geocoder/results/nationaal_georegister_nl.rb +62 -0
- data/lib/geocoder/results/nominatim.rb +4 -0
- data/lib/geocoder/results/osmnames.rb +56 -0
- data/lib/geocoder/results/photon.rb +119 -0
- data/lib/geocoder/results/uk_ordnance_survey_names.rb +59 -0
- data/lib/geocoder/results/yandex.rb +217 -59
- data/lib/geocoder/sql.rb +4 -4
- data/lib/geocoder/util.rb +29 -0
- data/lib/geocoder/version.rb +1 -1
- data/lib/maxmind_database.rb +3 -3
- metadata +29 -11
- data/lib/geocoder/lookups/geocoder_us.rb +0 -51
- data/lib/geocoder/results/geocoder_us.rb +0 -39
- data/lib/hash_recursive_merge.rb +0 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86304e3364377f7c93cc2a91dba1235316b63469ee1c09261b0763db052bcded
|
4
|
+
data.tar.gz: ab4d2167f60e9149bb052e98bf11df40f7b68a0f75873d7c95e638e7c84acda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d8a017acef8c3c15e48c641311b38363f28d7900047fc5bf371d669dcd083401736b30de9ccc859290234a1d44308694de338bddca4cd2706df35fe2c060dbe
|
7
|
+
data.tar.gz: 372826b2a2ac13ed235eb7a78c9fdb4b214d54e28672a9ff24ae88f16ef9f4d07c867d6d09f0e90cd6e7e0e9adea975a9932356a2238a9a0eb15f987ee5d4c69
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,54 @@ 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.7.0 (2021 Oct 11)
|
7
|
+
-------------------
|
8
|
+
* Add support for Geoapify and Photo lookups (thanks github.com/ahukkanen).
|
9
|
+
* Add support for IPQualityScore IP lookup (thanks github.com/jamesbebbington).
|
10
|
+
* Add support for Amazon Location Service lookup (thanks github.com/mplewis).
|
11
|
+
* Add support for Melissa lookup (thanks github.com/ALacker).
|
12
|
+
* Drop official support for Ruby 2.0.x and Rails 4.x.
|
13
|
+
|
14
|
+
1.6.7 (2021 Apr 17)
|
15
|
+
-------------------
|
16
|
+
* Add support for Abstract API lookup (thanks github.com/randoum).
|
17
|
+
|
18
|
+
1.6.6 (2021 Mar 4)
|
19
|
+
-------------------
|
20
|
+
* Rescue from exception on cache read/write error. Issue warning instead.
|
21
|
+
|
22
|
+
1.6.5 (2021 Feb 10)
|
23
|
+
-------------------
|
24
|
+
* Fix backward coordinates bug in NationaalregisterNl lookup (thanks github.com/Marthyn).
|
25
|
+
* Allow removal of single stubs in test mode (thanks github.com/jmmastey).
|
26
|
+
* Improve results for :ban_data_gouv_fr lookup (thanks github.com/Intrepidd).
|
27
|
+
|
28
|
+
1.6.4 (2020 Oct 6)
|
29
|
+
-------------------
|
30
|
+
* Various updates in response to geocoding API changes.
|
31
|
+
* Refactor of Google Places Search lookup (thanks github.com/maximilientyc).
|
32
|
+
|
33
|
+
1.6.3 (2020 Apr 30)
|
34
|
+
-------------------
|
35
|
+
* Update URL for :telize lookup (thanks github.com/alexwalling).
|
36
|
+
* Fix bug parsing IPv6 with port (thanks github.com/gdomingu).
|
37
|
+
|
38
|
+
1.6.2 (2020 Mar 16)
|
39
|
+
-------------------
|
40
|
+
* Add support for :nationaal_georegister_nl lookup (thanks github.com/opensourceame).
|
41
|
+
* Add support for :uk_ordnance_survey_names lookup (thanks github.com/pezholio).
|
42
|
+
* Refactor and fix bugs in Yandex lookup (thanks github.com/iarie and stereodenis).
|
43
|
+
|
44
|
+
1.6.1 (2020 Jan 23)
|
45
|
+
-------------------
|
46
|
+
* Sanitize lat/lon values passed to within_bounding_box to prevent SQL injection.
|
47
|
+
|
48
|
+
1.6.0 (2020 Jan 6)
|
49
|
+
-------------------
|
50
|
+
* Drop support for Rails 3.x.
|
51
|
+
* Add support for :osmnames lookup (thanks github.com/zacviandier).
|
52
|
+
* Add support for :ipgeolocation IP lookup (thanks github.com/ahsannawaz111).
|
53
|
+
|
6
54
|
1.5.2 (2019 Oct 3)
|
7
55
|
-------------------
|
8
56
|
* Add support for :ipregistry lookup (thanks github.com/ipregistry).
|
data/LICENSE
CHANGED