dtk_crd_parser 0.0.70 → 0.0.71

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bfa880d99d470945d3da8cc37c976785cca02ece556754daa71929f970e8d17
4
- data.tar.gz: 8c148ea8a488ae12497f680705ccd375f0aeced507809fe3586d7688805f6e0c
3
+ metadata.gz: cf18fbed07eeb1a2635a7c03e0e570b70af1cb1f6e733ff3376f84fe7aca6f07
4
+ data.tar.gz: d0be05c29e9479e186522d9450dfb09027451dfdeac461c95cf2b725cdba2949
5
5
  SHA512:
6
- metadata.gz: 9fdcc3505cb5b283c092370746939219145fadb506a63bb3bddf065030430e1cb11b7af7bd5b5b63b0ef18fe3072bba58c16e9e2eee103ea82d2015060aa4896
7
- data.tar.gz: 49b4ca0e04acea0ba693c53f01ba8711a852366d5c1a6045dbcbaf7f63c7ed21945d6e04832385a892dcd84934c8d914b56b48f738b5b893148046033eac8e69
6
+ metadata.gz: 43f3f73fa05089c99f05ff26e3b9535f16ed00b78c4def10d047bf19c27dd07d7d13bd1209eb1de9961232e5a54df0cc50380dcd7f483774faa888289d86b88a
7
+ data.tar.gz: 6f011e815b8ae8509a251b8e737c9208da127a40726288e726404a4a34a219addd5f1ef710dae4e190f1fb3095e673dd6c81881b585e0e32a68f6ed4277b117a
@@ -28,10 +28,10 @@ module DTK::CrdParser
28
28
  attributes = []
29
29
  if component_attributes
30
30
  component_attributes.to_hash.each do |attribute_name, attribute_value|
31
- Logger.new('/proc/1/fd/1').info "here"
32
- Logger.new('/proc/1/fd/1').info attribute_name
33
- Logger.new('/proc/1/fd/1').info component_def.methods-Object.methods
34
- encrypted = component_def[:attribute_type_info].select { |attribute|
31
+ Logger.new('/proc/1/fd/1').info component_def.methods-Object.methods
32
+ attrs = component_def[:attribute_type_info]
33
+ Logger.new('/proc/1/fd/1').info attrs
34
+ encrypted = attrs.select { |attribute|
35
35
  attribute[:name] == attribute_name
36
36
  }.first[:encrypted] || false
37
37
  attributes.push Attribute.create_from_kube(attribute_name, attribute_value, {encrypted: encrypted})
@@ -2,7 +2,7 @@ module DTK::CrdParser
2
2
  class ComponentDef
3
3
  class AttributeTypeInfo < BaseClass
4
4
 
5
- attr_reader :name, :type, :required, :dynamic
5
+ attr_reader :name, :type, :required, :dynamic, :encrypted
6
6
 
7
7
  def initialize(params)
8
8
  Logger.new('/proc/1/fd/1').info "AttrTypeInfo params"
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.70
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK