delayed_job 4.0.6 → 4.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +54 -0
- data/README.md +89 -15
- data/delayed_job.gemspec +5 -3
- data/lib/delayed/backend/base.rb +26 -32
- data/lib/delayed/backend/job_preparer.rb +53 -0
- data/lib/delayed/backend/shared_spec.rb +92 -10
- data/lib/delayed/command.rb +40 -14
- data/lib/delayed/exceptions.rb +1 -1
- data/lib/delayed/lifecycle.rb +2 -2
- data/lib/delayed/message_sending.rb +29 -17
- data/lib/delayed/performable_method.rb +6 -4
- data/lib/delayed/psych_ext.rb +20 -7
- data/lib/delayed/railtie.rb +0 -4
- data/lib/delayed/recipes.rb +3 -3
- data/lib/delayed/serialization/active_record.rb +1 -1
- data/lib/delayed/syck_ext.rb +3 -3
- data/lib/delayed/tasks.rb +1 -1
- data/lib/delayed/worker.rb +62 -24
- data/lib/delayed_job.rb +11 -7
- data/lib/generators/delayed_job/delayed_job_generator.rb +1 -1
- data/spec/autoloaded/clazz.rb +1 -2
- data/spec/autoloaded/instance_clazz.rb +1 -2
- data/spec/autoloaded/instance_struct.rb +3 -3
- data/spec/autoloaded/struct.rb +3 -3
- data/spec/daemons.rb +2 -0
- data/spec/delayed/backend/test.rb +0 -5
- data/spec/delayed/command_spec.rb +131 -9
- data/spec/helper.rb +0 -4
- data/spec/message_sending_spec.rb +29 -4
- data/spec/performable_mailer_spec.rb +0 -1
- data/spec/performable_method_spec.rb +3 -4
- data/spec/psych_ext_spec.rb +23 -1
- data/spec/sample_jobs.rb +5 -3
- data/spec/worker_spec.rb +27 -1
- metadata +17 -15
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Keepers
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date:
|
18
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activesupport
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
version: '3.0'
|
27
27
|
- - "<"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '6.1'
|
30
30
|
type: :runtime
|
31
31
|
prerelease: false
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
version: '3.0'
|
37
37
|
- - "<"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '6.1'
|
40
40
|
description: Delayed_job (or DJ) encapsulates the common pattern of asynchronously
|
41
41
|
executing longer tasks in the background. It is a direct extraction from Shopify
|
42
42
|
where the job table is responsible for a multitude of core tasks.
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- contrib/delayed_job_rails_4_multiple.monitrc
|
58
58
|
- delayed_job.gemspec
|
59
59
|
- lib/delayed/backend/base.rb
|
60
|
+
- lib/delayed/backend/job_preparer.rb
|
60
61
|
- lib/delayed/backend/shared_spec.rb
|
61
62
|
- lib/delayed/command.rb
|
62
63
|
- lib/delayed/compatibility.rb
|
@@ -84,6 +85,7 @@ files:
|
|
84
85
|
- spec/autoloaded/instance_clazz.rb
|
85
86
|
- spec/autoloaded/instance_struct.rb
|
86
87
|
- spec/autoloaded/struct.rb
|
88
|
+
- spec/daemons.rb
|
87
89
|
- spec/delayed/backend/test.rb
|
88
90
|
- spec/delayed/command_spec.rb
|
89
91
|
- spec/delayed/serialization/test.rb
|
@@ -116,26 +118,26 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
118
|
- !ruby/object:Gem::Version
|
117
119
|
version: '0'
|
118
120
|
requirements: []
|
119
|
-
|
120
|
-
rubygems_version: 2.4.4
|
121
|
+
rubygems_version: 3.0.3
|
121
122
|
signing_key:
|
122
123
|
specification_version: 4
|
123
124
|
summary: Database-backed asynchronous priority queue system -- Extracted from Shopify
|
124
125
|
test_files:
|
126
|
+
- spec/sample_jobs.rb
|
127
|
+
- spec/lifecycle_spec.rb
|
128
|
+
- spec/performable_method_spec.rb
|
129
|
+
- spec/helper.rb
|
130
|
+
- spec/psych_ext_spec.rb
|
131
|
+
- spec/worker_spec.rb
|
132
|
+
- spec/autoloaded/struct.rb
|
125
133
|
- spec/autoloaded/clazz.rb
|
126
134
|
- spec/autoloaded/instance_clazz.rb
|
127
135
|
- spec/autoloaded/instance_struct.rb
|
128
|
-
- spec/
|
136
|
+
- spec/test_backend_spec.rb
|
137
|
+
- spec/delayed/serialization/test.rb
|
129
138
|
- spec/delayed/backend/test.rb
|
130
139
|
- spec/delayed/command_spec.rb
|
131
|
-
- spec/delayed/serialization/test.rb
|
132
|
-
- spec/helper.rb
|
133
|
-
- spec/lifecycle_spec.rb
|
134
140
|
- spec/message_sending_spec.rb
|
135
141
|
- spec/performable_mailer_spec.rb
|
136
|
-
- spec/performable_method_spec.rb
|
137
|
-
- spec/psych_ext_spec.rb
|
138
|
-
- spec/sample_jobs.rb
|
139
|
-
- spec/test_backend_spec.rb
|
140
|
-
- spec/worker_spec.rb
|
141
142
|
- spec/yaml_ext_spec.rb
|
143
|
+
- spec/daemons.rb
|