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 +4 -4
- data/lib/raykit/git/directory.rb +10 -0
- data/lib/raykit/log.rb +3 -1
- data/lib/raykit.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51123ff0341558bb7ace34a20014c1351b6d6219c501fd58db19e5189c9f4f12
|
4
|
+
data.tar.gz: 82acea9e85a5f4cccbcdfebf2fafe69f8186681bca65009228263318ec0bbae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a516fd8aabee5793d28ac41a76567910ec90c0ed43ea33fa938fa0a05198548fabb222a64429697f96e5f5c0b0df9113920925ebad41a6d6a37cf2f1abd31720
|
7
|
+
data.tar.gz: bd621d2457032e77cc8aea4879265b72c91987c953772f1836e5ac40145ed5ef5f9e36cff3e708c4cb66bd735a7bc99e466b479be690c28b48ea4bab0514385a
|
data/lib/raykit/git/directory.rb
CHANGED
@@ -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
|
-
|
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
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.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-
|
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.
|
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
|