dtk_crd_parser 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crd_parser/component.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc11323140f0b8c1d6031741e2831085f967d7829e0a7c2f495401454d53e469
4
- data.tar.gz: 4054ccafc1cc7bab8aaaf22b194e660ceb0d134e6be8828dd25f3105c7287bb2
3
+ metadata.gz: c437e4384c0f54eb1abf8a422c2e0de2750494e0bce949abf169148d7e919b42
4
+ data.tar.gz: 283a6ad991d4806e7b8b7bc0057fa8c450075835bf4f454b90509c03b4ce7294
5
5
  SHA512:
6
- metadata.gz: 3a303eca5205ae86e62f63098cc7368fd8718b8bac56f80aa1a94b8ee18550fb2045c7a90cef0ca9b0ef54b66f63ebcbc308cc34c037d9e7426b76d8cdd61032
7
- data.tar.gz: 4093f0186a7c7f364d434a7477f55b6d41b5047d29041cfeb07d913bf2392cec383befdc7284902898135ee4768e4eabd4fedd103dacc82655833b39517f424e
6
+ metadata.gz: 51256ed2e68690f2e4984542fda731b42c68e1f39b6357a937832bccf64a11ff292e55e7b1a0d4f824565a120b441838d3e7880c95324a84aeca94ca3f5bc284
7
+ data.tar.gz: 8e7ed67b747854f18ba87015b482b92fbf5d10c92aab6ec84addfeb367c547a1600a59705f184162f2c9aa70252831c7eff8ab0a51001568be0f2747cdf93f35
@@ -17,20 +17,22 @@ module DTK::CrdParser
17
17
  Logger.new('/proc/1/fd/1').info component_attributes
18
18
  attributes = []
19
19
  component_attributes.each do |attr|
20
+ Logger.new('/proc/1/fd/1').info "ATTRIBUTE"
21
+ Logger.new('/proc/1/fd/1').info attr
20
22
  attributes.push Attribute.create_from_kube(attr)
21
23
  end
24
+ Logger.new('/proc/1/fd/1').info "ATTRIBUTES"
25
+ Logger.new('/proc/1/fd/1').info attributes
22
26
  Component.new(component_name, component_def, attributes)
23
27
  end
24
28
 
25
29
  protected
26
30
 
27
31
  def self.getComponentAttributes(fullComponentName, components)
28
- Logger.new('/proc/1/fd/1').info 'COMPONENT ATTRIBUTES'
29
32
  fullComponentName.gsub!('_', '-')
30
33
  component = components.each do |component|
31
34
  componentObj = component[fullComponentName]
32
35
  if(componentObj && componentObj.is_a?(Kubeclient::Resource))
33
- Logger.new('/proc/1/fd/1').info componentObj[:attributes]
34
36
  return componentObj[:attributes]
35
37
  end
36
38
  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.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK