davinci_plan_net_test_kit 0.13.0 → 0.13.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb17e17ed1e550560b5940206f53f52108150c36ebd5e9a709a2a6b1e3f65b7d
|
|
4
|
+
data.tar.gz: 6f7a8d9f7f6bbc7d70fb74fd43963861168e3861ef8c1a03e70802981b6f1952
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aeffda2ed6f1f7682807483cb67bcfa7ff3f601af16dd45d5b32bca1ac0c6808ce99c0cd07ba27c019fc4c10528d0d5f4951f5f9aeb433c1627472a601f5bcc1
|
|
7
|
+
data.tar.gz: e08b2f90ba566c2ba2edc1df53e123bccea93dddb0479021fd923135f19754c35618e12cc18b9a6feb370a9629cc0d0ff0cd39de82b9179680b245b2e46e383c
|
|
@@ -159,22 +159,15 @@ module DaVinciPlanNetTestKit
|
|
|
159
159
|
def resource_is_valid_with_target_profile?(resource, target_profile)
|
|
160
160
|
return true if target_profile.blank?
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
message_hashes = outcome.issue&.map { |issue| validator.message_hash_from_issue(issue, resource) } || []
|
|
172
|
-
|
|
173
|
-
message_hashes.concat(validator.additional_validation_messages(resource, target_profile_with_version))
|
|
174
|
-
|
|
175
|
-
validator.filter_messages(message_hashes)
|
|
176
|
-
|
|
177
|
-
message_hashes.none? { |message_hash| message_hash[:type] == 'error' }
|
|
162
|
+
target_profile_with_version = target_profile.include?('|') ? target_profile : "#{target_profile}|#{metadata.profile_version}"
|
|
163
|
+
|
|
164
|
+
# Use the DSL's resource_is_valid? method with add_messages_to_runnable: false
|
|
165
|
+
# to validate silently without adding messages to the test output
|
|
166
|
+
resource_is_valid?(
|
|
167
|
+
resource:,
|
|
168
|
+
profile_url: target_profile_with_version,
|
|
169
|
+
add_messages_to_runnable: false
|
|
170
|
+
)
|
|
178
171
|
end
|
|
179
172
|
end
|
|
180
173
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: davinci_plan_net_test_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karl Naden
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-03-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inferno_core
|
|
@@ -16,20 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.
|
|
20
|
-
- - ">="
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.0.2
|
|
19
|
+
version: '1.1'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
23
|
requirements:
|
|
27
24
|
- - "~>"
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '1.
|
|
30
|
-
- - ">="
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.0.2
|
|
26
|
+
version: '1.1'
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: tls_test_kit
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|