activejob 7.0.4.2 → 7.0.5

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: 38cf7d430c7dccaca33ba77efb44ee348f2a601641f5736c7f851de86d4e2f0e
4
- data.tar.gz: 36080b7cbc806b1eb3ebd40aa1b89d38964aa123a5c79fc39eb7411f10027955
3
+ metadata.gz: e1dad90fcb9ccc531f3b3159f259d82298f123e6b03690cd85a63ad287bbdd9c
4
+ data.tar.gz: 1d3fb3a4f8eebb65874c46bc8e9b8081ac44f002e4e496b43278202582385690
5
5
  SHA512:
6
- metadata.gz: 21a077da8d29d2bb9c82f6328b5017e087c6b4cbd74bd8a2534d0b17bd456794a8178d3bb163f1fc3bfff887c49f526647f0bdd6a6b36587a05f4471a051fe8d
7
- data.tar.gz: 3864220e118457a95ced208e92de030eae8e3dbcaebf385cc40e52ad880d7e802f2593d9220776e2427fee6c48e380e29d94e9eab7b09404df1462e7d1bbe997
6
+ metadata.gz: 0d92b4aae8496ad001742c9b649d54849a134075eda300a086e01a87259e418faef32862c239349c425ca993a0f4e8d562b59b027acc8d7530151e83406484bb
7
+ data.tar.gz: 66997412fc59414012dae235bea1d4061ab4d77014f414d539e97e7eaa265e2460ba1bfc1ed32ccec9f11b9da15b54ed6e52075a2526a8152226f01ee8d49f62
data/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## Rails 7.0.5 (May 24, 2023) ##
2
+
3
+ * Make delayed job `display_name` failsafe.
4
+
5
+ *codez*
6
+
7
+ * Don't double log the `job` when using `ActiveRecord::QueryLog`
8
+
9
+ Previously if you set `config.active_record.query_log_tags` to an array that included
10
+ `:job`, the job name would get logged twice. This bug has been fixed.
11
+
12
+ *Alex Ghiculescu*
13
+
14
+
15
+ ## Rails 7.0.4.3 (March 13, 2023) ##
16
+
17
+ * No changes.
18
+
19
+
1
20
  ## Rails 7.0.4.2 (January 24, 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 = "2"
12
+ TINY = 5
13
+ PRE = nil
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.2
4
+ version: 7.0.5
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-01-25 00:00:00.000000000 Z
11
+ date: 2023-05-24 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.2
19
+ version: 7.0.5
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.2
26
+ version: 7.0.5
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.4.2/activejob/CHANGELOG.md
104
- documentation_uri: https://api.rubyonrails.org/v7.0.4.2/
103
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.5/activejob/CHANGELOG.md
104
+ documentation_uri: https://api.rubyonrails.org/v7.0.5/
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.2/activejob
106
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.5/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.3
124
- signing_key:
123
+ rubygems_version: 3.4.10
124
+ signing_key:
125
125
  specification_version: 4
126
126
  summary: Job framework with pluggable queues.
127
127
  test_files: []