inst-jobs 3.1.14 → 3.1.15

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: 16e359eba573f46a29762f1afd4bb55a52fcc9252f25ff61779f7f9b136d8f92
4
- data.tar.gz: 2983f7040757c9421ae2464c79599556cd0286678ada618787c9fbe5019eca34
3
+ metadata.gz: 61efa120190f5afebc7aa06c5d78f3b746307bcee1986c814cc317056e916361
4
+ data.tar.gz: 8fe59b557d2847a2def469bf46d1d01230fbfc02ccebe7c8604d53352aebf819
5
5
  SHA512:
6
- metadata.gz: b8296ac3fe9c675ed42f02ad7a112534d30bf212f57ca288313615eb2fa2954f114cd1a5c0f20ca886a11a6ed8085bed5c21d355f63ddadb52ba3508a341cc47
7
- data.tar.gz: 65c2307f632d2dd2360fa0dc97c2c5fa373185c9c1fb78b7c057e970166a25742faa0a294bc8382cee895fc96c3d6302e7af6dbeb2bc44f99bbfff9f792edcd8
6
+ metadata.gz: eae3cc53632c5064023a345cde20acdfa69a86156f19f001f881dc19a0843cf546d2676b9cff2158e2344f5fbd6c867be214c47ae89679c7412144630ba08160
7
+ data.tar.gz: 49a1d5a7f56f0f344add67add41e21c524ca0688402708910f9fd04c13336d69d7623d05e22588f4407e805c8f67ee87519aeb8304f92191510f64ed72975308
@@ -3,7 +3,12 @@
3
3
  module Delayed
4
4
  class LogTailer
5
5
  def run
6
- if Rails.logger.respond_to?(:log_path)
6
+ if Rails.logger.respond_to?(:broadcast_to)
7
+ return if ActiveSupport::Logger.logger_outputs_to?(Rails.logger, $stdout)
8
+
9
+ Rails.logger.broadcast_to(ActiveSupport::Logger.new($stdout))
10
+ return
11
+ elsif Rails.logger.respond_to?(:log_path)
7
12
  log_path = Rails.logger.log_path
8
13
  elsif Rails.logger.instance_variable_get(:@logdev).try(:instance_variable_get, "@dev").try(:path)
9
14
  log_path = Rails.logger.instance_variable_get(:@logdev).instance_variable_get(:@dev).path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Delayed
4
- VERSION = "3.1.14"
4
+ VERSION = "3.1.15"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.14
4
+ version: 3.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2023-11-22 00:00:00.000000000 Z
13
+ date: 2024-03-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord