rails_jwt_auth 0.15.2 → 0.15.3
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: 7707d815623c98d52ffeba8ab839a280796a2484
|
4
|
+
data.tar.gz: 11033a8dc15b0c67e4c085243225e10df54c0d7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a66ea670862efd6164577d0f9d637f7d6f8872bde6245d2d9cdbb251095b1a3a4bc62dfb289b0d42c885bf5af0cd1f1d73a7b0d638cd407f8acbee091feb112
|
7
|
+
data.tar.gz: 2be976c6ff68e9ef21a9e949ab3e692b409ec505be9f2b1c2bfb758171899f962561530a70e2536b51b210b491d9a679627a63e6a022a096338947b345520bc1
|
@@ -8,10 +8,11 @@ module RailsJwtAuth
|
|
8
8
|
|
9
9
|
self.confirmation_token = SecureRandom.base58(24)
|
10
10
|
self.confirmation_sent_at = Time.now
|
11
|
+
return false unless save
|
11
12
|
|
12
13
|
mailer = Mailer.confirmation_instructions(self)
|
13
14
|
RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
|
14
|
-
|
15
|
+
true
|
15
16
|
end
|
16
17
|
|
17
18
|
def confirmed?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_jwt_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rjurado
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|