rails_jwt_auth 0.23.1 → 0.23.2

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
  SHA256:
3
- metadata.gz: 30dd056bd39f52415bc62c4d1ff401cb0c5eae1e8a3d106e462cb264ebcd2565
4
- data.tar.gz: 95dd99f7ce26037ce8aa6e64782cb004c4fa3782468645a41d3fbeb317e4fecc
3
+ metadata.gz: 3f2bb54ad03eb6ae68df80837ebabf8c5776a203054c8bd0cc36717c64584998
4
+ data.tar.gz: 5f70184881ea5d659370b4de0efe24728cfed2b6a3e609d52a9ba9ac7d2d3a84
5
5
  SHA512:
6
- metadata.gz: 936f43e24f01fc3e05bb36dc6e17335b12e319fbbdcc75953630e5c2f542f8a94f8d1c49d667cdf7e138a845ad2235c72a81c09712e987a53643d4d8741d0aad
7
- data.tar.gz: 4fc9640ee03f5390a1b64b915d7fe761164f5e9fa859b4c3d35c05a953329228f2f0a7c81c3d1221fc9150783d6089a26998a39829b9527b686a19bb67c5c2b3
6
+ metadata.gz: 272e1db7b47baa155082f0b3ad30166b98d5d8dd688e1ae8780c9c646f9a05b1257e7f71ae460beace39d361e0cdf13ebc4b999719c7370cdd1ed58697c388d7
7
+ data.tar.gz: 6cbe40b43ad22c88166e7814ae5e06b018a9116e6ddc92f37bd3ac67519b41ec0d8bbce8c7d217c697da6721608ae6e265c615bfb03500e58e08ebfa650a26bc
@@ -10,7 +10,7 @@ module RailsJwtAuth
10
10
  self.confirmation_sent_at = Time.now
11
11
  return false unless save
12
12
 
13
- mailer = Mailer.confirmation_instructions(id)
13
+ mailer = Mailer.confirmation_instructions(id.to_s)
14
14
  RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
15
15
  true
16
16
  end
@@ -67,7 +67,7 @@ module RailsJwtAuth
67
67
  self.confirmation_token = SecureRandom.base58(24)
68
68
  self.confirmation_sent_at = Time.now
69
69
 
70
- mailer = Mailer.confirmation_instructions(id)
70
+ mailer = Mailer.confirmation_instructions(id.to_s)
71
71
  RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
72
72
  end
73
73
  end
@@ -114,7 +114,7 @@ module RailsJwtAuth
114
114
  end
115
115
 
116
116
  def send_invitation_mail
117
- mailer = Mailer.send_invitation(id)
117
+ mailer = Mailer.send_invitation(id.to_s)
118
118
  RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
119
119
  end
120
120
 
@@ -10,7 +10,7 @@ module RailsJwtAuth
10
10
  self.reset_password_sent_at = Time.now
11
11
  return false unless save
12
12
 
13
- mailer = Mailer.reset_password_instructions(id)
13
+ mailer = Mailer.reset_password_instructions(id.to_s)
14
14
  RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
15
15
  end
16
16
 
@@ -25,7 +25,7 @@ module RailsJwtAuth
25
25
  self.reset_password_sent_at = Time.now
26
26
  return false unless save
27
27
 
28
- mailer = Mailer.set_password_instructions(id)
28
+ mailer = Mailer.set_password_instructions(id.to_s)
29
29
  RailsJwtAuth.deliver_later ? mailer.deliver_later : mailer.deliver
30
30
  true
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module RailsJwtAuth
2
- VERSION = '0.23.1'
2
+ VERSION = '0.23.2'
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.23.1
4
+ version: 0.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rjurado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-08 00:00:00.000000000 Z
11
+ date: 2019-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt