dtk_crd_parser 0.0.113 → 0.0.114
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 +1 -2
- 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: 90f964b5da336d99f51425426c1e50571e793ed384da0df56e84f2d1e28bafeb
|
4
|
+
data.tar.gz: 33d4dca1105a4f914a9de184aec52d7ade1588e1592601466b2c9442d9592506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac46d97184ec3e19163b27f48807c93c5f706797a896eb017f402d1d8492e2ae3955319f51cf1d8f67dd2004358d62da9d85ad052c77d41ce91270a150d2927
|
7
|
+
data.tar.gz: 161f054ec76f92c56e2050a4427ac04b8f7afe946361d439040f70d8c5cf75f9978702b5bea85dcdd18efbab593fcfda0e59f7e55984fc015eda8c6c0e7cf8fb
|
data/lib/crd_parser/component.rb
CHANGED
@@ -36,10 +36,9 @@ module DTK::CrdParser
|
|
36
36
|
protected
|
37
37
|
|
38
38
|
def self.getComponentAttributes(fullComponentName, components)
|
39
|
-
component = (components.
|
39
|
+
component = (components.to_h || Hash.new).each do |name, component|
|
40
40
|
Logger.new('/proc/1/fd/1').error "name: #{name}"
|
41
41
|
Logger.new('/proc/1/fd/1').error "component: #{component}"
|
42
|
-
|
43
42
|
name.gsub!('_', '-')
|
44
43
|
if (name == fullComponentName)
|
45
44
|
componentObj = component
|