stalking 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -179,7 +179,7 @@ method and takes a string error message.
179
179
 
180
180
  # Graceful termination
181
181
 
182
- To stop your workers gracefully, send a USR1 signal to them. The worker will
182
+ To stop a worker gracefully, send a QUIT signal to it. The worker will
183
183
  finish its current job and terminate afterwards.
184
184
 
185
185
  ## Contributing
@@ -68,7 +68,7 @@ module Stalking
68
68
  def looping
69
69
  continue = true
70
70
 
71
- trap "USR1" do
71
+ trap "QUIT" do
72
72
  exit unless @locked
73
73
 
74
74
  continue = false
@@ -1,3 +1,3 @@
1
1
  module Stalking
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -213,7 +213,7 @@ class Stalking::ConsumerTest < Test::Unit::TestCase
213
213
 
214
214
  consumer.send :looping do
215
215
  consumer.send :lock do # Don't invoke exit
216
- Process.kill "USR1", Process.pid
216
+ Process.kill "QUIT", Process.pid
217
217
  end
218
218
  end
219
219
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stalking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: