buddy 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/buddy/rails/controller.rb +4 -4
- data/lib/rack/facebook.rb +1 -3
- metadata +4 -4
@@ -26,15 +26,15 @@ module Buddy
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def application_is_installed?
|
29
|
-
!params[:oauth_token].blank?
|
29
|
+
!params[:fb][:oauth_token].blank?
|
30
30
|
end
|
31
31
|
|
32
32
|
def request_is_facebook_canvas?
|
33
|
-
params[:profile_id].blank?
|
33
|
+
params[:fb][:profile_id].blank?
|
34
34
|
end
|
35
35
|
|
36
36
|
def request_is_facebook_tab?
|
37
|
-
!params[:profile_id].blank?
|
37
|
+
!params[:fb][:profile_id].blank?
|
38
38
|
end
|
39
39
|
|
40
40
|
def clear_facebook_session_information
|
@@ -48,7 +48,7 @@ module Buddy
|
|
48
48
|
|
49
49
|
def create_facebook_session
|
50
50
|
@facebook_session = new_facebook_session
|
51
|
-
@facebook_session.secure!(params[:user_id], params[:oauth_token], params[:expires])
|
51
|
+
@facebook_session.secure!(params[:fb][:user_id], params[:fb][:oauth_token], params[:fb][:expires])
|
52
52
|
@facebook_session.secured?
|
53
53
|
end
|
54
54
|
|
data/lib/rack/facebook.rb
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 0.5.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ole Riesenberg
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-10-01 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|