Rufus::Scheduler::PlainScheduler
- should override jobs with the same id
Rufus::Scheduler::PlainScheduler#schedule_at
- should have job ids with the class name in it
- should accept integers as 'at'
- should schedule at 'top + 1'
- should trigger immediately jobs in the past
- should unschedule
- should accept tags for jobs
Rufus::Scheduler::AtJob
- should unschedule itself
- should respond to #next_time
Rufus::Scheduler::PlainScheduler
- should not block when :blocking => nil
- should block when :blocking => true
Rufus::CronLine
- should interpret cron strings correctly
Rufus::CronLine#next_time
- should compute next occurence correctly
Rufus::Scheduler::PlainScheduler#cron
- should have job ids with the class name in it
- should cron every second
- should unschedule
- should keep track of cron jobs
- should accept tags for jobs
- should accept job.unschedule within the job
Rufus::Scheduler::CronJob
- should respond to #next_time
Rufus::Scheduler::PlainScheduler#every
- should have job ids with the class name in it
- should compute frequency
- should schedule every 1s
- should be punctilious
- should unschedule
- should accept tags for jobs
- should honour :first_at
- should honour :first_in
- should accept job.unschedule within the job
- should respect :blocking => true
Rufus::Scheduler::EveryJob
- should respond to #next_time
Rufus::Scheduler::PlainScheduler
- should emit exception messages to stdout
- should accept custom handling of exceptions
- should accept overriding #log_exception
Rufus::Scheduler::PlainScheduler#in
- should have job ids with the class name in it
- should track scheduled in jobs
- should schedule in 1
- should schedule in 1.0
- should schedule in 1s
- should trigger [almost] immediately jobs in the past
- should not trigger jobs in the past when :discard_past => true
- should unschedule job
- should accept tags for jobs
Rufus::Scheduler::InJob
- should unschedule itself
- should respond to #next_time
rufus/otime
- should parse duration strings
- should generate duration strings
- should compute duration hashes
rufus/otime#at_to_f
- should turn Time at values to float
- should turn String at values to float
- should accept integers
Rufus::Scheduler::Schedulable
- should schedule via :schedulable
- should honour schedulables that reply to :call
Rufus::Scheduler::PlainScheduler
- should stop
- should set a default scheduler thread name
- should set the scheduler thread name
- should accept a custom frequency
Rufus::Scheduler#start_new
- should piggyback EM if present and running
58 specifications (130 requirements), 0 failures, 0 errors