mini_fb 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mini_fb.rb +4 -4
- metadata +4 -4
data/lib/mini_fb.rb
CHANGED
@@ -380,7 +380,7 @@ module MiniFB
|
|
380
380
|
@object.metadata.connections.keys
|
381
381
|
end
|
382
382
|
|
383
|
-
undef :id, :type
|
383
|
+
# undef :id, :type
|
384
384
|
|
385
385
|
def methods
|
386
386
|
super + @object.keys.include?(key) + connections.include?(key)
|
@@ -540,13 +540,13 @@ module MiniFB
|
|
540
540
|
resp = RestClient.get url
|
541
541
|
end
|
542
542
|
|
543
|
-
puts 'resp=' + resp.
|
543
|
+
puts 'resp=' + resp.to_s if @@logging
|
544
544
|
|
545
545
|
begin
|
546
|
-
res_hash = JSON.parse(resp.
|
546
|
+
res_hash = JSON.parse(resp.to_s)
|
547
547
|
rescue
|
548
548
|
# quick fix for things like stream.publish that don't return json
|
549
|
-
res_hash = JSON.parse("{\"response\": #{resp.
|
549
|
+
res_hash = JSON.parse("{\"response\": #{resp.to_s}}")
|
550
550
|
end
|
551
551
|
|
552
552
|
if res_hash.is_a? Array # fql return this
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_fb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Travis Reeder
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-07-
|
19
|
+
date: 2010-07-06 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|