google_places 0.34.1 → 0.34.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6c2b445361f3c473e56c0d0ec9c26f87bba99b2a
4
+ data.tar.gz: f75a9240c5c1a106c26c8533d389e3e8b46b218b
5
+ SHA512:
6
+ metadata.gz: 53d863cc4f1ec34b40ad012e42e438262ded6885ec172761c345ad6e9735baade9010411ff980def7511b35d43f2ccda5fbb51a851aecc2d6f278c511280e500
7
+ data.tar.gz: f55279c476ae26bae5e1fb0b697fa9ebf30e025da65caf9e9900f53bf323717abedc77f993955f49fa8f0dfe358c3b484a3d6f73b4e8da439554002c621d8f36
@@ -1,6 +1,11 @@
1
+ ## 0.34.2
2
+
3
+ - Add the `matched_substrings` attribute to the Prediction results (for autocomplete results)
4
+ - Add the `structured_formatting` attribute to the Prediction results (for autocomplete results)
5
+
1
6
  ## 0.34.1
2
7
 
3
- - Remove new argument that was accidently added to the Review class
8
+ - Remove new argument that was accidentally added to the Review class
4
9
 
5
10
  ## 0.34.0
6
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_places (0.34.1)
4
+ google_places (0.34.2)
5
5
  httparty (>= 0.13.1, < 0.14.1)
6
6
 
7
7
  GEM
@@ -46,4 +46,4 @@ DEPENDENCIES
46
46
  webmock (~> 1.18)
47
47
 
48
48
  BUNDLED WITH
49
- 1.14.4
49
+ 1.14.6
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'google_places'
6
- s.version = '0.34.1'
6
+ s.version = '0.34.2'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Marcel de Graaf']
9
9
  s.email = ['mail@marceldegraaf.net']
@@ -5,7 +5,9 @@ module GooglePlaces
5
5
  :description,
6
6
  :place_id,
7
7
  :terms,
8
- :types
8
+ :types,
9
+ :matched_substrings,
10
+ :structured_formatting
9
11
  )
10
12
 
11
13
  def initialize(json_result_object)
@@ -13,6 +15,8 @@ module GooglePlaces
13
15
  @place_id = json_result_object['place_id']
14
16
  @terms = json_result_object['terms']
15
17
  @types = json_result_object['types']
18
+ @matched_substrings = json_result_object['matched_substrings']
19
+ @structured_formatting = json_result_object['structured_formatting']
16
20
  end
17
21
 
18
22
  # Query for Predictions (optionally at the provided location)
metadata CHANGED
@@ -1,100 +1,89 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_places
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.1
5
- prerelease:
4
+ version: 0.34.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Marcel de Graaf
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-07-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: httparty
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.13.1
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
22
  version: 0.14.1
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 0.13.1
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
32
  version: 0.14.1
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: rspec
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '3.0'
44
40
  type: :development
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
46
  version: '3.0'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: addressable
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ~>
51
+ - - "~>"
58
52
  - !ruby/object:Gem::Version
59
53
  version: 2.4.0
60
54
  type: :development
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ~>
58
+ - - "~>"
66
59
  - !ruby/object:Gem::Version
67
60
  version: 2.4.0
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: webmock
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ~>
65
+ - - "~>"
74
66
  - !ruby/object:Gem::Version
75
67
  version: '1.18'
76
68
  type: :development
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
- - - ~>
72
+ - - "~>"
82
73
  - !ruby/object:Gem::Version
83
74
  version: '1.18'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: vcr
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ~>
79
+ - - "~>"
90
80
  - !ruby/object:Gem::Version
91
81
  version: '2.9'
92
82
  type: :development
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ~>
86
+ - - "~>"
98
87
  - !ruby/object:Gem::Version
99
88
  version: '2.9'
100
89
  description: This gem provides a Ruby wrapper around the Google Places API for use
@@ -105,8 +94,8 @@ executables: []
105
94
  extensions: []
106
95
  extra_rdoc_files: []
107
96
  files:
108
- - .gitignore
109
- - .travis.yml
97
+ - ".gitignore"
98
+ - ".travis.yml"
110
99
  - CHANGELOG.md
111
100
  - Gemfile
112
101
  - Gemfile.lock
@@ -151,27 +140,26 @@ files:
151
140
  homepage: https://github.com/marceldegraaf/google_places
152
141
  licenses:
153
142
  - MIT
143
+ metadata: {}
154
144
  post_install_message:
155
145
  rdoc_options: []
156
146
  require_paths:
157
147
  - lib
158
148
  required_ruby_version: !ruby/object:Gem::Requirement
159
- none: false
160
149
  requirements:
161
- - - ! '>='
150
+ - - ">="
162
151
  - !ruby/object:Gem::Version
163
152
  version: '0'
164
153
  required_rubygems_version: !ruby/object:Gem::Requirement
165
- none: false
166
154
  requirements:
167
- - - ! '>='
155
+ - - ">="
168
156
  - !ruby/object:Gem::Version
169
157
  version: '0'
170
158
  requirements: []
171
159
  rubyforge_project:
172
- rubygems_version: 1.8.23.2
160
+ rubygems_version: 2.5.1
173
161
  signing_key:
174
- specification_version: 3
162
+ specification_version: 4
175
163
  summary: A Ruby wrapper around the Google Places API.
176
164
  test_files:
177
165
  - spec/api_key.sample.rb