delayed_job 4.1.0 → 4.1.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 +4 -0
- data/delayed_job.gemspec +1 -1
- data/lib/delayed/backend/shared_spec.rb +1 -2
- 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: 226d8094c23242fff24504c004ec32a007561ec2
|
4
|
+
data.tar.gz: 57c4fcad04cbb3202e310b7cac10a5c476d4817b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 967992dc5cdff3bce673aae3de9c442cd7387d3dc5d09c3c6d5ffad4c14714e134687baf6cdcd9408b962d45da1d37418fba91ea6b943263cc98969e744f6ebd
|
7
|
+
data.tar.gz: a713c81fad5e6454edafeb65455b7233f74fef09e420e0c5359394d8e640aee75c295c232e4ac4c5b23b5d9876b58dca7c3b9495589dc074776b8d228b5650a0
|
data/CHANGELOG.md
CHANGED
data/delayed_job.gemspec
CHANGED
@@ -542,7 +542,7 @@ shared_examples_for 'a delayed_job backend' do
|
|
542
542
|
it 'marks the job as failed' do
|
543
543
|
Delayed::Worker.destroy_failed_jobs = false
|
544
544
|
job = described_class.create! :handler => '--- !ruby/object:JobThatDoesNotExist {}'
|
545
|
-
|
545
|
+
expect_any_instance_of(described_class).to receive(:destroy_failed_jobs?).and_return(false)
|
546
546
|
worker.work_off
|
547
547
|
job.reload
|
548
548
|
expect(job).to be_failed
|
@@ -574,7 +574,6 @@ shared_examples_for 'a delayed_job backend' do
|
|
574
574
|
it 're-schedules jobs after failing' do
|
575
575
|
worker.work_off
|
576
576
|
@job.reload
|
577
|
-
expect(@job.error).to_not be_nil
|
578
577
|
expect(@job.last_error).to match(/did not work/)
|
579
578
|
expect(@job.last_error).to match(/sample_jobs.rb:\d+:in `perform'/)
|
580
579
|
expect(@job.attempts).to eq(1)
|
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.1.
|
4
|
+
version: 4.1.1
|
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: 2015-09-
|
18
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activesupport
|