thorsson_facebooker2 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,6 +90,10 @@ module Facebooker2
90
90
  def fb_cookie
91
91
  cookies[fb_cookie_name]
92
92
  end
93
+
94
+ def clear_fb_cookie
95
+ cookies.delete fb_cookie_name
96
+ end
93
97
 
94
98
  def fb_cookie_name
95
99
  return "#{Facebooker2.cookie_prefix + Facebooker2.app_id.to_s}"
@@ -248,6 +252,7 @@ module Facebooker2
248
252
  session[:facebooker2_access_token]=nil
249
253
  session[:facebooker2_expiration]=nil
250
254
  session[:facebooker2_user_id]=nil
255
+ clear_fb_cookie
251
256
  end
252
257
 
253
258
 
@@ -256,7 +261,6 @@ module Facebooker2
256
261
  encoded += ("=" * chars_to_add)
257
262
  Base64.decode64(encoded.tr("-_", "+/"))
258
263
  end
259
-
260
264
  end
261
265
  end
262
266
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thorsson_facebooker2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-03 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mogli
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70207570396420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 0.0.33
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 0.0.33
24
+ version_requirements: *70207570396420
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: ruby-hmac
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70207570396020 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70207570396020
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: rake
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70207570395480 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ~>
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: 0.8.7
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.8.7
46
+ version_requirements: *70207570395480
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rspec
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70207570394980 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ~>
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: 1.3.1
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 1.3.1
57
+ version_requirements: *70207570394980
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rspec-rails
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70207570394520 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ~>
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: 1.3.1
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 1.3.1
68
+ version_requirements: *70207570394520
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: rails
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70207570394060 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ~>
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: 2.3.10
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 2.3.10
79
+ version_requirements: *70207570394060
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: json
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70207570393600 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ~>
@@ -117,12 +87,7 @@ dependencies:
117
87
  version: 1.4.0
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 1.4.0
90
+ version_requirements: *70207570393600
126
91
  description: Facebook Connect integration library for ruby and rails
127
92
  email: mmangino@elevatedrails.com
128
93
  executables: []
@@ -158,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
123
  version: '0'
159
124
  requirements: []
160
125
  rubyforge_project:
161
- rubygems_version: 1.8.25
126
+ rubygems_version: 1.8.15
162
127
  signing_key:
163
128
  specification_version: 3
164
129
  summary: Facebook Connect integration library for ruby and rails