Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595896 - dev-ruby/ruby-progressbar-1.8.1 USE=test should depend on dev-ruby/timecop - Failure/Error: Timecop.freeze(1) NameError: uninitialized constant ProgressBar::Timecop
Summary: dev-ruby/ruby-progressbar-1.8.1 USE=test should depend on dev-ruby/timecop - ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 574738
  Show dependency tree
 
Reported: 2016-10-02 09:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-03-02 06:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2016-10-02 09:58:29 UTC
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.
Comment 1 Hans de Graaff gentoo-dev Security 2017-03-02 06:19:05 UTC
This has now been fixed for ruby-progressbar 1.8.1.