google_places 0.30.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/google_places.gemspec +1 -1
- data/lib/google_places/prediction.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcadd814b3ff9742302968a5dc3c32604be490bb
|
4
|
+
data.tar.gz: 47e2c8c66665412997d6ba052e1c5e2c70738756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 615f843129606529d9979f70eef8a2a78fa2a6cc93caca738969b6a417a1ce5e44ec12df1cdca83f84c3f9902324ac0298aeb9da72bdd49bc711ccbdfadc21a3
|
7
|
+
data.tar.gz: ec02ef50cff01fd464719de10d7f3c6017fc6cf27486efe6d3535e8cb4c7258670145bb36ff79c53786d833eaaa5d3d62e5a7ca874f56ee4ac0d9166ec88ca75
|
data/Gemfile.lock
CHANGED
data/google_places.gemspec
CHANGED
@@ -4,11 +4,15 @@ module GooglePlaces
|
|
4
4
|
attr_accessor(
|
5
5
|
:description,
|
6
6
|
:place_id,
|
7
|
+
:terms,
|
8
|
+
:types
|
7
9
|
)
|
8
10
|
|
9
11
|
def initialize(json_result_object)
|
10
12
|
@description = json_result_object['description']
|
11
13
|
@place_id = json_result_object['place_id']
|
14
|
+
@terms = json_result_object['terms']
|
15
|
+
@types = json_result_object['types']
|
12
16
|
end
|
13
17
|
|
14
18
|
# Query for Predictions (optionally at the provided location)
|
@@ -59,7 +63,7 @@ module GooglePlaces
|
|
59
63
|
end
|
60
64
|
|
61
65
|
if components
|
62
|
-
|
66
|
+
options[:components] = components
|
63
67
|
end
|
64
68
|
|
65
69
|
request(:predictions_by_input, options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_places
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcel de Graaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|