Sha256: df80e2676869f7375273e4f7807bbaefe4f41607bf1bce68058e9bfc622723cd

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

require 'rake/testtask'

task :default => :test
#task :test do
  ## forking and what not. keep containted in each own process?
  #Dir['./test/test_*.rb'].each do |file|
    #system("ruby -I. -I lib/ #{file}")
  #end
#end
Rake::TestTask.new do |t|
  t.pattern = "test/test_*rb"
end

require 'resque/tasks'

task :'resque:setup' do
  # https://github.com/resque/resque/issues/773
  # have the jobs loaded in memory
  Dir["./test/resque/*.rb"].each {|file| require file}
  # load project
  Dir["./lib/resque_stuck_queue.rb"].each {|file| require file}
end

require 'resque/scheduler/tasks'

task "resque:scheduler_setup"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resque_stuck_queue-0.5.2 Rakefile