vete 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/vete.rb +3 -6
- 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: 17a743a15d0924c27b9d12b013832b086a4fbd1b7ef1e4fce78fc2d6a144a3c9
|
4
|
+
data.tar.gz: a406a4f2dbd83b256fb2403421c9abcbc4c3a3c49a7a39348630521fc6c2fa17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440ea4d9a82ddbe830da97150a1752ca0f3624955db89cf9c3782b1546641cc19ba1bd8c165eaf435520ce105d87f9f65b5877917bba48dda48d762d3c35760e
|
7
|
+
data.tar.gz: 1cc41d58721becaf76e6980527e801658431af3ca0a3100bccc53a92ea9d33ce2a23afb3873fd17f3a6eec4533247d23d16476191401bf54361e9d773e3a0b3d
|
data/README.md
CHANGED
data/lib/vete.rb
CHANGED
@@ -19,7 +19,7 @@ trap("INT" ) { print clear + go; abort "\n" }
|
|
19
19
|
trap("WINCH") { print clear or draw if @pid == Process.pid }
|
20
20
|
|
21
21
|
OptionParser.new.instance_eval do
|
22
|
-
@version = "1.0.
|
22
|
+
@version = "1.0.1"
|
23
23
|
@banner = "usage: #{program_name} [options]"
|
24
24
|
|
25
25
|
on "-b", "--bar <width>" , "Progress bar width, in characters", Integer
|
@@ -157,11 +157,8 @@ end
|
|
157
157
|
@mtx = Mutex.new
|
158
158
|
@que = Thread::Queue.new; @work.times {|slot| @que << (slot + 1) }
|
159
159
|
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
list = Dir[File.join(@todo, "*")]
|
164
|
-
|
160
|
+
defined?(setup ) and setup
|
161
|
+
defined?(perform) and list = Dir[File.join(@todo, "*")] and !list.empty? and begin
|
165
162
|
live = 0
|
166
163
|
done = 0
|
167
164
|
died = 0
|