authlogic_email_token 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ba6f218993b7a469b0bc78298635c8bc46b4dd
|
4
|
+
data.tar.gz: c01d7bb1f828facbecf023016d96b24278bbc40f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05d84f38d0bda3f05205364349a8313d1ff8d52e563083d7a7b4e5f8f65baa4e8d726ff2932903a47a1cd14c4ffe097adea5c3b71ed44bd48784282b66e37d6
|
7
|
+
data.tar.gz: d9e01061d22bf8d1fc35a00208b8bbab1fc6798b10fe687beeeb510f9c308471b23b374879e042812c94e53a322c0ffb760fdea2b1a67d95f541dac3ea07cf5a
|
@@ -53,7 +53,6 @@ module Authlogic::ActsAsAuthentic::EmailToken::Confirmation
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns true if and only if:
|
56
|
-
#
|
57
56
|
# * +email+ changed during the previous save; or
|
58
57
|
# * +new_email+ changed during the previous save.
|
59
58
|
def email_changed_previously?
|
@@ -86,7 +85,7 @@ module Authlogic::ActsAsAuthentic::EmailToken::Confirmation
|
|
86
85
|
#
|
87
86
|
# acts_as_authentic do |c|
|
88
87
|
# c.confirmation_mailer_class = :MyOtherMailer
|
89
|
-
# c.confirmation_mailer_method = :
|
88
|
+
# c.confirmation_mailer_method = :a_method_name
|
90
89
|
# end
|
91
90
|
#
|
92
91
|
# Recommended usage looks something like this:
|
@@ -105,7 +104,7 @@ module Authlogic::ActsAsAuthentic::EmailToken::Confirmation
|
|
105
104
|
# def update
|
106
105
|
# if current_user.update_attributes existing_user_params
|
107
106
|
# if current_user.maybe_deliver_email_confirmation! self
|
108
|
-
# redirect_to
|
107
|
+
# redirect_to edit_user_url, notice: 'Confirmation email sent.'
|
109
108
|
# else
|
110
109
|
# redirect_to edit_user_url, notice: 'Account settings saved.'
|
111
110
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authlogic_email_token
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarrett Colby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: authlogic
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: minitest
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|