servolux 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/History.txt +5 -0
- data/Rakefile +1 -2
- data/lib/servolux.rb +1 -1
- data/lib/servolux/prefork.rb +2 -2
- data/lib/servolux/threaded.rb +1 -1
- metadata +4 -3
data/.gitignore
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# The list of files that should be ignored by Mr Bones.
|
2
|
+
# Lines that start with '#' are comments.
|
3
|
+
#
|
4
|
+
# A .gitignore file can be used instead by setting it as the ignore
|
5
|
+
# file in your Rakefile:
|
6
|
+
#
|
7
|
+
# PROJ.ignore_file = '.gitignore'
|
8
|
+
#
|
9
|
+
# For a project with a C extension, the following would be a good set of
|
10
|
+
# exclude patterns (uncomment them if you want to use them):
|
11
|
+
# *.[oa]
|
12
|
+
*~
|
13
|
+
*.sw[op]
|
14
|
+
announcement.txt
|
15
|
+
coverage
|
16
|
+
doc
|
17
|
+
pkg
|
18
|
+
.yardoc
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ ensure_in_path 'lib'
|
|
9
9
|
require 'servolux'
|
10
10
|
|
11
11
|
task :default => 'spec:specdoc'
|
12
|
-
task 'gem:release' =>
|
12
|
+
task 'gem:release' => 'spec:run'
|
13
13
|
|
14
14
|
Bones {
|
15
15
|
name 'servolux'
|
@@ -24,7 +24,6 @@ Bones {
|
|
24
24
|
rubyforge.name 'codeforpeople'
|
25
25
|
|
26
26
|
use_gmail
|
27
|
-
enable_sudo
|
28
27
|
|
29
28
|
depend_on 'bones-extras', :development => true
|
30
29
|
depend_on 'bones-git', :development => true
|
data/lib/servolux.rb
CHANGED
data/lib/servolux/prefork.rb
CHANGED
@@ -422,12 +422,12 @@ class Servolux::Prefork
|
|
422
422
|
@thread = Thread.new {
|
423
423
|
begin
|
424
424
|
:wait until @piper.gets == START
|
425
|
-
before_executing
|
425
|
+
before_executing if self.respond_to? :before_executing
|
426
426
|
child_loop
|
427
427
|
rescue Exception => err
|
428
428
|
@piper.puts err rescue nil
|
429
429
|
ensure
|
430
|
-
after_executing
|
430
|
+
after_executing if self.respond_to? :after_executing
|
431
431
|
@piper.close
|
432
432
|
end
|
433
433
|
}
|
data/lib/servolux/threaded.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servolux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Pease
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-10 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 3.2.
|
63
|
+
version: 3.2.1
|
64
64
|
version:
|
65
65
|
description: |-
|
66
66
|
Serv-O-Lux is a collection of Ruby classes that are useful for daemon and
|
@@ -76,6 +76,7 @@ extra_rdoc_files:
|
|
76
76
|
- History.txt
|
77
77
|
- README.rdoc
|
78
78
|
files:
|
79
|
+
- .gitignore
|
79
80
|
- History.txt
|
80
81
|
- README.rdoc
|
81
82
|
- Rakefile
|