wolf_core 0.1.31 → 0.1.32

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: dabffc1ee816df7671b340151eada54f0fea1d68c246eaa1058aa2ac29fbe3fb
4
- data.tar.gz: 3f003b22b6fde4d1516c1b1b37acdc38b4295f8f6aa8fa6decb3f3bb0970aef9
3
+ metadata.gz: 9c21a4303476d4effed797e1926039d4f88fefadf7ac2dd954f6f0ef1cf50458
4
+ data.tar.gz: 14f0d39ca739e909a3fb8f09853f04974ef225726735ce863d455927de2a040e
5
5
  SHA512:
6
- metadata.gz: 8408c07eab8b7352d5e25e8de62b88a47941be4661f275449a1eb346379f0a3533960ee799a2940e67f401e2a81bdd3c01b094cdb8a333e4eedef7c2ecc01d6a
7
- data.tar.gz: 2321915dc045804615b2c8025d6daf4f02a354cdefbae9f2bb695e45c1a1a1f91d3660ede88b8e867a9cbbe3b4e73ef4790f8730a0abd5905cccb1e149fc9c0c
6
+ metadata.gz: 77d38e4ca25cba5b0f3b6bfbe9244b84f7e28cd8d6a09d108e0028131781d03aa73e7775672d9d6458c8362311e1c7f52d5bb9640955473161b700666a28ddac
7
+ data.tar.gz: 8ed8f43dc4a619b72ed65714288755165e419df2b70abcdfc289b56d62a8177a2e1cdfa55f22a026bb1a53a0af857ae0e2f4ccb8dea3b700512ca20231df73ba
@@ -0,0 +1,15 @@
1
+ module WolfCore
2
+ module LoggingUtils
3
+ def log_object(object)
4
+ case object
5
+ when Hash, OpenStruct
6
+ object = object.to_h if object.instance_of?(OpenStruct)
7
+ puts object.to_json
8
+ when Array
9
+ pp object
10
+ else
11
+ puts object
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.31"
4
+ VERSION = "0.1.32"
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.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
@@ -73,6 +73,7 @@ files:
73
73
  - lib/wolf_core/infrastructure/lambda_function_operations.rb
74
74
  - lib/wolf_core/utils/async_utils.rb
75
75
  - lib/wolf_core/utils/file_utils.rb
76
+ - lib/wolf_core/utils/logging_utils.rb
76
77
  - lib/wolf_core/utils/result.rb
77
78
  - lib/wolf_core/version.rb
78
79
  homepage: https://github.com/onewolfxyz/wolf_core