Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (31 sloc) 1.19 KB
# -*- encoding: utf-8 -*-
require 'jeweler'
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
exit 1
end do |s| = "delayed_job"
s.summary = "Database-backed asynchronous priority queue system -- Extracted from Shopify" = ""
s.homepage = ""
s.description = "Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks."
s.authors = ["Brandon Keepers", "Tobias Lütke"]
s.has_rdoc = true
s.rdoc_options = ["--main", "README.textile", "--inline-source", "--line-numbers"]
s.extra_rdoc_files = ["README.textile"]
s.test_files = Dir['spec/**/*']
s.add_dependency "daemons"
s.add_development_dependency "rspec"
s.add_development_dependency "sqlite3-ruby"
require 'spec/rake/spectask'
task :default => :spec
desc 'Run the specs' do |t|
t.libs << 'lib'
t.pattern = 'spec/*_spec.rb'
t.verbose = true
task :spec => :check_dependencies