devise-jwt 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/devise-jwt.gemspec +1 -1
- data/lib/devise/jwt/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24df7ebbf3c2b63f47289067de5734aa630a636
|
4
|
+
data.tar.gz: f66bf39f7b53cb7ae65bb08dc4840b14ba19870e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e5b4824161b7f5f7ca28b79ee25c09582fed204218b490382718ca0c9bb2255a73811db5ec73941b442d521dbc8d785e8f7a79c459c1529207b9893e0853c0e
|
7
|
+
data.tar.gz: 62efa5ebcf5fac31cda03a5ff112764c783b08b00fafb12a7600b0c8ad04922c9a409b8c444d4f4f6ae5527d099c9b1ad06905d0792265dc9f873928434117f8
|
data/.codeclimate.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,10 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [0.2.0] - 2017-04-13
|
8
|
+
### Fixed
|
9
|
+
- Ignore expired token revocation
|
10
|
+
|
7
11
|
## [0.2.0] - 2017-02-28
|
8
12
|
### Added
|
9
13
|
- Dispatch token on sign up
|
10
14
|
- Speed up initialization
|
15
|
+
|
11
16
|
### Fixed
|
12
17
|
- Do not depend on assumed helpers to build default paths
|
13
18
|
- Use `sign_out_via` devise option to set revocation request methods
|
data/README.md
CHANGED
@@ -116,7 +116,7 @@ class User < ApplicationRecord
|
|
116
116
|
include Devise::JWT::RevocationStrategies::JTIMatcher
|
117
117
|
|
118
118
|
devise :database_authenticatable,
|
119
|
-
jwt_revocation_strategy: self
|
119
|
+
:jwt_authenticatable, jwt_revocation_strategy: self
|
120
120
|
end
|
121
121
|
```
|
122
122
|
|
@@ -160,7 +160,7 @@ Last, configure the user model to use it:
|
|
160
160
|
```ruby
|
161
161
|
class User < ApplicationRecord
|
162
162
|
devise :database_authenticatable,
|
163
|
-
jwt_revocation_strategy: JWTBlacklist
|
163
|
+
:jwt_authenticatable, jwt_revocation_strategy: JWTBlacklist
|
164
164
|
end
|
165
165
|
```
|
166
166
|
|
data/devise-jwt.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
24
|
spec.add_dependency 'devise', '~> 4.0'
|
25
|
-
spec.add_dependency 'warden-jwt_auth', '~> 0.1.
|
25
|
+
spec.add_dependency 'warden-jwt_auth', '~> 0.1.2'
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 1.12"
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/devise/jwt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-jwt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc Busqué
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.
|
33
|
+
version: 0.1.2
|
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: 0.1.
|
40
|
+
version: 0.1.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|