good_job 3.4.5 → 3.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/good_job/cli.rb +1 -1
- data/lib/good_job/log_subscriber.rb +1 -1
- data/lib/good_job/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f6f46bc81c3d161377238784c24c81deb1f06480b4fd49cd87192bff37bed60
|
|
4
|
+
data.tar.gz: a7e1d948e9bd98a94128f61fc8b12b32627ec2b828d36e7b06baa272c304a00e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69db268ef55985004f348fa62d7c07e82e10d961b9667a16367fec4a5af11ff05daf9e1ac9a064946e6d41434a9fabf9ea3bce7ced52a8bca342c876e1168d8e
|
|
7
|
+
data.tar.gz: 234f79a1ee23c7609f5e22b3a0c4e3d883e67011ed28f68befae868b9ac252adb6869e8261ef9af3a754da105edf93701fc8525cc81e487b8e30b6d94c636850
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v3.4.6](https://github.com/bensheldon/good_job/tree/v3.4.6) (2022-09-26)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.4.5...v3.4.6)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Support SemanticLogger logging with improve stdout logic and tagged logs [\#715](https://github.com/bensheldon/good_job/pull/715) ([bensheldon](https://github.com/bensheldon))
|
|
10
|
+
|
|
11
|
+
**Closed issues:**
|
|
12
|
+
|
|
13
|
+
- Unable to Replace GoodJob's Logger [\#667](https://github.com/bensheldon/good_job/issues/667)
|
|
14
|
+
- Jobs never get run... [\#516](https://github.com/bensheldon/good_job/issues/516)
|
|
15
|
+
|
|
3
16
|
## [v3.4.5](https://github.com/bensheldon/good_job/tree/v3.4.5) (2022-09-12)
|
|
4
17
|
|
|
5
18
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.4.4...v3.4.5)
|
|
@@ -209,7 +222,6 @@
|
|
|
209
222
|
- UI engine does not work without explicit require [\#646](https://github.com/bensheldon/good_job/issues/646)
|
|
210
223
|
- Should `:inline` adapter mode retry jobs? [\#611](https://github.com/bensheldon/good_job/issues/611)
|
|
211
224
|
- Error Job Not Preserved [\#594](https://github.com/bensheldon/good_job/issues/594)
|
|
212
|
-
- Jobs never get run... [\#516](https://github.com/bensheldon/good_job/issues/516)
|
|
213
225
|
- Release GoodJob 3.0 [\#507](https://github.com/bensheldon/good_job/issues/507)
|
|
214
226
|
- Improve security of Gem releases [\#422](https://github.com/bensheldon/good_job/issues/422)
|
|
215
227
|
|
data/lib/good_job/cli.rb
CHANGED
|
@@ -156,7 +156,7 @@ module GoodJob
|
|
|
156
156
|
# Rails or from the application can be set up here.
|
|
157
157
|
def set_up_application!
|
|
158
158
|
require RAILS_ENVIRONMENT_RB
|
|
159
|
-
return
|
|
159
|
+
return if !GoodJob::CLI.log_to_stdout? || ActiveSupport::Logger.logger_outputs_to?(GoodJob.logger, $stdout)
|
|
160
160
|
|
|
161
161
|
GoodJob::LogSubscriber.loggers << ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new($stdout))
|
|
162
162
|
GoodJob::LogSubscriber.reset_logger
|
|
@@ -206,7 +206,7 @@ module GoodJob
|
|
|
206
206
|
good_job_tag = ["ActiveJob"].freeze
|
|
207
207
|
|
|
208
208
|
self.class.loggers.inject(block) do |inner, each_logger|
|
|
209
|
-
if each_logger.respond_to?(:tagged) && each_logger.formatter
|
|
209
|
+
if each_logger.respond_to?(:tagged) && each_logger.try(:formatter).try(:current_tags).respond_to?(:include?)
|
|
210
210
|
tags_for_logger = if each_logger.formatter.current_tags.include?("ActiveJob")
|
|
211
211
|
good_job_tag + tags
|
|
212
212
|
else
|
data/lib/good_job/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: good_job
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Sheldon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-09-
|
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activejob
|