onc_certification_g10_test_kit 7.0.1 → 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: a7c3b147bf3895a43988f8d02e947ac646522fb0637c6bb33ca7d00fe6d8728b
4
- data.tar.gz: b7a1f24fb4775b196f1eb48ba8bb995754580dbbd48c1dd1e066e56cb3e8cc45
3
+ metadata.gz: 4077fd6c484bba38583ae841ab35786b53e23a797e7bfe8143b43f2aec306ecc
4
+ data.tar.gz: 26084c0c656ab09243d73895427b30d3ea8e363b1d70d0fb273064393cafb013
5
5
  SHA512:
6
- metadata.gz: 48b3460861a86ba5358b79351fd75d0335ba7cb75a575f7e92780bee257719c0947d79f1670481187b392376888f606384a6a84c38f441f6411cb14d3f726926
7
- data.tar.gz: 16f84edff5ac43c598d0876f2d7ec4f78d8e7d661d08bcd679d243006b00329a258d78429485d74bf60bcfd5810ec703c36e5b6ee963b082b2787ec80a331511
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
- EXPECTED_HL7_VALIDATOR_VERSION = '"6.3.3"'.freeze
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['inferno-framework/fhir-validator-wrapper']
40
+ version = version_json[validator_version_key]
37
41
  else
38
42
  version = response.body
39
43
  end
@@ -1,3 +1,3 @@
1
1
  module ONCCertificationG10TestKit
2
- VERSION = '7.0.1'.freeze
2
+ VERSION = '7.0.2'.freeze
3
3
  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.1
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-21 00:00:00.000000000 Z
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.2
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.2
152
+ version: 0.9.3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: database_cleaner-sequel
155
155
  requirement: !ruby/object:Gem::Requirement