dtk_crd_parser 0.0.142 → 0.0.143
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: 276e370c3fc8a70b2068acf884e8036624ecc558
|
4
|
+
data.tar.gz: 5f4e5977fb127851dccdec0c2c03aaf47d9b64f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23de8b135d45d154a2b63c2c650f40f832d2a9ef5cb249e3878eb25f2035a51275c5dc3fe360105b68a4ba6e1eff31ebb8156efeddc8ad45f5b033d87b676cf0
|
7
|
+
data.tar.gz: 3d0039c026c854bd0101556f7a09ac27b43b5fe31e32cb3a9fe954dfb6986299a1734dff175f9ce70a287afbf2082ab571325bb053148379b81eaf10413574cb
|
@@ -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" unless value
|
8
|
+
fail Error::Usage, "Property #{property_name} should not be nil" unless value.nil?
|
9
9
|
value
|
10
10
|
end
|
11
11
|
|