mogli 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mogli/client.rb +3 -3
- data/lib/mogli/post.rb +1 -0
- metadata +4 -4
data/lib/mogli/client.rb
CHANGED
@@ -173,9 +173,9 @@ module Mogli
|
|
173
173
|
f.concat(hash["data"])
|
174
174
|
f.client = self
|
175
175
|
f.classes = Array(klass)
|
176
|
-
if hash["paging"]
|
177
|
-
f.next_url =
|
178
|
-
f.previous_url =
|
176
|
+
if paging=hash["paging"]
|
177
|
+
f.next_url = URI.encode paging["next"] unless paging["next"].nil?
|
178
|
+
f.previous_url = URI.encode paging["previous"] unless paging["previous"].nil?
|
179
179
|
end
|
180
180
|
f
|
181
181
|
end
|
data/lib/mogli/post.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mogli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 33
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 31
|
10
|
+
version: 0.0.31
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Mangino
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-29 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|