Skip to content

fridaypulse/resque-scheduler-web

 
 

Repository files navigation

Resque::Scheduler::Web

Gem Version Code Climate Test Coverage Inline docs Dependency Status Build Status

This gem provides tabs in Resque Web for managing Resque Scheduler.

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 and has better test coverage and a number of bug fixes compared to the older Resque Scheduler Sinatra code which it is based on. The only reason to use the old Sinatra interface right now is if you have other Resque plugins that have web interfaces that you need, but which have not been upgraded for the new Resque Web gem yet.

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'

Running the tests

cd resque-scheduler-web
bundle exec rake

Contributing

  1. Fork it ( https://github.com/mattgibson/resque-scheduler-web/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Acknowledgements

The original code and tests for this gem were taken from the Resque Scheduler gem's Sinatra interface, and subsequently adapted into a Rails engine. Kudos and thanks to the original authors.

About

Tabs in the Resque Web gem for the Resque Scheduler plugin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 81.7%
  • HTML 16.8%
  • Other 1.5%