slave 1.2.1 → 1.2.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.
@@ -1 +1 @@
1
- Tue Nov 28 09:47:34 MST 2006
1
+ Fri, 27 Apr 2007 16:38:57 -0600
@@ -3,7 +3,7 @@ digraph TopLevel {
3
3
  bgcolor = lightcyan1
4
4
  fontname = Arial
5
5
  fontsize = 8
6
- label = "README"
6
+ label = "TopLevel"
7
7
  node [
8
8
  fontname = Arial,
9
9
  fontsize = 8,
Binary file
@@ -3,7 +3,7 @@ digraph TopLevel {
3
3
  bgcolor = lightcyan1
4
4
  fontname = Arial
5
5
  fontsize = 8
6
- label = "lib/slave.rb"
6
+ label = "TopLevel"
7
7
  node [
8
8
  fontname = Arial,
9
9
  fontsize = 8,
@@ -14,15 +14,6 @@ digraph TopLevel {
14
14
  fontname = Arial
15
15
  color = red
16
16
  label = "lib/slave.rb"
17
- o [
18
- fontcolor = black,
19
- URL = "classes/o.html",
20
- shape = ellipse,
21
- color = palegoldenrod,
22
- style = filled,
23
- label = "o"
24
- ]
25
-
26
17
  Slave [
27
18
  fontcolor = black,
28
19
  URL = "classes/Slave.html",
Binary file
@@ -1,79 +1,80 @@
1
1
  <?xml version="1.0" encoding="iso-8859-1"?>
2
2
  <!DOCTYPE html
3
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>File: README</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
8
+ <title>File: README</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
43
 
44
44
  </head>
45
45
  <body>
46
46
 
47
47
 
48
48
 
49
- <div id="fileHeader">
50
- <h1>README</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>README
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue Nov 28 09:47:31 MST 2006</td>
60
- </tr>
61
- </table>
62
- </div>
49
+ <div id="fileHeader">
50
+ <h1>README</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>README
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri, Apr 27 2007 16:38:30 -0600</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
63
  <!-- banner header -->
64
64
 
65
- <div id="bodyContent">
65
+ <div id="bodyContent">
66
66
 
67
67
 
68
- <div id="contextContent">
69
- <div id="diagram">
70
- <map name="map">
68
+
69
+ <div id="contextContent">
70
+ <div id="diagram">
71
+ <map id="map" name="map">
71
72
  </map>
72
- <img src="../dot/f_0.jpg" usemap="#map" border=0 alt="TopLevel">
73
- </div>
73
+ <img src="../dot/f_0.jpg" usemap="#map" border="0" alt="dot/f_0.jpg">
74
+ </div>
74
75
 
75
- <div id="description">
76
- <p>
76
+ <div id="description">
77
+ <p>
77
78
  SYNOPSIS
78
79
  </p>
79
80
  <pre>
@@ -120,6 +121,14 @@ URIS
120
121
  HISTORY
121
122
  </p>
122
123
  <pre>
124
+ 1.2.1:
125
+ - jruby/ThreadSafe patches from skaar and ez. using slave.rb with jruby,
126
+ how is that!?
127
+
128
+ 1.2.0:
129
+ - cleaned up a bunch of warnings. thanks eric kolve &lt;ekolve@gmail.com&gt;
130
+ for reporting them.
131
+
123
132
  1.1.0:
124
133
  - replaced HeartBeat class with LifeLine.
125
134
 
@@ -235,7 +244,9 @@ SAMPLES
235
244
  ~ &gt; ruby samples/b.rb
236
245
 
237
246
  :postgresql
238
- ./lib/slave.rb:460:in `initialize': undefined method `typo' for #&lt;Server:0xb7565694&gt; (NoMethodError)
247
+ samples/b.rb:22: undefined method `typo' for #&lt;Server:0xb756ed18&gt; (NoMethodError)
248
+ from ./lib/slave.rb:369:in `[]'
249
+ from ./lib/slave.rb:369:in `initialize'
239
250
  from samples/b.rb:22:in `new'
240
251
  from samples/b.rb:22
241
252
 
@@ -267,9 +278,11 @@ SAMPLES
267
278
 
268
279
  ~ &gt; ruby samples/c.rb
269
280
 
270
- 14387
271
- 14388
272
- ./lib/slave.rb:460:in `initialize': undefined local variable or method `fubar' for main:Object (NameError)
281
+ 7971
282
+ 7972
283
+ samples/c.rb:21: undefined local variable or method `fubar' for main:Object (NameError)
284
+ from ./lib/slave.rb:361:in `call'
285
+ from ./lib/slave.rb:361:in `initialize'
273
286
  from samples/c.rb:21:in `new'
274
287
  from samples/c.rb:21
275
288
 
@@ -360,30 +373,34 @@ SAMPLES
360
373
 
361
374
  ~ &gt; ruby samples/g.rb
362
375
 
363
- {&quot;that&quot;=&gt;14406, &quot;this&quot;=&gt;14405}
364
- {&quot;that&quot;=&gt;[14407, Tue Nov 28 09:47:31 MST 2006], &quot;this&quot;=&gt;[14405, Tue Nov 28 09:47:29 MST 2006]}
376
+ {&quot;that&quot;=&gt;7990, &quot;this&quot;=&gt;7989}
377
+ {&quot;that&quot;=&gt;[7991, Fri, Apr 27 2007 16:38:30 -0600], &quot;this&quot;=&gt;[7989, Fri, Apr 27 2007 16:38:28 -0600]}
365
378
  </pre>
366
379
 
367
- </div>
380
+ </div>
381
+
382
+
383
+ </div>
368
384
 
369
385
 
386
+ </div>
370
387
 
371
388
 
389
+ <!-- if includes -->
372
390
 
391
+ <div id="section">
373
392
 
374
-
375
393
 
376
- </div>
377
394
 
378
395
 
379
396
 
380
- <!-- if includes -->
397
+
381
398
 
382
399
 
383
- <!-- if method_list -->
400
+ <!-- if method_list -->
384
401
 
385
402
 
386
- </div>
403
+ </div>
387
404
 
388
405
 
389
406
  <div id="validator-badges">
@@ -1,121 +1,115 @@
1
1
  <?xml version="1.0" encoding="iso-8859-1"?>
2
2
  <!DOCTYPE html
3
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "DTD/xhtml1-transitional.dtd">
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>File: slave.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
8
+ <title>File: slave.rb</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
43
 
44
44
  </head>
45
45
  <body>
46
46
 
47
47
 
48
48
 
49
- <div id="fileHeader">
50
- <h1>slave.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/slave.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue Nov 28 09:47:22 MST 2006</td>
60
- </tr>
61
- </table>
62
- </div>
49
+ <div id="fileHeader">
50
+ <h1>slave.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/slave.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri, Apr 27 2007 16:37:26 -0600</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
63
  <!-- banner header -->
64
64
 
65
- <div id="bodyContent">
65
+ <div id="bodyContent">
66
66
 
67
67
 
68
- <div id="contextContent">
69
- <div id="diagram">
70
- <map name="map">
71
- <area shape="RECT" coords="123,98,195,50" href="../../classes/o.html" alt="o">
72
- <area shape="RECT" coords="27,98,99,50" href="../../classes/Slave.html" alt="Slave">
68
+
69
+ <div id="contextContent">
70
+ <div id="diagram">
71
+ <map id="map" name="map">
72
+ <area shape="rect" coords="27,50,99,98" href="../../classes/Slave.html" alt="Slave" />
73
73
  </map>
74
- <img src="../../dot/f_1.jpg" usemap="#map" border=0 alt="TopLevel">
75
- </div>
74
+ <img src="../../dot/f_1.jpg" usemap="#map" border="0" alt="dot/f_1.jpg">
75
+ </div>
76
76
 
77
77
 
78
- <div id="requires-list">
79
- <h2 class="section-bar">Required files</h2>
78
+ <div id="requires-list">
79
+ <h3 class="section-bar">Required files</h3>
80
80
 
81
- <div class="name-list">
82
- drb/drb&nbsp;&nbsp;
83
- fileutils&nbsp;&nbsp;
84
- tmpdir&nbsp;&nbsp;
85
- tempfile&nbsp;&nbsp;
86
- fcntl&nbsp;&nbsp;
87
- socket&nbsp;&nbsp;
88
- sync&nbsp;&nbsp;
89
- </div>
90
- </div>
81
+ <div class="name-list">
82
+ drb/drb&nbsp;&nbsp;
83
+ fileutils&nbsp;&nbsp;
84
+ tmpdir&nbsp;&nbsp;
85
+ tempfile&nbsp;&nbsp;
86
+ fcntl&nbsp;&nbsp;
87
+ socket&nbsp;&nbsp;
88
+ sync&nbsp;&nbsp;
89
+ </div>
90
+ </div>
91
91
 
92
+ </div>
92
93
 
93
94
 
95
+ </div>
94
96
 
95
97
 
96
-
97
- <div id="class-list">
98
- <h2 class="section-bar">Classes and Modules</h2>
98
+ <!-- if includes -->
99
99
 
100
- Class <a href="../../classes/Slave.html" class="link">Slave</a><br />
101
- &nbsp;&nbsp;::Class <a href="../../classes/Slave/LifeLine.html" class="link">Slave::LifeLine</a><br />
102
- &nbsp;&nbsp;::Class <a href="../../classes/Slave/ThreadSafe.html" class="link">Slave::ThreadSafe</a><br />
103
- &nbsp;&nbsp;::Class <a href="../../classes/Slave/ThreadSafeHash.html" class="link">Slave::ThreadSafeHash</a><br />
104
- Class <a href="../../classes/o.html" class="link">o</a><br />
100
+ <div id="section">
105
101
 
106
- </div>
107
102
 
108
- </div>
109
103
 
110
104
 
111
105
 
112
- <!-- if includes -->
106
+
113
107
 
114
108
 
115
- <!-- if method_list -->
109
+ <!-- if method_list -->
116
110
 
117
111
 
118
- </div>
112
+ </div>
119
113
 
120
114
 
121
115
  <div id="validator-badges">