buddy 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,7 +97,7 @@ module Buddy
97
97
  expires = payload['expires']
98
98
 
99
99
  @request.session['facebook_session'] = Buddy::Session.create(Buddy.current_config['app_id'], Buddy.current_config['secret'])
100
- @request.session['facebook_session'].secure!(uid.to_i, access_token, expires.to_i)
100
+ @request.session['facebook_session'].secure!(uid.to_i, access_token, expires.to_i) unless uid.blank? or access_token.blank?
101
101
  end
102
102
  end
103
103
  end
data/lib/buddy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Buddy
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buddy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 2
10
- version: 2.0.2
9
+ - 3
10
+ version: 2.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ole Riesenberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-20 00:00:00 +02:00
18
+ date: 2011-07-21 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21