wolf_core 0.1.40 → 0.1.41
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 -1
- 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: cc8cf3eccbb8ee8c88e20b441cbc3280f7a75495ed0841fcda9d2eeb15839601
|
4
|
+
data.tar.gz: 428413881681a84dbda708700b1fae83737bde20e66bd5f3c2f3402ee3e2c62a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e2d25c047a0b2bde0c548943bdcc2c9f239a1595658d17903178e22f48870a947fd18b9933570be658bcd657fb41c34eeb304275523b06e2bcf4f1c916c79f1
|
7
|
+
data.tar.gz: 5ec357f5b58ac90930122449f75cf0da5cfce1fb0279ae09625cb12d0cde9bcf039c2692188594e43ad832981fd27f3f3b09814f2496539b6d0a0210df9449c5
|
@@ -1,7 +1,8 @@
|
|
1
1
|
module WolfCore
|
2
2
|
module LoggingUtils
|
3
|
-
def log_object(object)
|
3
|
+
def log_object(object, title: nil)
|
4
4
|
puts '---------------------------------'
|
5
|
+
puts title if title
|
5
6
|
case object
|
6
7
|
when Hash, Array, OpenStruct
|
7
8
|
object = object.to_h if object.instance_of?(OpenStruct)
|
data/lib/wolf_core/version.rb
CHANGED