vete 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vete.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06504dd7c0db745520749c6870bce211b8b49c93be264805d99f27576db1b203
4
- data.tar.gz: 57e594abef634594f5dda56cfadf8bd00796de916ad5ea35eb9aed59b6997254
3
+ metadata.gz: b811e6c42a16fc7bcb8359b469f1ead827bac8727e54224cd0891d014c0ad491
4
+ data.tar.gz: 0fc1990ae2a825c40790e31485819ac4bf92c10623abf696e279c30a4b7a7097
5
5
  SHA512:
6
- metadata.gz: 7c677308c467a8ac0e22edf3e2cbc5400743188922597b835c81435eb363b10cf424f36559c668bb167ac2e0f8a2ffdc3aa4ebce69e2c3f2ea8d450a16ab30ec
7
- data.tar.gz: 396cf9aa6fb29aa7bcbfd3be204dd5507f895d9cfe89b42e424a3d76c12dac87471f5836f80f29a2a1165d4e040a2959be5d6714d506b3529bbdb6331e03fbcd
6
+ metadata.gz: 396ec4711449a42af83c911e8fa306c30949c70630ad97e1b37cd617ce0be0900b39814125c49a671f377b8af314e26abfd9aa8ea79c790bd449e07d5e764f7a
7
+ data.tar.gz: d4a829a061f96ac6cb0bc9eda2e4de38cff5babeb5692fc7e1355802af851344d11d0293f14114b6c41b8deccf00f8966fbb250d35bb3d669dffa43dc5edebad
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.2"
22
+ @version = "1.0.3"
23
23
  @banner = "usage: #{program_name} [options] [filename]"
24
24
 
25
25
  on "-b", "--bar <width>" , "Progress bar width, in characters", Integer
@@ -197,6 +197,8 @@ defined?(perform) and list = Dir[File.join(@todo, "*")] and !list.empty? and beg
197
197
  when "task" then sleep task
198
198
  when Numeric then sleep task * @wait
199
199
  end if task < @work
200
+ @slot = slot + 1
201
+ @task = path
200
202
  perform(path)
201
203
  exit
202
204
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vete
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve