inferno_core 0.4.15 → 0.4.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inferno/dsl/fhir_client.rb +1 -1
- data/lib/inferno/entities/test_suite.rb +10 -1
- data/lib/inferno/public/bundle.js +15 -15
- data/lib/inferno/public/bundle.js.LICENSE.txt +14 -3
- data/lib/inferno/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77e9c5d39c29db85f07321f5456cebad0fb4e285f0143533984d36500248fbd7
|
4
|
+
data.tar.gz: e22a7589dbb1bc4edd54ad3305526fdfeae4358fd992b2b23f5d69a8a8fa139c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642da73f8db4428c210e80919567a7fe5586a93fa4f485e6dfaff117c1d796936a263dcb82d8bb69c309266a0b150846e93a51825e4b8bab0eaffe237ec23f20
|
7
|
+
data.tar.gz: 2f68462dee18ced89167e7327a3dd5fbb7d250adef866604e4590d5c891fcb695761127b46804125c9d165de859d0777dc74ccf4772ba5a1b9f2865f0dcda6f3
|
@@ -16,7 +16,7 @@ module Inferno
|
|
16
16
|
# # create a named client for a group
|
17
17
|
# fhir_client :with_custom_header do
|
18
18
|
# url 'https://example.com/fhir'
|
19
|
-
# headers
|
19
|
+
# headers 'X-my-custom-header': 'ABC123'
|
20
20
|
# end
|
21
21
|
#
|
22
22
|
# test :some_test do
|
@@ -97,7 +97,16 @@ module Inferno
|
|
97
97
|
# `error`.
|
98
98
|
# @return [void]
|
99
99
|
def check_configuration(&block)
|
100
|
-
@check_configuration_block =
|
100
|
+
@check_configuration_block = lambda do
|
101
|
+
block.call&.each do |configuration_message|
|
102
|
+
case configuration_message[:type]
|
103
|
+
when 'warning'
|
104
|
+
Application[:logger].warn(configuration_message[:message])
|
105
|
+
when 'error'
|
106
|
+
Application[:logger].error(configuration_message[:message])
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
101
110
|
end
|
102
111
|
|
103
112
|
# @private
|