geocoder 1.6.5 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ba8acaf931aa2da26a0d1d68aef25d8ea2c30c7f532e996b5ad29da100ef135
4
- data.tar.gz: 379b182609b60c49c10c5cce6c436ae80446790466174c0a592a10ca6ffd41c3
3
+ metadata.gz: 23cb694f657cd4b5921d4480c97abd7271ae157ead4e09bb1d614bf90976d567
4
+ data.tar.gz: ba36330f7d2fe99a6c5b2f445f1185b421ac932a633ffab2b896d926b3a74ce2
5
5
  SHA512:
6
- metadata.gz: 6a31567336ce0f94c0c03640dbc94c3117b7d076af94afc885728405d32aa52bbbbd31631b05b0165c04c235dfb51331d349c4e55da7866f451f2871ba4286de
7
- data.tar.gz: aa6f58798d354b2e526b23d64b8c7c0c297649d5ddcd9a57198585470ac23b055c604302153cee203b19bed8d3b39a1c49018aafb3df72d7ec816c53e452fc4e
6
+ metadata.gz: 87d72900f31678781bf09cb6706487b4e0528defe0a98601b2a718fa9c31c89c9876780f933d8e4364bd1459285cb0e9a71cc7a6c76d17cfce2959644d974ee1
7
+ data.tar.gz: '083c991cf76381add5b4b8aa3312fa1bd5836990370506351d47d17d3e857f2a0d855df901702c9fabc27589491b458a4fbcb378731a3ea3d079c2f4d7d274d7'
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@ 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.6 (2020 Mar 4)
7
+ -------------------
8
+ * Rescue from exception on cache read/write error. Issue warning instead.
9
+
6
10
  1.6.5 (2020 Feb 10)
7
11
  -------------------
8
12
  * Fix backward coordinates bug in NationaalregisterNl lookup (thanks github.com/Marthyn).
@@ -18,6 +18,8 @@ module Geocoder
18
18
  when store.respond_to?(:read)
19
19
  store.read key_for(url)
20
20
  end
21
+ rescue => e
22
+ warn "Geocoder cache read error: #{e}"
21
23
  end
22
24
 
23
25
  ##
@@ -32,6 +34,8 @@ module Geocoder
32
34
  when store.respond_to?(:write)
33
35
  store.write key_for(url), value
34
36
  end
37
+ rescue => e
38
+ warn "Geocoder cache write error: #{e}"
35
39
  end
36
40
 
37
41
  ##
@@ -1,3 +1,3 @@
1
1
  module Geocoder
2
- VERSION = "1.6.5"
2
+ VERSION = "1.6.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geocoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Reisner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Object geocoding (by street or IP address), reverse geocoding (coordinates
14
14
  to street address), distance queries for ActiveRecord and Mongoid, result caching,