dtk_crd_parser 0.0.163 → 0.0.164
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 +5 -1
- 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: 9c53c284952c0f382bd0645fa553c19a1cb4b2290ed763146313dc99bd315fed
|
4
|
+
data.tar.gz: 874248187ae962d5cbbed1f4a05a643d09d75ad813e8b0b5462e60bf47a2b190
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 946713a183f11efb3ed970066937a4584a255e9670b793c42d43812d4a6652287993620fd57f0ac848832bad4330d442e27a9cc9a2a0d151595df3772cd1a7ef
|
7
|
+
data.tar.gz: 4300fdb56f6b0dc49816ecd0001188363a8244a562cc42c971d5001f347332fa4e8b62ea2f996bc1e13f86f2e92be96d8bcbf98cf8c29c0c969f6639612683bd
|
data/lib/crd_parser/component.rb
CHANGED
@@ -32,7 +32,11 @@ 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
|
-
|
35
|
+
attrib = attributes.include?{|h| h.name == "tfstate"}
|
36
|
+
Logger.new('/proc/1/fd/1').error attrib
|
37
|
+
|
38
|
+
selected = component_def.attribute_type_info.select{|attribute| !attributes.include?{|h| h.name == "tfstate"}}
|
39
|
+
Logger.new('/proc/1/fd/1').error selected
|
36
40
|
other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.include?{|h| h.name == attribute.name }}
|
37
41
|
|
38
42
|
Logger.new('/proc/1/fd/1').error "OTHER ATTRIBUTES"
|