rails_jwt_auth 2.0.3 → 2.0.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c48246c3d7835cf59bc8f9a2908de02ee33997531f52a086d8d761febe8299b7
|
4
|
+
data.tar.gz: a56a4d841972c64808ee0ac5b09e50eebb9d070104bb75cafa422fc0eaafedf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5998e73d76bae7d42a20a4b5bed0fb12968a3a3d7866b774e272b2d9b252347c4d746511000057089b54cc2ccbc155bfa44a1a6672f513b3a9ee4556319b6a5
|
7
|
+
data.tar.gz: 11a126061c84af57831919b95f3327e6519e3aa92ef783bceda4306a14333cbc5ade430973571a05fa9fc061934d7f6935902004bf81380ebe3d4594b4c7bb93
|
data/README.md
CHANGED
@@ -381,7 +381,7 @@ Reset password api is defined by `RailsJwtAuth::ResetPasswordsController`.
|
|
381
381
|
|
382
382
|
2. Check token validation:
|
383
383
|
|
384
|
-
Used to verify token and show an alert in your
|
384
|
+
Used to verify a token and show an alert in your website before the new password is set.
|
385
385
|
|
386
386
|
```js
|
387
387
|
{
|
@@ -10,7 +10,7 @@ module RailsJwtAuth
|
|
10
10
|
field :password_digest, type: String
|
11
11
|
field :auth_tokens, type: Array, default: [] if RailsJwtAuth.simultaneous_sessions > 0
|
12
12
|
elsif defined?(ActiveRecord) && ancestors.include?(ActiveRecord::Base)
|
13
|
-
serialize :auth_tokens, Array
|
13
|
+
serialize :auth_tokens, type: Array
|
14
14
|
end
|
15
15
|
|
16
16
|
has_secure_password
|
@@ -3,7 +3,7 @@ require 'jwt'
|
|
3
3
|
module RailsJwtAuth
|
4
4
|
module JwtManager
|
5
5
|
def self.secret_key_base
|
6
|
-
Rails.application.
|
6
|
+
Rails.application.secret_key_base
|
7
7
|
end
|
8
8
|
|
9
9
|
# Encodes and signs JWT Payload with expiration
|
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: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rjurado
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +101,7 @@ homepage: https://github.com/rjurado01/rails_jwt_auth
|
|
101
101
|
licenses:
|
102
102
|
- MIT
|
103
103
|
metadata: {}
|
104
|
-
post_install_message:
|
104
|
+
post_install_message:
|
105
105
|
rdoc_options: []
|
106
106
|
require_paths:
|
107
107
|
- lib
|
@@ -116,8 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
119
|
+
rubygems_version: 3.4.19
|
120
|
+
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Rails jwt authentication.
|
123
123
|
test_files: []
|