rbg 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rbg.rb +4 -0
  2. metadata +14 -10
  3. checksums.yaml +0 -7
data/lib/rbg.rb CHANGED
@@ -60,6 +60,7 @@ module Rbg
60
60
  # Ending parent processes on INT is not useful or desirable
61
61
  # especially when running in the foreground
62
62
  Signal.trap('INT', proc {})
63
+ Signal.trap('HUP', proc {})
63
64
 
64
65
  # Parent loop, the purpose of this is simply to do nothing until we get a signal
65
66
  # We will exit if all child processes die
@@ -133,6 +134,7 @@ module Rbg
133
134
 
134
135
  # Ending workers on INT is not useful or desirable
135
136
  Signal.trap('INT', proc {})
137
+ Signal.trap('HUP', proc {})
136
138
  # Restore normal behaviour
137
139
  Signal.trap('TERM', proc {Process.exit(0)})
138
140
 
@@ -220,6 +222,8 @@ module Rbg
220
222
  kill_child_processes
221
223
  Process.exit(0)
222
224
  })
225
+
226
+ Signal.trap('HUP', proc {})
223
227
 
224
228
  # Main loop, we mostly idle, but check if the parent we created has died and exit
225
229
  loop do
metadata CHANGED
@@ -1,27 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Charlie Smurthwaite
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
12
+ date: 2014-07-08 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: mono_logger
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.1'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.1'
27
30
  description:
@@ -32,30 +35,31 @@ extensions: []
32
35
  extra_rdoc_files: []
33
36
  files:
34
37
  - bin/rbg
35
- - lib/rbg.rb
36
38
  - lib/rbg/config.rb
39
+ - lib/rbg.rb
37
40
  homepage: http://www.atechmedia.com
38
41
  licenses: []
39
- metadata: {}
40
42
  post_install_message:
41
43
  rdoc_options: []
42
44
  require_paths:
43
45
  - lib
44
46
  required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
45
48
  requirements:
46
- - - ">="
49
+ - - ! '>='
47
50
  - !ruby/object:Gem::Version
48
51
  version: '0'
49
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
50
54
  requirements:
51
- - - ">="
55
+ - - ! '>='
52
56
  - !ruby/object:Gem::Version
53
57
  version: '0'
54
58
  requirements: []
55
59
  rubyforge_project:
56
- rubygems_version: 2.2.0
60
+ rubygems_version: 1.8.23.2
57
61
  signing_key:
58
- specification_version: 4
62
+ specification_version: 3
59
63
  summary: Ruby Backgrounder allows multiple copies of ruby scripts to be run in the
60
64
  background and restarted
61
65
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 951b145c93a3b790e30bdafc6115aa1baed85968
4
- data.tar.gz: 50a5213e22f764ac53430cadc484df88ef760652
5
- SHA512:
6
- metadata.gz: 70aade66d0e8606dae64491d94e01259770f71b6f29c3af33f0680b9b28ca93ddb7976e100c3591b5212de22496f5ca05cfc3eb484a8772bcb2986562ff50e85
7
- data.tar.gz: 8fb2c16612a80ace8068b6886eed6bc3954df4d1557bdb4fc73d1fe9bf90604dd522caf4774dae0004662249faeaf8a9772aa4dfdc1c69f89ed70798d5089a9c