devise_oauth2_facebook 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/devise_oauth2_facebook/model.rb +1 -1
- metadata +4 -4
|
@@ -7,7 +7,7 @@ module Devise
|
|
|
7
7
|
def do_update_facebook_user(fb_user, token)
|
|
8
8
|
self.send("#{self.class.facebook_uid_field}=".to_sym, fb_user.id)
|
|
9
9
|
self.send("#{self.class.facebook_token_field}=".to_sym, token)
|
|
10
|
-
self.email = fb_user.email.to_s.downcase if fb_user.
|
|
10
|
+
self.email = fb_user.email.to_s.downcase if fb_user.email.present?
|
|
11
11
|
update_facebook_user(fb_user)
|
|
12
12
|
self.save(:validate => false)
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_oauth2_facebook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 65
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 45
|
|
10
|
+
version: 0.1.45
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mooktakim Ahmed
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-07-
|
|
18
|
+
date: 2010-07-24 00:00:00 +01:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|