activejob 7.2.2.2 → 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 +15 -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 +6 -6
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,17 @@
|
|
|
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
|
+
|
|
1
15
|
## Rails 7.2.2.2 (August 13, 2025) ##
|
|
2
16
|
|
|
3
17
|
* No changes.
|
|
@@ -86,7 +100,7 @@
|
|
|
86
100
|
|
|
87
101
|
*Rafael Mendonça França*
|
|
88
102
|
|
|
89
|
-
* Deprecate `Rails.application.config.active_job.
|
|
103
|
+
* Deprecate `Rails.application.config.active_job.use_big_decimal_serializer`.
|
|
90
104
|
|
|
91
105
|
*Rafael Mendonça França*
|
|
92
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,7 +1,7 @@
|
|
|
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
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 7.2.
|
|
18
|
+
version: 7.2.3
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 7.2.
|
|
25
|
+
version: 7.2.3
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: globalid
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,10 +103,10 @@ licenses:
|
|
|
103
103
|
- MIT
|
|
104
104
|
metadata:
|
|
105
105
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
106
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.2.
|
|
107
|
-
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/
|
|
108
108
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
109
|
-
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
|
|
110
110
|
rubygems_mfa_required: 'true'
|
|
111
111
|
rdoc_options: []
|
|
112
112
|
require_paths:
|