authlogic_email_token 0.0.4 → 0.0.5
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ccf69c45b7a78ae53a457a20eb8a3bb1e1be25d
|
4
|
+
data.tar.gz: 5e5ad4c31a0000b4185e4290ea47826d8383fc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5b52046bcc9de90f06c99326c5a3fbb824a98b7424f6007dc93d71f9ce8dfba0672b01d6913dd420b33a3708ecce7500414505c04547197d3350e38212b9486
|
7
|
+
data.tar.gz: e354cfdb8520402ea0d01d54b09fc56f5b40d9aa106324c1e0a772e82b2783390b6aae33bd929de82e445e57b07de843d7db1aa89917bee48f3c92a41f656122
|
@@ -74,11 +74,14 @@ module Authlogic::ActsAsAuthentic::EmailToken::Confirmation
|
|
74
74
|
#
|
75
75
|
# UserMailer.email_confirmation(user, controller)
|
76
76
|
#
|
77
|
-
#
|
77
|
+
# Also by default, this method calls #deliver_now on the message returned by
|
78
|
+
# +UserMailer.email_confirmation+.
|
79
|
+
#
|
80
|
+
# You can override either of these defaults by providing a block to this method. E.g.:
|
78
81
|
#
|
79
82
|
# # This would be in a controller action, so self refers to the controller.
|
80
83
|
# user.maybe_deliver_email_confirmation!(self) do
|
81
|
-
# MyOtherMailer.whatever_message(user).
|
84
|
+
# MyOtherMailer.whatever_message(user).deliver_later
|
82
85
|
# end
|
83
86
|
#
|
84
87
|
# Or, instead of providing a block, you can override the default names like so:
|
@@ -133,7 +136,7 @@ module Authlogic::ActsAsAuthentic::EmailToken::Confirmation
|
|
133
136
|
klass = name.split('::').inject(Object) do |mod, klass|
|
134
137
|
mod.const_get klass
|
135
138
|
end
|
136
|
-
klass.send(self.class.confirmation_mailer_method, self, controller).
|
139
|
+
klass.send(self.class.confirmation_mailer_method, self, controller).deliver_now
|
137
140
|
end
|
138
141
|
true
|
139
142
|
else
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarrett Colby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: authlogic
|