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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 088a5a5e5912c5a02be5f22d9aa48cc28813396d
4
- data.tar.gz: 5c50a72be0ce0ad140ced22858f9f4ccde83d5c7
3
+ metadata.gz: 226d8094c23242fff24504c004ec32a007561ec2
4
+ data.tar.gz: 57c4fcad04cbb3202e310b7cac10a5c476d4817b
5
5
  SHA512:
6
- metadata.gz: bc8b0b28d3f6fb68c32549cbace9f0e222308d5537c9f3efc7db3a06b568569c460909ca7225d2fe34c3df14bd6d9cb104fec23e60f8885661bbfba1d3308384
7
- data.tar.gz: 28050ab20af638f0cb4facc41d410f08d6e8d2becbde4d157c634371cb2b99588b41bdc29eba156499430de0fcc6045f906a9fd8c883bdfb1bf55e10cc55805e
6
+ metadata.gz: 967992dc5cdff3bce673aae3de9c442cd7387d3dc5d09c3c6d5ffad4c14714e134687baf6cdcd9408b962d45da1d37418fba91ea6b943263cc98969e744f6ebd
7
+ data.tar.gz: a713c81fad5e6454edafeb65455b7233f74fef09e420e0c5359394d8e640aee75c295c232e4ac4c5b23b5d9876b58dca7c3b9495589dc074776b8d228b5650a0
@@ -1,3 +1,7 @@
1
+ 4.1.1 - 2015-09-24
2
+ ==================
3
+ * Fix shared specs for back-ends that reload objects
4
+
1
5
  4.1.0 - 2015-09-22
2
6
  ==================
3
7
  * Alter `Delayed::Command` to work with or without Rails
@@ -11,5 +11,5 @@ Gem::Specification.new do |spec|
11
11
  spec.require_paths = ['lib']
12
12
  spec.summary = 'Database-backed asynchronous priority queue system -- Extracted from Shopify'
13
13
  spec.test_files = Dir.glob('spec/**/*')
14
- spec.version = '4.1.0'
14
+ spec.version = '4.1.1'
15
15
  end
@@ -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
- expect(job).to receive(:destroy_failed_jobs?).and_return(false)
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.0
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-22 00:00:00.000000000 Z
18
+ date: 2015-09-24 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport