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 +4 -4
- data/lib/userbin/jwt.rb +1 -1
- data/lib/userbin/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97db3f1c03663f6e0733bc3212b8f48e403d2496
|
4
|
+
data.tar.gz: 68b8a0a2c7c39718d1a29c0f4b26cbe10626b399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fae64085ec99aac9a0798243614132e5b63ca49a85ac866c56d69f1c22559e4a1b88eb6235c455c45e5794a9e5423ee6af524d20fa857d279538c1080fa99fb
|
7
|
+
data.tar.gz: f28e4ebecbc68d34b542cce7ac16cee0a212dca0ed265613184d1ce59a1a6021b72550ca2f258352a88077989f8b89dfac7ca36f036a957edaf373b3aec32ef6
|
data/lib/userbin/jwt.rb
CHANGED
@@ -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.
|
14
|
+
end.with_indifferent_access
|
15
15
|
rescue ::JWT::DecodeError => e
|
16
16
|
raise Userbin::SecurityError.new(e)
|
17
17
|
end
|
data/lib/userbin/version.rb
CHANGED
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.
|
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.
|
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.
|
68
|
+
version: 0.1.11
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: request_store
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|