delayed_job_master 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/lib/delayed/master/config.rb +3 -3
- data/lib/delayed/master/util/file_reopener.rb +1 -1
- data/lib/delayed/master/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3183f5a73de37ebe6c4303cab37285c8378b8b7f06fc809abf40404efbfea66
|
4
|
+
data.tar.gz: 43a33ec26663e0bd1fe632663cec398b79c53859dd9f17c29e5ca77b881c0ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdeb80a4394fa04cb51289413b5f16f80006ecd958fcd24919cda177e01883e09f1d13876c0218f5cc1e645bd514a5a93f1e1b412a056e3f08b0dcf8fb1eb3c
|
7
|
+
data.tar.gz: 2dc3d4c9370b77648fd7e7b26388cdae0ec5798eb043f88df3b9b04d0b966de79a9f2e48a72068a93bd79e83cae2e27e324a1d4e41eff364d8fbdc41e6dd0321
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -21,7 +21,7 @@ module Delayed
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def add_worker
|
24
|
-
worker = WorkerSetting.new(id: @workers.size, count: 1, exit_on_complete: true)
|
24
|
+
worker = WorkerSetting.new(id: @workers.size, queues: [], count: 1, exit_on_complete: true)
|
25
25
|
yield worker
|
26
26
|
@workers << worker
|
27
27
|
end
|
@@ -36,7 +36,7 @@ module Delayed
|
|
36
36
|
|
37
37
|
SIMPLE_CONFIGS.each do |key|
|
38
38
|
define_method(key) do |value = nil|
|
39
|
-
if value
|
39
|
+
if !value.nil?
|
40
40
|
@data[key] = value
|
41
41
|
else
|
42
42
|
@data[key]
|
@@ -72,7 +72,7 @@ module Delayed
|
|
72
72
|
|
73
73
|
SIMPLE_CONFIGS.each do |key|
|
74
74
|
define_method(key) do |value = nil|
|
75
|
-
if value
|
75
|
+
if !value.nil?
|
76
76
|
@data[key] = value
|
77
77
|
else
|
78
78
|
@data[key]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delayed_job
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
184
|
+
rubygems_version: 3.1.2
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: A simple delayed_job master process to control multiple workers
|