devise_oauth2_facebook 0.1.42 → 0.1.43

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/README CHANGED
@@ -34,3 +34,5 @@ Create a migration file to add the columns:
34
34
  add_column :users, :facebook_uid, :string
35
35
  add_column :users, :facebook_token, :string
36
36
 
37
+ Finally, update your view to include "Login with facebook" link:
38
+ <%= link_to "Login with facebook", fb_user_auth_path %>
@@ -9,7 +9,7 @@ module Devise
9
9
  self.send("#{self.class.facebook_token_field}=".to_sym, token)
10
10
  self.email = fb_user.email.to_s.downcase if fb_user.respond_to?(:email)
11
11
  update_facebook_user(fb_user)
12
- self.save_without_validation
12
+ self.save(false)
13
13
  end
14
14
 
15
15
  def update_facebook_user(fb_user)
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: 79
4
+ hash: 77
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 42
10
- version: 0.1.42
9
+ - 43
10
+ version: 0.1.43
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-06-11 00:00:00 +01:00
18
+ date: 2010-07-09 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency