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 +4 -4
- data/lib/delayed/log_tailer.rb +6 -1
- data/lib/delayed/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: 61efa120190f5afebc7aa06c5d78f3b746307bcee1986c814cc317056e916361
|
4
|
+
data.tar.gz: 8fe59b557d2847a2def469bf46d1d01230fbfc02ccebe7c8604d53352aebf819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eae3cc53632c5064023a345cde20acdfa69a86156f19f001f881dc19a0843cf546d2676b9cff2158e2344f5fbd6c867be214c47ae89679c7412144630ba08160
|
7
|
+
data.tar.gz: 49a1d5a7f56f0f344add67add41e21c524ca0688402708910f9fd04c13336d69d7623d05e22588f4407e805c8f67ee87519aeb8304f92191510f64ed72975308
|
data/lib/delayed/log_tailer.rb
CHANGED
@@ -3,7 +3,12 @@
|
|
3
3
|
module Delayed
|
4
4
|
class LogTailer
|
5
5
|
def run
|
6
|
-
if Rails.logger.respond_to?(:
|
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
|
data/lib/delayed/version.rb
CHANGED
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.
|
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:
|
13
|
+
date: 2024-03-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|