onc_certification_g10_test_kit 2.2.0 → 2.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0f7ed41d6d4933c58e9bc4e8533c137ee30f0b16e17d64f823cce44c878e85c
|
4
|
+
data.tar.gz: 69ccfbd00f84f63007b50a6b09ea93574673f1f2b0aa8e11ceb5233c9a313e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9122abab488efb86c982e2ab8012b749cb61f330c8a2f06844dbec26d1975564b80297b2b04027f694b1204f99f5eee89477d6729fa7004de7194c4ec2c0eaf2
|
7
|
+
data.tar.gz: 95df85ff5d0c9e07f7e21ad645a2d31c78e60864c76f44d2e2ed018346a501c2fab0012fb119942efdf94adf364adf0f37189256fec5b9ea37a9d166a89acb22
|
@@ -74,11 +74,16 @@ module ONCCertificationG10TestKit
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def self.jwks_json
|
77
|
-
|
77
|
+
bulk_data_jwks = JSON.parse(
|
78
|
+
File.read(File.join(__dir__, 'onc_certification_g10_test_kit', 'bulk_data_jwks.json'))
|
79
|
+
)
|
80
|
+
@jwks_json ||= JSON.pretty_generate(
|
81
|
+
{ keys: bulk_data_jwks['keys'].select { |key| key['key_ops']&.include?('verify') } }
|
82
|
+
)
|
78
83
|
end
|
79
84
|
|
80
85
|
def self.well_known_route_handler
|
81
|
-
->(_env) { [200, {}, [jwks_json]] }
|
86
|
+
->(_env) { [200, { 'Content-Type' => 'application/json' }, [jwks_json]] }
|
82
87
|
end
|
83
88
|
|
84
89
|
route(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onc_certification_g10_test_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|