README.md in afterparty-0.1.0 vs README.md in afterparty-0.1.1
- old
+ new
@@ -55,15 +55,17 @@
mailer_job = Afterparty::MailerJob.new UserMailer, :welcome, @user
mailer_job.execute_at = Time.now + 20.minutes
Rails.configuration.queue << mailer_job
job = Afterparty::BasicJob.new @user, :reset_password
-Rails.configuration.queue << mailer_job
+Rails.configuration.queue << job
~~~
### Dashboard
+![dashboard screenshot](https://raw.github.com/hstove/afterparty/master/docs/dashboard.png)
+
This gem provides a handy dashboard for inspecting, debugging, and re-running jobs.
Visit [http://localhost:3000/afterparty/](http://localhost:3000/afterparty/) and login with
`admin` and `password`. You can change the authentication strategy in `config/initializers/afterparty.rb` to something like this:
@@ -87,9 +89,13 @@
# ... the rest of your configuration
~~~
This has the advantage of, for example, staying within Heroku's free tier by not running a worker dyno.
+
+## TODO
+
+* Finish namespacing support by adding documentation and allowing a worker rake task to pull jobs from a custom (or all) queues.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)