dtk_crd_parser 0.0.170 → 0.0.171

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cc6901965aaaa2f894d998389ab5b67c57f4c84cf9192d5e46274441b19adef
4
- data.tar.gz: 35c9debf19d6755cea97695fcdc891a4ddcc55b8cd8b96954fe810d08bbdf7d1
3
+ metadata.gz: 9696f32958f4f8a0614b61a28e4a7663c6bd6691cc94f2e44c3b56daac5ad664
4
+ data.tar.gz: 7fa6b5da4ebe520bd7e79f448a9fb5914be7b76e53636fc76712a5c659bb7cb2
5
5
  SHA512:
6
- metadata.gz: '09824110f22a9f33855d93ebedde4aa3e6b08d663a3356333b98da69ec5746ad60bf7deb7630257bcc8826858c301517b7e4e638b1ba1f717caed7c00911e820'
7
- data.tar.gz: 8660231836c9792f67a0ae81e7069b36154cdeb685f790e96523857c6015e23ecb8974e6ef72c5006d13bbc7376e9b0ffc7ef35baed31a9be7beb4efcc6c4355
6
+ metadata.gz: 9a750244af45bf3b30575feb66d95527a95b4e4570def27fb0401d086062614a0aee4fac8bca8a58cb983dce6e7511f529de2c7d0e9210ec7c59285ea3396204
7
+ data.tar.gz: 5fff059974609a5c3a1b64aba6fddaf2523721c70cb341c30bc9fd119c267c8d8b82257e1a74018e0c635319ce566c82584c1a686766b605747853aacf9abe46
@@ -32,7 +32,7 @@ module DTK::CrdParser
32
32
  #set all attributes, not just ones with values
33
33
  other_attrs = component_def.attribute_type_info.select {|attribute| attributes.find{|h| h.name.to_s == attribute.name.to_s }.nil?}
34
34
  other_attrs.each do |attribute|
35
- attributes.push Attribute.create_from_kube(attribute.name, "", {encrypted: attribute.encrypted || false})
35
+ attributes.push Attribute.create_from_kube(attribute.name, nil, {encrypted: attribute.encrypted || false})
36
36
  end
37
37
  Component.new(component_name, component_def, attributes)
38
38
  end
@@ -6,7 +6,7 @@ module DTK::CrdParser
6
6
 
7
7
  def initialize(name, value, params = {})
8
8
  @name = fail_if_nil(name, 'Attribute.name')
9
- @value = fail_if_nil(decrypt_if_encrypted(value, params[:encrypted]), 'Attribute.value')
9
+ @value = decrypt_if_encrypted(value, params[:encrypted])
10
10
  end
11
11
 
12
12
  def self.create_from_kube(attribute_name, attribute_value, 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.170
4
+ version: 0.0.171
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK