json-jwt 1.10.1 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of json-jwt might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51a327761ea931101039a020adc776471ea89e73d4abe27267c0433916f6e327
4
- data.tar.gz: 717bab99944dce15400c188ccd63e3556d60f2c498234884994966070c7b3068
3
+ metadata.gz: a9722326506beeb2d6480213a55bd199edaa160b87cbda1db58c3612f22b5dca
4
+ data.tar.gz: 1e8aad65bc72f0f4ea4f63de47b74169c43a77464dc13e4325e932f3829be86f
5
5
  SHA512:
6
- metadata.gz: fbcd1b698ce7c0f488bc7d6f873ec5c5bf8c5099f501b140bdc371e0a00f45ada1323df227a29d2ad16e4a971bd714904138b95d221bf76c4cf2b2fd2f444b2f
7
- data.tar.gz: e53705c42a6f37833a1727bf14b86733502c06312bfab503217c2985de427aa4b0d68698e449f0d42a4e62415793e710f5d5ca412d7cade734bfb7b20455834a
6
+ metadata.gz: 250e330df6993928d4afa477634182fed67363c545e79eb74939aae72844183e7780d63c2b375f3b8ec91475123924833792cbfb5afc630cda93a1f2dd12bb99
7
+ data.tar.gz: ce81d63980928addf7bece7dc1b24cbc9265e2231aead3880be85b690d73f058563e81beea383d1f3bd7cc6a84ee9a9b6438b67edd1922b185a7dca6b9239864
@@ -8,4 +8,4 @@ rvm:
8
8
  - 2.5.1
9
9
 
10
10
  jdk:
11
- - oraclejdk8
11
+ - openjdk11
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.1
1
+ 1.10.2
@@ -9,7 +9,7 @@ module JSON
9
9
  register_header_keys :alg, :jku, :jwk, :x5u, :x5t, :x5c, :kid, :typ, :cty, :crit
10
10
  alias_method :algorithm, :alg
11
11
 
12
- attr_accessor :header
12
+ attr_writer :header
13
13
  def header
14
14
  @header ||= {}
15
15
  end
@@ -14,9 +14,10 @@ module JSON
14
14
 
15
15
  attr_accessor(
16
16
  :public_key_or_secret, :private_key_or_secret,
17
- :plain_text, :cipher_text, :authentication_tag, :iv, :auth_data,
18
- :content_encryption_key, :jwe_encrypted_key, :encryption_key, :mac_key
17
+ :plain_text, :cipher_text, :iv, :auth_data,
18
+ :content_encryption_key, :encryption_key, :mac_key
19
19
  )
20
+ attr_writer :jwe_encrypted_key, :authentication_tag
20
21
 
21
22
  register_header_keys :enc, :epk, :zip, :apu, :apv
22
23
  alias_method :encryption_method, :enc
@@ -6,7 +6,7 @@ module JSON
6
6
 
7
7
  NUM_OF_SEGMENTS = 3
8
8
 
9
- attr_accessor :signature_base_string
9
+ attr_writer :signature_base_string
10
10
 
11
11
  def initialize(jwt)
12
12
  update jwt
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-jwt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-07 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -152,8 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  requirements: []
155
- rubyforge_project:
156
- rubygems_version: 2.7.6
155
+ rubygems_version: 3.0.3
157
156
  signing_key:
158
157
  specification_version: 4
159
158
  summary: JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and