README.md in resque-unique_in_queue-1.0.0 vs README.md in resque-unique_in_queue-1.0.1
- old
+ new
@@ -15,11 +15,11 @@
| documentation | [on RDoc.info][documentation] |
| Spread ~♡ⓛⓞⓥⓔ♡~ | [🌍 🌎 🌏](https://about.me/peter.boling), [🍚](https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling), [➕](https://plus.google.com/+PeterBoling/posts), [👼](https://angel.co/peter-boling), [🐛](https://www.topcoder.com/members/pboling/), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo) |
Resque::UniqueInQueue is a resque plugin to add unique jobs to resque.
-It is a re-write of [resque-loner](https://github.com/jayniz/resque-loner).
+It is a re-write of [resque_solo](https://github.com/neighborland/resque_solo), which is a fork of [resque-loner](https://github.com/jayniz/resque-loner).
It requires resque 1.25 and works with ruby 2.0 and later.
It removes the dependency on `Resque::Helpers`, which is deprecated for resque 2.0.
@@ -33,11 +33,11 @@
## Usage
```ruby
class UpdateCat
- include Resque::Plugins::UniqueJob
+ include Resque::Plugins::UniqueInQueue
@queue = :cats
def self.perform(cat_id)
# do something
end
@@ -74,10 +74,10 @@
you could set `lock_after_execution_period = 20`. Or if you never want to run a long running
job more than once per minute, set `lock_after_execution_period = 60`.
```ruby
class UpdateCat
- include Resque::Plugins::UniqueJob
+ include Resque::Plugins::UniqueInQueue
@queue = :cats
@lock_after_execution_period = 20
def self.perform(cat_id)
# do something