sayso-geokit 1.5.0.3.002 → 1.5.0.3.003
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/geokit/geocoder_google_v3.rb +1 -1
- metadata +37 -45
@@ -164,7 +164,7 @@ module Geokit
|
|
164
164
|
|
165
165
|
# Translate accuracy into Yahoo-style token address, street, zip, zip+4, city, state, country
|
166
166
|
# For Google, 1=low accuracy, 8=high accuracy
|
167
|
-
res.accuracy = ACCURACY[placemark['types'][0]]
|
167
|
+
res.accuracy = (ACCURACY[placemark['types'][0]]).to_i # if ACCURACY[placemark['types'][0]] is empty or nil, 0 will be returned
|
168
168
|
res.precision = %w{unknown country state state city zip zip+4 street address building}[res.accuracy]
|
169
169
|
|
170
170
|
# google returns a set of suggested boundaries for the geocoded result
|
metadata
CHANGED
@@ -1,51 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sayso-geokit
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.5.0.3.003
|
4
5
|
prerelease:
|
5
|
-
version: 1.5.0.3.002
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- SaySo
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2010-12-10 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: yajl-ruby
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2153213980 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
24
21
|
version: 0.7.8
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: activesupport
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: *2153213980
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
requirement: &2153213600 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
36
33
|
type: :runtime
|
37
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2153213600
|
38
36
|
description: Geokit Gem - forked and gemified for sayso
|
39
|
-
email:
|
37
|
+
email:
|
40
38
|
- sayso@truvolabs.com
|
41
39
|
executables: []
|
42
|
-
|
43
40
|
extensions: []
|
44
|
-
|
45
|
-
extra_rdoc_files:
|
41
|
+
extra_rdoc_files:
|
46
42
|
- Manifest.txt
|
47
43
|
- README.markdown
|
48
|
-
files:
|
44
|
+
files:
|
49
45
|
- Manifest.txt
|
50
46
|
- README.markdown
|
51
47
|
- Rakefile
|
@@ -64,35 +60,31 @@ files:
|
|
64
60
|
- test/test_latlng.rb
|
65
61
|
- test/test_google_reverse_geocoder.rb
|
66
62
|
- test/test_inflector.rb
|
67
|
-
has_rdoc: true
|
68
63
|
homepage: http://github.com/sayso/geokit-gem
|
69
64
|
licenses: []
|
70
|
-
|
71
65
|
post_install_message:
|
72
66
|
rdoc_options: []
|
73
|
-
|
74
|
-
require_paths:
|
67
|
+
require_paths:
|
75
68
|
- lib
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
70
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version:
|
82
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
76
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version:
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
88
81
|
requirements: []
|
89
|
-
|
90
82
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
83
|
+
rubygems_version: 1.8.10
|
92
84
|
signing_key:
|
93
85
|
specification_version: 3
|
94
86
|
summary: none
|
95
|
-
test_files:
|
87
|
+
test_files:
|
96
88
|
- test/test_base_geocoder.rb
|
97
89
|
- test/test_bounds.rb
|
98
90
|
- test/test_geoloc.rb
|