Sha256: 1a07faa1b0747a5a637f8b7943387245f20ab089f9456873845b5a8f6bd9d135

Contents?: true

Size: 328 Bytes

Versions: 61

Compression:

Stored size: 328 Bytes

Contents

#puts "Initializing list of Rails models..."
SimpleWorker.configure do |config|
  path = File.join(Rails.root, 'app/models/*.rb')
#  puts 'path=' + path
  config.models = Dir.glob(path)
  config.extra_requires += ['active_support/core_ext', 'active_record', 'action_mailer']
#  puts 'config.models=' + config.models.inspect
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
simple_worker-3.0.0 lib/simple_worker/rails2_init.rb
simple_worker-2.0.10 lib/simple_worker/rails2_init.rb
simple_worker-2.0.9 lib/simple_worker/rails2_init.rb
simple_worker-2.0.8 lib/simple_worker/rails2_init.rb
simple_worker-2.0.6 lib/simple_worker/rails2_init.rb
simple_worker-2.0.5 lib/simple_worker/rails2_init.rb
simple_worker-2.0.4 lib/simple_worker/rails2_init.rb
simple_worker-2.0.3 lib/simple_worker/rails2_init.rb
simple_worker-2.0.2 lib/simple_worker/rails2_init.rb
simple_worker-2.0.1 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.17 lib/simple_worker/rails2_init.rb
simple_worker-1.0.14 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.16 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.15 lib/simple_worker/rails2_init.rb
simple_worker-1.0.13 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.11 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.10 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.9 lib/simple_worker/rails2_init.rb
simple_worker-2.0.0.beta.8 lib/simple_worker/rails2_init.rb
simple_worker-1.0.12 lib/simple_worker/rails2_init.rb