activejob 7.0.7.1 → 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: ab42b0fb4f8073eeca4e879fe0b1cc245563b77153991d0541480df0c83aa820
4
- data.tar.gz: d244a5cdf933d856e22724a88467a3386c1628f0c2b96fa469d22bce27c11f7d
3
+ metadata.gz: 235128c7d980f87db5c8868459c333bd46426236218aae248293461011c39f82
4
+ data.tar.gz: d8c90ea58afcb522bb34846a4356dbc4f06063d3edd89b1486bce21d07b0272f
5
5
  SHA512:
6
- metadata.gz: 4e00fbc9fdd4ed2b99fad81d2961f8cbe7603f033e08d198538ed7fd36b539ee8c94c46303de8031cd34a7a15d1682c2d9bdc77514a6381bcd4ff3638915f171
7
- data.tar.gz: 9ed69132629e27e47d1b4b74d03a6ee1a2a5b7064387d9342f2f131e17c098d70c34dab40066bea0b8746eb8082f5b382be4a36072fd19c6bfb34c91c882ebfc
6
+ metadata.gz: de04d283bcec657df1b29faa766d084c95820ef6f0505633484a8e15e6421a8e1313cb2727a9dfc6b09c280f1e4a1533a0673ceb0489ac674834ec0fbbd65bf2
7
+ data.tar.gz: 3c9bb2aa0e47b7482a3ec51e25747c0952f457f6770ddbbeaa56b7c6bac137a2046a8df778237fb4a2500b533962711b1d5e0b5efceaff49bb3d2cf725fc4f0b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
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
+
1
14
  ## Rails 7.0.7.1 (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 = "1"
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.1
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.1
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.1
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.1/activejob/CHANGELOG.md
104
- documentation_uri: https://api.rubyonrails.org/v7.0.7.1/
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.1/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.