delayed_job 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG.md +4 -0
- data/README.md +5 -3
- data/Rakefile +0 -1
- data/delayed_job.gemspec +1 -3
- data/lib/delayed/backend/shared_spec.rb +1 -1
- data/spec/worker_spec.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjQ5ZWQ1YmMzNWIxNTVhYzllZTdhNWI0ZWI4MzAwMzA3YjdjN2IyYg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MDJmZDk3ZjJjYmNkZWFiMmIzNTU5MGQzMmNiOWM4Mzk2ODE0ODkzZg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZGVkODJjNTNkYTc5YmJkYWIxN2NiZjVkZTA4M2ExYzg5ZjU5NjRkNDBmMjAz
|
10
|
+
ZWVkNjcxMWRlZmZmOTU4OGNiMTU0N2E2N2QwODczYmQyNjI5YmM3MDc3ZTNm
|
11
|
+
YTI2Njk1NzBjZDFmYTkxZmE1YmVkYzJkOWI3NDZiODc2NDc1NjM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTBkOGMwYjNiZGIxNWMxODk3ZjI1OWFlZTU5NDlmNTZiZTBhNGQ0ZTY1ZjRm
|
14
|
+
ZWYwYzFkZjgxMTE5OWJhMzg3NWU0YzU3MWNhMGJmMjg0N2Y4NDk5MjY5ZDE3
|
15
|
+
NDMxYWFmOTU0M2FhZWJmMzIyYmNlMDZiYjJjODg0NjM0NWVkODQ=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -344,6 +344,8 @@ Cleaning up
|
|
344
344
|
===========
|
345
345
|
You can invoke `rake jobs:clear` to delete all jobs in the queue.
|
346
346
|
|
347
|
-
|
348
|
-
|
349
|
-
|
347
|
+
Having problems?
|
348
|
+
================
|
349
|
+
Good places to get help are:
|
350
|
+
* [Google Groups](http://groups.google.com/group/delayed_job) where you can join our mailing list.
|
351
|
+
* [StackOverflow](http://stackoverflow.com/questions/tagged/delayed-job)
|
data/Rakefile
CHANGED
data/delayed_job.gemspec
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
1
|
Gem::Specification.new do |spec|
|
4
2
|
spec.add_dependency 'activesupport', ['>= 3.0', '< 4.2']
|
5
3
|
spec.authors = ["Brandon Keepers", "Brian Ryckbost", "Chris Gaffney", "David Genord II", "Erik Michaels-Ober", "Matt Griffin", "Steve Richert", "Tobias Lütke"]
|
@@ -13,5 +11,5 @@ Gem::Specification.new do |spec|
|
|
13
11
|
spec.require_paths = ['lib']
|
14
12
|
spec.summary = 'Database-backed asynchronous priority queue system -- Extracted from Shopify'
|
15
13
|
spec.test_files = Dir.glob('spec/**/*')
|
16
|
-
spec.version = '4.0.
|
14
|
+
spec.version = '4.0.2'
|
17
15
|
end
|
@@ -527,7 +527,7 @@ shared_examples_for "a delayed_job backend" do
|
|
527
527
|
@job = Delayed::Job.create :payload_object => SimpleJob.new
|
528
528
|
end
|
529
529
|
|
530
|
-
|
530
|
+
shared_examples_for "any failure more than Worker.max_attempts times" do
|
531
531
|
context "when the job's payload has a #failure hook" do
|
532
532
|
before do
|
533
533
|
@job = Delayed::Job.create :payload_object => OnPermanentFailureJob.new
|
data/spec/worker_spec.rb
CHANGED
@@ -106,7 +106,7 @@ describe Delayed::Worker do
|
|
106
106
|
@worker.name = 'ExampleJob'
|
107
107
|
@worker.logger = double('job')
|
108
108
|
time = Time.now
|
109
|
-
Time.
|
109
|
+
allow(Time).to receive(:now).and_return(time)
|
110
110
|
@text = "Job executed"
|
111
111
|
@worker_name = "[Worker(ExampleJob)]"
|
112
112
|
@expected_time = time.strftime('%FT%T%z')
|
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.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Keepers
|
@@ -15,26 +15,26 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activesupport
|
22
22
|
requirement: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
-
- -
|
27
|
+
- - <
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '4.2'
|
30
30
|
type: :runtime
|
31
31
|
prerelease: false
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
|
-
- -
|
34
|
+
- - ! '>='
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '3.0'
|
37
|
-
- -
|
37
|
+
- - <
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '4.2'
|
40
40
|
description: Delayed_job (or DJ) encapsulates the common pattern of asynchronously
|
@@ -105,12 +105,12 @@ require_paths:
|
|
105
105
|
- lib
|
106
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
|
-
- -
|
113
|
+
- - ! '>='
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|