extended_logger 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/extended_logger/extended_logger.rb +2 -2
- data/lib/extended_logger/sink.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd79c2d50d7076bb1db726a2d2baf47a286fc61b
|
4
|
+
data.tar.gz: 0aaec04c2633a80e1defec4058d81516bf1029c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 224487cc6e176f34cec756f10498ad7e2b795a13763670a745c0d82a4ade0fac4f575c7ffbe32914d6f2f64f83f793990aaa6e450e78d0aa1e1d3a4114ecfd23
|
7
|
+
data.tar.gz: 913eef8b2d0b5c4eca939c4e94ee2d42300b11314806ccdd6ad43f2c9b49e1d17e8cefc778da8c233e6669f3b289d2948f11804fb33d4d595e8b5618f6589c85
|
data/lib/extended_logger/sink.rb
CHANGED
@@ -18,7 +18,7 @@ class ExtendedLogger
|
|
18
18
|
device = File.open device, 'a+' if device.is_a? String
|
19
19
|
device.sync = true
|
20
20
|
|
21
|
-
if color_scheme == :none or not (device.tty?
|
21
|
+
if color_scheme == :none or not (device.tty? or device.is_a? StringIO)
|
22
22
|
color_scheme = nil
|
23
23
|
end
|
24
24
|
|