warden-jwt_auth 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 34e03053d7d0cbb4203ab4d6aa8bb7bfc676e761
4
- data.tar.gz: 72b74b1f1615ddc0662cd0890ae607da8533d94a
3
+ metadata.gz: 0f2f0af9e51814e3bb56dac06da854237e512735
4
+ data.tar.gz: 18c1169ba5361c4511e3ea5c562c336ef2b949ad
5
5
  SHA512:
6
- metadata.gz: 4c47f358804b6c9c686a8b0f04a4f090891bb16632668e8fc72003fe3d4bdde9ae725daa1e3e464210bd24a303c5eb7a4267cd585937e83326c38ec00848cf52
7
- data.tar.gz: 232aa46affc391d94fa5c0a8b00adb24078294b2587a6fa7806595388a660aeade514a465f3803d452bda05a56e8d654243eed5408cb81b21b55d0ce8d0fb867
6
+ metadata.gz: 630a109af2e1d523dfb908ca3b8867f236767a5a5b71b025efd0a40af37bd7fdffb2ea83d6b58702b9d2574af5f4987cfc96e4dc8f0e02d2db3c7ef3f1eff780
7
+ data.tar.gz: 90c04f1196d9a895f1b318e56809fe2783736b6de8ae13d398f6f152eab0b8d554d5e9ac38e0240cff849c6bc28b195d1ff5be93bbd09272e14f766c8f3c6106
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ 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.1.2] - 2017-04-13
8
+ ### Fixed
9
+ - Ignore expired tokens on revocation instead of fail
10
+
7
11
  ## [0.1.1] - 2017-02-28
8
12
  ### Fixed
9
13
  - Explicit require of `securerandom` standard library
@@ -14,6 +14,8 @@ module Warden
14
14
  scope = payload['scp'].to_sym
15
15
  user = PayloadUserHelper.find_user(payload)
16
16
  revocation_strategies[scope].revoke_jwt(payload, user)
17
+ # rubocop:disable Lint/HandleExceptions
18
+ rescue JWT::ExpiredSignature
17
19
  end
18
20
  end
19
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Warden
4
4
  module JWTAuth
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden-jwt_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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: dry-configurable