1) ProgressBar::Throttle does not yield after the initial yield if the period has not passed yet Failure/Error: Timecop.freeze(1) NameError: uninitialized constant ProgressBar::Timecop # ./spec/ruby-progressbar/components/throttle_spec.rb:31:in `block (3 levels) in <class:ProgressBar>' # ./spec/ruby-progressbar/components/throttle_spec.rb:30:in `each' # ./spec/ruby-progressbar/components/throttle_spec.rb:30:in `block (2 levels) in <class:ProgressBar>' F 2) ProgressBar::Throttle does not yield after a previous yield if the period has not passed yet Failure/Error: Timecop.freeze(0) NameError: uninitialized constant ProgressBar::Timecop # ./spec/ruby-progressbar/components/throttle_spec.rb:91:in `block (2 levels) in <class:ProgressBar>' 22/173 |===== 12 ======> | ETA: 00:00:02 ^MF And so on.
This has now been fixed for ruby-progressbar 1.8.1.