inferno_core 0.0.7 → 0.0.8.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/inferno/apps/web/index.html.erb +1 -0
- data/lib/inferno/dsl/fhir_client.rb +18 -14
- data/lib/inferno/dsl/fhir_validation.rb +104 -0
- data/lib/inferno/public/217.bundle.js +1 -1
- data/lib/inferno/public/bundle.js +154 -1
- data/lib/inferno/public/bundle.js.LICENSE.txt +15 -0
- data/lib/inferno/utils/middleware/request_logger.rb +8 -2
- data/lib/inferno/version.rb +1 -1
- metadata +6 -6
@@ -19,6 +19,12 @@ object-assign
|
|
19
19
|
* @license MIT
|
20
20
|
*/
|
21
21
|
|
22
|
+
/** @license MUI v5.2.0
|
23
|
+
*
|
24
|
+
* This source code is licensed under the MIT license found in the
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
26
|
+
*/
|
27
|
+
|
22
28
|
/** @license React v0.20.2
|
23
29
|
* scheduler.production.min.js
|
24
30
|
*
|
@@ -55,6 +61,15 @@ object-assign
|
|
55
61
|
* LICENSE file in the root directory of this source tree.
|
56
62
|
*/
|
57
63
|
|
64
|
+
/** @license React v17.0.2
|
65
|
+
* react-jsx-runtime.production.min.js
|
66
|
+
*
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
68
|
+
*
|
69
|
+
* This source code is licensed under the MIT license found in the
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
71
|
+
*/
|
72
|
+
|
58
73
|
/** @license React v17.0.2
|
59
74
|
* react.production.min.js
|
60
75
|
*
|
@@ -9,6 +9,10 @@ module Inferno
|
|
9
9
|
@app = app
|
10
10
|
end
|
11
11
|
|
12
|
+
def verbose_logging?
|
13
|
+
@verbose_logging ||= ENV['VERBOSE_REQUEST_LOGGING']&.downcase == true
|
14
|
+
end
|
15
|
+
|
12
16
|
def logger
|
13
17
|
@logger ||= Application['logger']
|
14
18
|
end
|
@@ -35,7 +39,9 @@ module Inferno
|
|
35
39
|
logger.info("#{status} in #{elapsed.in_milliseconds} ms")
|
36
40
|
return unless body.present?
|
37
41
|
|
38
|
-
|
42
|
+
body = body.is_a?(Array) ? body.join : body
|
43
|
+
|
44
|
+
if body.length > 100 && !verbose_logging?
|
39
45
|
logger.info("#{body[0..100]}...")
|
40
46
|
else
|
41
47
|
logger.info(body)
|
@@ -56,7 +62,7 @@ module Inferno
|
|
56
62
|
|
57
63
|
return unless body.present?
|
58
64
|
|
59
|
-
if body.length > 100
|
65
|
+
if body.length > 100 && !verbose_logging?
|
60
66
|
logger.info("#{body[0..100]}...")
|
61
67
|
else
|
62
68
|
logger.info(body)
|
data/lib/inferno/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inferno_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -102,14 +102,14 @@ dependencies:
|
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
105
|
+
version: '5.0'
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
112
|
+
version: '5.0'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: fhir_models
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -588,9 +588,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
588
588
|
version: 2.7.0
|
589
589
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
590
590
|
requirements:
|
591
|
-
- - "
|
591
|
+
- - ">"
|
592
592
|
- !ruby/object:Gem::Version
|
593
|
-
version:
|
593
|
+
version: 1.3.1
|
594
594
|
requirements: []
|
595
595
|
rubygems_version: 3.1.6
|
596
596
|
signing_key:
|