dtk_crd_parser 0.0.162 → 0.0.163
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.rb +2 -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: 8256ad16e145588bb869073146a4824f97155dfb8fbe98c9e06fe929e936336d
|
4
|
+
data.tar.gz: 6c59eff65062c0101933a418680d9258a1493139b3427b8527ae51371914b68e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28a63a818f62e39b694eec3a680535a8115713fe9e5eb09380effbde49b78fee77ba246e334376588c940d66062ba5740d71b052b021a4f76802b2c2a3b94d6c
|
7
|
+
data.tar.gz: 9c0d170e444798591be52ca1611b5aea18be14afd76e96e4c9c9c4a474b9fdf80924f12b6bf6a3137e545670b34b4e2411381fe9f69ad4b5a65fc469c0e0c282
|
data/lib/crd_parser/component.rb
CHANGED
@@ -32,10 +32,8 @@ module DTK::CrdParser
|
|
32
32
|
Logger.new('/proc/1/fd/1').error "ATTRIBUTES BEFORE"
|
33
33
|
Logger.new('/proc/1/fd/1').error attributes
|
34
34
|
Logger.new('/proc/1/fd/1').error "SELECTED ATTRIBUTES"
|
35
|
-
Logger.new('/proc/1/fd/1').error component_def.attribute_type_info.select
|
36
|
-
|
37
|
-
end
|
38
|
-
other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.find {|h| h.name == attribute.name }}
|
35
|
+
Logger.new('/proc/1/fd/1').error component_def.attribute_type_info.select{|attribute|!attributes.include?{|h| h.name == attribute.name}}
|
36
|
+
other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.include?{|h| h.name == attribute.name }}
|
39
37
|
|
40
38
|
Logger.new('/proc/1/fd/1').error "OTHER ATTRIBUTES"
|
41
39
|
Logger.new('/proc/1/fd/1').error other_attrs
|