wolf_core 0.1.35 → 0.1.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/utils/logging_utils.rb +2 -2
- data/lib/wolf_core/version.rb +1 -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: 05fe2d492ce2f8260270eee75659448aad2bb510b6a4099b2067fa346e3f3e61
|
4
|
+
data.tar.gz: f233b5c12098def0614fee840da78b64cd6cf271460a46b2a8ba1973ef0c16db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6662eff1ac373047c599f190888d65bfb42baa726d540ac59890b8f4eaadbfdaee184e3b7bfff35715c54f3ee6e180e26abc4e5e558f67264f3dc68320615cb8
|
7
|
+
data.tar.gz: '0918137298ac2c0cdaf98e4f5ccee3ae443006413e26a88f94e0021852fdb1a5dad5c6267c70b3cafb34e06942873a49ac28dabc336a382379f5c3e90f63dfb4'
|
@@ -2,10 +2,10 @@ module WolfCore
|
|
2
2
|
module LoggingUtils
|
3
3
|
def log_object(object)
|
4
4
|
case object
|
5
|
-
when Hash, OpenStruct
|
5
|
+
when Hash, Array, OpenStruct
|
6
6
|
object = object.to_h if object.instance_of?(OpenStruct)
|
7
7
|
puts object.to_json
|
8
|
-
when
|
8
|
+
when Object
|
9
9
|
pp object
|
10
10
|
else
|
11
11
|
puts object
|
data/lib/wolf_core/version.rb
CHANGED