glia-errors 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/glia-errors.gemspec +1 -1
- data/lib/glia/errors/error.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9f3f981c61ebf8676c66ee15e0b326d052978374f8099574d8f84370247e834
|
4
|
+
data.tar.gz: a4d50d5aabad297607ef9a8c3f2fef743ba1620212cde790e95547ee9559216d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf46277d4d7f2368999acab163f89e192d76ca0db527e94c39fdbcefe6b4bdf83dd2e6a116eef2eb2568e0a4d005f86dc06729925aa50b1dc9e050564d62093
|
7
|
+
data.tar.gz: '04281d7946a62f546d3a2e4474336289a83142a2283a622a3abe13988f3d29bf24b66ff1e9aba02a5ce1043cd5232fc262138d1ee061a283e6d4b31a1f13ad98'
|
data/glia-errors.gemspec
CHANGED
data/lib/glia/errors/error.rb
CHANGED
@@ -39,7 +39,8 @@ module Glia
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def primitive?(details)
|
42
|
-
details.nil? ||
|
42
|
+
details.nil? ||
|
43
|
+
[TrueClass, FalseClass, String, Integer, Float, Symbol].include?(details.class)
|
43
44
|
end
|
44
45
|
|
45
46
|
# Converts from camel_case to capitalized more human readable value
|