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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c00944d697e27613d3e172b7ee87258f0eee8a818c21ca8724cccce97a1d836c
4
- data.tar.gz: b7266ea3fa74e874a7d3f917c05b8d96fd00319a010c10631135578cec1117e2
3
+ metadata.gz: 85b3a7bb6a973bff78b3cffa547f563880f97b5aabc0785d0e6f689de0ee0785
4
+ data.tar.gz: ee8dcfd8ff932af94a1e8eb10ab49a1c16a32b591cf4b9ba0a8e7527d86ff318
5
5
  SHA512:
6
- metadata.gz: f2efbf3c6bcf86cd98fbc30e09dbb96ee8b16d459e291954be145fb9fe7972a094f68f8ae460fc05448980d609eabea1b0c22071a632759b78eda07770729e07
7
- data.tar.gz: a3a279f7ed4f9a3cd0ec20ff5eeae3fa3f0b28dd671e81192d92825b5b2c4ecc1fed77e4a96ce61aee5cfe540bf8ce7c0308118b46418acc2ba767924145b45f
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: #{componentDefSpec[:actions]}"
33
- Logger.new('/proc/1/fd/1').info "to sym: #{destructured_component[:action].to_sym}"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk_crd_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.150
4
+ version: 0.0.151
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK