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,24 @@
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>layout (Configure::Views)</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/app.rb, line 65</span>
14
+ 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout</span>
15
+ 66: <span class="ruby-identifier">body_content</span> = <span class="ruby-keyword kw">yield</span>
16
+ 67: <span class="ruby-identifier">currently_running</span> = <span class="ruby-identifier">_running?</span>
17
+ 68: <span class="ruby-identifier">pid</span> = <span class="ruby-identifier">_pid</span>
18
+ 69: <span class="ruby-identifier">open</span>(<span class="ruby-constant">GemPlugin</span><span class="ruby-operator">::</span><span class="ruby-constant">Manager</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">resource</span>(<span class="ruby-value str">&quot;mongrel_config&quot;</span>, <span class="ruby-value str">&quot;/index.html&quot;</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
19
+ 70: <span class="ruby-identifier">template</span> = <span class="ruby-constant">ERB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>)
20
+ 71: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">template</span>.<span class="ruby-identifier">result</span>(<span class="ruby-identifier">binding</span>)
21
+ 72: <span class="ruby-keyword kw">end</span>
22
+ 73: <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -0,0 +1,25 @@
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>show (Configure::Views)</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/app.rb, line 75</span>
14
+ 75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span>
15
+ 76: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 77: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Status&quot;</span> }
17
+ 78: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
18
+ 79: <span class="ruby-identifier">p</span> { <span class="ruby-node">&quot;Currently running with PID #{_pid}.&quot;</span> }
19
+ 80: <span class="ruby-keyword kw">else</span>
20
+ 81: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Mongrel is not running.&quot;</span> }
21
+ 82: <span class="ruby-keyword kw">end</span>
22
+ 83: <span class="ruby-keyword kw">end</span>
23
+ 84: <span class="ruby-keyword kw">end</span></pre>
24
+ </body>
25
+ </html>
@@ -0,0 +1,26 @@
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 (Configure::Views)</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/app.rb, line 86</span>
14
+ 86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
15
+ 87: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 88: <span class="ruby-identifier">form</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/start&quot;</span>, <span class="ruby-identifier">:method</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;POST&quot;</span> <span class="ruby-keyword kw">do</span>
17
+ 89: <span class="ruby-identifier">p</span> { <span class="ruby-identifier">span</span> { <span class="ruby-value str">&quot;Port:&quot;</span> }; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;port&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;4000&quot;</span> }
18
+ 90: <span class="ruby-identifier">p</span> { <span class="ruby-identifier">span</span> { <span class="ruby-value str">&quot;Environment:&quot;</span> }; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;env&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;development&quot;</span> }
19
+ 91: <span class="ruby-identifier">p</span> { <span class="ruby-identifier">span</span> { <span class="ruby-value str">&quot;Address:&quot;</span> }; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;address&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;0.0.0.0&quot;</span> }
20
+ 92: <span class="ruby-identifier">p</span> { <span class="ruby-identifier">span</span> { <span class="ruby-value str">&quot;Number Processors:&quot;</span> }; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;num_procs&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;20&quot;</span> }
21
+ 93: <span class="ruby-identifier">input</span> <span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;submit&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;START&quot;</span>
22
+ 94: <span class="ruby-keyword kw">end</span>
23
+ 95: <span class="ruby-keyword kw">end</span>
24
+ 96: <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </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_done (Configure::Views)</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/app.rb, line 98</span>
14
+ 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_done</span>
15
+ 99: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 100: <span class="ruby-identifier">p</span> { <span class="ruby-ivar">@results</span> }
17
+ 101: <span class="ruby-keyword kw">end</span>
18
+ 102: <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,31 @@
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>kill (Configure::Views)</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/app.rb, line 104</span>
14
+ 104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">kill</span>
15
+ 105: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 106: <span class="ruby-identifier">p</span> { <span class="ruby-ivar">@results</span> }
17
+ 107:
18
+ 108: <span class="ruby-keyword kw">case</span> <span class="ruby-ivar">@signal</span>
19
+ 109: <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;HUP&quot;</span><span class="ruby-operator">:</span>
20
+ 110: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;A reload (HUP) does not stop the process, but may not be complete.&quot;</span> }
21
+ 111: <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;TERM&quot;</span><span class="ruby-operator">:</span>
22
+ 112: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Stopped with TERM signal. The process should exit shortly, but only after processing pending requests.&quot;</span> }
23
+ 113: <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;USR2&quot;</span><span class="ruby-operator">:</span>
24
+ 114: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Complete restart (USR2) may take a little while. Check status in a few seconds or read logs.&quot;</span> }
25
+ 115: <span class="ruby-keyword kw">when</span> <span class="ruby-value str">&quot;KILL&quot;</span><span class="ruby-operator">:</span>
26
+ 116: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Process was violently stopped (KILL) so pending requests will be lost.&quot;</span> }
27
+ 117: <span class="ruby-keyword kw">end</span>
28
+ 118: <span class="ruby-keyword kw">end</span>
29
+ 119: <span class="ruby-keyword kw">end</span></pre>
30
+ </body>
31
+ </html>
@@ -0,0 +1,27 @@
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 (Configure::Views)</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/app.rb, line 121</span>
14
+ 121: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
15
+ 122: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
16
+ 123: <span class="ruby-identifier">ul</span> <span class="ruby-keyword kw">do</span>
17
+ 124: <span class="ruby-identifier">li</span> { <span class="ruby-identifier">a</span> <span class="ruby-value str">&quot;Stop (TERM)&quot;</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/kill/term&quot;</span> }
18
+ 125: <span class="ruby-identifier">li</span> { <span class="ruby-identifier">a</span> <span class="ruby-value str">&quot;Reload (HUP)&quot;</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/kill/hup&quot;</span> }
19
+ 126: <span class="ruby-identifier">li</span> { <span class="ruby-identifier">a</span> <span class="ruby-value str">&quot;Restart (USR2)&quot;</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/kill/usr2&quot;</span> }
20
+ 127: <span class="ruby-identifier">li</span> { <span class="ruby-identifier">a</span> <span class="ruby-value str">&quot;Kill (KILL)&quot;</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/kill/kill&quot;</span> }
21
+ 128: <span class="ruby-keyword kw">end</span>
22
+ 129: <span class="ruby-keyword kw">else</span>
23
+ 130: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Mongrel does not appear to be running (no PID file at #$PID_FILE).&quot;</span> }
24
+ 131: <span class="ruby-keyword kw">end</span>
25
+ 132: <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,32 @@
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>logs (Configure::Views)</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/app.rb, line 134</span>
14
+ 134: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logs</span>
15
+ 135: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 136: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Logs&quot;</span> }
17
+ 137: <span class="ruby-identifier">table</span> <span class="ruby-keyword kw">do</span>
18
+ 138: <span class="ruby-identifier">tr</span> <span class="ruby-keyword kw">do</span>
19
+ 139: <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;File&quot;</span>}; <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Bytes&quot;</span> }; <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Last Modified&quot;</span> }
20
+ 140: <span class="ruby-keyword kw">end</span>
21
+ 141: <span class="ruby-ivar">@log_files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
22
+ 142: <span class="ruby-identifier">tr</span> <span class="ruby-keyword kw">do</span>
23
+ 143: <span class="ruby-identifier">td</span> { <span class="ruby-identifier">a</span> <span class="ruby-identifier">file</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;../#{file}&quot;</span> }
24
+ 144: <span class="ruby-identifier">td</span> { <span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span> <span class="ruby-identifier">file</span> }
25
+ 145: <span class="ruby-identifier">td</span> { <span class="ruby-constant">File</span>.<span class="ruby-identifier">mtime</span> <span class="ruby-identifier">file</span> }
26
+ 146: <span class="ruby-keyword kw">end</span>
27
+ 147: <span class="ruby-keyword kw">end</span>
28
+ 148: <span class="ruby-keyword kw">end</span>
29
+ 149: <span class="ruby-keyword kw">end</span>
30
+ 150: <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </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>_running? (Configure::Views)</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/app.rb, line 152</span>
14
+ 152: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_running?</span>
15
+ 153: <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">$PID_FILE</span>
16
+ 154: <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>_pid (Configure::Views)</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/app.rb, line 156</span>
14
+ 156: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_pid</span>
15
+ 157: <span class="ruby-identifier">open</span>(<span class="ruby-identifier">$PID_FILE</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span> } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
16
+ 158: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,29 @@
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>layout (Configure::Views)</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_app.rb, line 130</span>
14
+ 130: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">layout</span>
15
+ 131: <span class="ruby-identifier">links</span> = [
16
+ 132: [<span class="ruby-value str">&quot;/config&quot;</span>, <span class="ruby-value str">&quot;Status&quot;</span>],
17
+ 133: [<span class="ruby-value str">&quot;/config/install&quot;</span>, <span class="ruby-value str">&quot;Install&quot;</span>],
18
+ 134: [<span class="ruby-value str">&quot;/config/logs&quot;</span>, <span class="ruby-value str">&quot;Logs&quot;</span>]
19
+ 135: ]
20
+ 136: <span class="ruby-identifier">body_content</span> = <span class="ruby-keyword kw">yield</span>
21
+ 137: <span class="ruby-identifier">currently_running</span> = <span class="ruby-identifier">_running_procs</span>
22
+ 138:
23
+ 139: <span class="ruby-identifier">open</span>(<span class="ruby-constant">GemPlugin</span><span class="ruby-operator">::</span><span class="ruby-constant">Manager</span>.<span class="ruby-identifier">instance</span>.<span class="ruby-identifier">resource</span>(<span class="ruby-value str">&quot;mongrel_config&quot;</span>, <span class="ruby-value str">&quot;/index_win32.html&quot;</span>)) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
24
+ 140: <span class="ruby-identifier">template</span> = <span class="ruby-constant">ERB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>)
25
+ 141: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">template</span>.<span class="ruby-identifier">result</span>(<span class="ruby-identifier">binding</span>)
26
+ 142: <span class="ruby-keyword kw">end</span>
27
+ 143: <span class="ruby-keyword kw">end</span></pre>
28
+ </body>
29
+ </html>
@@ -0,0 +1,42 @@
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 (Configure::Views)</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_app.rb, line 146</span>
14
+ 146: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list</span>
15
+ 147: <span class="ruby-identifier">div</span> <span class="ruby-identifier">:id=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;viewport&quot;</span> <span class="ruby-keyword kw">do</span>
16
+ 148: <span class="ruby-identifier">table</span> <span class="ruby-keyword kw">do</span>
17
+ 149: <span class="ruby-identifier">tr</span> { <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Service&quot;</span>}; <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Status&quot;</span>}; <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Control&quot;</span> }; <span class="ruby-identifier">th</span> { <span class="ruby-value str">&quot;Delete&quot;</span> } }
18
+ 150: <span class="ruby-ivar">@services</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span>
19
+ 151: <span class="ruby-identifier">status</span> = <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">status</span>(<span class="ruby-identifier">s</span>.<span class="ruby-identifier">service_name</span>)
20
+ 152: <span class="ruby-identifier">tr</span> {
21
+ 153: <span class="ruby-identifier">td</span> { <span class="ruby-identifier">a</span>(<span class="ruby-identifier">s</span>.<span class="ruby-identifier">service_name</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;/info/#{s.service_name}&quot;</span>) }
22
+ 154: <span class="ruby-identifier">td</span> { <span class="ruby-identifier">status</span>.<span class="ruby-identifier">capitalize</span> }
23
+ 155: <span class="ruby-identifier">td</span> {
24
+ 156: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">status</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/stopped/</span>
25
+ 157: <span class="ruby-identifier">a</span>(<span class="ruby-value str">&quot;start&quot;</span>,<span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;/start/#{s.service_name}&quot;</span>)
26
+ 158: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">status</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/running/</span>
27
+ 159: <span class="ruby-identifier">a</span>(<span class="ruby-value str">&quot;stop&quot;</span>,<span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;/stop/#{s.service_name}&quot;</span>)
28
+ 160: <span class="ruby-keyword kw">else</span>
29
+ 161: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;in progress&quot;</span> }
30
+ 162: <span class="ruby-keyword kw">end</span>
31
+ 163: }
32
+ 164: <span class="ruby-identifier">td</span> {
33
+ 165: <span class="ruby-identifier">a</span>(<span class="ruby-value str">&quot;delete!&quot;</span>,<span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;/delete/#{s.service_name}&quot;</span>,
34
+ 166: <span class="ruby-identifier">:onclick=</span><span class="ruby-operator">&gt;</span><span class="ruby-node">&quot;return confirm('Delete #{s.service_name}?') == '1'&quot;</span>)
35
+ 167: }
36
+ 168: }
37
+ 169: <span class="ruby-keyword kw">end</span>
38
+ 170: <span class="ruby-keyword kw">end</span>
39
+ 171: <span class="ruby-keyword kw">end</span>
40
+ 172: <span class="ruby-keyword kw">end</span></pre>
41
+ </body>
42
+ </html>
@@ -0,0 +1,34 @@
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>info (Configure::Views)</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_app.rb, line 175</span>
14
+ 175: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">info</span>
15
+ 176: <span class="ruby-identifier">div</span> <span class="ruby-identifier">:id=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;viewport&quot;</span> <span class="ruby-keyword kw">do</span>
16
+ 177: <span class="ruby-ivar">@services</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span>
17
+ 178:
18
+ 179: <span class="ruby-identifier">h2</span> { <span class="ruby-node">&quot;#{s.service_name} service information&quot;</span> }
19
+ 180: <span class="ruby-identifier">table</span> <span class="ruby-keyword kw">do</span>
20
+ 181: <span class="ruby-identifier">tr</span> { <span class="ruby-identifier">th</span> {<span class="ruby-value str">&quot;Attribute&quot;</span>}; <span class="ruby-identifier">th</span> {<span class="ruby-value str">&quot;Value&quot;</span>} }
21
+ 182:
22
+ 183: <span class="ruby-identifier">s</span>.<span class="ruby-identifier">each_pair</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">memb</span>,<span class="ruby-identifier">obj</span><span class="ruby-operator">|</span>
23
+ 184: <span class="ruby-identifier">name</span> = <span class="ruby-identifier">memb</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">tr</span>(<span class="ruby-value str">&quot;_&quot;</span>,<span class="ruby-value str">&quot; &quot;</span>).<span class="ruby-identifier">capitalize</span>
24
+ 185: <span class="ruby-identifier">tr</span> {
25
+ 186: <span class="ruby-identifier">td</span> { <span class="ruby-identifier">b</span> { <span class="ruby-node">&quot;#{name}: &quot;</span> } }
26
+ 187: <span class="ruby-identifier">td</span> { <span class="ruby-identifier">obj</span>.<span class="ruby-identifier">inspect</span> }
27
+ 188: }
28
+ 189: <span class="ruby-keyword kw">end</span>
29
+ 190: <span class="ruby-keyword kw">end</span>
30
+ 191: <span class="ruby-keyword kw">end</span>
31
+ 192: <span class="ruby-keyword kw">end</span>
32
+ 193: <span class="ruby-keyword kw">end</span></pre>
33
+ </body>
34
+ </html>
@@ -0,0 +1,25 @@
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>service_logs (Configure::Views)</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_app.rb, line 195</span>
14
+ 195: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">service_logs</span>
15
+ 196: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Latest Service Activity Logs&quot;</span> }
16
+ 197: <span class="ruby-identifier">a</span>(<span class="ruby-value str">&quot;[clear logs]&quot;</span>, <span class="ruby-identifier">:href</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/clear_logs&quot;</span>)
17
+ 198:
18
+ 199: <span class="ruby-identifier">div</span> <span class="ruby-identifier">:id=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;viewport&quot;</span> <span class="ruby-keyword kw">do</span>
19
+ 200: <span class="ruby-identifier">pre</span> <span class="ruby-identifier">:style=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;font-size: 10pt;&quot;</span> <span class="ruby-keyword kw">do</span>
20
+ 201: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$service_logs</span>
21
+ 202: <span class="ruby-keyword kw">end</span>
22
+ 203: <span class="ruby-keyword kw">end</span>
23
+ 204: <span class="ruby-keyword kw">end</span></pre>
24
+ </body>
25
+ </html>
@@ -0,0 +1,35 @@
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>install_form (Configure::Views)</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_app.rb, line 206</span>
14
+ 206: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_form</span>
15
+ 207: <span class="ruby-identifier">div</span> <span class="ruby-keyword kw">do</span>
16
+ 208: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Install New Mongrel Service&quot;</span> }
17
+ 209: <span class="ruby-identifier">p</span> { <span class="ruby-value str">&quot;Items with an * are mandatory. Leave an item blank to not specify it.&quot;</span> }
18
+ 210: <span class="ruby-identifier">form</span> <span class="ruby-identifier">:action=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;/install&quot;</span>, <span class="ruby-identifier">:method=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;POST&quot;</span> <span class="ruby-keyword kw">do</span>
19
+ 211: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;* Service Name: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;service_name&quot;</span>; <span class="ruby-identifier">br</span>
20
+ 212: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;* Root: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;root&quot;</span>; <span class="ruby-identifier">br</span>
21
+ 213: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;* Environment: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;environment&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;development&quot;</span>; <span class="ruby-identifier">br</span>
22
+ 214: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;*Address: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;address&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;0.0.0.0&quot;</span>; <span class="ruby-identifier">br</span>
23
+ 215: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;*Port: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;port&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;4000&quot;</span>, <span class="ruby-identifier">:size</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">6</span>; <span class="ruby-identifier">br</span>
24
+ 216: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;Display Name: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;display_name&quot;</span>; <span class="ruby-identifier">br</span>
25
+ 217: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;MIME Map File: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;mime&quot;</span>; <span class="ruby-identifier">br</span>
26
+ 218: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;Number Processor Threads: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;num_procs&quot;</span>, <span class="ruby-identifier">:size</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">3</span>; <span class="ruby-identifier">br</span>
27
+ 219: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;Request Timeout: &quot;</span>}; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;timeout&quot;</span>, <span class="ruby-identifier">:size</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">3</span>; <span class="ruby-identifier">br</span>
28
+ 220: <span class="ruby-identifier">b</span> { <span class="ruby-value str">&quot;Assigned CPU: &quot;</span> }; <span class="ruby-identifier">input</span> <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;cpu&quot;</span>, <span class="ruby-identifier">:size</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">2</span>; <span class="ruby-identifier">br</span>
29
+ 221:
30
+ 222: <span class="ruby-identifier">p</span> { <span class="ruby-identifier">input</span> <span class="ruby-identifier">:type=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;submit&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;INSTALL&quot;</span> }
31
+ 223: <span class="ruby-keyword kw">end</span>
32
+ 224: <span class="ruby-keyword kw">end</span>
33
+ 225: <span class="ruby-keyword kw">end</span></pre>
34
+ </body>
35
+ </html>
@@ -0,0 +1,23 @@
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>install_result (Configure::Views)</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_app.rb, line 228</span>
14
+ 228: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install_result</span>
15
+ 229: <span class="ruby-identifier">div</span> <span class="ruby-identifier">:id=</span><span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;viewport&quot;</span> <span class="ruby-keyword kw">do</span>
16
+ 230: <span class="ruby-identifier">h2</span> { <span class="ruby-value str">&quot;Install Results&quot;</span>}
17
+ 231: <span class="ruby-identifier">pre</span> <span class="ruby-keyword kw">do</span>
18
+ 232: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-ivar">@result</span>
19
+ 233: <span class="ruby-keyword kw">end</span>
20
+ 234: <span class="ruby-keyword kw">end</span>
21
+ 235: <span class="ruby-keyword kw">end</span></pre>
22
+ </body>
23
+ </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>_running_procs (Configure::Views)</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_app.rb, line 237</span>
14
+ 237: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_running_procs</span>
15
+ 238: <span class="ruby-identifier">running</span> = []
16
+ 239: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">list</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">running</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">service_name</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">current_state</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/running/</span>}
17
+ 240: <span class="ruby-identifier">running</span>
18
+ 241: <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,112 @@
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: Configure</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">Configure</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_app_rb.html">
59
+ lib/mongrel_config/win32_app.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
+
76
+
77
+ </div>
78
+
79
+
80
+ </div>
81
+
82
+
83
+ <!-- if includes -->
84
+
85
+ <div id="section">
86
+
87
+ <div id="class-list">
88
+ <h3 class="section-bar">Classes and Modules</h3>
89
+
90
+ Module <a href="Configure/Controllers.html" class="link">Configure::Controllers</a><br />
91
+ Module <a href="Configure/Views.html" class="link">Configure::Views</a><br />
92
+
93
+ </div>
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ <!-- if method_list -->
102
+
103
+
104
+ </div>
105
+
106
+
107
+ <div id="validator-badges">
108
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
109
+ </div>
110
+
111
+ </body>
112
+ </html>