dtk_crd_parser 0.0.143 → 0.0.144
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/base_class/helper_mixins.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1035f3163067b32ccadc9cefe996f3e3bb5993
|
4
|
+
data.tar.gz: df9b800a503e163257b2c720529c3a2e38027acb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aabd7dc0df87ade63eea3e0aadbb418fb74703c95cc0a252b6441364461228e415ea1bd8ac4077552d5ea570a723c7c51f1e28e469e14785255ad5aaaa410ab4
|
7
|
+
data.tar.gz: d5a72e49267243838a1497a4ed510bad8dacc105645d6870651f07dbd98ea0da673a60354bedd3addff722c94296665575c85cc067b5635d2a8519fe4871efbb
|
@@ -5,7 +5,7 @@ module DTK::CrdParser
|
|
5
5
|
# Helper functions want to have available in all classes
|
6
6
|
|
7
7
|
def fail_if_nil(value, property_name)
|
8
|
-
fail Error::Usage, "Property #{property_name} should not be nil"
|
8
|
+
fail Error::Usage, "Property #{property_name} should not be nil" if value.nil?
|
9
9
|
value
|
10
10
|
end
|
11
11
|
|