raykit 0.0.413 → 0.0.414

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit.rb +8 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c80920bdacf73e47e03c2c21000dca436fe19cabdb9a9136e8c5661fa548d85b
4
- data.tar.gz: 2b8305db3c13dfa56b40ded98118e7a7878ee42e55d73cc34ef82f59fef7c31c
3
+ metadata.gz: a0fd0e143714ba3d1861b2a5477df3c090d4af04291128312d58703517552dbb
4
+ data.tar.gz: ce68d0b95084c638a24a05bfbb2fff8199b3759c88cbf8408260780feb8ec1ce
5
5
  SHA512:
6
- metadata.gz: 67dd3b1cf22be2087d3a810433411fbf8136841d3c20793d69e00aa5fee5569fa727d826d1ef88d637639deff5384a7dc1ad457a729b17c601b8727c6f30611a
7
- data.tar.gz: dafecff8cc99a28c248e69e365a9b49d26e566b982f1fc8b2e09b244c01254b25fc1677ee5eaf09f264cbe13c88f5de644e6f2c952e27ffb3630c013aaaf539e
6
+ metadata.gz: 3e961640f304b8018a4e5059925bd27e58e9dc5ed22194cc4f7825fd35e59b295bd12cdeb5d88a3bf16360b5308cc0e04f9271cb2e62ef3ad9af22ec847932b4
7
+ data.tar.gz: 3465a03d27d14be459e9487b1bfe4c850d837ee7c8f05ebd79239ef2413d02f65b77a724d7be89835639c6475a646d5277a6f16f8255778c1a7fc37119b082b1
data/lib/raykit.rb CHANGED
@@ -46,6 +46,14 @@ if defined?(RAYKIT_GLOBALS)
46
46
  end
47
47
  end
48
48
 
49
+ def make_log(artifact, command)
50
+ if (File.exists?(artifact))
51
+ puts " #{artifact} exists"
52
+ else
53
+ run(command).log_to_file(artifact)
54
+ end
55
+ end
56
+
49
57
  def start_task(task_name)
50
58
  Raykit::Log.start_task(task_name)
51
59
  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.413
4
+ version: 0.0.414
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow