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 +4 -4
- data/lib/wolf_core/utils/logging_utils.rb +15 -0
- data/lib/wolf_core/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c21a4303476d4effed797e1926039d4f88fefadf7ac2dd954f6f0ef1cf50458
|
4
|
+
data.tar.gz: 14f0d39ca739e909a3fb8f09853f04974ef225726735ce863d455927de2a040e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/wolf_core/version.rb
CHANGED
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.
|
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
|