k_log 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/k_log/log_util.rb +4 -3
- data/lib/k_log/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: 8f15bd7da5f5c1e59828b2d11e148087a6e8d9711bd82ecef7de25632f691df8
|
4
|
+
data.tar.gz: a1f3ac729d64217d536a17e06197fc57d7631695acc93f7a574b4525cf5b0998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c767580881c83a95d15ae8808b65abac71a19fefe212160946139621e8f0172ae1e337630b3aa83a2c479f678e60ea60ba23f30f8acc443c7a5a73d99e2cba2a
|
7
|
+
data.tar.gz: 6c3c0b99bfb96013e8226fab1b430a17ffed0128b379b6063878b240d41af745948e295b37f44bb92ccd556da7218a21251654d40f7d0b047206102838ab242d
|
data/lib/k_log/log_util.rb
CHANGED
@@ -147,10 +147,11 @@ module KLog
|
|
147
147
|
indent = indent.chomp(' ')
|
148
148
|
end
|
149
149
|
when Array
|
150
|
-
next
|
150
|
+
next unless opts[:skip_array].nil?
|
151
|
+
|
152
|
+
# puts LogHelper.subheading(key, 88)# unless opts[:subheading].nil?
|
153
|
+
puts LogHelper.subheading(opts[:subheading], 88) unless opts[:subheading].nil?
|
151
154
|
|
152
|
-
# puts LogHelper.subheading(key, 88)# if opts[:subheading].present?
|
153
|
-
puts LogHelper.subheading(opts[:subheading], 88) if opts[:subheading].present?
|
154
155
|
if value.length.positive?
|
155
156
|
if value.first.is_a?(String)
|
156
157
|
L.kv "#{indent}#{key}", value.join(', ')
|
data/lib/k_log/version.rb
CHANGED