badnaam-geokit 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/geokit/geocoders.rb +1 -1
- metadata +3 -3
data/lib/geokit/geocoders.rb
CHANGED
|
@@ -529,7 +529,7 @@ module Geokit
|
|
|
529
529
|
#badnaam change - cache the result
|
|
530
530
|
#if !address.nil?
|
|
531
531
|
logger.info "Caching location #{res.zip}"
|
|
532
|
-
GeocodeCache.store(res.zip, res.city, res.state, res.lat, res.lng, "google")
|
|
532
|
+
GeocodeCache.store(res.zip || res.city, res.city, res.state, res.lat, res.lng, "google")
|
|
533
533
|
#end
|
|
534
534
|
return res
|
|
535
535
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: badnaam-geokit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 1.5.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.5.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Andre Lewis and Bill Eisenhauer
|