authlogic_email_token 0.0.4 → 0.0.5

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: 65ba6f218993b7a469b0bc78298635c8bc46b4dd
4
- data.tar.gz: c01d7bb1f828facbecf023016d96b24278bbc40f
3
+ metadata.gz: 3ccf69c45b7a78ae53a457a20eb8a3bb1e1be25d
4
+ data.tar.gz: 5e5ad4c31a0000b4185e4290ea47826d8383fc79
5
5
  SHA512:
6
- metadata.gz: a05d84f38d0bda3f05205364349a8313d1ff8d52e563083d7a7b4e5f8f65baa4e8d726ff2932903a47a1cd14c4ffe097adea5c3b71ed44bd48784282b66e37d6
7
- data.tar.gz: d9e01061d22bf8d1fc35a00208b8bbab1fc6798b10fe687beeeb510f9c308471b23b374879e042812c94e53a322c0ffb760fdea2b1a67d95f541dac3ea07cf5a
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
- # If you don't like that, you can override it by providing a block to this method. E.g.:
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).deliver
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).deliver
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
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: 2014-10-24 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: authlogic