activejob 7.0.7.2 → 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: f220e2f8fcf99e4455fd89808db7f4ef2d62581958598b0431b81c717ce1c28f
4
- data.tar.gz: '01736935d3a0e8f773daca608c46472a4a3d6ab2d531c3695268da60d0a519e3'
3
+ metadata.gz: 235128c7d980f87db5c8868459c333bd46426236218aae248293461011c39f82
4
+ data.tar.gz: d8c90ea58afcb522bb34846a4356dbc4f06063d3edd89b1486bce21d07b0272f
5
5
  SHA512:
6
- metadata.gz: d66ecba0c6373766a35c0332dacf7d412e2c64ecc3e97ea33bfcc6d1e06fcb8472434e5ecc0d005c8d70a7bf1b8a0817c6fa91f3cc84d2b5d56a03df999622e5
7
- data.tar.gz: bbba1b293843e76c34f103b62bfa9752588391e01bd2418fe292347744987d164d857bb5421c9bd92a4f08e7175ce59e5629163e7a94029e04db1bef1e9cb044
6
+ metadata.gz: de04d283bcec657df1b29faa766d084c95820ef6f0505633484a8e15e6421a8e1313cb2727a9dfc6b09c280f1e4a1533a0673ceb0489ac674834ec0fbbd65bf2
7
+ data.tar.gz: 3c9bb2aa0e47b7482a3ec51e25747c0952f457f6770ddbbeaa56b7c6bac137a2046a8df778237fb4a2500b533962711b1d5e0b5efceaff49bb3d2cf725fc4f0b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
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
+
1
9
  ## Rails 7.0.7.2 (August 22, 2023) ##
2
10
 
3
11
  * No changes.
@@ -9,8 +9,8 @@ module ActiveJob
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 7
13
- PRE = "2"
12
+ TINY = 8
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -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.7.2
4
+ version: 7.0.8
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: 2023-08-22 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.7.2
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.7.2
26
+ version: 7.0.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: globalid
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,10 +100,10 @@ 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.7.2/activejob/CHANGELOG.md
104
- documentation_uri: https://api.rubyonrails.org/v7.0.7.2/
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.7.2/activejob
106
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.8/activejob
107
107
  rubygems_mfa_required: 'true'
108
108
  post_install_message:
109
109
  rdoc_options: []
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.3.3
123
+ rubygems_version: 3.4.18
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Job framework with pluggable queues.