Skip to content
Ruby probressbar in terminal for long running jobs
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib [FIX] Blows up when can't detect terminal size Feb 25, 2012
test [ADD] Ruby 1.9.2 charset UTF-8 Aug 23, 2011
.document
.gitignore
Gemfile
Gemfile.lock Added gem file.lock Jul 28, 2011
LICENSE.txt
README.rdoc [FIX] Problem with diacritics in my name :( Nov 7, 2011
Rakefile
VERSION [FIX] Blows up when can't detect terminal size Feb 25, 2012
rake-progressbar.gemspec

README.rdoc

rake-progressbar

Progress bar for long runnung jobs in terminal - useful mostly for rake tasks (imports, exports, archives etc.)

Usage

RakeProgressbar.new(maximal_count) - in maximal count you are passing number 1> ho many jobs (increments you will perform)

bar = RakeProgressbar.new(100)
100.times do 
 bar.inc
end
bar.finished

It will generate:

25.2% [#####_______________] 01:02:30 -> 00:25:13

Copyright

Copyright © 2011 Ondrej Bartas. See LICENSE.txt for further details.

You can’t perform that action at this time.