dtk_crd_parser 0.0.154 → 0.0.155
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/component_def.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aff9402bfe8223f3a551e79137e097e2248040603cd2c22d57a59768deac63b7
|
4
|
+
data.tar.gz: 10b0282003ae2af0b69af3e902fbbe23b5ca9dbd8b7a120e5fb56efbc428bad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 364dd70b869f42ada7d4cab6fd8922f4798c25d2b522f9cd53222ee443c68d6c743357ad5b8582bee9da456c11c6e93d568fee5f3c6a274e7999ccc85d542d9f
|
7
|
+
data.tar.gz: 7fff179807c6d8dbc6b21559250abf9f5322a54fe01ab2db446be922edd24632b6fd0197e52033e5d3217000697a62f5ead072cc1764bac782794d1baff096ba
|
@@ -28,11 +28,12 @@ module DTK::CrdParser
|
|
28
28
|
resourceVersion = componentMetadata[:resourceVersion]
|
29
29
|
|
30
30
|
componentDefSpec = componentDef[:spec] || {}
|
31
|
-
if destructured_component[:action] && componentDefSpec[:actions]
|
32
|
-
|
33
|
-
|
31
|
+
# if destructured_component[:action] && componentDefSpec[:actions]
|
32
|
+
# componentDefAction = componentDefSpec[:actions].to_h[destructured_component[:action].to_sym]
|
33
|
+
# componentDefAction = Hash.new
|
34
|
+
# else
|
34
35
|
componentDefAction = componentDefSpec[:actions]
|
35
|
-
end
|
36
|
+
# end
|
36
37
|
componentDefAttributes = []
|
37
38
|
(componentDefSpec[:attributes] || []).each do |attribute|
|
38
39
|
componentDefAttributes.push AttributeTypeInfo.resolveAttr(attribute)
|