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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb803d94accbed4eabd695e5671e76f582c7f6ddfbc6df5ea83e5ec092f2b661
4
- data.tar.gz: 82ccc95b77e9535838d0345ed6d13b34d17e2d05115280cbcb9105980ce920c6
3
+ metadata.gz: 05fe2d492ce2f8260270eee75659448aad2bb510b6a4099b2067fa346e3f3e61
4
+ data.tar.gz: f233b5c12098def0614fee840da78b64cd6cf271460a46b2a8ba1973ef0c16db
5
5
  SHA512:
6
- metadata.gz: 754ac01a20f83df27edd825f6e92b02dd5943f09008bf1481698c88a3189bedc6a4f77a5515a104185af8dcb8a7886098835b44918a73c723fbdf4944f391ba3
7
- data.tar.gz: ffda97e56ebacfe891992e1d91a8855977deecdced43f5bbe2d32a0aea1c055e8bd16f246492816b450f61d60c7c31f24cb2cd1dfc29c7be657e413ebbe4a550
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 Array, Object
8
+ when Object
9
9
  pp object
10
10
  else
11
11
  puts object
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.35"
4
+ VERSION = "0.1.36"
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.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo