devise_browserid_authenticatable 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.files = `git ls-files`.split("\n")
11
11
  s.require_paths = ["lib"]
12
12
 
13
- s.version = "1.1.1"
13
+ s.version = "1.1.2"
14
14
 
15
15
  s.add_dependency "devise", "~> 2.1"
16
16
  end
@@ -24,7 +24,7 @@ class Devise::Strategies::BrowseridAuthenticatable < Devise::Strategies::Authent
24
24
 
25
25
  unless u
26
26
  password = Devise.friendly_token
27
- u = mapping.to.create(:email => @asserted["email"], :password => password, :password_confirmation => password)
27
+ u = mapping.to.new(:email => @asserted["email"], :password => password, :password_confirmation => password)
28
28
  u.skip_confirmation!
29
29
  u.save!
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_browserid_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-19 00:00:00.000000000 Z
12
+ date: 2012-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise