rb_facebook 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rb_facebook.rb +3 -2
- metadata +5 -5
data/lib/rb_facebook.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module RbFacebook
|
2
2
|
|
3
|
-
VERSION = '0.0.
|
3
|
+
VERSION = '0.0.8'
|
4
4
|
class Api
|
5
5
|
|
6
6
|
attr_accessor :access_token, :app_id, :app_secret, :rest_api_host, :graph_api_host
|
@@ -193,8 +193,9 @@ module RbFacebook
|
|
193
193
|
api_params = args[:params] || {}
|
194
194
|
use_access_token = !args[:no_access_token]
|
195
195
|
log_call_url = args[:log_call_url]
|
196
|
+
multipart_post = args[:mp_post]
|
196
197
|
|
197
|
-
api_fetch(self.graph_api_host, method_name, api_params, use_access_token, log_call_url)
|
198
|
+
api_fetch(self.graph_api_host, method_name, api_params, use_access_token, log_call_url, :mp_post => multipart_post)
|
198
199
|
end
|
199
200
|
|
200
201
|
def rest_api_parse(method_name, args = {})
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb_facebook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Levinson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-02-07 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements: []
|
78
78
|
|
79
79
|
rubyforge_project: rb_facebook
|
80
|
-
rubygems_version: 1.
|
80
|
+
rubygems_version: 1.7.2
|
81
81
|
signing_key:
|
82
82
|
specification_version: 3
|
83
83
|
summary: Lightweight wrapper around the facebook REST and Graph API
|