ddollar / relaxed-job
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (3)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.document | Mon Nov 09 12:12:37 -0800 2009 | |
| |
.gitignore | Mon Nov 09 12:12:37 -0800 2009 | |
| |
LICENSE | ||
| |
README.rdoc | Mon Nov 09 14:08:39 -0800 2009 | |
| |
Rakefile | Mon Nov 09 14:08:58 -0800 2009 | |
| |
VERSION | ||
| |
lib/ | ||
| |
relaxed-job.gemspec | ||
| |
spec/ |
README.rdoc
relaxed-job
A job system based in CouchDB
Installation
# From Gemcutter gem install relaxed-job
Usage
# Rakefile
require 'relaxed_job/tasks'
# queue a job
queue = RelaxedJob::Queue.new('http://localhost:5984/relaxed_job')
queue.enqueue my_object_that_responds_to_perform
# queue with a different method
queue.enqueue_with_method my_object, :do_work
# queue with arguments
queue.enqueue_with_method my_object, :do_work_with_args, 5, 7
# run the worker
$ rake jobs:work
Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don’t break it in a future version unintentionally.
- Commit, do not mess with Rakefile or VERSION.
- Send me a pull request. Bonus points for topic branches.
Copyright
Copyright © 2009 David Dollar. See LICENSE for details.

