delayed_job 4.1.7.beta1 → 4.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -3
- data/README.md +1 -1
- data/delayed_job.gemspec +2 -2
- data/lib/delayed/backend/base.rb +1 -2
- data/lib/delayed/backend/shared_spec.rb +1 -2
- data/lib/delayed_job.rb +4 -0
- data/spec/delayed/backend/test.rb +5 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a15a5e7e0c1382d5f185cf7eb769e9138acd18d6dafe52d5ef5c2590b0f172f
|
4
|
+
data.tar.gz: f6da61d248326cf6ceab395fe074aa06040efa2b8e75aafc41e4f39c91871106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b36ea1a9a374324bfb366203f9b9bb9dee7f7a002e561c0b1c8ddfb022bd1201512622186a093b64bd06d0261240435cffe6734911af13052705a602b35f13
|
7
|
+
data.tar.gz: 8847b2a7031c76622ddd6ac2f805f3129f8c5970417fa961a88022fd24b04f362ed17739e0c23419b8a1bfa62ac8fc9e0be410c5ee3760508d92a1865654d656
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
**If you're viewing this at https://github.com/collectiveidea/delayed_job,
|
2
2
|
you're reading the documentation for the master branch.
|
3
3
|
[View documentation for the latest release
|
4
|
-
(4.1.
|
4
|
+
(4.1.7).](https://github.com/collectiveidea/delayed_job/tree/v4.1.7)**
|
5
5
|
|
6
6
|
Delayed::Job
|
7
7
|
============
|
data/delayed_job.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.add_dependency 'activesupport', ['>= 3.0', '<
|
4
|
+
spec.add_dependency 'activesupport', ['>= 3.0', '< 5.3']
|
5
5
|
spec.authors = ['Brandon Keepers', 'Brian Ryckbost', 'Chris Gaffney', 'David Genord II', 'Erik Michaels-Ober', 'Matt Griffin', 'Steve Richert', 'Tobias Lütke']
|
6
6
|
spec.description = 'Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.'
|
7
7
|
spec.email = ['brian@collectiveidea.com']
|
@@ -13,5 +13,5 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.require_paths = ['lib']
|
14
14
|
spec.summary = 'Database-backed asynchronous priority queue system -- Extracted from Shopify'
|
15
15
|
spec.test_files = Dir.glob('spec/**/*')
|
16
|
-
spec.version = '4.1.7
|
16
|
+
spec.version = '4.1.7'
|
17
17
|
end
|
data/lib/delayed/backend/base.rb
CHANGED
@@ -523,8 +523,7 @@ shared_examples_for 'a delayed_job backend' do
|
|
523
523
|
it 'reloads changed attributes' do
|
524
524
|
story = Story.create(:text => 'hello')
|
525
525
|
job = story.delay.tell
|
526
|
-
story.text
|
527
|
-
story.save!
|
526
|
+
story.update_attributes :text => 'goodbye'
|
528
527
|
expect(job.reload.payload_object.object.text).to eq('goodbye')
|
529
528
|
end
|
530
529
|
|
data/lib/delayed_job.rb
CHANGED
@@ -18,5 +18,9 @@ ActiveSupport.on_load(:action_mailer) do
|
|
18
18
|
ActionMailer::Base.extend(Delayed::DelayMail)
|
19
19
|
end
|
20
20
|
|
21
|
+
module Delayed
|
22
|
+
autoload :PerformableMailer, 'delayed/performable_mailer'
|
23
|
+
end
|
24
|
+
|
21
25
|
Object.send(:include, Delayed::MessageSending)
|
22
26
|
Module.send(:include, Delayed::MessageSendingClassMethods)
|
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.7
|
4
|
+
version: 4.1.7
|
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: 2019-06-
|
18
|
+
date: 2019-06-20 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: '5.3'
|
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: '5.3'
|
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.
|
@@ -114,9 +114,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - "
|
117
|
+
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
119
|
+
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubygems_version: 3.0.3
|
122
122
|
signing_key:
|