google_places 0.30.0 → 0.31.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38654649db0478793fd7abe3c0b80f2ab7c25f46
4
- data.tar.gz: 4871aa13e63e37b8b8a393939af98ddfe9a99871
3
+ metadata.gz: bcadd814b3ff9742302968a5dc3c32604be490bb
4
+ data.tar.gz: 47e2c8c66665412997d6ba052e1c5e2c70738756
5
5
  SHA512:
6
- metadata.gz: 15fb60f01e7d74b0e38eda355810377d401b44e080fbf2861fb1899e68f82b6b0f5218dae63d18d97332c6a40363be84aca46aab1c083737067c00a46158a8c4
7
- data.tar.gz: 0d6e1fd84dcb5db00e31ff38813da5599f75708394d68896cea88d529f93656fc6a91070f7d51618bec020c9b92e386c672d3645a708907e1b532c120eda782a
6
+ metadata.gz: 615f843129606529d9979f70eef8a2a78fa2a6cc93caca738969b6a417a1ce5e44ec12df1cdca83f84c3f9902324ac0298aeb9da72bdd49bc711ccbdfadc21a3
7
+ data.tar.gz: ec02ef50cff01fd464719de10d7f3c6017fc6cf27486efe6d3535e8cb4c7258670145bb36ff79c53786d833eaaa5d3d62e5a7ca874f56ee4ac0d9166ec88ca75
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_places (0.30.0)
4
+ google_places (0.31.0)
5
5
  httparty (~> 0.13.1)
6
6
 
7
7
  GEM
@@ -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.30.0'
6
+ s.version = '0.31.0'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Marcel de Graaf']
9
9
  s.email = ['mail@marceldegraaf.net']
@@ -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
- options[:components] = components
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.30.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-02-26 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty