geocoder2 0.1.0 → 0.1.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/geocoder2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geocoder2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Alex Reisner
|
|
@@ -41,7 +41,6 @@ files:
|
|
|
41
41
|
- examples/autoexpire_cache_redis.rb
|
|
42
42
|
- examples/cache_bypass.rb
|
|
43
43
|
- gemfiles/Gemfile.mongoid-2.4.x
|
|
44
|
-
- json?address=26+leonard+street%2C+Belmont&key=AIzaSyDoltU6YL8XeIQrSLFGk6ZfpKaWkPukwYQ&language=en
|
|
45
44
|
- lib/generators/geocoder2/config/config_generator.rb
|
|
46
45
|
- lib/generators/geocoder2/config/templates/initializer.rb
|
|
47
46
|
- lib/geocoder2.rb
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"results" : [
|
|
3
|
-
{
|
|
4
|
-
"address_components" : [
|
|
5
|
-
{
|
|
6
|
-
"long_name" : "26",
|
|
7
|
-
"short_name" : "26",
|
|
8
|
-
"types" : [ "street_number" ]
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"long_name" : "Leonard Street",
|
|
12
|
-
"short_name" : "Leonard St",
|
|
13
|
-
"types" : [ "route" ]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"long_name" : "Belmont",
|
|
17
|
-
"short_name" : "Belmont",
|
|
18
|
-
"types" : [ "locality", "political" ]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"long_name" : "Greater Geelong City",
|
|
22
|
-
"short_name" : "Greater Geelong",
|
|
23
|
-
"types" : [ "administrative_area_level_2", "political" ]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"long_name" : "Victoria",
|
|
27
|
-
"short_name" : "VIC",
|
|
28
|
-
"types" : [ "administrative_area_level_1", "political" ]
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"long_name" : "Australia",
|
|
32
|
-
"short_name" : "AU",
|
|
33
|
-
"types" : [ "country", "political" ]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"long_name" : "3216",
|
|
37
|
-
"short_name" : "3216",
|
|
38
|
-
"types" : [ "postal_code" ]
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"formatted_address" : "26 Leonard St, Belmont VIC 3216, Australia",
|
|
42
|
-
"geometry" : {
|
|
43
|
-
"location" : {
|
|
44
|
-
"lat" : -38.1704428,
|
|
45
|
-
"lng" : 144.3313951
|
|
46
|
-
},
|
|
47
|
-
"location_type" : "ROOFTOP",
|
|
48
|
-
"viewport" : {
|
|
49
|
-
"northeast" : {
|
|
50
|
-
"lat" : -38.1690938197085,
|
|
51
|
-
"lng" : 144.3327440802915
|
|
52
|
-
},
|
|
53
|
-
"southwest" : {
|
|
54
|
-
"lat" : -38.1717917802915,
|
|
55
|
-
"lng" : 144.3300461197085
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"place_id" : "ChIJzz9XwJ0T1GoRKPvo8BszH70",
|
|
60
|
-
"plus_code" : {
|
|
61
|
-
"compound_code" : "R8HJ+RH Geelong, Victoria, Australia",
|
|
62
|
-
"global_code" : "4RH6R8HJ+RH"
|
|
63
|
-
},
|
|
64
|
-
"types" : [ "street_address" ]
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"status" : "OK"
|
|
68
|
-
}
|