activejob 7.0.4.3 → 7.0.5.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: 3803facf98016a24f18caeb2c938b66e507c5404030301dbebb69f0d78578266
4
- data.tar.gz: 01e8f4c8087d3822bbb436655be9be4bc8767fc2e75957f76c3a99f2e77c2150
3
+ metadata.gz: 10e11f0195e57bf50d7562735874d18a2680144c0d524be42186726cce9e6b87
4
+ data.tar.gz: cb2d5c4b1cb66dece6d491a3fe95a77e651f5a92153435cb14c185a9eb59d109
5
5
  SHA512:
6
- metadata.gz: 0aa2ac50e406b92af784a382c0e5e10d08fac0718ffc1c9040084536c7aad1c911be5b1786315c1812f660c5dc7f551ee821737d986e306e3f3f137abdba7d4f
7
- data.tar.gz: ce309d96048c3366c04be82a8a6a24b9d09f4105eaac66d392172a027d0ccb2ef2b7d565a3b3f6909e85fbd119df38a7089730169a8eb9eecf17ea906798f6d3
6
+ metadata.gz: 3912e801c9b16640588f0dfe9863542c3145c5e44ba215b785a5e75e78dc95487520e695dacf84d7f73cbaf5c4e78628b49c24e52dc0b6faff86c9c67849a61a
7
+ data.tar.gz: 166f055fbf82a90460cf8c0ec91aad6e6f7c0a74ec46306bde4bce19e946b12477eba6b726fe0c0958ba39087009f13596dcc194624badf1c656b9cbefc32f68
data/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## Rails 7.0.5.1 (June 26, 2023) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.5 (May 24, 2023) ##
7
+
8
+ * Make delayed job `display_name` failsafe.
9
+
10
+ *codez*
11
+
12
+ * Don't double log the `job` when using `ActiveRecord::QueryLog`
13
+
14
+ Previously if you set `config.active_record.query_log_tags` to an array that included
15
+ `:job`, the job name would get logged twice. This bug has been fixed.
16
+
17
+ *Alex Ghiculescu*
18
+
19
+
1
20
  ## Rails 7.0.4.3 (March 13, 2023) ##
2
21
 
3
22
  * No changes.
@@ -9,8 +9,8 @@ module ActiveJob
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 4
13
- PRE = "3"
12
+ TINY = 5
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -50,6 +50,8 @@ module ActiveJob
50
50
  private
51
51
  def log_arguments?
52
52
  job_data["job_class"].constantize.log_arguments?
53
+ rescue NameError
54
+ false
53
55
  end
54
56
  end
55
57
  end
@@ -63,7 +63,7 @@ module ActiveJob
63
63
  app.config.active_job.log_query_tags_around_perform
64
64
 
65
65
  if query_logs_tags_enabled
66
- app.config.active_record.query_log_tags << :job
66
+ app.config.active_record.query_log_tags |= [:job]
67
67
 
68
68
  ActiveSupport.on_load(:active_record) do
69
69
  ActiveRecord::QueryLogs.taggings[:job] = ->(context) { context[:job].class.name if context[:job] }
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.4.3
4
+ version: 7.0.5.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-03-13 00:00:00.000000000 Z
11
+ date: 2023-06-26 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.4.3
19
+ version: 7.0.5.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.4.3
26
+ version: 7.0.5.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.4.3/activejob/CHANGELOG.md
104
- documentation_uri: https://api.rubyonrails.org/v7.0.4.3/
103
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.5.1/activejob/CHANGELOG.md
104
+ documentation_uri: https://api.rubyonrails.org/v7.0.5.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.4.3/activejob
106
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.5.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.4.3
123
+ rubygems_version: 3.3.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Job framework with pluggable queues.