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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abe51a448ee1c23ead964f1d3fd53ef1a0f1443d
4
- data.tar.gz: 7731662d778cc78da4265f7850d071f8632d7d99
3
+ metadata.gz: b24df7ebbf3c2b63f47289067de5734aa630a636
4
+ data.tar.gz: f66bf39f7b53cb7ae65bb08dc4840b14ba19870e
5
5
  SHA512:
6
- metadata.gz: 174b7dc71c02263dc0be659bac3c4cc980b37e80cc735c980845c0a7f9a2732eebfd0956b0b473bc3da0e9e7b14c85365a4465ac243fa75367435bdf7fc8f03a
7
- data.tar.gz: 6df5de828db92a655a6ecdef225f7bfb3680479c9bcb8ef6769323430f7420371135d7a675992f301b7eb32ee7619ce9f1fc878e9da7454641273cc11e77a098
6
+ metadata.gz: 4e5b4824161b7f5f7ca28b79ee25c09582fed204218b490382718ca0c9bb2255a73811db5ec73941b442d521dbc8d785e8f7a79c459c1529207b9893e0853c0e
7
+ data.tar.gz: 62efa5ebcf5fac31cda03a5ff112764c783b08b00fafb12a7600b0c8ad04922c9a409b8c444d4f4f6ae5527d099c9b1ad06905d0792265dc9f873928434117f8
@@ -15,3 +15,6 @@ ratings:
15
15
  - "**.rb"
16
16
  exclude_paths:
17
17
  - spec/
18
+ - Gemfile
19
+ - bin/console
20
+ - devise-jwt.gemspec
@@ -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
 
@@ -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.0'
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"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Devise
4
4
  module JWT
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
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.0
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-02-28 00:00:00.000000000 Z
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.0
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.0
40
+ version: 0.1.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement