raykit 0.0.416 → 0.0.417
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/log.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77913a7620aa8486c051c33b19dc45eeaaf251a8ce1414c81dd40ee81e6d43d9
|
4
|
+
data.tar.gz: 53145496305bb34cf9c673a37f4d5e9a65a1dfa7e47dbd5d1586ae18675e6240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d099b296b730d8de3f6efd892b2987031170517546062135ef94e32afdee222133b9784612e5544254342ed53e92bae7d9719b32066997bad22aa9441e4907b
|
7
|
+
data.tar.gz: 1f0436a062c9e41e64762a0a8c760b60c646e83205c901d0e011d42b4689895d5ebbe43ce8ed45031c150e3fea325e98bc2c2f51fa82153f60a71d3c3611d463
|
data/lib/raykit/log.rb
CHANGED
@@ -62,7 +62,9 @@ module Raykit
|
|
62
62
|
name = nvp[0]
|
63
63
|
value = nvp[1]
|
64
64
|
max_name_width = name.length if (name.length > max_name_width)
|
65
|
-
|
65
|
+
if (!value.nil?)
|
66
|
+
max_value_width = value.length if (value.length > max_value_width)
|
67
|
+
end
|
66
68
|
}
|
67
69
|
header = " =".ljust(max_name_width + max_value_width + 5, "=")
|
68
70
|
puts header
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.417
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|