jwt-auth 3.1.0 → 3.1.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: 0b11dc2531ed00ed8ead4181d0a3a50aa498039c
4
- data.tar.gz: 1d2ee0029f04f2612f6ef857a0e853c38b12db13
3
+ metadata.gz: 859222f960cc7aa8d3dac73c42196f6a2614ce7e
4
+ data.tar.gz: e3945d68b8f1ccb52adec74c65831ad8f2037d50
5
5
  SHA512:
6
- metadata.gz: df54f9949ad17b040fffd7ee642a6e206c61587fcde549a78849ebc013e346d311be7a7da8801eae724acf452b6607c89785ac423a332726fb6d6512487dd3e6
7
- data.tar.gz: 25e85ed1f67349905b5228182a0ba2d2fde4ca122cba7f86b367bbf19ddac5e4e06b242234ba8a32920306c852ea2ba56053b0cb245fb1d1dfc9694334514d70
6
+ metadata.gz: b46274a784cb489f73d6c7d942afe4415fff5f0d2cae577cc1d1c98db5910abfcb6b79f081f80bb1c2efb714bc127f108df7eb549f7b6bfaacb06b11f87b80fe
7
+ data.tar.gz: 8f946e01493e82a624e1b9c071c06fb3e5b3afbc374e574a1a9c45926928de2071d59c1457d96dddaa4009a3c10c2ded743856461c2b6290faa772db60e7d73a
@@ -56,7 +56,7 @@ module JWT
56
56
  def self.from_token(token)
57
57
  begin
58
58
  @decoded_payload = JWT.decode(token, JWT::Auth.secret).first
59
- rescue JWT::ExpiredSignature
59
+ rescue JWT::ExpiredSignature, JWT::DecodeError
60
60
  @decoded_payload = {}
61
61
  end
62
62
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module JWT
4
4
  module Auth
5
- VERSION = '3.1.0'
5
+ VERSION = '3.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Dejonckheere