eventq_base 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_base/queue_worker.rb +11 -2
- data/lib/eventq_base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eefbf7df4ff3259efe80a510ffe2a31b6349c81d
|
4
|
+
data.tar.gz: 7f730d84057a574205d8864484c6c4617f00d684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dd2effd983f32758c5ca8c8884b827fe6d650169f7425494ed57744e3fabdf371e692065026be752a237c830e5f8fadbb46a3825b6d7c0aba9ebb1b4be27993
|
7
|
+
data.tar.gz: 651d52bea02e8a1d368e225ab9ef2f6fd5147cc27e606342da1dd9a8dd266daa3aad105d6358eef8c135299d9e716d3297e79cb26278f3369bc6c6305a5849b4
|
@@ -1,6 +1,7 @@
|
|
1
|
+
# Contract class for queue workers
|
1
2
|
class QueueWorker
|
2
3
|
|
3
|
-
def start(queue, options)
|
4
|
+
def start(queue, options = {}, &block)
|
4
5
|
|
5
6
|
end
|
6
7
|
|
@@ -8,4 +9,12 @@ class QueueWorker
|
|
8
9
|
|
9
10
|
end
|
10
11
|
|
11
|
-
|
12
|
+
def on_retry_exceeded(&block)
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
def running?
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
data/lib/eventq_base/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventq_base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|