dtk_crd_parser 0.0.165 → 0.0.166

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 +1 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebed3ff619773d2afc2a64d3f958f2a38fd1cbaf70bc07dac553b3770c4614d7
4
- data.tar.gz: '0108bde63f145de2af21685369e5f22c120e3fbc95ba63f3236940e4ab8634ee'
3
+ metadata.gz: 54922cbd3583b91d66f4e545a1b7f65c8d4063f6d654d87a982e1749907fba27
4
+ data.tar.gz: 98c8c476fcb566de56ece33e75631321e7dc3056ddb559a127e1d0c6d28e2f29
5
5
  SHA512:
6
- metadata.gz: c3807050c76c726cfaa50f5101f557b0017d08aff2316b5c2e0798c5a0e36cafb86fadb77935c0576ea00db4638191992364db8e5596bf8981a94f8a2b92e470
7
- data.tar.gz: f400de46cd272af31ee0635e4877295939ccd232633875c8139e8f078405df81ade9785052802aee25bb5e361f284439cb0a58f807104d65e097717f2f5db707
6
+ metadata.gz: e44fc45d01eb8da34245004eccec269b1ba505123e534d9bf1b1d9cb0dc79e2ace99550238c4e9f2c8680a0ba62e892f50eb2ef18ad13b5e7357b909651edbaf
7
+ data.tar.gz: b0dec06ca9fdc74b3fb416524a7a699a87d1230283324d4e1af18abe3d34336add6419d0bcec9db779ecc5982c2cea1ed4bfccac49428bdbbe5cacdafa06d97e
@@ -35,9 +35,7 @@ module DTK::CrdParser
35
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.any?{|h| h.name == "tfstate"}}
39
- Logger.new('/proc/1/fd/1').error selected
40
- other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.include?{|h| h.name == attribute.name }}
38
+ other_attrs = component_def.attribute_type_info.reject {|attribute| attributes.any?{|h| h.name == attribute.name }}
41
39
 
42
40
  Logger.new('/proc/1/fd/1').error "OTHER ATTRIBUTES"
43
41
  Logger.new('/proc/1/fd/1').error other_attrs
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.165
4
+ version: 0.0.166
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK