google_places 0.24.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Gemfile.lock +1 -1
- data/README.rdoc +28 -2
- data/google_places.gemspec +1 -1
- data/lib/google_places.rb +1 -1
- data/lib/google_places/client.rb +33 -25
- data/lib/google_places/error.rb +0 -1
- data/lib/google_places/photo.rb +1 -7
- data/lib/google_places/prediction.rb +71 -0
- data/lib/google_places/request.rb +24 -24
- data/lib/google_places/spot.rb +20 -43
- data/spec/google_places/client_spec.rb +10 -5
- data/spec/google_places/location_spec.rb +0 -2
- data/spec/google_places/photo_spec.rb +4 -3
- data/spec/google_places/prediction_spec.rb +58 -0
- data/spec/google_places/request_spec.rb +0 -19
- data/spec/google_places/spot_spec.rb +14 -15
- data/spec/vcr_cassettes/list_predictions.yml +845 -0
- data/spec/vcr_cassettes/list_spots.yml +3364 -44
- data/spec/vcr_cassettes/list_spots_by_radar.yml +1070 -14
- data/spec/vcr_cassettes/list_spots_with_multiple_types.yml +1192 -10
- data/spec/vcr_cassettes/list_spots_with_name.yml +6 -6
- data/spec/vcr_cassettes/list_spots_with_name_and_types.yml +156 -6
- data/spec/vcr_cassettes/list_spots_with_single_type.yml +640 -6
- data/spec/vcr_cassettes/list_spots_with_types_and_exclusion.yml +1194 -10
- data/spec/vcr_cassettes/multiple_page_request.yml +4194 -8
- data/spec/vcr_cassettes/photo.yml +84 -2
- data/spec/vcr_cassettes/premium_list_spots_with_data.yml +3 -3
- data/spec/vcr_cassettes/single_spot.yml +1386 -16
- metadata +7 -2
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.26.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: 2014-
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- lib/google_places/error.rb
|
88
88
|
- lib/google_places/location.rb
|
89
89
|
- lib/google_places/photo.rb
|
90
|
+
- lib/google_places/prediction.rb
|
90
91
|
- lib/google_places/request.rb
|
91
92
|
- lib/google_places/review.rb
|
92
93
|
- lib/google_places/spot.rb
|
@@ -96,9 +97,11 @@ files:
|
|
96
97
|
- spec/google_places/client_spec.rb
|
97
98
|
- spec/google_places/location_spec.rb
|
98
99
|
- spec/google_places/photo_spec.rb
|
100
|
+
- spec/google_places/prediction_spec.rb
|
99
101
|
- spec/google_places/request_spec.rb
|
100
102
|
- spec/google_places/spot_spec.rb
|
101
103
|
- spec/spec_helper.rb
|
104
|
+
- spec/vcr_cassettes/list_predictions.yml
|
102
105
|
- spec/vcr_cassettes/list_spots.yml
|
103
106
|
- spec/vcr_cassettes/list_spots_by_radar.yml
|
104
107
|
- spec/vcr_cassettes/list_spots_with_multiple_types.yml
|
@@ -142,9 +145,11 @@ test_files:
|
|
142
145
|
- spec/google_places/client_spec.rb
|
143
146
|
- spec/google_places/location_spec.rb
|
144
147
|
- spec/google_places/photo_spec.rb
|
148
|
+
- spec/google_places/prediction_spec.rb
|
145
149
|
- spec/google_places/request_spec.rb
|
146
150
|
- spec/google_places/spot_spec.rb
|
147
151
|
- spec/spec_helper.rb
|
152
|
+
- spec/vcr_cassettes/list_predictions.yml
|
148
153
|
- spec/vcr_cassettes/list_spots.yml
|
149
154
|
- spec/vcr_cassettes/list_spots_by_radar.yml
|
150
155
|
- spec/vcr_cassettes/list_spots_with_multiple_types.yml
|