resqued 0.7.14 → 0.8.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: b8c5887802bf999f4593a54710f7ca77bf42c6a9
4
- data.tar.gz: 9a8a9ccf194c775cba92db61723de119d849a904
3
+ metadata.gz: 9fe38f58547b5c264cb89a273818a467db0c100a
4
+ data.tar.gz: a5bd115f36b3dd11ac669ddde1a7ea64b540cc52
5
5
  SHA512:
6
- metadata.gz: e8157c32306ff93b56faf08c836a19748c2d9691cc4dd42edfe70c05d293be5373e448e64b6aaa848a10a0c9665ae5e8c98427b0874716a2310044c2debe52fe
7
- data.tar.gz: 7d3d5e16fe7e9d52859482bd4f354700057ccb012ecd90de32011f8204da9f7394426fac8865b87d26dbd3e597242ea77a151f72246827c161cc3d8f37fbcbcf
6
+ metadata.gz: e74fb5b8559e19c793fda4ccbf10b4f1b50ed3cc8e098686d25f315c35560f455ec59946ed930b29a98d59bf2b4c670b76b6a364b4e8ea4e31a01a67e7a3046e
7
+ data.tar.gz: eaa3711b1be7ebc1df56772ca06c67692e816701ed93d8a7665863a98beb01b2a5938ccb93886d26e99948ba816c196b1248c2d2813d3c22af326de0b4c4b9e1
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
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.0
4
+ ------
5
+
6
+ * Make proclines work again. (#40) (This introduces a new argument to the re-exec of resqued. Old masters (0.7.x) will be able to start new listeners (0.8.x), but new masters (0.8.x) will not be able to start <0.8 listeners.)
7
+
3
8
  v0.7.14
4
9
  -------
5
10
 
data/exe/resqued CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- if ARGV == ['listener']
3
+ if ARGV[0] == 'listener'
4
4
  require 'resqued/listener'
5
5
  Resqued::Listener.exec!
6
6
  exit 0
@@ -40,7 +40,8 @@ module Resqued
40
40
  if start_pwd = Resqued::START_CTX['pwd']
41
41
  exec_opts[:chdir] = start_pwd
42
42
  end
43
- Kernel.exec(Resqued::START_CTX['$0'], 'listener', exec_opts)
43
+ procline_buf = ' ' * 256 # make room for setproctitle
44
+ Kernel.exec(Resqued::START_CTX['$0'], 'listener', procline_buf, exec_opts)
44
45
  end
45
46
 
46
47
  # Public: Given args from #exec, start this listener.
@@ -1,3 +1,3 @@
1
1
  module Resqued
2
- VERSION = '0.7.14'
2
+ VERSION = '0.8.0'
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.7.14
4
+ version: 0.8.0
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-02 00:00:00.000000000 Z
11
+ date: 2015-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio