dtk_crd_parser 0.0.164 → 0.0.165

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crd_parser/component.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c53c284952c0f382bd0645fa553c19a1cb4b2290ed763146313dc99bd315fed
4
- data.tar.gz: 874248187ae962d5cbbed1f4a05a643d09d75ad813e8b0b5462e60bf47a2b190
3
+ metadata.gz: ebed3ff619773d2afc2a64d3f958f2a38fd1cbaf70bc07dac553b3770c4614d7
4
+ data.tar.gz: '0108bde63f145de2af21685369e5f22c120e3fbc95ba63f3236940e4ab8634ee'
5
5
  SHA512:
6
- metadata.gz: 946713a183f11efb3ed970066937a4584a255e9670b793c42d43812d4a6652287993620fd57f0ac848832bad4330d442e27a9cc9a2a0d151595df3772cd1a7ef
7
- data.tar.gz: 4300fdb56f6b0dc49816ecd0001188363a8244a562cc42c971d5001f347332fa4e8b62ea2f996bc1e13f86f2e92be96d8bcbf98cf8c29c0c969f6639612683bd
6
+ metadata.gz: c3807050c76c726cfaa50f5101f557b0017d08aff2316b5c2e0798c5a0e36cafb86fadb77935c0576ea00db4638191992364db8e5596bf8981a94f8a2b92e470
7
+ data.tar.gz: f400de46cd272af31ee0635e4877295939ccd232633875c8139e8f078405df81ade9785052802aee25bb5e361f284439cb0a58f807104d65e097717f2f5db707
@@ -32,10 +32,10 @@ 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
- attrib = attributes.include?{|h| h.name == "tfstate"}
35
+ attrib = attributes.any?{|h| h.name == "tfstate"}
36
36
  Logger.new('/proc/1/fd/1').error attrib
37
37
 
38
- selected = component_def.attribute_type_info.select{|attribute| !attributes.include?{|h| h.name == "tfstate"}}
38
+ selected = component_def.attribute_type_info.select{|attribute| attributes.any?{|h| h.name == "tfstate"}}
39
39
  Logger.new('/proc/1/fd/1').error selected
40
40
  other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.include?{|h| h.name == attribute.name }}
41
41
 
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.164
4
+ version: 0.0.165
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK