Resque::One

Gem Version CI Coverage Status Code Climate

Resque plugin to specify uniq jobs with the same payload per queue. Have support for resque-status.

Installation

Add this line to your application's Gemfile:

gem 'resque-one'

And then execute:

$ bundle

Or install it yourself as:

$ gem install resque-one

Usage

class MyJob
  extend Resque::Plugins::One
end

or

class MyJob
  def self.one?
    true
  end
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gabynaiman/resque-one.

License

The gem is available as open source under the terms of the MIT License.