good_job 3.4.5 → 3.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -1
- data/app/assets/good_job/vendor/bootstrap/bootstrap.bundle.min.js +4 -3
- data/app/assets/good_job/vendor/bootstrap/bootstrap.min.css +5 -4
- 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
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.7
|
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-
|
11
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|