server-starter 0.2.1 → 0.3.0

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: 172f969ecca0954a1b3f5a44df94ad9e391893cf
4
- data.tar.gz: 414f7dc2679b28e65d4d8ebc289032540476d83f
3
+ metadata.gz: 1d53d56660d67da4edc311de419917bccb44f413
4
+ data.tar.gz: 15df36c0c0bcd646dcaa1f370ebc8fbe1c38d0c8
5
5
  SHA512:
6
- metadata.gz: f5e0704849bf69e29e582cea3681bdf3f5578ead49cea74f87cb919ecbafafe975dd537f6e60dfdb42378dc124f98a14c0d8eb46bf76b32793d7b4628621dae8
7
- data.tar.gz: d2f77e9459789f62758b8f0a24bd090a295646e5e4b3d681e9cec992824234a661cf7f10737b8cad5810c7d1cf99de5ab3ee4dcaed56b09354912d91b59c3d82
6
+ metadata.gz: d3111c0c60634c6f3f7ab2d9ad842f6d541ec76cdb2c1c93398c744afef2deb0ffd5bbeefebc1c46e1a33eb337a32a1081ba0e4444e6e03b58ea0dc9f82bceab
7
+ data.tar.gz: f70b10675013db13f9972902c35e8441317f681fe8b9b8521bd43e5fe58c13899b40ee6f7a9c666913f82abf5d46bc0db86f055c1fe5a29b0964a78a92ac4698
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.3.0 (2016/04/03)
2
+
3
+ Fixes:
4
+
5
+ * Fix a critial bug. It was not killing old workers on HUP :scream:
6
+
1
7
  ## 0.2.1 (2016/04/03)
2
8
 
3
9
  Fixes:
@@ -1,5 +1,5 @@
1
1
  class Server
2
2
  class Starter
3
- VERSION = '0.2.1'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -313,7 +313,7 @@ class Server::Starter
313
313
  sleep kill_old_delay
314
314
  end
315
315
  $stderr.puts "killing old workers"
316
- @old_workers.keys.sort {|pid| Process.kill(opts[:signal_on_hup], pid) }
316
+ @old_workers.keys.sort.each {|pid| Process.kill(opts[:signal_on_hup], pid) }
317
317
  end
318
318
  end
319
319
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo