activejob 7.0.6 → 7.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/active_job/gem_version.rb +1 -1
- data/lib/active_job/log_subscriber.rb +3 -3
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235128c7d980f87db5c8868459c333bd46426236218aae248293461011c39f82
|
4
|
+
data.tar.gz: d8c90ea58afcb522bb34846a4356dbc4f06063d3edd89b1486bce21d07b0272f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de04d283bcec657df1b29faa766d084c95820ef6f0505633484a8e15e6421a8e1313cb2727a9dfc6b09c280f1e4a1533a0673ceb0489ac674834ec0fbbd65bf2
|
7
|
+
data.tar.gz: 3c9bb2aa0e47b7482a3ec51e25747c0952f457f6770ddbbeaa56b7c6bac137a2046a8df778237fb4a2500b533962711b1d5e0b5efceaff49bb3d2cf725fc4f0b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
## Rails 7.0.8 (September 09, 2023) ##
|
2
|
+
|
3
|
+
* Fix Active Job log message to correctly report a job failed to enqueue
|
4
|
+
when the adapter raises an `ActiveJob::EnqueueError`.
|
5
|
+
|
6
|
+
*Ben Sheldon*
|
7
|
+
|
8
|
+
|
9
|
+
## Rails 7.0.7.2 (August 22, 2023) ##
|
10
|
+
|
11
|
+
* No changes.
|
12
|
+
|
13
|
+
|
14
|
+
## Rails 7.0.7.1 (August 22, 2023) ##
|
15
|
+
|
16
|
+
* No changes.
|
17
|
+
|
18
|
+
|
19
|
+
## Rails 7.0.7 (August 09, 2023) ##
|
20
|
+
|
21
|
+
* No changes.
|
22
|
+
|
23
|
+
|
1
24
|
## Rails 7.0.6 (June 29, 2023) ##
|
2
25
|
|
3
26
|
* Fix error Active Job passed class with `permitted?`.
|
@@ -7,7 +7,7 @@ module ActiveJob
|
|
7
7
|
class LogSubscriber < ActiveSupport::LogSubscriber # :nodoc:
|
8
8
|
def enqueue(event)
|
9
9
|
job = event.payload[:job]
|
10
|
-
ex = event.payload[:exception_object]
|
10
|
+
ex = event.payload[:exception_object] || job.enqueue_error
|
11
11
|
|
12
12
|
if ex
|
13
13
|
error do
|
@@ -26,7 +26,7 @@ module ActiveJob
|
|
26
26
|
|
27
27
|
def enqueue_at(event)
|
28
28
|
job = event.payload[:job]
|
29
|
-
ex = event.payload[:exception_object]
|
29
|
+
ex = event.payload[:exception_object] || job.enqueue_error
|
30
30
|
|
31
31
|
if ex
|
32
32
|
error do
|
@@ -38,7 +38,7 @@ module ActiveJob
|
|
38
38
|
end
|
39
39
|
else
|
40
40
|
info do
|
41
|
-
"Enqueued #{job.class.name} (Job ID: #{job.job_id}) to #{queue_name(event)} at #{scheduled_at(event)}" + args_info(job)
|
41
|
+
"Enqueued #{job.class.name} (Job ID: #{job.job_id}) to #{queue_name(event)} at #{scheduled_at(event).to_default_s}" + args_info(job)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
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: 7.0.
|
4
|
+
version: 7.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-09 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: 7.0.
|
19
|
+
version: 7.0.8
|
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: 7.0.
|
26
|
+
version: 7.0.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: globalid
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,12 +100,12 @@ licenses:
|
|
100
100
|
- MIT
|
101
101
|
metadata:
|
102
102
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
103
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.0.
|
104
|
-
documentation_uri: https://api.rubyonrails.org/v7.0.
|
103
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.8/activejob/CHANGELOG.md
|
104
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.8/
|
105
105
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
106
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.0.
|
106
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.8/activejob
|
107
107
|
rubygems_mfa_required: 'true'
|
108
|
-
post_install_message:
|
108
|
+
post_install_message:
|
109
109
|
rdoc_options: []
|
110
110
|
require_paths:
|
111
111
|
- lib
|
@@ -120,8 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.4.
|
124
|
-
signing_key:
|
123
|
+
rubygems_version: 3.4.18
|
124
|
+
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Job framework with pluggable queues.
|
127
127
|
test_files: []
|