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: 13d131a5b5ed0505ee136c556dbfd2dc84b18618f71b15de4367f0de98f13f66
4
- data.tar.gz: cace9cd679f40aaee7a15392fb37d13c9b4df774e3f16887671283894ebc2a6e
3
+ metadata.gz: c48246c3d7835cf59bc8f9a2908de02ee33997531f52a086d8d761febe8299b7
4
+ data.tar.gz: a56a4d841972c64808ee0ac5b09e50eebb9d070104bb75cafa422fc0eaafedf3
5
5
  SHA512:
6
- metadata.gz: 7a04bb9ca933fb3077e780a91cf942e4f984a8a38439ebc9d44f603ab23eb2e6e4b4ad293f20ad2f058db14bb9baf9f0f07dca39b28ef9d631b107f921f6de0c
7
- data.tar.gz: e20b567941176b0d42ad7da9dff27c3b78ef75a04e9a2dbbdd215b8a87c9af76763e5b2a963089bbd73f3391db4c9ef44df961131b4b09e6bfbc88cd7b9deac1
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 web before new password is setted.
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.secrets.secret_key_base || Rails.application.credentials.secret_key_base
6
+ Rails.application.secret_key_base
7
7
  end
8
8
 
9
9
  # Encodes and signs JWT Payload with expiration
@@ -1,3 +1,3 @@
1
1
  module RailsJwtAuth
2
- VERSION = '2.0.3'
2
+ VERSION = '2.0.4'
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: 2.0.3
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: 2021-07-10 00:00:00.000000000 Z
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: '2.1'
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: '2.1'
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.1.4
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: []