rbg 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/rbg +1 -1
- data/lib/rbg.rb +7 -2
- metadata +10 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5d71c18be0ca0172d82230da2436bda62d10fb20
|
4
|
+
data.tar.gz: 0d6abed5bd89af7a57d57339dadc1745d051b78d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b303e387f13032005ba6d0b56a7cd3326500d851bcd74ec994ec99e4bef78a9cf632679caacc74f9c2853677f349863d70fc563186b5f5dab174a63ab1879c5
|
7
|
+
data.tar.gz: 8b583306606683f7d76ecfdc66653cdb6647ffd91a047df2a13b5f4ff9c72d8653b37286af81d4a4b7cbc7880ce9a55ac5d6fc0f33f4185a1147fdda5ea4664f
|
data/bin/rbg
CHANGED
data/lib/rbg.rb
CHANGED
@@ -335,7 +335,7 @@ module Rbg
|
|
335
335
|
|
336
336
|
begin
|
337
337
|
Process.kill('TERM', pid)
|
338
|
-
|
338
|
+
say "Sent TERM to PID #{pid}"
|
339
339
|
rescue
|
340
340
|
raise Error, "Process #{pid} not found"
|
341
341
|
end
|
@@ -354,12 +354,17 @@ module Rbg
|
|
354
354
|
|
355
355
|
begin
|
356
356
|
Process.kill('USR1', pid)
|
357
|
-
|
357
|
+
say "Sent USR1 to PID #{pid}"
|
358
358
|
rescue
|
359
359
|
raise Error, "Process #{pid} not found"
|
360
360
|
end
|
361
361
|
end
|
362
362
|
|
363
|
+
def say(msg)
|
364
|
+
msg = " #{msg}" if ENV['PROCMAN_ENABLED']
|
365
|
+
puts msg
|
366
|
+
end
|
367
|
+
|
363
368
|
end
|
364
369
|
end
|
365
370
|
|
metadata
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Charlie Smurthwaite
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: mono_logger
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.1'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.1'
|
30
27
|
description:
|
@@ -35,31 +32,30 @@ extensions: []
|
|
35
32
|
extra_rdoc_files: []
|
36
33
|
files:
|
37
34
|
- bin/rbg
|
38
|
-
- lib/rbg/config.rb
|
39
35
|
- lib/rbg.rb
|
36
|
+
- lib/rbg/config.rb
|
40
37
|
homepage: http://www.atechmedia.com
|
41
38
|
licenses: []
|
39
|
+
metadata: {}
|
42
40
|
post_install_message:
|
43
41
|
rdoc_options: []
|
44
42
|
require_paths:
|
45
43
|
- lib
|
46
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
45
|
requirements:
|
49
|
-
- -
|
46
|
+
- - ">="
|
50
47
|
- !ruby/object:Gem::Version
|
51
48
|
version: '0'
|
52
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
50
|
requirements:
|
55
|
-
- -
|
51
|
+
- - ">="
|
56
52
|
- !ruby/object:Gem::Version
|
57
53
|
version: '0'
|
58
54
|
requirements: []
|
59
55
|
rubyforge_project:
|
60
|
-
rubygems_version:
|
56
|
+
rubygems_version: 2.2.2
|
61
57
|
signing_key:
|
62
|
-
specification_version:
|
58
|
+
specification_version: 4
|
63
59
|
summary: Ruby Backgrounder allows multiple copies of ruby scripts to be run in the
|
64
60
|
background and restarted
|
65
61
|
test_files: []
|