raykit 0.0.415 → 0.0.418

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90bbf2cf6b5d5adc73a758df16715c88237851395bc0256899fdf7684ab83f24
4
- data.tar.gz: e4451e79c5432bfff07325731a0fd75778a5d4ca55690875bed3017ca5e98d33
3
+ metadata.gz: 51123ff0341558bb7ace34a20014c1351b6d6219c501fd58db19e5189c9f4f12
4
+ data.tar.gz: 82acea9e85a5f4cccbcdfebf2fafe69f8186681bca65009228263318ec0bbae4
5
5
  SHA512:
6
- metadata.gz: faae844bdc7982050612752c0ed49c4e879e3b3c0fe722e170f93e6f0a10faaf76fb3266587c7c69972d86e7a25758eec588de59b9714cb77b0ace004dc60e34
7
- data.tar.gz: d849d7644fd7edd09874fcacb424cd98c41893fd3bdbdad7de857b435bdba34da3b90a1bca9a53a890588b4204b965b4e0b26549c305e155dbf8df85a3e45ce8
6
+ metadata.gz: a516fd8aabee5793d28ac41a76567910ec90c0ed43ea33fa938fa0a05198548fabb222a64429697f96e5f5c0b0df9113920925ebad41a6d6a37cf2f1abd31720
7
+ data.tar.gz: bd621d2457032e77cc8aea4879265b72c91987c953772f1836e5ac40145ed5ef5f9e36cff3e708c4cb66bd735a7bc99e466b479be690c28b48ea4bab0514385a
@@ -167,6 +167,16 @@ 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
+ puts " git tag v#{VERSION} does not exist"
176
+ run("git integrate")
177
+ run("git tag -a v#{VERSION} -m\"version #{VERSION}\"")
178
+ end
179
+ end
170
180
  end
171
181
  end
172
182
  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
data/lib/raykit.rb CHANGED
@@ -58,7 +58,7 @@ if defined?(RAYKIT_GLOBALS)
58
58
  if (cmd.exitstatus != 0)
59
59
  File.delete(artifact) if (File.exists?(artifact))
60
60
  end
61
- check_md
61
+ cmd
62
62
  end
63
63
  end
64
64
 
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.415
4
+ version: 0.0.418
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.3.7
148
+ rubygems_version: 3.2.22
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: ruby gem to support rake ci/cd tasks