DAddYE/foreverb

every block required in version 0.3.0.d

Closed this issue · 1 comments

I'm using foreverb to run continues updates. In version 0.2.6 I could setup my script as follows:

Forever.run
  on_ready do
    while true
      do_some_action
    end
  end
end

In the latest version I get a no jobs assigned exception. I've worked around it by adding the following:

every 100.days do
  puts 'log this'
end

to make sure the jobs array receives a job. It's not really a bug per say, but it feel really dirty to set it up this way.

Thank you! I will fix it soon!