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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 662a1bb6b87639371c7849545faf2c4c6e96632d987442f4cfd899e86753b033
4
- data.tar.gz: a1f8a4d7c4b732aa869bac9168e8f0501f0cd4f82fa25c1c5740be2dd2accf59
3
+ metadata.gz: cc8cf3eccbb8ee8c88e20b441cbc3280f7a75495ed0841fcda9d2eeb15839601
4
+ data.tar.gz: 428413881681a84dbda708700b1fae83737bde20e66bd5f3c2f3402ee3e2c62a
5
5
  SHA512:
6
- metadata.gz: b549f04ce3a989243ce2dd388861020ca47b16316113e8ce1bcbe81f275a3a0a2d877268ebd3f1780925672168c00ac6ffa0f2a7b6f012f4260d29bd0af5a83b
7
- data.tar.gz: 1b89f9e7b81c2955fa9a75d357b47cd53e872743dccec762c65fb38748265f7c604014bb0697910d3793f0be3f4c0f2a634d57cf1aaa9dc2f94b6f0753caa625
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.40"
4
+ VERSION = "0.1.41"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo