rails_jwt_auth 0.15.2 → 0.15.3

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: 75dd02f2d7bbefd337d60459bceb0d7f2751e189
4
- data.tar.gz: 14216f9267af36d472e9a88075a010d7932ddd9d
3
+ metadata.gz: 7707d815623c98d52ffeba8ab839a280796a2484
4
+ data.tar.gz: 11033a8dc15b0c67e4c085243225e10df54c0d7b
5
5
  SHA512:
6
- metadata.gz: 956f217d584980202458ca7cc8cde55ef7e93a3441440b66536e07698ebd510b8652cb2a8da986495fbca3b2d02c818bf3e14dd86bb1290f9ab98903cae19ec5
7
- data.tar.gz: da16eb6bd31092531ded7fc48067548752f9074f89886118aac8a60be67909ff79a969bf554f1a853d3347d620abb9ea822654beedd40cf329b91cd38cb61ffd
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
- save
15
+ true
15
16
  end
16
17
 
17
18
  def confirmed?
@@ -1,3 +1,3 @@
1
1
  module RailsJwtAuth
2
- VERSION = '0.15.2'
2
+ VERSION = '0.15.3'
3
3
  end
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.2
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-04-19 00:00:00.000000000 Z
11
+ date: 2017-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails