activejob 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/active_job/gem_version.rb +1 -1
- data/lib/active_job/queue_adapters/sidekiq_adapter.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 139b8dd5d61867d1676cc734242db724b0ab0de3e97ff0c96df0e119f64dfad7
|
|
4
|
+
data.tar.gz: 19f72134dc32a5480e017cba0f643944a5dbc9f0424a46c81b2b1d28c8f87679
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14acb769879af1bd7dee73396ad8a8825c30e8602623a64d354ef4524b7db8577bb57808e6d4bd22667c13dcb34bae7ac6a164884126d5d9c3de7639ce2933bc
|
|
7
|
+
data.tar.gz: af087cc20af365ae300087b1fb14d7db1b6eecb43cfbeab0ea4d3ba83137f5b83014af5ab0fcf8dd025e420426c816db2eb6abb57b256f296f44c61435056623
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## Rails 6.0.2 (December 13, 2019) ##
|
|
2
|
+
|
|
3
|
+
* Allow Sidekiq access to the underlying job class.
|
|
4
|
+
|
|
5
|
+
By having access to the Active Job class, Sidekiq can get access to any `sidekiq_options` which
|
|
6
|
+
have been set on that Active Job type and serialize those options into Redis.
|
|
7
|
+
|
|
8
|
+
https://github.com/mperham/sidekiq/blob/master/Changes.md#60
|
|
9
|
+
|
|
10
|
+
*Mike Perham*
|
|
11
|
+
|
|
12
|
+
|
|
1
13
|
## Rails 6.0.1 (November 5, 2019) ##
|
|
2
14
|
|
|
3
15
|
* No changes.
|
|
@@ -21,7 +21,7 @@ module ActiveJob
|
|
|
21
21
|
# Sidekiq::Client does not support symbols as keys
|
|
22
22
|
job.provider_job_id = Sidekiq::Client.push \
|
|
23
23
|
"class" => JobWrapper,
|
|
24
|
-
"wrapped" => job.class
|
|
24
|
+
"wrapped" => job.class,
|
|
25
25
|
"queue" => job.queue_name,
|
|
26
26
|
"args" => [ job.serialize ]
|
|
27
27
|
end
|
|
@@ -29,7 +29,7 @@ module ActiveJob
|
|
|
29
29
|
def enqueue_at(job, timestamp) #:nodoc:
|
|
30
30
|
job.provider_job_id = Sidekiq::Client.push \
|
|
31
31
|
"class" => JobWrapper,
|
|
32
|
-
"wrapped" => job.class
|
|
32
|
+
"wrapped" => job.class,
|
|
33
33
|
"queue" => job.queue_name,
|
|
34
34
|
"args" => [ job.serialize ],
|
|
35
35
|
"at" => timestamp
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activejob
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 6.0.
|
|
19
|
+
version: 6.0.2
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 6.0.
|
|
26
|
+
version: 6.0.2
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: globalid
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -95,10 +95,10 @@ licenses:
|
|
|
95
95
|
- MIT
|
|
96
96
|
metadata:
|
|
97
97
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
98
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.0.
|
|
99
|
-
documentation_uri: https://api.rubyonrails.org/v6.0.
|
|
98
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.2/activejob/CHANGELOG.md
|
|
99
|
+
documentation_uri: https://api.rubyonrails.org/v6.0.2/
|
|
100
100
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
|
|
101
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.0.
|
|
101
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.2/activejob
|
|
102
102
|
post_install_message:
|
|
103
103
|
rdoc_options: []
|
|
104
104
|
require_paths:
|