activejob 7.0.7.2 → 7.0.8.1

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: 17f918517c8501976c3d127a7a9acbee9d022844599ce3b66b2b34746e29b231
4
+ data.tar.gz: d24baee9c1bd3dd738a8f6bad97c0f25a1487e6a2d62d81032f7f70356b887ed
5
5
  SHA512:
6
- metadata.gz: d66ecba0c6373766a35c0332dacf7d412e2c64ecc3e97ea33bfcc6d1e06fcb8472434e5ecc0d005c8d70a7bf1b8a0817c6fa91f3cc84d2b5d56a03df999622e5
7
- data.tar.gz: bbba1b293843e76c34f103b62bfa9752588391e01bd2418fe292347744987d164d857bb5421c9bd92a4f08e7175ce59e5629163e7a94029e04db1bef1e9cb044
6
+ metadata.gz: c474d1640b1bc0bdc4612dbcf87e7d36a0c23436e39bff2050cc6adcb43cd385c3342e878f6ee2a1fe193bf0ac782859cd38a65f75daca922ea4d5fbeb22aa94
7
+ data.tar.gz: a947dfaf38b92244ead6b1cb442cdb6ee986c58f2f3ba4a54138ab62ac976c80f7c27987025884fdfb85ed5c2b37a69ddf1c56f6364f5bdacc095f8ec770e676
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## Rails 7.0.8.1 (February 21, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.8 (September 09, 2023) ##
7
+
8
+ * Fix Active Job log message to correctly report a job failed to enqueue
9
+ when the adapter raises an `ActiveJob::EnqueueError`.
10
+
11
+ *Ben Sheldon*
12
+
13
+
1
14
  ## Rails 7.0.7.2 (August 22, 2023) ##
2
15
 
3
16
  * 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 = "1"
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.1
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: 2024-02-21 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.1
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.1
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.1/activejob/CHANGELOG.md
104
+ documentation_uri: https://api.rubyonrails.org/v7.0.8.1/
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.1/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.2.22
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Job framework with pluggable queues.