mongrel_config 0.2.1 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/Rakefile +3 -4
  2. data/doc/rdoc/classes/ConfigTool.html +174 -0
  3. data/doc/rdoc/classes/ConfigTool.src/M000001.html +33 -0
  4. data/doc/rdoc/classes/ConfigTool.src/M000002.html +28 -0
  5. data/doc/rdoc/classes/ConfigTool.src/M000003.html +45 -0
  6. data/doc/rdoc/classes/Configure/Controllers/ClearLogs.html +137 -0
  7. data/doc/rdoc/classes/Configure/Controllers/ClearLogs.src/M000043.html +21 -0
  8. data/doc/rdoc/classes/Configure/Controllers/Delete.html +137 -0
  9. data/doc/rdoc/classes/Configure/Controllers/Delete.src/M000036.html +20 -0
  10. data/doc/rdoc/classes/Configure/Controllers/Index.html +156 -0
  11. data/doc/rdoc/classes/Configure/Controllers/Index.src/M000027.html +18 -0
  12. data/doc/rdoc/classes/Configure/Controllers/Index.src/M000028.html +19 -0
  13. data/doc/rdoc/classes/Configure/Controllers/Info.html +137 -0
  14. data/doc/rdoc/classes/Configure/Controllers/Info.src/M000035.html +19 -0
  15. data/doc/rdoc/classes/Configure/Controllers/Install.html +182 -0
  16. data/doc/rdoc/classes/Configure/Controllers/Install.src/M000039.html +18 -0
  17. data/doc/rdoc/classes/Configure/Controllers/Install.src/M000040.html +43 -0
  18. data/doc/rdoc/classes/Configure/Controllers/Install.src/M000041.html +18 -0
  19. data/doc/rdoc/classes/Configure/Controllers/Install.src/M000042.html +18 -0
  20. data/doc/rdoc/classes/Configure/Controllers/Kill.html +137 -0
  21. data/doc/rdoc/classes/Configure/Controllers/Kill.src/M000029.html +32 -0
  22. data/doc/rdoc/classes/Configure/Controllers/Logs.html +162 -0
  23. data/doc/rdoc/classes/Configure/Controllers/Logs.src/M000037.html +19 -0
  24. data/doc/rdoc/classes/Configure/Controllers/Logs.src/M000038.html +18 -0
  25. data/doc/rdoc/classes/Configure/Controllers/Start.html +171 -0
  26. data/doc/rdoc/classes/Configure/Controllers/Start.src/M000032.html +18 -0
  27. data/doc/rdoc/classes/Configure/Controllers/Start.src/M000033.html +19 -0
  28. data/doc/rdoc/classes/Configure/Controllers/Start.src/M000034.html +27 -0
  29. data/doc/rdoc/classes/Configure/Controllers/Stop.html +156 -0
  30. data/doc/rdoc/classes/Configure/Controllers/Stop.src/M000030.html +18 -0
  31. data/doc/rdoc/classes/Configure/Controllers/Stop.src/M000031.html +26 -0
  32. data/doc/rdoc/classes/Configure/Controllers.html +123 -0
  33. data/doc/rdoc/classes/Configure/Views.html +360 -0
  34. data/doc/rdoc/classes/Configure/Views.src/M000011.html +24 -0
  35. data/doc/rdoc/classes/Configure/Views.src/M000012.html +25 -0
  36. data/doc/rdoc/classes/Configure/Views.src/M000013.html +26 -0
  37. data/doc/rdoc/classes/Configure/Views.src/M000014.html +20 -0
  38. data/doc/rdoc/classes/Configure/Views.src/M000015.html +31 -0
  39. data/doc/rdoc/classes/Configure/Views.src/M000016.html +27 -0
  40. data/doc/rdoc/classes/Configure/Views.src/M000017.html +32 -0
  41. data/doc/rdoc/classes/Configure/Views.src/M000018.html +18 -0
  42. data/doc/rdoc/classes/Configure/Views.src/M000019.html +18 -0
  43. data/doc/rdoc/classes/Configure/Views.src/M000020.html +29 -0
  44. data/doc/rdoc/classes/Configure/Views.src/M000021.html +42 -0
  45. data/doc/rdoc/classes/Configure/Views.src/M000022.html +34 -0
  46. data/doc/rdoc/classes/Configure/Views.src/M000023.html +25 -0
  47. data/doc/rdoc/classes/Configure/Views.src/M000024.html +35 -0
  48. data/doc/rdoc/classes/Configure/Views.src/M000025.html +23 -0
  49. data/doc/rdoc/classes/Configure/Views.src/M000026.html +20 -0
  50. data/doc/rdoc/classes/Configure.html +112 -0
  51. data/doc/rdoc/classes/W32Support.html +258 -0
  52. data/doc/rdoc/classes/W32Support.src/M000004.html +18 -0
  53. data/doc/rdoc/classes/W32Support.src/M000005.html +18 -0
  54. data/doc/rdoc/classes/W32Support.src/M000006.html +33 -0
  55. data/doc/rdoc/classes/W32Support.src/M000007.html +20 -0
  56. data/doc/rdoc/classes/W32Support.src/M000008.html +20 -0
  57. data/doc/rdoc/classes/W32Support.src/M000009.html +18 -0
  58. data/doc/rdoc/classes/W32Support.src/M000010.html +28 -0
  59. data/doc/rdoc/created.rid +1 -0
  60. data/doc/rdoc/files/COPYING.html +756 -0
  61. data/doc/rdoc/files/LICENSE.html +756 -0
  62. data/doc/rdoc/files/README.html +110 -0
  63. data/doc/rdoc/files/lib/mongrel_config/app_rb.html +110 -0
  64. data/doc/rdoc/files/lib/mongrel_config/init_rb.html +112 -0
  65. data/doc/rdoc/files/lib/mongrel_config/win32_app_rb.html +113 -0
  66. data/doc/rdoc/files/lib/mongrel_config/win32_rb.html +108 -0
  67. data/doc/rdoc/fr_class_index.html +40 -0
  68. data/doc/rdoc/fr_file_index.html +33 -0
  69. data/doc/rdoc/fr_method_index.html +69 -0
  70. data/doc/rdoc/index.html +24 -0
  71. data/doc/rdoc/rdoc-style.css +208 -0
  72. data/lib/mongrel_config/init.rb +32 -15
  73. data/lib/mongrel_config/win32.rb +85 -0
  74. data/lib/mongrel_config/win32_app.rb +251 -0
  75. data/resources/index_win32.html +68 -0
  76. data/resources/style.css +6 -1
  77. data/test/test_config.rb +48 -2
  78. data/tools/rakehelp.rb +2 -1
  79. metadata +95 -4
@@ -0,0 +1,258 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: W32Support</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
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">W32Support</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/mongrel_config/win32_rb.html">
59
+ lib/mongrel_config/win32.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+ <div id="description">
76
+ <p>
77
+ Simply abstracts the common stuff that the config tool needs to do when
78
+ dealing with Win32. It is a very thin wrapper which may expand later.
79
+ </p>
80
+
81
+ </div>
82
+
83
+
84
+ </div>
85
+
86
+ <div id="method-list">
87
+ <h3 class="section-bar">Methods</h3>
88
+
89
+ <div class="name-list">
90
+ <a href="#M000010">delete</a>&nbsp;&nbsp;
91
+ <a href="#M000005">display</a>&nbsp;&nbsp;
92
+ <a href="#M000006">do_and_wait</a>&nbsp;&nbsp;
93
+ <a href="#M000004">list</a>&nbsp;&nbsp;
94
+ <a href="#M000007">start</a>&nbsp;&nbsp;
95
+ <a href="#M000009">status</a>&nbsp;&nbsp;
96
+ <a href="#M000008">stop</a>&nbsp;&nbsp;
97
+ </div>
98
+ </div>
99
+
100
+ </div>
101
+
102
+
103
+ <!-- if includes -->
104
+
105
+ <div id="section">
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+ <!-- if method_list -->
115
+ <div id="methods">
116
+ <h3 class="section-bar">Public Class methods</h3>
117
+
118
+ <div id="method-M000010" class="method-detail">
119
+ <a name="M000010"></a>
120
+
121
+ <div class="method-heading">
122
+ <a href="W32Support.src/M000010.html" target="Code" class="method-signature"
123
+ onclick="popupCode('W32Support.src/M000010.html');return false;">
124
+ <span class="method-name">delete</span><span class="method-args">(service_name) {|status if block_given?| ...}</span>
125
+ </a>
126
+ </div>
127
+
128
+ <div class="method-description">
129
+ <p>
130
+ Deletes the service from the system. It first tries to stop the service,
131
+ and if you pass in a block it will call it while the service is being
132
+ stopped.
133
+ </p>
134
+ </div>
135
+ </div>
136
+
137
+ <div id="method-M000005" class="method-detail">
138
+ <a name="M000005"></a>
139
+
140
+ <div class="method-heading">
141
+ <a href="W32Support.src/M000005.html" target="Code" class="method-signature"
142
+ onclick="popupCode('W32Support.src/M000005.html');return false;">
143
+ <span class="method-name">display</span><span class="method-args">(name)</span>
144
+ </a>
145
+ </div>
146
+
147
+ <div class="method-description">
148
+ <p>
149
+ Just gets the display name of the service.
150
+ </p>
151
+ </div>
152
+ </div>
153
+
154
+ <div id="method-M000006" class="method-detail">
155
+ <a name="M000006"></a>
156
+
157
+ <div class="method-heading">
158
+ <a href="W32Support.src/M000006.html" target="Code" class="method-signature"
159
+ onclick="popupCode('W32Support.src/M000006.html');return false;">
160
+ <span class="method-name">do_and_wait</span><span class="method-args">(service_name, operation, wait_for) {|status| ...}</span>
161
+ </a>
162
+ </div>
163
+
164
+ <div class="method-description">
165
+ <p>
166
+ Performs one operations (like :start or :start) which need to be
167
+ &quot;monitored&quot; until they&#8217;re done. The wait_for parameter
168
+ should be a regex for the content of the status like /running/ or /stopped/
169
+ </p>
170
+ </div>
171
+ </div>
172
+
173
+ <div id="method-M000004" class="method-detail">
174
+ <a name="M000004"></a>
175
+
176
+ <div class="method-heading">
177
+ <a href="W32Support.src/M000004.html" target="Code" class="method-signature"
178
+ onclick="popupCode('W32Support.src/M000004.html');return false;">
179
+ <span class="method-name">list</span><span class="method-args">()</span>
180
+ </a>
181
+ </div>
182
+
183
+ <div class="method-description">
184
+ <p>
185
+ Lists all of the services that have &quot;mongrel&quot; in the
186
+ binary_path_name of the service. This detects the mongrel services.
187
+ </p>
188
+ </div>
189
+ </div>
190
+
191
+ <div id="method-M000007" class="method-detail">
192
+ <a name="M000007"></a>
193
+
194
+ <div class="method-heading">
195
+ <a href="W32Support.src/M000007.html" target="Code" class="method-signature"
196
+ onclick="popupCode('W32Support.src/M000007.html');return false;">
197
+ <span class="method-name">start</span><span class="method-args">(service_name) {|status| ...}</span>
198
+ </a>
199
+ </div>
200
+
201
+ <div class="method-description">
202
+ <p>
203
+ Starts the requested service and calls a passed in block until the service
204
+ is done. You should sleep for a short period until it&#8217;s done or
205
+ there&#8217;s an exception.
206
+ </p>
207
+ </div>
208
+ </div>
209
+
210
+ <div id="method-M000009" class="method-detail">
211
+ <a name="M000009"></a>
212
+
213
+ <div class="method-heading">
214
+ <a href="W32Support.src/M000009.html" target="Code" class="method-signature"
215
+ onclick="popupCode('W32Support.src/M000009.html');return false;">
216
+ <span class="method-name">status</span><span class="method-args">(service_name)</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ <p>
222
+ Returns the current_state field of the service.
223
+ </p>
224
+ </div>
225
+ </div>
226
+
227
+ <div id="method-M000008" class="method-detail">
228
+ <a name="M000008"></a>
229
+
230
+ <div class="method-heading">
231
+ <a href="W32Support.src/M000008.html" target="Code" class="method-signature"
232
+ onclick="popupCode('W32Support.src/M000008.html');return false;">
233
+ <span class="method-name">stop</span><span class="method-args">(service_name) {|status| ...}</span>
234
+ </a>
235
+ </div>
236
+
237
+ <div class="method-description">
238
+ <p>
239
+ Stops the service. Just like <a
240
+ href="W32Support.html#M000007">W32Support.start</a> is will call a block
241
+ while it checks for the service to actually stop.
242
+ </p>
243
+ </div>
244
+ </div>
245
+
246
+
247
+ </div>
248
+
249
+
250
+ </div>
251
+
252
+
253
+ <div id="validator-badges">
254
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
255
+ </div>
256
+
257
+ </body>
258
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>list (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 11</span>
14
+ 11: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">list</span>
15
+ 12: <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">services</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">binary_path_name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/mongrel/</span> }
16
+ 13: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>display (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 16</span>
14
+ 16: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">display</span>(<span class="ruby-identifier">name</span>)
15
+ 17: <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">getdisplayname</span>(<span class="ruby-identifier">name</span>)
16
+ 18: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>do_and_wait (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 24</span>
14
+ 24: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">do_and_wait</span>(<span class="ruby-identifier">service_name</span>, <span class="ruby-identifier">operation</span>, <span class="ruby-identifier">wait_for</span>)
15
+ 25: <span class="ruby-identifier">status</span> = <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">service_name</span>)
16
+ 26: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">status</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">wait_for</span>
17
+ 27: <span class="ruby-comment cmt"># already running call the block once and leave</span>
18
+ 28: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span>
19
+ 29: <span class="ruby-keyword kw">else</span>
20
+ 30: <span class="ruby-comment cmt"># start trying to start it</span>
21
+ 31: <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">operation</span>, <span class="ruby-identifier">service_name</span>)
22
+ 32: <span class="ruby-identifier">status</span> = <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">service_name</span>)
23
+ 33: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">status</span> <span class="ruby-operator">!~</span> <span class="ruby-identifier">wait_for</span>
24
+ 34: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span>
25
+ 35: <span class="ruby-identifier">status</span> = <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">service_name</span>)
26
+ 36: <span class="ruby-keyword kw">end</span>
27
+ 37:
28
+ 38: <span class="ruby-comment cmt"># do one last yield so they know it started</span>
29
+ 39: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span>
30
+ 40: <span class="ruby-keyword kw">end</span>
31
+ 41: <span class="ruby-keyword kw">end</span></pre>
32
+ </body>
33
+ </html>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>start (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 46</span>
14
+ 46: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">start</span>(<span class="ruby-identifier">service_name</span>)
15
+ 47: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">do_and_wait</span>(<span class="ruby-identifier">service_name</span>, <span class="ruby-identifier">:start</span>, <span class="ruby-regexp re">/running/</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">status</span><span class="ruby-operator">|</span>
16
+ 48: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span>
17
+ 49: <span class="ruby-keyword kw">end</span>
18
+ 50: <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>stop (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 55</span>
14
+ 55: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">stop</span>(<span class="ruby-identifier">service_name</span>)
15
+ 56: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">do_and_wait</span>(<span class="ruby-identifier">service_name</span>, <span class="ruby-identifier">:stop</span>, <span class="ruby-regexp re">/stopped/</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">status</span><span class="ruby-operator">|</span>
16
+ 57: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span>
17
+ 58: <span class="ruby-keyword kw">end</span>
18
+ 59: <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>status (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 63</span>
14
+ 63: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">service_name</span>)
15
+ 64: <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">service_name</span>).<span class="ruby-identifier">current_state</span>
16
+ 65: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>delete (W32Support)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel_config/win32.rb, line 71</span>
14
+ 71: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">service_name</span>)
15
+ 72: <span class="ruby-keyword kw">begin</span>
16
+ 73: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">stop</span>(<span class="ruby-identifier">service_name</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">status</span><span class="ruby-operator">|</span>
17
+ 74: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">status</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
18
+ 75: <span class="ruby-keyword kw">end</span>
19
+ 76: <span class="ruby-keyword kw">rescue</span>
20
+ 77: <span class="ruby-keyword kw">end</span>
21
+ 78:
22
+ 79: <span class="ruby-keyword kw">begin</span>
23
+ 80: <span class="ruby-constant">Win32</span><span class="ruby-operator">::</span><span class="ruby-constant">Service</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">service_name</span>)
24
+ 81: <span class="ruby-keyword kw">rescue</span>
25
+ 82: <span class="ruby-keyword kw">end</span>
26
+ 83: <span class="ruby-keyword kw">end</span></pre>
27
+ </body>
28
+ </html>
@@ -0,0 +1 @@
1
+ Wed Mar 15 02:53:40 EST 2006