onc_certification_g10_test_kit 7.0.0 → 7.0.2
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: 4077fd6c484bba38583ae841ab35786b53e23a797e7bfe8143b43f2aec306ecc
|
4
|
+
data.tar.gz: 26084c0c656ab09243d73895427b30d3ea8e363b1d70d0fb273064393cafb013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 952ff0bf49291aa7fba83da129827d4e52bcb8a45bf60764a1072e8acd28b8ff752745d4a7e085647996e25fcf9270608382c23fc9df4702082d4c0c7f94b8c5
|
7
|
+
data.tar.gz: ce43a1b13b77580867b27e9f7521be74be4091cb05543231b068b7d00cee1a584691022444a3f6e4a627bf20842438a670c933d3d7c5f2f9e1ab91c51f6a1d29
|
@@ -3,7 +3,9 @@ require_relative '../inferno/terminology/tasks/check_built_terminology'
|
|
3
3
|
module ONCCertificationG10TestKit
|
4
4
|
class ConfigurationChecker
|
5
5
|
EXPECTED_VALIDATOR_VERSION = '2.3.2'.freeze
|
6
|
-
|
6
|
+
INFERNO_VALIDATOR_VERSION_KEY = 'inferno-framework/fhir-validator-wrapper'.freeze
|
7
|
+
EXPECTED_HL7_VALIDATOR_VERSION = '1.0.59'.freeze
|
8
|
+
HL7_VALIDATOR_VERSION_KEY = 'validatorWrapperVersion'.freeze
|
7
9
|
|
8
10
|
def configuration_messages
|
9
11
|
validator_version_message + terminology_messages + version_message
|
@@ -24,16 +26,18 @@ module ONCCertificationG10TestKit
|
|
24
26
|
def validator_version_message
|
25
27
|
if Feature.use_hl7_resource_validator?
|
26
28
|
expected_validator_version = EXPECTED_HL7_VALIDATOR_VERSION
|
29
|
+
validator_version_key = HL7_VALIDATOR_VERSION_KEY
|
27
30
|
validator_version_url = "#{validator_url}/validator/version"
|
28
31
|
else
|
29
32
|
expected_validator_version = EXPECTED_VALIDATOR_VERSION
|
33
|
+
validator_version_key = INFERNO_VALIDATOR_VERSION_KEY
|
30
34
|
validator_version_url = "#{validator_url}/version"
|
31
35
|
end
|
32
36
|
|
33
37
|
response = Faraday.get validator_version_url
|
34
38
|
if response.body.starts_with? '{'
|
35
39
|
version_json = JSON.parse(response.body)
|
36
|
-
version = version_json[
|
40
|
+
version = version_json[validator_version_key]
|
37
41
|
else
|
38
42
|
version = response.body
|
39
43
|
end
|
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: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.9.
|
145
|
+
version: 0.9.3
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.9.
|
152
|
+
version: 0.9.3
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: database_cleaner-sequel
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|