resque-integration 3.5.0 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/lib/resque/integration/tasks/hooks.rake +12 -2
- data/lib/resque/integration/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: e62432e7f9261fd9fb81ee4d5e92a6ea5f943c0e
|
4
|
+
data.tar.gz: 8afc080e74ec136b0fe8bcc4d981e16738cf7422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f82ef7f730abf7720a1f58f08f275afbfe15cc9a6eb2ae00425bc25581b4e6a5e7095c818ba9f8585be5364bd887620f6ae1cdc4d5e66dbb39d6a6b7187be94c
|
7
|
+
data.tar.gz: 978439e799b2d95d12b01f14111fc974c314f9e0c5f9112936d301fa66c877629f7ecd275f04358aec4910f61fd970f9f06df0c50040c9409cd5244a576d2af2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
# v3.5.
|
1
|
+
# v3.5.1
|
2
2
|
|
3
|
+
* 2018-12-21 [c2b890d](../../commit/c2b890d) - __(Andrew N. Shalaev)__ Release v3.5.1
|
4
|
+
* 2018-12-21 [d7478c2](../../commit/d7478c2) - __(Andrew N. Shalaev)__ fix: add support for redis >= v4
|
3
5
|
* 2018-09-06 [49717a5](../../commit/49717a5) - __(Mikhail Nelaev)__ Release 3.5.0
|
4
6
|
* 2018-08-21 [b56dcc8](../../commit/b56dcc8) - __(Artem Napolskih)__ chore: Add automatic publication
|
5
7
|
* 2018-08-15 [5e90b55](../../commit/5e90b55) - __(Artem Napolskih)__ feat: rails 5-x support added
|
@@ -26,7 +26,12 @@ namespace :resque do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
Resque.before_fork do
|
29
|
-
|
29
|
+
client = if Gem::Version.new(::Redis::VERSION) < Gem::Version.new('4')
|
30
|
+
Resque.redis.client
|
31
|
+
else
|
32
|
+
Resque.redis._client
|
33
|
+
end
|
34
|
+
client.disconnect
|
30
35
|
|
31
36
|
ActiveRecord::Base.connection_handler.clear_all_connections!
|
32
37
|
end
|
@@ -36,7 +41,12 @@ namespace :resque do
|
|
36
41
|
|
37
42
|
ActiveRecord::Base.establish_connection
|
38
43
|
|
39
|
-
|
44
|
+
client = if Gem::Version.new(::Redis::VERSION) < Gem::Version.new('4')
|
45
|
+
Resque.redis.client
|
46
|
+
else
|
47
|
+
Resque.redis._client
|
48
|
+
end
|
49
|
+
client.connect
|
40
50
|
end
|
41
51
|
|
42
52
|
# Support for resque-multi-job-forks
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexei Mikhailov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: resque
|