dtk_crd_parser 0.0.6 → 0.0.7

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: 8de7a897feafbfce85612bfeb21fa13b8da988455831b530e2ad5d9b05bc0a8c
4
- data.tar.gz: e537e5720209f5504d399d6b4dbc06c2ba26fbb9ff9b35108a2bb30dae8b861f
3
+ metadata.gz: 5d0309ac23e6ca4847904b53f7d860762c37a8f94a4565397ec4531f774e8c51
4
+ data.tar.gz: 91020989ee1a4aec74da301e3dbd219c64e2693e8c5978c3c3aa6b5a8f848e57
5
5
  SHA512:
6
- metadata.gz: 896b42d7e8b1cb13eab94a4896dfb48bc3095b1451aced6f9653d1d6c22dfc27c12ff702d1ab3d906164c6cbfd4e781d3954994d5ed1ae03dcccd8a469cf39cb
7
- data.tar.gz: 318fb3926b141030ceb6cf51ec6f4adaaf91163277f30666d28e32a479719d1f434178afcd0bcfea278f8fac3b90fe935af041f42245b40ebf153037dbd98ba9
6
+ metadata.gz: f1e594d92d800cf134186e8baaadd83e98be2b38759611aba02d88e2698749cb7a59a5de0e2273db05bbfd4ed88fed16c8a7c9524ef77f6e6dcf315a92d0d543
7
+ data.tar.gz: f7dab823bc516c2f593275fd1be8b19c3c7dcbe4b98c829a124f5a5e1b62bcbb6508f090903890590e2f6660559aa81acc68b1d34cb76ff2582af86d7dbbae0f
@@ -70,7 +70,7 @@ module DTK::CrdParser
70
70
  puts 'captures: '
71
71
  puts actionComponent.match(regex)
72
72
  compModule, compName, attributeName, action = actionComponent.match(regex).captures if actionComponent.match(regex)
73
- action = !action.empty? ? action.to_sym : :create
73
+ action = (action && !action.empty?) ? action.to_sym : :create
74
74
 
75
75
  if(compModule.nil? || compName.nil? || attributeName.nil?)
76
76
  raise `Could not resolve component module, name or attribute name for component: #{actionComponent}`
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK