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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2049604b3f41c8df52e18f3437bc061986b5f53
4
- data.tar.gz: bfed75256ebea6502c691580fd18b6fcff707ace
3
+ metadata.gz: 89a9f3eed2e51591eed4092556d4ab1befdbe647
4
+ data.tar.gz: 6af5c59fe857f87ab9b2bfb7a879195eb2e3cea9
5
5
  SHA512:
6
- metadata.gz: d2b811ae25982cd749cc86d4c27b9a1e547766e407c4aff35a8f9e5ce97bc5d8bc47cdfc3880aef93a029cdac124af26bbe43ecd3b9ecbfa691fb5fef835b8f7
7
- data.tar.gz: 5143565589c04bb1618c4c69baba3993b21a3fd62fa37ca584666c25ae6d7f49515fa7eeb04326896edd34b1b4f31ab2abadd179522e8e6a1a78371cf8e9d766
6
+ metadata.gz: 5f8b9ecda94eff99d27e6896f7da24f73a105856b0c6481918a11be8fd73b84a46515fb75a8143a41c1bfad9cb9b45d86bfb1e74c6e577b731b317be57402713
7
+ data.tar.gz: 3e6d03eb56a3fdb571466e66a9870f73de4c4e9bd90cc63ebff1aedee282bcfb805d29c6e2e34f1643c5ca7ae4a4d1d475512b3911af14f6b949e21c93d7b155
@@ -1,5 +1,10 @@
1
1
  ## Changelog
2
2
 
3
+ ### v0.3.4 (2017-03-02)
4
+
5
+ * Enhancements
6
+ * Alias `JWT` for `JsonWebToken` can be turned off with `RUBY_GEM_JSON_WEB_TOKEN_SKIP_ALIAS` environment variable
7
+
3
8
  ### v0.3.3 (2017-01-16)
4
9
 
5
10
  * Bug fixes
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module JsonWebToken
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
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.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-01-16 00:00:00.000000000 Z
11
+ date: 2017-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json