raykit 0.0.416 → 0.0.419

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d366914d1208287bc223820ce6ff4b25dac52215a69493f4d18fa1d0ad95f8a9
4
- data.tar.gz: 450fa0ffdc374210c321ea0a8c615149345a00d7d4aa2718b535fab4c7e90478
3
+ metadata.gz: f086babde861261986c7d8e1816ace849aad926e58754dd383ff4f065af190da
4
+ data.tar.gz: a7dad061f75d52167a2a9de3185ffb18ea92136d214ea911c306153481d80843
5
5
  SHA512:
6
- metadata.gz: 411a030981f1d9de334469de2669eb595ec58f1f06a6da64f1caa40826a11a12eb0d1be77a82b715a74d15440c6d47e5ef31170f84653cf130d60f07c1830f96
7
- data.tar.gz: c35957e347af1fc39fc38453cee87bb3dd5ef54a46478cee748c17dd2b0df49d1d740a8a0f674e4f169b3d3ba9e21c91ebe0db9d13af16c717fa761718c79bbb
6
+ metadata.gz: 0c91df7579cbb5e4c522ffd01e35870575d3d4b7b6d781e9a48ddabc377a144dd4b8099edbbdce85bdcc62ad1d6956267884a545072876a4d870cd516520a8c3
7
+ data.tar.gz: e0565b165f6b709a8f9f3518c591b96bf12d552b8d348742a2778ce5bcf99874cb1081eb6b7da68ce55c3cd7406731fbd185e1bd9324e4742b8c43b33436c1b7
@@ -167,6 +167,19 @@ module Raykit
167
167
  end
168
168
  ""
169
169
  end
170
+
171
+ def tag_version(version)
172
+ if has_tag "v#{VERSION}"
173
+ puts " git tag v#{VERSION} already exists"
174
+ else
175
+ if outstanding_commit?
176
+ raise "outstanding commit, will not tag"
177
+ else
178
+ puts " git tag v#{VERSION} does not exist"
179
+ run("git tag -a v#{VERSION} -m\"version #{VERSION}\"")
180
+ end
181
+ end
182
+ end
170
183
  end
171
184
  end
172
185
  end
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.419
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-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler