backnob 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.0.3 2007-09-24
2
+
3
+ * Fixed issue with invalid returned results
4
+
1
5
  == 0.0.2 2007-09-24
2
6
 
3
7
  * Added singleton workers for processing queues
data/README.txt CHANGED
@@ -13,10 +13,11 @@ Client Usage: backnob create|results
13
13
  [results:] Get the results for a worker key.
14
14
 
15
15
  Options are:
16
- [-h, --help] Show this help message.
17
- [-c, --configuration=FILE] Load a configuration file
18
- [-l, --listen=ADDRESS] Set the listen address. Defaults to 127.0.0.1:6444
19
- [-v, --version] Show the version
16
+ [-h, --help] Show this help message.
17
+ [-c FILE, --configuration=FILE] Load a configuration file
18
+ [-l ADDRESS, --listen=ADDRESS] Set the listen address. Defaults to 127.0.0.1:6444
19
+ [-p DIR, --pid=DIR] Set the directory for storing the pid and log files. Defaults to /tmp
20
+ [-v, --version] Show the version
20
21
 
21
22
  == Configuration File Options
22
23
 
data/lib/backnob/hash.rb CHANGED
@@ -11,7 +11,7 @@ class Hash # :nodoc: all
11
11
  end
12
12
  end
13
13
 
14
- class AttrHash < Hash
14
+ class AttrHash < Hash # :nodoc: all
15
15
  def method_missing(symbol, *args)
16
16
  if self.has_key?(symbol)
17
17
  self[symbol]
@@ -111,6 +111,7 @@ module Backnob
111
111
  # if possible
112
112
  def results(key, hk = nil)
113
113
  results = @results[key]
114
+ results ||= {}
114
115
  # if @results[key]
115
116
  # results = @results[key]
116
117
  # else
@@ -2,7 +2,7 @@ module Backnob #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -32,7 +32,7 @@
32
32
  <h1><h1>bac<em>k</em>nob</h1></h1>
33
33
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/backnob"; return false'>
34
34
  <p>Get Version</p>
35
- <a href="http://rubyforge.org/projects/backnob" class="numbers">0.0.2</a>
35
+ <a href="http://rubyforge.org/projects/backnob" class="numbers">0.0.3</a>
36
36
  </div>
37
37
  <p>Backnob is a really simple background processor for forking independent workers.</p>
38
38
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: backnob
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.2
6
+ version: 0.0.3
7
7
  date: 2007-09-24 00:00:00 +12:00
8
8
  summary: Simple background worker library
9
9
  require_paths:
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- ECZ7�7R��
2
- &֤\����<-�Xq3pE�Ͷt���ء�YZD��E#���=��N���UYg4����M"?��`�$WzR�v�=GI�-����� E�2d��pV�͉Fs��+�c�zY8�rh�guwj$���g�M`��6��M�k� ���"�0�B���~���jc_52�2Y�vlez��'Ѧ���(��f����0lfN��>�-cDe�@�2n��oZ���X��ϰI�g����t��
1
+ �@�
2
+ 2$�*62G�^�֦n09����S6}:�� ��nM����ǖޛ��FX$����-Ǐ��节�v�$ژL��Ǥ9X���Md T��N%eT���h�TO��5>�#s
3
+ x��j�L�ɣ����@hkL���<�i