dtk_crd_parser 0.0.150 → 0.0.151
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 -6
- 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: 85b3a7bb6a973bff78b3cffa547f563880f97b5aabc0785d0e6f689de0ee0785
|
4
|
+
data.tar.gz: ee8dcfd8ff932af94a1e8eb10ab49a1c16a32b591cf4b9ba0a8e7527d86ff318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8936bfe84350360b21df26693c30858d4d259ea8432148f0aa3b17bf154fcef6d52e1029eb997c47e87b0b40be00aedd2e706cdec3dcf5ac58d49af201595f70
|
7
|
+
data.tar.gz: '096ee6c37b3db0f5117d98dfe0e00e61d908e216c16b5c2507616d2a8b84ebf04617d6da8aebbe10a1dd70545ddfd867c0d5c623cd3c8d49d63982ad721d2f04'
|
@@ -29,16 +29,15 @@ module DTK::CrdParser
|
|
29
29
|
|
30
30
|
componentDefSpec = componentDef[:spec] || {}
|
31
31
|
if destructured_component[:action] && componentDefSpec[:actions]
|
32
|
-
Logger.new('/proc/1/fd/1').info "actions
|
33
|
-
Logger.new('/proc/1/fd/1').info "to
|
34
|
-
|
35
|
-
componentDefAction = componentDefSpec[:actions][destructured_component[:action].to_sym]
|
32
|
+
Logger.new('/proc/1/fd/1').info "actions:..."
|
33
|
+
Logger.new('/proc/1/fd/1').info "to hash: #{componentDefSpec[:actions].to_h}"
|
34
|
+
Logger.new('/proc/1/fd/1').info "to sym: #{componentDefSpec[:actions].to_h[:delete]}"
|
35
|
+
componentDefAction = componentDefSpec[:actions].to_h[destructured_component[:action].to_sym]
|
36
36
|
else
|
37
|
-
Logger.new('/proc/1/fd/1').info componentDefSpec[:actions]
|
38
37
|
componentDefAction = componentDefSpec[:actions]
|
39
38
|
end
|
40
39
|
componentDefAttributes = []
|
41
|
-
|
40
|
+
Logger.new('/proc/1/fd/1').info "componentdefaction: #{componentDefAction}"
|
42
41
|
(componentDefSpec[:attributes] || []).each do |attribute|
|
43
42
|
componentDefAttributes.push AttributeTypeInfo.resolveAttr(attribute)
|
44
43
|
end
|