devision 0.0.2.8 → 0.0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devision/models/confirmable.rb +1 -1
- data/lib/devision/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c1c77b71327aec36fa2df6c7dd64f7c019c1c38
|
4
|
+
data.tar.gz: 5554a5ae0c2aa22c2f3de805e905f14c2a3dba8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f434934bd9af6e2c2870f72e44776d6c7e56a4e3ef965f4a27e5a90703e3cd5f4d736739849e51462254ebd8cedcb42fa23451371fd4abb70adda0269f92e03
|
7
|
+
data.tar.gz: 439b127e29cce9af2e590318e48ab9771340f930b2395c1d1dda9a0004891c5fbae1a22a32da7c7353292be06a7fdc351f0ded45078d5621f9332d3e6e631051
|
@@ -71,7 +71,7 @@ module Devision
|
|
71
71
|
original_token = raw_confirmation_token
|
72
72
|
saved_token = Devision.token_generator.digest(self, :confirmation_token, original_token)
|
73
73
|
|
74
|
-
confirmable = find_or_initialize_with_error_by(confirmation_token
|
74
|
+
confirmable = find_or_initialize_with_error_by(:confirmation_token, saved_token)
|
75
75
|
confirmable.confirm! if confirmable.persisted?
|
76
76
|
confirmable.confirmation_token = original_token
|
77
77
|
confirmable
|
data/lib/devision/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Faucett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|