resqued 0.8.0 → 0.8.1

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
  SHA1:
3
- metadata.gz: 9fe38f58547b5c264cb89a273818a467db0c100a
4
- data.tar.gz: a5bd115f36b3dd11ac669ddde1a7ea64b540cc52
3
+ metadata.gz: 0310b190a67e5f8b7fc7e4b2c9642587a074f9bb
4
+ data.tar.gz: 6cec4f0c071bc2839db839970cd305507c0eaa4c
5
5
  SHA512:
6
- metadata.gz: e74fb5b8559e19c793fda4ccbf10b4f1b50ed3cc8e098686d25f315c35560f455ec59946ed930b29a98d59bf2b4c670b76b6a364b4e8ea4e31a01a67e7a3046e
7
- data.tar.gz: eaa3711b1be7ebc1df56772ca06c67692e816701ed93d8a7665863a98beb01b2a5938ccb93886d26e99948ba816c196b1248c2d2813d3c22af326de0b4c4b9e1
6
+ metadata.gz: 078a7c68efb123e3f022138ecf056b83fceb41d13a8538c45a4f05644005f14ca03f66de7fc2e79623fe92bb1e9c0d96c2c4b64b42e3951559db0e736f862381
7
+ data.tar.gz: 3ae07e4fa92de9686780db80528e230fb51aff29243dca1438f176f3d3ea991cff12e79389c8db7f5ceb52c8bdc3414beb8304c4898f89e530598aeef4121755
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  Starting with version 0.6.1, resqued uses semantic versioning to indicate incompatibilities between the master process, listener process, and configuration.
2
2
 
3
+ v0.8.1
4
+ ------
5
+ * Fix an error on fast SIGHUP (#42, @asceth)
6
+
3
7
  v0.8.0
4
8
  ------
5
9
 
data/MIT-LICENSE ADDED
@@ -0,0 +1,25 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2013 Matt Burke
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+
25
+
@@ -198,6 +198,10 @@ module Resqued
198
198
  @listener_backoff.died
199
199
  @current_listener = nil
200
200
  end
201
+
202
+ if @last_good_listener && @last_good_listener.pid == lpid
203
+ @last_good_listener = nil
204
+ end
201
205
  dead_listener = listener_pids.delete(lpid)
202
206
  listener_status dead_listener, 'stop'
203
207
  dead_listener.dispose
@@ -1,3 +1,3 @@
1
1
  module Resqued
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resqued
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Burke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio
@@ -110,6 +110,7 @@ files:
110
110
  - lib/resqued.rb
111
111
  - README.md
112
112
  - CHANGES.md
113
+ - MIT-LICENSE
113
114
  - docs/ipc.md
114
115
  - docs/processes.md
115
116
  - docs/signals.md