mongrel_config 0.2.1 → 0.3

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.
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,137 @@
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>Class: Configure::Controllers::Kill</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>Class</strong></td>
53
+ <td class="class-name-in-header">Configure::Controllers::Kill</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mongrel_config/app_rb.html">
59
+ lib/mongrel_config/app.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ R'/kill/(\w+)'
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000029">get</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+ <div id="methods">
109
+ <h3 class="section-bar">Public Instance methods</h3>
110
+
111
+ <div id="method-M000029" class="method-detail">
112
+ <a name="M000029"></a>
113
+
114
+ <div class="method-heading">
115
+ <a href="Kill.src/M000029.html" target="Code" class="method-signature"
116
+ onclick="popupCode('Kill.src/M000029.html');return false;">
117
+ <span class="method-name">get</span><span class="method-args">(signal)</span>
118
+ </a>
119
+ </div>
120
+
121
+ <div class="method-description">
122
+ </div>
123
+ </div>
124
+
125
+
126
+ </div>
127
+
128
+
129
+ </div>
130
+
131
+
132
+ <div id="validator-badges">
133
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
134
+ </div>
135
+
136
+ </body>
137
+ </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>get (Configure::Controllers::Kill)</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 28</span>
14
+ 28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">signal</span>)
15
+ 29: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">_running?</span>
16
+ 30: <span class="ruby-ivar">@signal</span> = <span class="ruby-identifier">signal</span>.<span class="ruby-identifier">upcase</span>
17
+ 31: <span class="ruby-identifier">pid</span> = <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> }
18
+ 32: <span class="ruby-keyword kw">begin</span>
19
+ 33: <span class="ruby-constant">Process</span>.<span class="ruby-identifier">kill</span>(<span class="ruby-ivar">@signal</span>, <span class="ruby-identifier">pid</span>.<span class="ruby-identifier">to_i</span>)
20
+ 34: <span class="ruby-ivar">@results</span> = <span class="ruby-node">&quot;Mongrel sent PID #{pid} signal #{@signal}.&quot;</span>
21
+ 35: <span class="ruby-keyword kw">rescue</span>
22
+ 36: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;ERROR: #$!&quot;</span>
23
+ 37: <span class="ruby-ivar">@results</span> = <span class="ruby-value str">&quot;Failed to signal the Mongrel process. Maybe it is not running?&lt;p&gt;#$!&lt;/p&gt;&quot;</span>
24
+ 38: <span class="ruby-keyword kw">end</span>
25
+ 39: <span class="ruby-keyword kw">else</span>
26
+ 40: <span class="ruby-ivar">@results</span> = <span class="ruby-node">&quot;Mongrel does not seem to be running. Maybe delete the pid file #{$PID_FILE} or start again.&quot;</span>
27
+ 41: <span class="ruby-keyword kw">end</span>
28
+ 42:
29
+ 43: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:kill</span>
30
+ 44: <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,162 @@
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>Class: Configure::Controllers::Logs</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>Class</strong></td>
53
+ <td class="class-name-in-header">Configure::Controllers::Logs</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mongrel_config/app_rb.html">
59
+ lib/mongrel_config/app.rb
60
+ </a>
61
+ <br />
62
+ <a href="../../../files/lib/mongrel_config/win32_app_rb.html">
63
+ lib/mongrel_config/win32_app.rb
64
+ </a>
65
+ <br />
66
+ </td>
67
+ </tr>
68
+
69
+ <tr class="top-aligned-row">
70
+ <td><strong>Parent:</strong></td>
71
+ <td>
72
+ R'/logs'
73
+ </td>
74
+ </tr>
75
+ </table>
76
+ </div>
77
+ <!-- banner header -->
78
+
79
+ <div id="bodyContent">
80
+
81
+
82
+
83
+ <div id="contextContent">
84
+
85
+ <div id="description">
86
+ <p>
87
+ eventually this will also let you see a particular service&#8217;s logs
88
+ </p>
89
+
90
+ </div>
91
+
92
+
93
+ </div>
94
+
95
+ <div id="method-list">
96
+ <h3 class="section-bar">Methods</h3>
97
+
98
+ <div class="name-list">
99
+ <a href="#M000037">get</a>&nbsp;&nbsp;
100
+ <a href="#M000038">get</a>&nbsp;&nbsp;
101
+ </div>
102
+ </div>
103
+
104
+ </div>
105
+
106
+
107
+ <!-- if includes -->
108
+
109
+ <div id="section">
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <!-- if method_list -->
119
+ <div id="methods">
120
+ <h3 class="section-bar">Public Instance methods</h3>
121
+
122
+ <div id="method-M000037" class="method-detail">
123
+ <a name="M000037"></a>
124
+
125
+ <div class="method-heading">
126
+ <a href="Logs.src/M000037.html" target="Code" class="method-signature"
127
+ onclick="popupCode('Logs.src/M000037.html');return false;">
128
+ <span class="method-name">get</span><span class="method-args">()</span>
129
+ </a>
130
+ </div>
131
+
132
+ <div class="method-description">
133
+ </div>
134
+ </div>
135
+
136
+ <div id="method-M000038" class="method-detail">
137
+ <a name="M000038"></a>
138
+
139
+ <div class="method-heading">
140
+ <a href="Logs.src/M000038.html" target="Code" class="method-signature"
141
+ onclick="popupCode('Logs.src/M000038.html');return false;">
142
+ <span class="method-name">get</span><span class="method-args">()</span>
143
+ </a>
144
+ </div>
145
+
146
+ <div class="method-description">
147
+ </div>
148
+ </div>
149
+
150
+
151
+ </div>
152
+
153
+
154
+ </div>
155
+
156
+
157
+ <div id="validator-badges">
158
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
159
+ </div>
160
+
161
+ </body>
162
+ </html>
@@ -0,0 +1,19 @@
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>get (Configure::Controllers::Logs)</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 55</span>
14
+ 55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>
15
+ 56: <span class="ruby-ivar">@log_files</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-value str">&quot;log/**/*&quot;</span>)
16
+ 57: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:logs</span>
17
+ 58: <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </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>get (Configure::Controllers::Logs)</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 61</span>
14
+ 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>
15
+ 62: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:service_logs</span>
16
+ 63: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,171 @@
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>Class: Configure::Controllers::Start</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>Class</strong></td>
53
+ <td class="class-name-in-header">Configure::Controllers::Start</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mongrel_config/app_rb.html">
59
+ lib/mongrel_config/app.rb
60
+ </a>
61
+ <br />
62
+ <a href="../../../files/lib/mongrel_config/win32_app_rb.html">
63
+ lib/mongrel_config/win32_app.rb
64
+ </a>
65
+ <br />
66
+ </td>
67
+ </tr>
68
+
69
+ <tr class="top-aligned-row">
70
+ <td><strong>Parent:</strong></td>
71
+ <td>
72
+ R'/start'
73
+ </td>
74
+ </tr>
75
+ </table>
76
+ </div>
77
+ <!-- banner header -->
78
+
79
+ <div id="bodyContent">
80
+
81
+
82
+
83
+ <div id="contextContent">
84
+
85
+
86
+
87
+ </div>
88
+
89
+ <div id="method-list">
90
+ <h3 class="section-bar">Methods</h3>
91
+
92
+ <div class="name-list">
93
+ <a href="#M000032">get</a>&nbsp;&nbsp;
94
+ <a href="#M000034">get</a>&nbsp;&nbsp;
95
+ <a href="#M000033">post</a>&nbsp;&nbsp;
96
+ </div>
97
+ </div>
98
+
99
+ </div>
100
+
101
+
102
+ <!-- if includes -->
103
+
104
+ <div id="section">
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <!-- if method_list -->
114
+ <div id="methods">
115
+ <h3 class="section-bar">Public Instance methods</h3>
116
+
117
+ <div id="method-M000032" class="method-detail">
118
+ <a name="M000032"></a>
119
+
120
+ <div class="method-heading">
121
+ <a href="Start.src/M000032.html" target="Code" class="method-signature"
122
+ onclick="popupCode('Start.src/M000032.html');return false;">
123
+ <span class="method-name">get</span><span class="method-args">()</span>
124
+ </a>
125
+ </div>
126
+
127
+ <div class="method-description">
128
+ </div>
129
+ </div>
130
+
131
+ <div id="method-M000034" class="method-detail">
132
+ <a name="M000034"></a>
133
+
134
+ <div class="method-heading">
135
+ <a href="Start.src/M000034.html" target="Code" class="method-signature"
136
+ onclick="popupCode('Start.src/M000034.html');return false;">
137
+ <span class="method-name">get</span><span class="method-args">(service)</span>
138
+ </a>
139
+ </div>
140
+
141
+ <div class="method-description">
142
+ </div>
143
+ </div>
144
+
145
+ <div id="method-M000033" class="method-detail">
146
+ <a name="M000033"></a>
147
+
148
+ <div class="method-heading">
149
+ <a href="Start.src/M000033.html" target="Code" class="method-signature"
150
+ onclick="popupCode('Start.src/M000033.html');return false;">
151
+ <span class="method-name">post</span><span class="method-args">()</span>
152
+ </a>
153
+ </div>
154
+
155
+ <div class="method-description">
156
+ </div>
157
+ </div>
158
+
159
+
160
+ </div>
161
+
162
+
163
+ </div>
164
+
165
+
166
+ <div id="validator-badges">
167
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
168
+ </div>
169
+
170
+ </body>
171
+ </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>get (Configure::Controllers::Start)</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 16</span>
14
+ 16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>
15
+ 17: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:start</span>
16
+ 18: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,19 @@
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>post (Configure::Controllers::Start)</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 20</span>
14
+ 20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span>
15
+ 21: <span class="ruby-ivar">@results</span> = <span class="ruby-node">`mongrel_rails start -d -p #{input.port} -e #{input.env} -n #{input.num_procs} -a #{input.address}`</span>
16
+ 22: <span class="ruby-identifier">render</span> <span class="ruby-identifier">:start_done</span>
17
+ 23: <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </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>get (Configure::Controllers::Start)</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 31</span>
14
+ 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">service</span>)
15
+ 32: <span class="ruby-identifier">runner</span> = <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
16
+ 33: <span class="ruby-constant">W32Support</span>.<span class="ruby-identifier">start</span>(<span class="ruby-identifier">service</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
+ 34: <span class="ruby-identifier">$service_logs</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;Starting #{service}: #{status}\n&quot;</span>
18
+ 35: <span class="ruby-identifier">sleep</span> <span class="ruby-value">1</span>
19
+ 36: <span class="ruby-keyword kw">end</span>
20
+ 37: <span class="ruby-keyword kw">end</span>
21
+ 38:
22
+ 39: <span class="ruby-identifier">$service_group</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">runner</span>)
23
+ 40:
24
+ 41: <span class="ruby-identifier">redirect</span> <span class="ruby-constant">Index</span>
25
+ 42: <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>