Sha256: 9138383bfcd5d83dd60ade574c2425cfad29a5fffc637a1067bf6be609ea0255

Contents?: true

Size: 834 Bytes

Versions: 1

Compression:

Stored size: 834 Bytes

Contents

require 'resque/server'
require 'resque_ui/cap'
require 'resque_ui/overrides/resque/worker'
require 'resque_ui/overrides/resque/resque'
require 'resque_ui/overrides/resque/job'
if Resque.respond_to? :schedule
  require 'resque_scheduler/tasks'
  require 'resque_ui/overrides/resque_scheduler/resque_scheduler'
end
require 'resque/job_with_status'
require 'resque_ui/overrides/resque_status/status'
require 'resque_ui/overrides/resque_status/job_with_status'
require 'resque_ui/overrides/resque_status/chained_job_with_status'
require 'resque-cleaner'

Resque::Server.tabs << 'Statuses'
Resque::Server.tabs.delete 'Failed'

module ResqueUi
  class Engine < Rails::Engine
    rake_tasks do
      load 'tasks/worker.rake'
      load 'tasks/failure.rake'
      load 'tasks/scheduler.rake' if Resque.respond_to? :schedule
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resque_ui-3.1.0 lib/resque_ui.rb