google_places 0.9 → 0.9.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/Gemfile.lock +5 -5
- data/google_places.gemspec +1 -1
- data/lib/google_places/spot.rb +3 -3
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
google_places (0.
|
|
4
|
+
google_places (0.9)
|
|
5
5
|
httparty
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -9,11 +9,11 @@ GEM
|
|
|
9
9
|
specs:
|
|
10
10
|
diff-lcs (1.1.3)
|
|
11
11
|
fakeweb (1.3.0)
|
|
12
|
-
httparty (0.
|
|
12
|
+
httparty (0.10.2)
|
|
13
13
|
multi_json (~> 1.0)
|
|
14
|
-
multi_xml
|
|
15
|
-
multi_json (1.
|
|
16
|
-
multi_xml (0.5.
|
|
14
|
+
multi_xml (>= 0.5.2)
|
|
15
|
+
multi_json (1.5.0)
|
|
16
|
+
multi_xml (0.5.2)
|
|
17
17
|
rspec (2.11.0)
|
|
18
18
|
rspec-core (~> 2.11.0)
|
|
19
19
|
rspec-expectations (~> 2.11.0)
|
data/google_places.gemspec
CHANGED
data/lib/google_places/spot.rb
CHANGED
|
@@ -226,9 +226,9 @@ module GooglePlaces
|
|
|
226
226
|
next_page = false
|
|
227
227
|
unless response["next_page_token"].nil?
|
|
228
228
|
options = {
|
|
229
|
-
pagetoken
|
|
230
|
-
key
|
|
231
|
-
sensor
|
|
229
|
+
:pagetoken => response["next_page_token"],
|
|
230
|
+
:key => options[:key],
|
|
231
|
+
:sensor => options[:sensor]
|
|
232
232
|
}
|
|
233
233
|
sleep(2) # the time the token is issued, else InvalidRequestError
|
|
234
234
|
next_page = true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google_places
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-02-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|