raykit 0.0.416 → 0.0.417

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/log.rb +3 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d366914d1208287bc223820ce6ff4b25dac52215a69493f4d18fa1d0ad95f8a9
4
- data.tar.gz: 450fa0ffdc374210c321ea0a8c615149345a00d7d4aa2718b535fab4c7e90478
3
+ metadata.gz: 77913a7620aa8486c051c33b19dc45eeaaf251a8ce1414c81dd40ee81e6d43d9
4
+ data.tar.gz: 53145496305bb34cf9c673a37f4d5e9a65a1dfa7e47dbd5d1586ae18675e6240
5
5
  SHA512:
6
- metadata.gz: 411a030981f1d9de334469de2669eb595ec58f1f06a6da64f1caa40826a11a12eb0d1be77a82b715a74d15440c6d47e5ef31170f84653cf130d60f07c1830f96
7
- data.tar.gz: c35957e347af1fc39fc38453cee87bb3dd5ef54a46478cee748c17dd2b0df49d1d740a8a0f674e4f169b3d3ba9e21c91ebe0db9d13af16c717fa761718c79bbb
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
- max_value_width = value.length if (value.length > max_value_width)
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.416
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-30 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler