raykit 0.0.411 → 0.0.412

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/log.rb +3 -11
  3. data/lib/raykit.rb +8 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 237647e3382b0e13272094aaca7dbfbe31e2d4851b45eb24ef9d27760458fb1d
4
- data.tar.gz: d598dc82464ce5d24e8cc4261d3f9d15d774d5ea52b01f91381032d6218c8ffd
3
+ metadata.gz: '09ad0c5e17f7ed926b4f2b4b9775c31bb061344c3f4490dcddecafc5fc834048'
4
+ data.tar.gz: 14e8599a69c31681007ca35bb8960c2048af5eaae63e7455844499fc15686e0a
5
5
  SHA512:
6
- metadata.gz: 34f1fcd9a63768503c519378f7cdc83fbd6457f525e92459b08a2eb2788dff77f338aad8b73440693721cd35a5b541ceb6294e6321ca11db8d8891461da046be
7
- data.tar.gz: 37b7fe39602e485826ad84cf7f2d1246df834a88a1b70cb2f57ef773165d7b1cb76520ffa692e60d10d5af34ce69e1412aa55552cdbc189813ca1d99c98c240d
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 = 10
59
- max_value_width = 10
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 > max_name_width)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.411
4
+ version: 0.0.412
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow