authlogic-connect 0.0.4.04 → 0.0.4.05
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/authlogic_connect/openid/user.rb +3 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ require 'rake/gempackagetask'
|
|
6
6
|
spec = Gem::Specification.new do |s|
|
7
7
|
s.name = "authlogic-connect"
|
8
8
|
s.author = "Lance Pollard"
|
9
|
-
s.version = "0.0.4.
|
9
|
+
s.version = "0.0.4.05"
|
10
10
|
s.summary = "Authlogic Connect: Oauth and OpenID made dead simple"
|
11
11
|
s.homepage = "http://github.com/viatropos/authlogic-connect"
|
12
12
|
s.email = "lancejpollard@gmail.com"
|
@@ -28,7 +28,9 @@ module AuthlogicConnect::Openid
|
|
28
28
|
attrs_to_save = attributes.clone.delete_if do |k, v|
|
29
29
|
attr_list.include?(k.to_sym)
|
30
30
|
end
|
31
|
-
|
31
|
+
if self.respond_to?(:password) && self.respond_to?(:password_confirmation)
|
32
|
+
attrs_to_save.merge!(:password => password, :password_confirmation => password_confirmation)
|
33
|
+
end
|
32
34
|
attrs_to_save.reject!{|k, v| v.blank? || !self.respond_to?(k)}
|
33
35
|
end
|
34
36
|
end
|