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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea3c0cf8313a982fc5c760f5ae8f7d6b7ed011d1
4
- data.tar.gz: d9f06f7f2149de4cf608dc696a4e4bcf5cc77719
3
+ metadata.gz: a4fd16737f4c34d635128439ef78444d44c0109e
4
+ data.tar.gz: bcbaa0c45861079f8c4d635ced2d4dc5a79f9b88
5
5
  SHA512:
6
- metadata.gz: 63277a13dd24c301ab7d389600bccd710cf67b4357ebeb33c14e673fdb076e265171a1a938a747f8a7d79007c8eb5e2376092af17f504c9c78ea3a3bca08e2d6
7
- data.tar.gz: 7a41b8ef12b7962434887cc2498e4c69d2699bf186c160237fb829bf901efb4b969962c2a79455ce4cfb21deff71d923247e9fb0163bde07ac426e56f98e9617
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.
@@ -1,3 +1,3 @@
1
1
  module Resqued
2
- VERSION = '0.8.5'
2
+ VERSION = '0.8.6'
3
3
  end
@@ -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.reconnect
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.5
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-15 00:00:00.000000000 Z
11
+ date: 2019-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio