authlogic-connect 0.0.4.04 → 0.0.4.05

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/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.04"
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
- attrs_to_save.merge!(:password => password, :password_confirmation => password_confirmation)
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
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 0
8
8
  - 4
9
- - 4
10
- version: 0.0.4.04
9
+ - 5
10
+ version: 0.0.4.05
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lance Pollard