raykit 0.0.411 → 0.0.412
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 -11
- data/lib/raykit.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09ad0c5e17f7ed926b4f2b4b9775c31bb061344c3f4490dcddecafc5fc834048'
|
4
|
+
data.tar.gz: 14e8599a69c31681007ca35bb8960c2048af5eaae63e7455844499fc15686e0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09d9ee17eb3848f70c7dddc62a409f1b2e1fa6100fa481ed2ee99ceaf6b8e68c37a8d143b9bb6180e3388249c62ee4e75c4be3431b52e262ab2d45d243f4d51f'
|
7
|
+
data.tar.gz: 73caf82f49b08d3fd90456ccf49bc9250e1670593a8939aaa29dc12d08cdf96fdbaed80e1f0302ae7d94415115f1cf5dc8432ef07a4060fe172316b2854dde17
|
data/lib/raykit/log.rb
CHANGED
@@ -55,14 +55,14 @@ module Raykit
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def self.show_table(symbols)
|
58
|
-
max_name_width =
|
59
|
-
max_value_width =
|
58
|
+
max_name_width = 0
|
59
|
+
max_value_width = 0
|
60
60
|
symbols.each { |s|
|
61
61
|
nvp = name_value_pair(s, binding)
|
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 >
|
65
|
+
max_value_width = value.length if (value.length > max_value_width)
|
66
66
|
}
|
67
67
|
header = " =".ljust(max_name_width + max_value_width + 5, "=")
|
68
68
|
puts header
|
@@ -76,11 +76,3 @@ module Raykit
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
end
|
79
|
-
|
80
|
-
#def show(symbol)
|
81
|
-
# show_binding(symbol, binding)
|
82
|
-
#end
|
83
|
-
|
84
|
-
#def show_binding(symbol, the_binding)
|
85
|
-
# show_value symbol.to_s, eval(symbol.to_s, the_binding)
|
86
|
-
#end
|
data/lib/raykit.rb
CHANGED
@@ -38,6 +38,14 @@ if defined?(RAYKIT_GLOBALS)
|
|
38
38
|
Raykit::TopLevel.run(command, false)
|
39
39
|
end
|
40
40
|
|
41
|
+
def make(artifact, command)
|
42
|
+
if (File.exists?(artifact))
|
43
|
+
puts " #{artifact} exists"
|
44
|
+
else
|
45
|
+
run("conan create . -pr:b=vs2022_x86_Release -pr:h=vs2022_x86_Release")
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
41
49
|
def start_task(task_name)
|
42
50
|
Raykit::Log.start_task(task_name)
|
43
51
|
end
|