pretty_multitask 0.1.5 → 0.1.6

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: c87f12464064816aeeca47d2f9e5168a184299a9e71583a9b718ffdb2821a365
4
- data.tar.gz: 4516ed4cfcb98738e840868a9688f44785398e67d48f979ba9195731c59347ec
3
+ metadata.gz: f89845bbcbcee9e9914a0a3107ea41866183f4276dc2aaf0f2ebab16c166b7b6
4
+ data.tar.gz: f154a0b734e97ce7ca92ffa81a33ac3391cbe39529c7e713127fbe2b447a789a
5
5
  SHA512:
6
- metadata.gz: 9e5a3357f92557477761e6175e4ffe97c9470aa3c20247647879f3acb8981cb0b6dc885adf36610a6f012658a80d19c341acbc30e28a638133b2b4b803afd683
7
- data.tar.gz: bc62a7f8b16e85cbfd984b047e4c4ae28f932ced4fbd74507b2bb73794e11e0eef07577038ab4943eca66f41f469caeed896f66d927f4ac73972ff1b0c1b7999
6
+ metadata.gz: fdc1274cadfce484efde26c43cf6735f856273fc10c5d1ae9f0aed90427e191702613b5ab5d2344f183b7862229a2ac8490b09284e12730634b83c9305e5e90a
7
+ data.tar.gz: 29f8a24249f62371c325fe9bc9c4e7397c7c38487891fbcbeda59be6ac8efeba3d150f2189afc147fab99fd6e85c817762a472e634148241a8fb80ec4c80e833
@@ -7,7 +7,6 @@ require 'io/wait'
7
7
  require 'socket'
8
8
  require 'timeout'
9
9
  require 'yaml'
10
- require 'fileutils'
11
10
 
12
11
  module PrettyMultitask
13
12
  require "#{__dir__}/pretty_multitask/color"
@@ -54,9 +54,7 @@ module PrettyMultitask
54
54
  chars = []
55
55
  t = Thread.new do
56
56
  sleep 0.1 until r.ready?
57
- (1..3).each do
58
- chars << r.getc while r.ready?
59
- end
57
+ chars << r.getc while r.ready?
60
58
  end
61
59
 
62
60
  Process.wait pid
@@ -7,7 +7,6 @@ module PrettyMultitask
7
7
  @jobs.each do |j|
8
8
  [:name, :cmd ].each {|o| raise "#{o} must be specified for job #{j}" unless j[o] }
9
9
  j[:out_file] = "/tmp/#{j[:name]}-#{Time.now.strftime('%s.%N')}"
10
- FileUtils.touch j[:out_file]
11
10
  end
12
11
  end
13
12
 
@@ -1,3 +1,3 @@
1
1
  module PrettyMultitask
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_multitask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Lopo Da Silva