activejob 7.2.2.1 → 7.2.3
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 +20 -1
- data/README.md +1 -1
- data/lib/active_job/base.rb +2 -2
- data/lib/active_job/configured_job.rb +0 -4
- data/lib/active_job/core.rb +1 -1
- data/lib/active_job/exceptions.rb +2 -1
- data/lib/active_job/gem_version.rb +2 -2
- data/lib/active_job/log_subscriber.rb +1 -1
- metadata +8 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f76db92910f325154aa9d955728c51e2707232f2db258198ef3128d3f07ad26
|
|
4
|
+
data.tar.gz: 3c68ce1d7ff44d94a9c877923e8f82de2f747d1a889e57c2bed0bd4fc71a41d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8af4d3675c132bf94582a852445b7aca33b7fdd44bea30c17e6ac7823c12c5d8857e712dc7f487ce1f5ab2fec1445bd94b0556aad19af66ccf6c5190c7c9f3e8
|
|
7
|
+
data.tar.gz: 3560f91b6101294422260c4dfa4106d6588fccd7aa7b8ef94eaa3fbbf17b5380001ed6667d0619a68a6258612193c1677dd5e7e3a1613f9d1ff21368562687e8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## Rails 7.2.3 (October 28, 2025) ##
|
|
2
|
+
|
|
3
|
+
* Include the actual Active Job locale when serializing rather than I18n locale.
|
|
4
|
+
|
|
5
|
+
*Adrien S*
|
|
6
|
+
|
|
7
|
+
* Avoid crashing in Active Job logger when logging enqueueing errors
|
|
8
|
+
|
|
9
|
+
`ActiveJob.perform_all_later` could fail with a `TypeError` when all
|
|
10
|
+
provided jobs failed to be enqueueed.
|
|
11
|
+
|
|
12
|
+
*Efstathios Stivaros*
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Rails 7.2.2.2 (August 13, 2025) ##
|
|
16
|
+
|
|
17
|
+
* No changes.
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
## Rails 7.2.2.1 (December 10, 2024) ##
|
|
2
21
|
|
|
3
22
|
* No changes.
|
|
@@ -81,7 +100,7 @@
|
|
|
81
100
|
|
|
82
101
|
*Rafael Mendonça França*
|
|
83
102
|
|
|
84
|
-
* Deprecate `Rails.application.config.active_job.
|
|
103
|
+
* Deprecate `Rails.application.config.active_job.use_big_decimal_serializer`.
|
|
85
104
|
|
|
86
105
|
*Rafael Mendonça França*
|
|
87
106
|
|
data/README.md
CHANGED
|
@@ -126,6 +126,6 @@ Bug reports for the Ruby on \Rails project can be filed here:
|
|
|
126
126
|
|
|
127
127
|
* https://github.com/rails/rails/issues
|
|
128
128
|
|
|
129
|
-
Feature requests should be discussed on the
|
|
129
|
+
Feature requests should be discussed on the rubyonrails-core forum here:
|
|
130
130
|
|
|
131
131
|
* https://discuss.rubyonrails.org/c/rubyonrails-core
|
data/lib/active_job/base.rb
CHANGED
|
@@ -40,7 +40,7 @@ module ActiveJob # :nodoc:
|
|
|
40
40
|
# end
|
|
41
41
|
#
|
|
42
42
|
# Records that are passed in are serialized/deserialized using Global
|
|
43
|
-
# ID. More information can be found in Arguments.
|
|
43
|
+
# ID. More information can be found in ActiveJob::Arguments.
|
|
44
44
|
#
|
|
45
45
|
# To enqueue a job to be performed as soon as the queuing system is free:
|
|
46
46
|
#
|
|
@@ -50,7 +50,7 @@ module ActiveJob # :nodoc:
|
|
|
50
50
|
#
|
|
51
51
|
# ProcessPhotoJob.set(wait_until: Date.tomorrow.noon).perform_later(photo)
|
|
52
52
|
#
|
|
53
|
-
# More information can be found in ActiveJob::Core::ClassMethods#set
|
|
53
|
+
# More information can be found in ActiveJob::Core::ClassMethods#set.
|
|
54
54
|
#
|
|
55
55
|
# A job can also be processed immediately without sending to the queue:
|
|
56
56
|
#
|
data/lib/active_job/core.rb
CHANGED
|
@@ -114,7 +114,7 @@ module ActiveJob
|
|
|
114
114
|
"arguments" => serialize_arguments_if_needed(arguments),
|
|
115
115
|
"executions" => executions,
|
|
116
116
|
"exception_executions" => exception_executions,
|
|
117
|
-
"locale" => I18n.locale.to_s,
|
|
117
|
+
"locale" => locale || I18n.locale.to_s,
|
|
118
118
|
"timezone" => timezone,
|
|
119
119
|
"enqueued_at" => Time.now.utc.iso8601(9),
|
|
120
120
|
"scheduled_at" => scheduled_at ? scheduled_at.utc.iso8601(9) : nil,
|
|
@@ -50,7 +50,7 @@ module ActiveJob
|
|
|
50
50
|
info do
|
|
51
51
|
jobs = event.payload[:jobs]
|
|
52
52
|
adapter = event.payload[:adapter]
|
|
53
|
-
enqueued_count = event.payload[:enqueued_count]
|
|
53
|
+
enqueued_count = event.payload[:enqueued_count].to_i
|
|
54
54
|
|
|
55
55
|
if enqueued_count == jobs.size
|
|
56
56
|
enqueued_jobs_message(adapter, jobs)
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activejob
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -16,14 +15,14 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - '='
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.2.
|
|
18
|
+
version: 7.2.3
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - '='
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 7.2.
|
|
25
|
+
version: 7.2.3
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: globalid
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -104,12 +103,11 @@ licenses:
|
|
|
104
103
|
- MIT
|
|
105
104
|
metadata:
|
|
106
105
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
107
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.2.
|
|
108
|
-
documentation_uri: https://api.rubyonrails.org/v7.2.
|
|
106
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.3/activejob/CHANGELOG.md
|
|
107
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.3/
|
|
109
108
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
110
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.2.
|
|
109
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.3/activejob
|
|
111
110
|
rubygems_mfa_required: 'true'
|
|
112
|
-
post_install_message:
|
|
113
111
|
rdoc_options: []
|
|
114
112
|
require_paths:
|
|
115
113
|
- lib
|
|
@@ -124,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
122
|
- !ruby/object:Gem::Version
|
|
125
123
|
version: '0'
|
|
126
124
|
requirements: []
|
|
127
|
-
rubygems_version: 3.
|
|
128
|
-
signing_key:
|
|
125
|
+
rubygems_version: 3.6.9
|
|
129
126
|
specification_version: 4
|
|
130
127
|
summary: Job framework with pluggable queues.
|
|
131
128
|
test_files: []
|