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 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
@@ -1,3 +1,8 @@
1
+ == 0.9.2 / 2010-02-10
2
+
3
+ * Bug Fixes
4
+ * Removing "rescue nil" from code that handles user callbacks
5
+
1
6
  == 0.9.1 / 2010-01-21
2
7
 
3
8
  * Bug Fixes
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' => ['spec:run', 'rubyforge: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
@@ -2,7 +2,7 @@
2
2
  module Servolux
3
3
 
4
4
  # :stopdoc:
5
- VERSION = '0.9.1'
5
+ VERSION = '0.9.2'
6
6
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
7
7
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
8
8
  # :startdoc:
@@ -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 rescue nil if self.respond_to? :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 rescue nil if self.respond_to? :after_executing
430
+ after_executing if self.respond_to? :after_executing
431
431
  @piper.close
432
432
  end
433
433
  }
@@ -236,7 +236,7 @@ module Servolux::Threaded
236
236
  }
237
237
  ensure
238
238
  if threaded.respond_to?(:after_stopping) and !self.running
239
- threaded.after_stopping rescue nil
239
+ threaded.after_stopping
240
240
  end
241
241
  self.running = false
242
242
  end # @private
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.1
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-01-21 00:00:00 -07:00
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.0
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