resqued 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/resqued/version.rb +1 -1
- data/lib/resqued/worker.rb +2 -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: a4fd16737f4c34d635128439ef78444d44c0109e
|
4
|
+
data.tar.gz: bcbaa0c45861079f8c4d635ced2d4dc5a79f9b88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c333d86b22b3ba87a9202674e15d809874926c8a998d5738a92cae81f18d13eedd43c3701340955c7566937ca78016bd22f3542a5b64850532d92522ebeffc08
|
7
|
+
data.tar.gz: 418c4dcbeac98eaeb9b02e16cf93ec45e7fc14a150b0f5b69fc0a9f72010e6b6ebae112f377eb6c03ff4cb634582df9df74160d9b2351fb67943ec5ec5e47799
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
Starting with version 0.6.1, resqued uses semantic versioning to indicate incompatibilities between the master process, listener process, and configuration.
|
2
2
|
|
3
|
+
v0.8.6
|
4
|
+
------
|
5
|
+
* Add compatibility for redis 4.0.
|
6
|
+
|
3
7
|
v0.8.5
|
4
8
|
------
|
5
9
|
* Accept a custom proc to create the worker object.
|
data/lib/resqued/version.rb
CHANGED
data/lib/resqued/worker.rb
CHANGED
@@ -11,7 +11,8 @@ module Resqued
|
|
11
11
|
DEFAULT_WORKER_FACTORY = ->(queues) {
|
12
12
|
resque_worker = Resque::Worker.new(*queues)
|
13
13
|
resque_worker.term_child = true if resque_worker.respond_to?('term_child=')
|
14
|
-
Resque.redis.client
|
14
|
+
redis_client = Resque.redis.respond_to?(:_client) ? Resque.redis._client : Resque.redis.client
|
15
|
+
redis_client.reconnect
|
15
16
|
resque_worker
|
16
17
|
}
|
17
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resqued
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Burke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kgio
|