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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 273b70789f100959d303b4b290edc5e24c97dd8f7dfaeb6b5d14935fc720591a
4
- data.tar.gz: 0e1de8c8b9fa20510f1a4a07f7f606dc191eaaf7d35fc52f78c0c3c29cb6ef22
3
+ metadata.gz: 235128c7d980f87db5c8868459c333bd46426236218aae248293461011c39f82
4
+ data.tar.gz: d8c90ea58afcb522bb34846a4356dbc4f06063d3edd89b1486bce21d07b0272f
5
5
  SHA512:
6
- metadata.gz: e22c13a2f2b022ea98b5d525014f2c699c8a888ca34a26e8e937a07fcb9e5b0e125ecb6273841814f3158c6c3c88146902484ca1ee33202e1075942d84003324
7
- data.tar.gz: 667204b55ba9fbabbf5dc2c69bd5bc861eaefb449702d30976874902164a2f3cf2f35ab84da2128aefd03e8648bffca788acfd546cd54c412aac69aa7ba08271
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?`.
@@ -9,7 +9,7 @@ module ActiveJob
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 6
12
+ TINY = 8
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -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.6
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-06-29 00:00:00.000000000 Z
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.6
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.6
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.6/activejob/CHANGELOG.md
104
- documentation_uri: https://api.rubyonrails.org/v7.0.6/
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.6/activejob
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.13
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: []