cute_logger 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cute_logger.rb +3 -1
- data/lib/cute_logger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 131f2533d20f391a21a3338776fd73088e9b5bdf9a15594da2a4f2b951d35f99
|
4
|
+
data.tar.gz: 630a12a1194922eb657264cc8ee079f07068c81ca204511dff5553847bf08455
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cb45649067d0a6e08a71a29433e1ace17ea03f6b001c6ceb113134b24fbcaa4efd4b86d257c422124863bb4f28f283ea99b2079224553af31a75e0a6394da9
|
7
|
+
data.tar.gz: ed3aaf6df0794104d37d717de18069a6f823bdbffe985442b60495f1cce31faba75560899734220e9e122e8c94e5ae899cfe9c169cb9da06a59fd933b8af8ce3
|
data/lib/cute_logger.rb
CHANGED
@@ -29,7 +29,9 @@ module CuteLogger
|
|
29
29
|
|
30
30
|
@signals_read, @signals_write = IO.pipe
|
31
31
|
|
32
|
-
|
32
|
+
['HUP', 'USR1'].each do |signal|
|
33
|
+
Signal.trap(signal) {@signals_write.puts(true)}
|
34
|
+
end
|
33
35
|
|
34
36
|
Thread.new do
|
35
37
|
while readable_io = IO.select([@signals_read])
|
data/lib/cute_logger/version.rb
CHANGED