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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f15d61ff57ab6849cf6e23106917a6df48773bae8959e21d1f0ad6be67bda0e
4
- data.tar.gz: 2a68b414c37a5a854838a8036136023123fa7e40f2168d30686fb11c7e52e8ed
3
+ metadata.gz: 131f2533d20f391a21a3338776fd73088e9b5bdf9a15594da2a4f2b951d35f99
4
+ data.tar.gz: 630a12a1194922eb657264cc8ee079f07068c81ca204511dff5553847bf08455
5
5
  SHA512:
6
- metadata.gz: c80a6e196bbc15507c52e182e3dfcd24e2173d7601824dca3516cf9108b324c759a7dd10fb48f12ee88c3231d40b648b33c3fcdc54119b3babcbc00582992cbc
7
- data.tar.gz: 42187354e4684fb2a746f40eedd227671d9411a964bfc27a197ec1164d36816edb2d7e4bff4e81f381b06bc9feb6ccd569d44c37da4994a31450c2fdf6cb3bcd
6
+ metadata.gz: 82cb45649067d0a6e08a71a29433e1ace17ea03f6b001c6ceb113134b24fbcaa4efd4b86d257c422124863bb4f28f283ea99b2079224553af31a75e0a6394da9
7
+ data.tar.gz: ed3aaf6df0794104d37d717de18069a6f823bdbffe985442b60495f1cce31faba75560899734220e9e122e8c94e5ae899cfe9c169cb9da06a59fd933b8af8ce3
@@ -29,7 +29,9 @@ module CuteLogger
29
29
 
30
30
  @signals_read, @signals_write = IO.pipe
31
31
 
32
- trap('HUP') { @signals_write.puts('HUP') }
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])
@@ -1,5 +1,5 @@
1
1
 
2
2
  # Partial module to define the version of the gem
3
3
  module CuteLogger
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cute_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Del Rio