userbin 1.0.1 → 1.0.2

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: 4c4998d7789d069fdc0593e1c812e683835662a9
4
- data.tar.gz: e1e68fe884e676c1eee457360c3ad70a1016fbdc
3
+ metadata.gz: 97db3f1c03663f6e0733bc3212b8f48e403d2496
4
+ data.tar.gz: 68b8a0a2c7c39718d1a29c0f4b26cbe10626b399
5
5
  SHA512:
6
- metadata.gz: ff654994eedfd02d0dc47b36b394f591b7750b001d47a3e2a70615eaf85837068554f9f346acb2fe9b7a9321906a7a58d2b385346fbcc6202bcf587e5da001ca
7
- data.tar.gz: ee0e9b17121cb7e7240245ba395849b06125f7a28c4f86aace4fec3473a799dfd2547834a7f17b8c90ec1f77da94f548fed255def25becea6be8f9f11d9c43cd
6
+ metadata.gz: 5fae64085ec99aac9a0798243614132e5b63ca49a85ac866c56d69f1c22559e4a1b88eb6235c455c45e5794a9e5423ee6af524d20fa857d279538c1080fa99fb
7
+ data.tar.gz: f28e4ebecbc68d34b542cce7ac16cee0a212dca0ed265613184d1ce59a1a6021b72550ca2f258352a88077989f8b89dfac7ca36f036a957edaf373b3aec32ef6
@@ -11,7 +11,7 @@ module Userbin
11
11
  @payload = ::JWT.decode(jwt, Userbin.config.api_secret, true) do |header|
12
12
  @header = header.with_indifferent_access
13
13
  Userbin.config.api_secret # used by the 'key finder' in the JWT gem
14
- end.first.with_indifferent_access
14
+ end.with_indifferent_access
15
15
  rescue ::JWT::DecodeError => e
16
16
  raise Userbin::SecurityError.new(e)
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Userbin
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userbin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.0
61
+ version: 0.1.11
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.0.0
68
+ version: 0.1.11
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: request_store
71
71
  requirement: !ruby/object:Gem::Requirement