jwt-multisig 1.0.4 → 1.0.5

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
  SHA256:
3
- metadata.gz: 5edf239b75b41453236a1d170ab81b6233ab334df41805c916ebc0c89a28a1e6
4
- data.tar.gz: 3d634939c51b36d78feab51e9d71275feca0386e7f31a8927dac6085ff3c461c
3
+ metadata.gz: b2d5cb56b491d2821e088bf0a109ff503f5eb348048ebb377ee265750f2970eb
4
+ data.tar.gz: 024a5788c0596c3076ccf4cb8e5d26299a73a9936d91ca0bc3d7ad6fed361c12
5
5
  SHA512:
6
- metadata.gz: 91988aafe86882352b806addea59a6390140d2e258817507783bbf5c2addda3cdb028d821a771179568b9bbb461ac04432d1e384472f0894a45b97dc396477c2
7
- data.tar.gz: 99c553c60a72d97233de4012e06a7a1a12ffb8e5f7eef1cd5fab16c801781f31d606954d84ee27440fbe1b4c61020b9f1e3d92472120c5403818dc6d36cca069
6
+ metadata.gz: 6c3aae71b52284732567c5874afe816c7a329ccd194e1aff5ce6ea731778837402cd8f9c708eb928c3806a0097b650b604467395c5552cfb7c5f94f7e9d8bf99
7
+ data.tar.gz: 5b92d0fc646e416f951833d243d4f0c211d9de6422c2cb9680e8adaeed70247ecd669b0332ede5af23bb3a11508717d28b54864cc683760ca0f9c7c582eda17a
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jwt-multisig (1.0.4)
4
+ jwt-multisig (1.0.5)
5
5
  activesupport (>= 4.0)
6
6
  jwt (~> 2.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.0.3.4)
11
+ activesupport (6.1.0)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (>= 0.7, < 2)
14
- minitest (~> 5.1)
15
- tzinfo (~> 1.1)
16
- zeitwerk (~> 2.2, >= 2.2.2)
13
+ i18n (>= 1.6, < 2)
14
+ minitest (>= 5.1)
15
+ tzinfo (~> 2.0)
16
+ zeitwerk (~> 2.3)
17
17
  concurrent-ruby (1.1.7)
18
18
  i18n (1.8.5)
19
19
  concurrent-ruby (~> 1.0)
@@ -24,10 +24,9 @@ GEM
24
24
  rake (12.3.3)
25
25
  test-unit (3.3.6)
26
26
  power_assert
27
- thread_safe (0.3.6)
28
- tzinfo (1.2.7)
29
- thread_safe (~> 0.1)
30
- zeitwerk (2.4.0)
27
+ tzinfo (2.0.3)
28
+ concurrent-ruby (~> 1.0)
29
+ zeitwerk (2.4.2)
31
30
 
32
31
  PLATFORMS
33
32
  ruby
@@ -41,7 +41,7 @@ module JWT
41
41
  def generate_jwt(payload, private_keychain, algorithms)
42
42
  proxy_exception JWT::EncodeError do
43
43
  algorithms_mapping = algorithms.with_indifferent_access
44
- { payload: base64_encode(payload.to_json),
44
+ { payload: base64_encode(::JSON.dump(payload)),
45
45
  signatures: private_keychain.map do |id, value|
46
46
  generate_jws(payload, id, value, algorithms_mapping.fetch(id))
47
47
  end }
@@ -3,6 +3,6 @@
3
3
 
4
4
  module JWT
5
5
  module Multisig
6
- VERSION = "1.0.4"
6
+ VERSION = "1.0.5"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt-multisig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - RubyKube
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt