pretty_multitask 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/pretty_multitask/runner.rb +6 -7
- data/lib/pretty_multitask/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7f54df005e0547be771ae3de2722a86ff4542d299490a1808494a820550bc9d6
|
4
|
+
data.tar.gz: 28de686f816b32491ecdd5e961c58756937d0c043a9abda58e79fbc434040501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a298b861f068ebbacf09fc8514475f22d120170119ad89bc82c355a75c30da3e83f8dc75fdb70ab0180a3f9cdfddd96f93caaaf0423e1df88b300daec0e6d3d7
|
7
|
+
data.tar.gz: 4e6ad1702992475b3b110d02e67db695fd7ab574a1960c65f6862e35d87f09034ad3c2aee1fc8bcf2899095199dc870673c90ded95bdacc1eddcba23b61f640b
|
@@ -24,20 +24,19 @@ module PrettyMultitask
|
|
24
24
|
errors = exec.run.errors
|
25
25
|
|
26
26
|
@jobs.each do |j|
|
27
|
-
|
28
|
-
|
29
|
-
left
|
27
|
+
label = "[ #{j[:name]} ]"
|
28
|
+
width = IO.console.winsize[-1]
|
29
|
+
left = '='*((width - label.length)/2)
|
30
30
|
right = j[:name].length.even? ? left : left + '='
|
31
31
|
puts "\n"
|
32
|
-
|
33
|
-
puts Color.yellow left + "[ #{j[:name]} ]" + right
|
32
|
+
puts Color.yellow left + label + right
|
34
33
|
puts File.read j[:out_file]
|
35
|
-
puts Color.yellow
|
34
|
+
puts Color.yellow "="*width
|
36
35
|
File.delete j[:out_file]
|
37
36
|
end
|
38
37
|
|
39
38
|
unless errors.empty?
|
40
|
-
LOGGER.fatal 'Found errors'
|
39
|
+
LOGGER.fatal 'Found errors '
|
41
40
|
exit 2
|
42
41
|
end
|
43
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pretty_multitask
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Lopo Da Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tlopo-executor
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.7.8
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Multitask with pretty output for Rake
|