Resque::Status::Web
This gem provides tabs in Resque Web for managing Resque Status.
It works with any version of Resque and Resque Scheduler, but requires the Resque Web gem, rather than the older Resque Web Sinatra interface that comes bundled with Resque 1.x.
This gem is a port of the old Sinatra code to the new Resque Web plugin architecture.
The Sinatra interface will be deprecated when Resque 2 is released, so if you want to get ahead of the curve, you can start using the latest Resque Web gem today.
Installation
Add this line to your application's Gemfile:
gem 'resque-scheduler-web'
And then execute:
$ bundle
Or install it yourself as:
$ gem install resque-scheduler-web
Usage
The gem will automatically add the correct tabs, provided you have the Resque Web engine mounted like this in routes.rb:
mount ResqueWeb::Engine => 'admin/resque_web'
What's Missing
Tests! This gem has no tests, mostly because it was my first engine and I was so focused on getting it to work, I didn't write any tests during implementation. If you would like, you are welcome to contribute tests or anything else which you believe this gem is lacking.
Contributing
- Fork it ( https://github.com/brandoncc/resque-status-web/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Acknowledgements
The original code and tests for this gem were taken from the Resque Status gem's Sinatra interface, and subsequently adapted into a Rails engine. Kudos and thanks to the original authors.
Also, thanks to @mattgibson whose resque-scheduler-web gem was the inspiration and blueprint I used when creating this gem. Thanks for leading the way!