resque-unique_in_queue 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32f50a9af11ff498a110d4a93549fbb653c2d471252bde302e50c8b7d30eb5f2
4
- data.tar.gz: 5913f22ba7c2c23666833c86200d181431b2e4f2c9827e363bee62d8dbca18a2
3
+ metadata.gz: 335094b5e9384af59a3aa8b30aaa38e3e56bffba5b47f1269e5a75505e6ff691
4
+ data.tar.gz: fd7a30a866ab9c976810eba7f84df6abf9ee84cca696575ef7a9e83859289be7
5
5
  SHA512:
6
- metadata.gz: f2905f2489519bff3cd7424827fb67d6ef24bfaba5e164d0c539ebb986c2174d4d8fd38a4e5433447bc171a1313de44a82c9129662e0bfcb0c64ada21fb5868d
7
- data.tar.gz: 8bda5be739bb307679330cf658d5e8865dedc6295af8d7ec657ac6982d5d4ac1ff394cd943070240d8d8c79c5504d3d7b1431645820c338e8fb67c8666c50633
6
+ metadata.gz: 80b71ff70784844a6ef2d468053549a9e944e2b46de1c87485381ba68c8cd50e6316de0a4e54db7132bcde56af7d59eb67d169861e739391711dbbaedd356a96
7
+ data.tar.gz: b78cab0a7c00089524edf5af3af2450d16a7038f086e3efe449b34a8472c61ab59bfe572f4a9e72c734fcc755481137bd720e9eb93c38db9574c8f6568011a32
data/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  Resque::UniqueInQueue is a resque plugin to add unique jobs to resque.
19
19
 
20
- It is a re-write of [resque-loner](https://github.com/jayniz/resque-loner).
20
+ 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).
21
21
 
22
22
  It requires resque 1.25 and works with ruby 2.0 and later.
23
23
 
@@ -35,7 +35,7 @@ gem 'resque-unique_in_queue'
35
35
 
36
36
  ```ruby
37
37
  class UpdateCat
38
- include Resque::Plugins::UniqueJob
38
+ include Resque::Plugins::UniqueInQueue
39
39
  @queue = :cats
40
40
 
41
41
  def self.perform(cat_id)
@@ -76,7 +76,7 @@ job more than once per minute, set `lock_after_execution_period = 60`.
76
76
 
77
77
  ```ruby
78
78
  class UpdateCat
79
- include Resque::Plugins::UniqueJob
79
+ include Resque::Plugins::UniqueInQueue
80
80
  @queue = :cats
81
81
  @lock_after_execution_period = 20
82
82
 
@@ -40,7 +40,7 @@ module Resque
40
40
  # For example:
41
41
  #
42
42
  # class FooJob
43
- # include Resque::Plugins::UniqueJob
43
+ # include Resque::Plugins::UniqueInQueue
44
44
  # @ttl = 40
45
45
  # end
46
46
  def ttl
@@ -53,7 +53,7 @@ module Resque
53
53
  # For example:
54
54
  #
55
55
  # class FooJob
56
- # include Resque::Plugins::UniqueJob
56
+ # include Resque::Plugins::UniqueInQueue
57
57
  # @lock_after_execution_period = 40
58
58
  # end
59
59
  def lock_after_execution_period
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Resque
4
4
  module UniqueInQueue
5
- VERSION = '1.0.0'.freeze
5
+ VERSION = '1.0.1'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-unique_in_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling