json_web_token 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/json_web_token.rb +2 -2
- data/lib/json_web_token/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89a9f3eed2e51591eed4092556d4ab1befdbe647
|
4
|
+
data.tar.gz: 6af5c59fe857f87ab9b2bfb7a879195eb2e3cea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f8b9ecda94eff99d27e6896f7da24f73a105856b0c6481918a11be8fd73b84a46515fb75a8143a41c1bfad9cb9b45d86bfb1e74c6e577b731b317be57402713
|
7
|
+
data.tar.gz: 3e6d03eb56a3fdb571466e66a9870f73de4c4e9bd90cc63ebff1aedee282bcfb805d29c6e2e34f1643c5ca7ae4a4d1d475512b3911af14f6b949e21c93d7b155
|
data/CHANGELOG.md
CHANGED
data/lib/json_web_token.rb
CHANGED
@@ -17,7 +17,7 @@ module JsonWebToken
|
|
17
17
|
def sign(claims, options)
|
18
18
|
Jwt.sign(claims, options)
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
# @param jwt [String] a JSON Web Token
|
22
22
|
# @param options [Hash] specify the desired verifying algorithm and verifying key
|
23
23
|
# @return [Hash] +{ok: < the jwt claims set hash >}+ if the jwt verifies,
|
@@ -33,4 +33,4 @@ module JsonWebToken
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# alias
|
36
|
-
JWT = JsonWebToken
|
36
|
+
JWT = JsonWebToken unless ENV['RUBY_GEM_JSON_WEB_TOKEN_SKIP_ALIAS']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_web_token
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Fleshman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|