mongrel 0.3.13.3 → 0.3.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. data/Rakefile +5 -4
  2. data/bin/mongrel_rails +162 -169
  3. data/doc/rdoc/classes/IO.src/M000001.html +5 -5
  4. data/doc/rdoc/classes/IO.src/M000002.html +5 -5
  5. data/doc/rdoc/classes/Kernel.html +10 -10
  6. data/doc/rdoc/classes/Kernel.src/M000010.html +19 -0
  7. data/doc/rdoc/classes/Kernel.src/M000011.html +23 -0
  8. data/doc/rdoc/classes/Mongrel.html +27 -10
  9. data/doc/rdoc/classes/Mongrel/CGIWrapper.html +67 -54
  10. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000101.html → M000112.html} +11 -10
  11. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000102.html → M000113.html} +31 -31
  12. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000103.html → M000114.html} +20 -20
  13. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000115.html +32 -0
  14. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000105.html → M000116.html} +11 -11
  15. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000106.html → M000117.html} +4 -4
  16. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000107.html → M000118.html} +4 -4
  17. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000108.html → M000119.html} +4 -4
  18. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000109.html → M000120.html} +5 -5
  19. data/doc/rdoc/classes/Mongrel/Camping.html +5 -5
  20. data/doc/rdoc/classes/Mongrel/Camping.src/{M000048.html → M000039.html} +0 -0
  21. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.html +10 -10
  22. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/{M000049.html → M000040.html} +0 -0
  23. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/{M000050.html → M000041.html} +0 -0
  24. data/doc/rdoc/classes/Mongrel/Command/Base.html +65 -65
  25. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000016.html +24 -0
  26. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000017.html +42 -0
  27. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000018.html +18 -0
  28. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000029.html → M000019.html} +0 -0
  29. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000030.html → M000020.html} +0 -0
  30. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000031.html → M000021.html} +0 -0
  31. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000032.html → M000022.html} +0 -0
  32. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000033.html → M000023.html} +0 -0
  33. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000034.html → M000024.html} +0 -0
  34. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000035.html → M000025.html} +0 -0
  35. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000026.html +11 -11
  36. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000027.html +11 -29
  37. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000028.html +5 -5
  38. data/doc/rdoc/classes/Mongrel/Command/Registry.html +15 -15
  39. data/doc/rdoc/classes/Mongrel/Command/Registry.src/{M000039.html → M000029.html} +0 -0
  40. data/doc/rdoc/classes/Mongrel/Command/Registry.src/{M000040.html → M000030.html} +10 -6
  41. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000031.html +58 -0
  42. data/doc/rdoc/classes/Mongrel/Configurator.html +115 -115
  43. data/doc/rdoc/classes/Mongrel/Configurator.src/M000091.html +27 -0
  44. data/doc/rdoc/classes/Mongrel/Configurator.src/M000092.html +31 -0
  45. data/doc/rdoc/classes/Mongrel/Configurator.src/M000093.html +21 -0
  46. data/doc/rdoc/classes/Mongrel/Configurator.src/M000094.html +20 -0
  47. data/doc/rdoc/classes/Mongrel/Configurator.src/M000095.html +23 -0
  48. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000115.html → M000096.html} +4 -4
  49. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000116.html → M000097.html} +24 -24
  50. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000117.html → M000098.html} +5 -5
  51. data/doc/rdoc/classes/Mongrel/Configurator.src/M000099.html +39 -0
  52. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000119.html → M000100.html} +19 -19
  53. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000120.html → M000101.html} +4 -4
  54. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000121.html → M000102.html} +10 -10
  55. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000122.html → M000103.html} +5 -5
  56. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000123.html → M000104.html} +4 -4
  57. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000124.html → M000105.html} +8 -8
  58. data/doc/rdoc/classes/Mongrel/Configurator.src/M000106.html +22 -0
  59. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000126.html → M000107.html} +4 -4
  60. data/doc/rdoc/classes/Mongrel/Configurator.src/M000108.html +34 -0
  61. data/doc/rdoc/classes/Mongrel/Configurator.src/M000109.html +18 -0
  62. data/doc/rdoc/classes/Mongrel/Configurator.src/M000110.html +23 -14
  63. data/doc/rdoc/classes/Mongrel/Configurator.src/M000111.html +5 -18
  64. data/doc/rdoc/classes/Mongrel/Const.html +11 -6
  65. data/doc/rdoc/classes/Mongrel/DeflateFilter.html +10 -10
  66. data/doc/rdoc/classes/Mongrel/DeflateFilter.src/{M000099.html → M000121.html} +5 -5
  67. data/doc/rdoc/classes/Mongrel/DeflateFilter.src/{M000100.html → M000122.html} +14 -14
  68. data/doc/rdoc/classes/Mongrel/DirHandler.html +31 -31
  69. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000058.html → M000049.html} +0 -0
  70. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000059.html → M000050.html} +0 -0
  71. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000060.html → M000051.html} +12 -16
  72. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000052.html +63 -0
  73. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000062.html → M000053.html} +25 -25
  74. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000063.html → M000054.html} +4 -4
  75. data/doc/rdoc/classes/Mongrel/Error404Handler.html +10 -10
  76. data/doc/rdoc/classes/Mongrel/Error404Handler.src/{M000131.html → M000123.html} +0 -0
  77. data/doc/rdoc/classes/Mongrel/Error404Handler.src/{M000132.html → M000124.html} +0 -0
  78. data/doc/rdoc/classes/Mongrel/HeaderOut.html +10 -10
  79. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000072.html → M000064.html} +4 -4
  80. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000073.html → M000065.html} +4 -4
  81. data/doc/rdoc/classes/Mongrel/HttpHandler.html +15 -15
  82. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000078.html → M000070.html} +0 -0
  83. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000079.html → M000071.html} +0 -0
  84. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000080.html → M000072.html} +0 -0
  85. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.html +20 -20
  86. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000022.html → M000012.html} +0 -0
  87. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000023.html → M000013.html} +0 -0
  88. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000024.html → M000014.html} +0 -0
  89. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000025.html → M000015.html} +0 -0
  90. data/doc/rdoc/classes/Mongrel/HttpParams.html +131 -0
  91. data/doc/rdoc/classes/Mongrel/HttpParser.html +35 -35
  92. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000051.html → M000042.html} +1 -1
  93. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000052.html → M000043.html} +1 -1
  94. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000053.html → M000044.html} +1 -1
  95. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000054.html → M000045.html} +3 -3
  96. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000055.html → M000046.html} +1 -1
  97. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000056.html → M000047.html} +1 -1
  98. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000057.html → M000048.html} +1 -1
  99. data/doc/rdoc/classes/Mongrel/HttpRequest.html +63 -24
  100. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000130.html +47 -0
  101. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000131.html +37 -0
  102. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000132.html +29 -0
  103. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000139.html → M000133.html} +6 -6
  104. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000140.html → M000134.html} +6 -6
  105. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000141.html → M000135.html} +18 -18
  106. data/doc/rdoc/classes/Mongrel/HttpResponse.html +66 -72
  107. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000073.html +25 -0
  108. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000074.html +20 -0
  109. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000075.html +26 -0
  110. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000076.html +22 -0
  111. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000085.html → M000077.html} +8 -8
  112. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000086.html → M000078.html} +8 -8
  113. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000079.html +31 -0
  114. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000088.html → M000080.html} +7 -7
  115. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000081.html +7 -12
  116. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000082.html +7 -7
  117. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000083.html +7 -12
  118. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000084.html +5 -9
  119. data/doc/rdoc/classes/Mongrel/HttpServer.html +58 -43
  120. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000064.html → M000055.html} +11 -11
  121. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000065.html → M000056.html} +76 -72
  122. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000066.html → M000057.html} +18 -17
  123. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000067.html → M000058.html} +7 -7
  124. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000059.html +22 -0
  125. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000060.html +62 -0
  126. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000069.html → M000061.html} +20 -20
  127. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000070.html → M000062.html} +4 -4
  128. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000071.html → M000063.html} +8 -8
  129. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.html +15 -15
  130. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000042.html → M000032.html} +23 -25
  131. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000043.html → M000033.html} +11 -11
  132. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000044.html → M000034.html} +12 -12
  133. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.html +30 -15
  134. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/{M000045.html → M000035.html} +9 -8
  135. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000036.html +54 -0
  136. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000037.html +21 -0
  137. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000038.html +25 -0
  138. data/doc/rdoc/classes/Mongrel/RedirectHandler.html +10 -10
  139. data/doc/rdoc/classes/Mongrel/RedirectHandler.src/{M000136.html → M000128.html} +8 -8
  140. data/doc/rdoc/classes/Mongrel/RedirectHandler.src/{M000137.html → M000129.html} +13 -13
  141. data/doc/rdoc/classes/Mongrel/StatisticsFilter.html +16 -16
  142. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/M000125.html +24 -0
  143. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/{M000134.html → M000126.html} +10 -10
  144. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/{M000135.html → M000127.html} +4 -4
  145. data/doc/rdoc/classes/{Stats.html → Mongrel/Stats.html} +44 -60
  146. data/doc/rdoc/classes/Mongrel/Stats.src/M000136.html +19 -0
  147. data/doc/rdoc/classes/Mongrel/Stats.src/M000137.html +23 -0
  148. data/doc/rdoc/classes/Mongrel/Stats.src/M000138.html +26 -0
  149. data/doc/rdoc/classes/Mongrel/Stats.src/M000139.html +18 -0
  150. data/doc/rdoc/classes/{Stats.src/M000009.html → Mongrel/Stats.src/M000140.html} +6 -6
  151. data/doc/rdoc/classes/Mongrel/Stats.src/M000141.html +18 -0
  152. data/doc/rdoc/classes/Mongrel/Stats.src/M000142.html +23 -0
  153. data/doc/rdoc/classes/Mongrel/Stats.src/M000143.html +20 -0
  154. data/doc/rdoc/classes/Mongrel/StatusHandler.html +20 -20
  155. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000074.html → M000066.html} +4 -4
  156. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000075.html → M000067.html} +10 -10
  157. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000076.html → M000068.html} +28 -28
  158. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000077.html → M000069.html} +6 -6
  159. data/doc/rdoc/classes/Mongrel/URIClassifier.html +30 -30
  160. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000093.html → M000085.html} +4 -4
  161. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000094.html → M000086.html} +4 -4
  162. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000095.html → M000087.html} +0 -0
  163. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000096.html → M000088.html} +1 -1
  164. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000097.html → M000089.html} +0 -0
  165. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000098.html → M000090.html} +1 -1
  166. data/doc/rdoc/classes/MongrelDbg.html +26 -26
  167. data/doc/rdoc/classes/MongrelDbg.src/M000005.html +24 -0
  168. data/doc/rdoc/classes/MongrelDbg.src/{M000016.html → M000006.html} +6 -6
  169. data/doc/rdoc/classes/MongrelDbg.src/{M000017.html → M000007.html} +8 -8
  170. data/doc/rdoc/classes/MongrelDbg.src/{M000018.html → M000008.html} +7 -7
  171. data/doc/rdoc/classes/MongrelDbg.src/{M000019.html → M000009.html} +4 -4
  172. data/doc/rdoc/classes/RequestLog/Access.html +5 -5
  173. data/doc/rdoc/classes/RequestLog/Access.src/{M000142.html → M000144.html} +5 -5
  174. data/doc/rdoc/classes/RequestLog/Files.html +5 -5
  175. data/doc/rdoc/classes/RequestLog/Files.src/{M000143.html → M000145.html} +5 -5
  176. data/doc/rdoc/classes/RequestLog/Objects.html +12 -6
  177. data/doc/rdoc/classes/RequestLog/Objects.src/M000147.html +51 -0
  178. data/doc/rdoc/classes/RequestLog/Params.html +5 -5
  179. data/doc/rdoc/classes/RequestLog/Params.src/{M000146.html → M000148.html} +5 -5
  180. data/doc/rdoc/classes/RequestLog/Threads.html +5 -5
  181. data/doc/rdoc/classes/RequestLog/Threads.src/{M000144.html → M000146.html} +20 -20
  182. data/doc/rdoc/classes/{ObjectTracker.html → Sync.html} +26 -45
  183. data/doc/rdoc/created.rid +1 -1
  184. data/doc/rdoc/files/COPYING.html +1 -1
  185. data/doc/rdoc/files/LICENSE.html +1 -1
  186. data/doc/rdoc/files/README.html +1 -1
  187. data/doc/rdoc/files/ext/http11/http11_c.html +1 -1
  188. data/doc/rdoc/files/lib/mongrel/camping_rb.html +1 -1
  189. data/doc/rdoc/files/lib/mongrel/cgi_rb.html +1 -1
  190. data/doc/rdoc/files/lib/mongrel/command_rb.html +1 -1
  191. data/doc/rdoc/files/lib/mongrel/configurator_rb.html +111 -0
  192. data/doc/rdoc/files/lib/mongrel/debug_rb.html +1 -1
  193. data/doc/rdoc/files/lib/mongrel/handlers_rb.html +1 -1
  194. data/doc/rdoc/files/lib/mongrel/init_rb.html +1 -1
  195. data/doc/rdoc/files/lib/mongrel/rails_rb.html +2 -1
  196. data/doc/rdoc/files/lib/mongrel/stats_rb.html +1 -1
  197. data/doc/rdoc/files/lib/mongrel/tcphack_rb.html +1 -1
  198. data/doc/rdoc/files/lib/mongrel_rb.html +2 -4
  199. data/doc/rdoc/fr_class_index.html +3 -2
  200. data/doc/rdoc/fr_file_index.html +1 -0
  201. data/doc/rdoc/fr_method_index.html +144 -142
  202. data/ext/http11/http11.c +69 -52
  203. data/ext/http11/http11_parser.c +366 -282
  204. data/ext/http11/http11_parser.h +2 -0
  205. data/ext/http11/http11_parser.rl +192 -0
  206. data/lib/mongrel.rb +127 -433
  207. data/lib/mongrel/cgi.rb +19 -6
  208. data/lib/mongrel/command.rb +15 -3
  209. data/lib/mongrel/configurator.rb +374 -0
  210. data/lib/mongrel/debug.rb +47 -56
  211. data/lib/mongrel/handlers.rb +16 -20
  212. data/lib/mongrel/rails.rb +36 -20
  213. data/lib/mongrel/stats.rb +60 -58
  214. data/test/test_conditional.rb +37 -30
  215. data/test/test_http11.rb +14 -14
  216. data/test/test_stats.rb +2 -2
  217. data/test/test_ws.rb +4 -2
  218. data/tools/rakehelp.rb +4 -4
  219. metadata +262 -260
  220. data/doc/rdoc/classes/Kernel.src/M000020.html +0 -19
  221. data/doc/rdoc/classes/Kernel.src/M000021.html +0 -23
  222. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000104.html +0 -27
  223. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000036.html +0 -24
  224. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000037.html +0 -24
  225. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000038.html +0 -18
  226. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000041.html +0 -50
  227. data/doc/rdoc/classes/Mongrel/Configurator.src/M000112.html +0 -20
  228. data/doc/rdoc/classes/Mongrel/Configurator.src/M000113.html +0 -20
  229. data/doc/rdoc/classes/Mongrel/Configurator.src/M000114.html +0 -23
  230. data/doc/rdoc/classes/Mongrel/Configurator.src/M000118.html +0 -30
  231. data/doc/rdoc/classes/Mongrel/Configurator.src/M000125.html +0 -25
  232. data/doc/rdoc/classes/Mongrel/Configurator.src/M000127.html +0 -35
  233. data/doc/rdoc/classes/Mongrel/Configurator.src/M000128.html +0 -18
  234. data/doc/rdoc/classes/Mongrel/Configurator.src/M000129.html +0 -33
  235. data/doc/rdoc/classes/Mongrel/Configurator.src/M000130.html +0 -18
  236. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000061.html +0 -63
  237. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000138.html +0 -56
  238. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000087.html +0 -31
  239. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000089.html +0 -20
  240. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000090.html +0 -20
  241. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000091.html +0 -20
  242. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000092.html +0 -18
  243. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000068.html +0 -50
  244. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000046.html +0 -51
  245. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000047.html +0 -23
  246. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/M000133.html +0 -24
  247. data/doc/rdoc/classes/MongrelDbg.src/M000015.html +0 -19
  248. data/doc/rdoc/classes/ObjectTracker.src/M000013.html +0 -27
  249. data/doc/rdoc/classes/ObjectTracker.src/M000014.html +0 -44
  250. data/doc/rdoc/classes/RequestLog/Objects.src/M000145.html +0 -19
  251. data/doc/rdoc/classes/Stats.src/M000005.html +0 -19
  252. data/doc/rdoc/classes/Stats.src/M000006.html +0 -23
  253. data/doc/rdoc/classes/Stats.src/M000007.html +0 -26
  254. data/doc/rdoc/classes/Stats.src/M000008.html +0 -18
  255. data/doc/rdoc/classes/Stats.src/M000010.html +0 -18
  256. data/doc/rdoc/classes/Stats.src/M000011.html +0 -23
  257. data/doc/rdoc/classes/Stats.src/M000012.html +0 -20
  258. data/lib/http11.so +0 -0
@@ -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>options (Mongrel::Command::Base)</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/command.rb, line 31</span>
14
+ 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">options</span>(<span class="ruby-identifier">opts</span>)
15
+ 32: <span class="ruby-comment cmt"># process the given options array</span>
16
+ 33: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">short</span>, <span class="ruby-identifier">long</span>, <span class="ruby-identifier">help</span>, <span class="ruby-identifier">variable</span>, <span class="ruby-identifier">default</span><span class="ruby-operator">|</span>
17
+ 34: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-identifier">variable</span>, <span class="ruby-identifier">default</span>)
18
+ 35: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on</span>(<span class="ruby-identifier">short</span>, <span class="ruby-identifier">long</span>, <span class="ruby-identifier">help</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span>
19
+ 36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-identifier">variable</span>, <span class="ruby-identifier">arg</span>)
20
+ 37: <span class="ruby-keyword kw">end</span>
21
+ 38: <span class="ruby-keyword kw">end</span>
22
+ 39: <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </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>new (Mongrel::Command::Base)</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/command.rb, line 43</span>
14
+ 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>={})
15
+ 44: <span class="ruby-identifier">argv</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:argv</span>] <span class="ruby-operator">||</span> []
16
+ 45: <span class="ruby-ivar">@opt</span> = <span class="ruby-constant">OptionParser</span>.<span class="ruby-identifier">new</span>
17
+ 46: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">banner</span> = <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">Command</span><span class="ruby-operator">::</span><span class="ruby-constant">BANNER</span>
18
+ 47: <span class="ruby-ivar">@valid</span> = <span class="ruby-keyword kw">true</span>
19
+ 48: <span class="ruby-comment cmt"># this is retarded, but it has to be done this way because -h and -v exit</span>
20
+ 49: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">false</span>
21
+ 50: <span class="ruby-ivar">@original_args</span> = <span class="ruby-identifier">argv</span>.<span class="ruby-identifier">dup</span>
22
+ 51:
23
+ 52: <span class="ruby-identifier">configure</span>
24
+ 53:
25
+ 54: <span class="ruby-comment cmt"># I need to add my own -h definition to prevent the -h by default from exiting.</span>
26
+ 55: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on_tail</span>(<span class="ruby-value str">&quot;-h&quot;</span>, <span class="ruby-value str">&quot;--help&quot;</span>, <span class="ruby-value str">&quot;Show this message&quot;</span>) <span class="ruby-keyword kw">do</span>
27
+ 56: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">true</span>
28
+ 57: <span class="ruby-identifier">puts</span> <span class="ruby-ivar">@opt</span>
29
+ 58: <span class="ruby-keyword kw">end</span>
30
+ 59:
31
+ 60: <span class="ruby-comment cmt"># I need to add my own -v definition to prevent the -v from exiting by default as well.</span>
32
+ 61: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on_tail</span>(<span class="ruby-value str">&quot;--version&quot;</span>, <span class="ruby-value str">&quot;Show version&quot;</span>) <span class="ruby-keyword kw">do</span>
33
+ 62: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">true</span>
34
+ 63: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">VERSION</span>
35
+ 64: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Version #{Mongrel::Const::MONGREL_VERSION}&quot;</span>
36
+ 65: <span class="ruby-keyword kw">end</span>
37
+ 66: <span class="ruby-keyword kw">end</span>
38
+ 67:
39
+ 68: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">parse!</span> <span class="ruby-identifier">argv</span>
40
+ 69: <span class="ruby-keyword kw">end</span></pre>
41
+ </body>
42
+ </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>configure (Mongrel::Command::Base)</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/command.rb, line 71</span>
14
+ 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span>
15
+ 72: <span class="ruby-identifier">options</span> []
16
+ 73: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -5,20 +5,20 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>options (Mongrel::Command::Base)</title>
8
+ <title>valid_user? (Mongrel::Command::Base)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 31</span>
14
- 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">options</span>(<span class="ruby-identifier">opts</span>)
15
- 32: <span class="ruby-comment cmt"># process the given options array</span>
16
- 33: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">short</span>, <span class="ruby-identifier">long</span>, <span class="ruby-identifier">help</span>, <span class="ruby-identifier">variable</span>, <span class="ruby-identifier">default</span><span class="ruby-operator">|</span>
17
- 34: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-identifier">variable</span>, <span class="ruby-identifier">default</span>)
18
- 35: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on</span>(<span class="ruby-identifier">short</span>, <span class="ruby-identifier">long</span>, <span class="ruby-identifier">help</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span>
19
- 36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-identifier">variable</span>, <span class="ruby-identifier">arg</span>)
20
- 37: <span class="ruby-keyword kw">end</span>
21
- 38: <span class="ruby-keyword kw">end</span>
22
- 39: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 117</span>
14
+ 117: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">valid_user?</span>(<span class="ruby-identifier">user</span>)
15
+ 118: <span class="ruby-identifier">valid?</span>(<span class="ruby-ivar">@group</span>, <span class="ruby-value str">&quot;You must also specify a group.&quot;</span>)
16
+ 119: <span class="ruby-keyword kw">begin</span>
17
+ 120: <span class="ruby-constant">Etc</span>.<span class="ruby-identifier">getpwnam</span>(<span class="ruby-identifier">user</span>)
18
+ 121: <span class="ruby-keyword kw">rescue</span>
19
+ 122: <span class="ruby-identifier">failure</span> <span class="ruby-node">&quot;User does not exist: #{user}&quot;</span>
20
+ 123: <span class="ruby-ivar">@valid</span> = <span class="ruby-keyword kw">false</span>
21
+ 124: <span class="ruby-keyword kw">end</span>
22
+ 125: <span class="ruby-keyword kw">end</span></pre>
23
23
  </body>
24
24
  </html>
@@ -5,38 +5,20 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>new (Mongrel::Command::Base)</title>
8
+ <title>valid_group? (Mongrel::Command::Base)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 43</span>
14
- 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>={})
15
- 44: <span class="ruby-identifier">argv</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:argv</span>] <span class="ruby-operator">||</span> []
16
- 45: <span class="ruby-ivar">@opt</span> = <span class="ruby-constant">OptionParser</span>.<span class="ruby-identifier">new</span>
17
- 46: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">banner</span> = <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">Command</span><span class="ruby-operator">::</span><span class="ruby-constant">BANNER</span>
18
- 47: <span class="ruby-ivar">@valid</span> = <span class="ruby-keyword kw">true</span>
19
- 48: <span class="ruby-comment cmt"># this is retarded, but it has to be done this way because -h and -v exit</span>
20
- 49: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">false</span>
21
- 50: <span class="ruby-ivar">@original_args</span> = <span class="ruby-identifier">argv</span>.<span class="ruby-identifier">dup</span>
22
- 51:
23
- 52: <span class="ruby-identifier">configure</span>
24
- 53:
25
- 54: <span class="ruby-comment cmt"># I need to add my own -h definition to prevent the -h by default from exiting.</span>
26
- 55: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on_tail</span>(<span class="ruby-value str">&quot;-h&quot;</span>, <span class="ruby-value str">&quot;--help&quot;</span>, <span class="ruby-value str">&quot;Show this message&quot;</span>) <span class="ruby-keyword kw">do</span>
27
- 56: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">true</span>
28
- 57: <span class="ruby-identifier">puts</span> <span class="ruby-ivar">@opt</span>
29
- 58: <span class="ruby-keyword kw">end</span>
30
- 59:
31
- 60: <span class="ruby-comment cmt"># I need to add my own -v definition to prevent the -v from exiting by default as well.</span>
32
- 61: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">on_tail</span>(<span class="ruby-value str">&quot;--version&quot;</span>, <span class="ruby-value str">&quot;Show version&quot;</span>) <span class="ruby-keyword kw">do</span>
33
- 62: <span class="ruby-ivar">@done_validating</span> = <span class="ruby-keyword kw">true</span>
34
- 63: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">VERSION</span>
35
- 64: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Version #{Mongrel::Const::MONGREL_VERSION}&quot;</span>
36
- 65: <span class="ruby-keyword kw">end</span>
37
- 66: <span class="ruby-keyword kw">end</span>
38
- 67:
39
- 68: <span class="ruby-ivar">@opt</span>.<span class="ruby-identifier">parse!</span> <span class="ruby-identifier">argv</span>
40
- 69: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 127</span>
14
+ 127: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">valid_group?</span>(<span class="ruby-identifier">group</span>)
15
+ 128: <span class="ruby-identifier">valid?</span>(<span class="ruby-ivar">@user</span>, <span class="ruby-value str">&quot;You must also specify a user.&quot;</span>)
16
+ 129: <span class="ruby-keyword kw">begin</span>
17
+ 130: <span class="ruby-constant">Etc</span>.<span class="ruby-identifier">getgrnam</span>(<span class="ruby-identifier">group</span>)
18
+ 131: <span class="ruby-keyword kw">rescue</span>
19
+ 132: <span class="ruby-identifier">failure</span> <span class="ruby-node">&quot;Group does not exist: #{group}&quot;</span>
20
+ 133: <span class="ruby-ivar">@valid</span> = <span class="ruby-keyword kw">false</span>
21
+ 134: <span class="ruby-keyword kw">end</span>
22
+ 135: <span class="ruby-keyword kw">end</span></pre>
41
23
  </body>
42
24
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>configure (Mongrel::Command::Base)</title>
8
+ <title>failure (Mongrel::Command::Base)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 71</span>
14
- 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span>
15
- 72: <span class="ruby-identifier">options</span> []
16
- 73: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/command.rb, line 138</span>
14
+ 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">failure</span>(<span class="ruby-identifier">message</span>)
15
+ 139: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;!!! #{message}&quot;</span>
16
+ 140: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -93,9 +93,9 @@ running them.
93
93
  <h3 class="section-bar">Methods</h3>
94
94
 
95
95
  <div class="name-list">
96
- <a href="#M000039">commands</a>&nbsp;&nbsp;
97
- <a href="#M000040">print_command_list</a>&nbsp;&nbsp;
98
- <a href="#M000041">run</a>&nbsp;&nbsp;
96
+ <a href="#M000029">commands</a>&nbsp;&nbsp;
97
+ <a href="#M000030">print_command_list</a>&nbsp;&nbsp;
98
+ <a href="#M000031">run</a>&nbsp;&nbsp;
99
99
  </div>
100
100
  </div>
101
101
 
@@ -124,12 +124,12 @@ running them.
124
124
  <div id="methods">
125
125
  <h3 class="section-bar">Public Instance methods</h3>
126
126
 
127
- <div id="method-M000039" class="method-detail">
128
- <a name="M000039"></a>
127
+ <div id="method-M000029" class="method-detail">
128
+ <a name="M000029"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="Registry.src/M000039.html" target="Code" class="method-signature"
132
- onclick="popupCode('Registry.src/M000039.html');return false;">
131
+ <a href="Registry.src/M000029.html" target="Code" class="method-signature"
132
+ onclick="popupCode('Registry.src/M000029.html');return false;">
133
133
  <span class="method-name">commands</span><span class="method-args">()</span>
134
134
  </a>
135
135
  </div>
@@ -142,12 +142,12 @@ href="../Command.html">Command</a> derivates list
142
142
  </div>
143
143
  </div>
144
144
 
145
- <div id="method-M000040" class="method-detail">
146
- <a name="M000040"></a>
145
+ <div id="method-M000030" class="method-detail">
146
+ <a name="M000030"></a>
147
147
 
148
148
  <div class="method-heading">
149
- <a href="Registry.src/M000040.html" target="Code" class="method-signature"
150
- onclick="popupCode('Registry.src/M000040.html');return false;">
149
+ <a href="Registry.src/M000030.html" target="Code" class="method-signature"
150
+ onclick="popupCode('Registry.src/M000030.html');return false;">
151
151
  <span class="method-name">print_command_list</span><span class="method-args">()</span>
152
152
  </a>
153
153
  </div>
@@ -159,12 +159,12 @@ Prints a list of available commands.
159
159
  </div>
160
160
  </div>
161
161
 
162
- <div id="method-M000041" class="method-detail">
163
- <a name="M000041"></a>
162
+ <div id="method-M000031" class="method-detail">
163
+ <a name="M000031"></a>
164
164
 
165
165
  <div class="method-heading">
166
- <a href="Registry.src/M000041.html" target="Code" class="method-signature"
167
- onclick="popupCode('Registry.src/M000041.html');return false;">
166
+ <a href="Registry.src/M000031.html" target="Code" class="method-signature"
167
+ onclick="popupCode('Registry.src/M000031.html');return false;">
168
168
  <span class="method-name">run</span><span class="method-args">(args)</span>
169
169
  </a>
170
170
  </div>
@@ -15,11 +15,15 @@
15
15
  157: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{Mongrel::Command::BANNER}\nAvailable commands are:\n\n&quot;</span>
16
16
  158:
17
17
  159: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">commands</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
18
- 160: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; - #{name[1 .. -1]}\n&quot;</span>
19
- 161: <span class="ruby-keyword kw">end</span>
20
- 162:
21
- 163: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;\nEach command takes -h as an option to get help.&quot;</span>
22
- 164:
23
- 165: <span class="ruby-keyword kw">end</span></pre>
18
+ 160: <span class="ruby-keyword kw">if</span> <span class="ruby-regexp re">/mongrel::/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">name</span>
19
+ 161: <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>[<span class="ruby-value">9</span> <span class="ruby-operator">..</span> <span class="ruby-value">-1</span>]
20
+ 162: <span class="ruby-keyword kw">end</span>
21
+ 163:
22
+ 164: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot; - #{name[1 .. -1]}\n&quot;</span>
23
+ 165: <span class="ruby-keyword kw">end</span>
24
+ 166:
25
+ 167: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;\nEach command takes -h as an option to get help.&quot;</span>
26
+ 168:
27
+ 169: <span class="ruby-keyword kw">end</span></pre>
24
28
  </body>
25
29
  </html>
@@ -0,0 +1,58 @@
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>run (Mongrel::Command::Registry)</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/command.rb, line 174</span>
14
+ 174: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-identifier">args</span>)
15
+ 175: <span class="ruby-comment cmt"># find the command</span>
16
+ 176: <span class="ruby-identifier">cmd_name</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">shift</span>
17
+ 177:
18
+ 178: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">cmd_name</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">cmd_name</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;?&quot;</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">cmd_name</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;help&quot;</span>
19
+ 179: <span class="ruby-identifier">print_command_list</span>
20
+ 180: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
21
+ 181: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">cmd_name</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;--version&quot;</span>
22
+ 182: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Mongrel Web Server #{Mongrel::Const::MONGREL_VERSION}&quot;</span>
23
+ 183: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
24
+ 184: <span class="ruby-keyword kw">end</span>
25
+ 185:
26
+ 186: <span class="ruby-keyword kw">begin</span>
27
+ 187: <span class="ruby-comment cmt"># quick hack so that existing commands will keep working but the Mongrel:: ones can be moved</span>
28
+ 188: <span class="ruby-keyword kw">if</span> [<span class="ruby-value str">&quot;start&quot;</span>, <span class="ruby-value str">&quot;stop&quot;</span>, <span class="ruby-value str">&quot;restart&quot;</span>].<span class="ruby-identifier">include?</span> <span class="ruby-identifier">cmd_name</span>
29
+ 189: <span class="ruby-identifier">cmd_name</span> = <span class="ruby-value str">&quot;mongrel::&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">cmd_name</span>
30
+ 190: <span class="ruby-keyword kw">end</span>
31
+ 191:
32
+ 192: <span class="ruby-identifier">command</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">create</span>(<span class="ruby-node">&quot;/commands/#{cmd_name}&quot;</span>, <span class="ruby-identifier">:argv</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">args</span>)
33
+ 193: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">OptionParser</span><span class="ruby-operator">::</span><span class="ruby-constant">InvalidOption</span>
34
+ 194: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#$! for command '#{cmd_name}'&quot;</span>
35
+ 195: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Try #{cmd_name} -h to get help.&quot;</span>
36
+ 196: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
37
+ 197: <span class="ruby-keyword kw">rescue</span>
38
+ 198: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;ERROR RUNNING '#{cmd_name}': #$!&quot;</span>
39
+ 199: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;Use help command to get help&quot;</span>
40
+ 200: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
41
+ 201: <span class="ruby-keyword kw">end</span>
42
+ 202:
43
+ 203: <span class="ruby-comment cmt"># Normally the command is NOT valid right after being created</span>
44
+ 204: <span class="ruby-comment cmt"># but sometimes (like with -h or -v) there's no further processing</span>
45
+ 205: <span class="ruby-comment cmt"># needed so the command is already valid so we can skip it.</span>
46
+ 206: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">command</span>.<span class="ruby-identifier">done_validating</span>
47
+ 207: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">command</span>.<span class="ruby-identifier">validate</span>
48
+ 208: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{cmd_name} reported an error. Use mongrel_rails #{cmd_name} -h to get help.&quot;</span>
49
+ 209: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
50
+ 210: <span class="ruby-keyword kw">else</span>
51
+ 211: <span class="ruby-identifier">command</span>.<span class="ruby-identifier">run</span>
52
+ 212: <span class="ruby-keyword kw">end</span>
53
+ 213: <span class="ruby-keyword kw">end</span>
54
+ 214:
55
+ 215: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
56
+ 216: <span class="ruby-keyword kw">end</span></pre>
57
+ </body>
58
+ </html>
@@ -55,8 +55,8 @@
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../files/lib/mongrel_rb.html">
59
- lib/mongrel.rb
58
+ <a href="../../files/lib/mongrel/configurator_rb.html">
59
+ lib/mongrel/configurator.rb
60
60
  </a>
61
61
  <br />
62
62
  </td>
@@ -106,7 +106,7 @@ just a hash of default parameters that all server or uri calls receive.
106
106
  </p>
107
107
  <p>
108
108
  When you are inside the block after <a
109
- href="Configurator.html#M000110">Mongrel::Configurator.new</a> you can
109
+ href="Configurator.html#M000091">Mongrel::Configurator.new</a> you can
110
110
  simply call functions that are part of <a
111
111
  href="Configurator.html">Configurator</a> (like server, uri, daemonize,
112
112
  etc) without having to refer to anything else. You can also call these
@@ -132,27 +132,27 @@ want. These are kept in a map config.listeners so you can get to them.
132
132
  <h3 class="section-bar">Methods</h3>
133
133
 
134
134
  <div class="name-list">
135
- <a href="#M000111">change_privilege</a>&nbsp;&nbsp;
136
- <a href="#M000114">cloaker</a>&nbsp;&nbsp;
137
- <a href="#M000113">cloaking_class</a>&nbsp;&nbsp;
138
- <a href="#M000118">daemonize</a>&nbsp;&nbsp;
139
- <a href="#M000127">debug</a>&nbsp;&nbsp;
140
- <a href="#M000126">join</a>&nbsp;&nbsp;
141
- <a href="#M000116">listener</a>&nbsp;&nbsp;
142
- <a href="#M000121">load_mime_map</a>&nbsp;&nbsp;
143
- <a href="#M000119">load_plugins</a>&nbsp;&nbsp;
144
- <a href="#M000120">load_yaml</a>&nbsp;&nbsp;
145
- <a href="#M000130">log</a>&nbsp;&nbsp;
146
- <a href="#M000110">new</a>&nbsp;&nbsp;
147
- <a href="#M000122">plugin</a>&nbsp;&nbsp;
148
- <a href="#M000123">redirect</a>&nbsp;&nbsp;
149
- <a href="#M000115">resolve_defaults</a>&nbsp;&nbsp;
150
- <a href="#M000124">run</a>&nbsp;&nbsp;
151
- <a href="#M000128">run_config</a>&nbsp;&nbsp;
152
- <a href="#M000129">setup_signals</a>&nbsp;&nbsp;
153
- <a href="#M000125">stop</a>&nbsp;&nbsp;
154
- <a href="#M000117">uri</a>&nbsp;&nbsp;
155
- <a href="#M000112">write_pid_file</a>&nbsp;&nbsp;
135
+ <a href="#M000092">change_privilege</a>&nbsp;&nbsp;
136
+ <a href="#M000095">cloaker</a>&nbsp;&nbsp;
137
+ <a href="#M000094">cloaking_class</a>&nbsp;&nbsp;
138
+ <a href="#M000099">daemonize</a>&nbsp;&nbsp;
139
+ <a href="#M000108">debug</a>&nbsp;&nbsp;
140
+ <a href="#M000107">join</a>&nbsp;&nbsp;
141
+ <a href="#M000097">listener</a>&nbsp;&nbsp;
142
+ <a href="#M000102">load_mime_map</a>&nbsp;&nbsp;
143
+ <a href="#M000100">load_plugins</a>&nbsp;&nbsp;
144
+ <a href="#M000101">load_yaml</a>&nbsp;&nbsp;
145
+ <a href="#M000111">log</a>&nbsp;&nbsp;
146
+ <a href="#M000091">new</a>&nbsp;&nbsp;
147
+ <a href="#M000103">plugin</a>&nbsp;&nbsp;
148
+ <a href="#M000104">redirect</a>&nbsp;&nbsp;
149
+ <a href="#M000096">resolve_defaults</a>&nbsp;&nbsp;
150
+ <a href="#M000105">run</a>&nbsp;&nbsp;
151
+ <a href="#M000109">run_config</a>&nbsp;&nbsp;
152
+ <a href="#M000110">setup_signals</a>&nbsp;&nbsp;
153
+ <a href="#M000106">stop</a>&nbsp;&nbsp;
154
+ <a href="#M000098">uri</a>&nbsp;&nbsp;
155
+ <a href="#M000093">write_pid_file</a>&nbsp;&nbsp;
156
156
  </div>
157
157
  </div>
158
158
 
@@ -197,12 +197,12 @@ want. These are kept in a map config.listeners so you can get to them.
197
197
  <div id="methods">
198
198
  <h3 class="section-bar">Public Class methods</h3>
199
199
 
200
- <div id="method-M000110" class="method-detail">
201
- <a name="M000110"></a>
200
+ <div id="method-M000091" class="method-detail">
201
+ <a name="M000091"></a>
202
202
 
203
203
  <div class="method-heading">
204
- <a href="Configurator.src/M000110.html" target="Code" class="method-signature"
205
- onclick="popupCode('Configurator.src/M000110.html');return false;">
204
+ <a href="Configurator.src/M000091.html" target="Code" class="method-signature"
205
+ onclick="popupCode('Configurator.src/M000091.html');return false;">
206
206
  <span class="method-name">new</span><span class="method-args">(defaults={}, &amp;blk)</span>
207
207
  </a>
208
208
  </div>
@@ -216,12 +216,12 @@ You pass in initial defaults and then a block to continue configuring.
216
216
 
217
217
  <h3 class="section-bar">Public Instance methods</h3>
218
218
 
219
- <div id="method-M000111" class="method-detail">
220
- <a name="M000111"></a>
219
+ <div id="method-M000092" class="method-detail">
220
+ <a name="M000092"></a>
221
221
 
222
222
  <div class="method-heading">
223
- <a href="Configurator.src/M000111.html" target="Code" class="method-signature"
224
- onclick="popupCode('Configurator.src/M000111.html');return false;">
223
+ <a href="Configurator.src/M000092.html" target="Code" class="method-signature"
224
+ onclick="popupCode('Configurator.src/M000092.html');return false;">
225
225
  <span class="method-name">change_privilege</span><span class="method-args">(user, group)</span>
226
226
  </a>
227
227
  </div>
@@ -233,12 +233,12 @@ Change privilege of the process to specified user and group.
233
233
  </div>
234
234
  </div>
235
235
 
236
- <div id="method-M000114" class="method-detail">
237
- <a name="M000114"></a>
236
+ <div id="method-M000095" class="method-detail">
237
+ <a name="M000095"></a>
238
238
 
239
239
  <div class="method-heading">
240
- <a href="Configurator.src/M000114.html" target="Code" class="method-signature"
241
- onclick="popupCode('Configurator.src/M000114.html');return false;">
240
+ <a href="Configurator.src/M000095.html" target="Code" class="method-signature"
241
+ onclick="popupCode('Configurator.src/M000095.html');return false;">
242
242
  <span class="method-name">cloaker</span><span class="method-args">(&amp;blk)</span>
243
243
  </a>
244
244
  </div>
@@ -250,12 +250,12 @@ Do not call this. You were warned.
250
250
  </div>
251
251
  </div>
252
252
 
253
- <div id="method-M000113" class="method-detail">
254
- <a name="M000113"></a>
253
+ <div id="method-M000094" class="method-detail">
254
+ <a name="M000094"></a>
255
255
 
256
256
  <div class="method-heading">
257
- <a href="Configurator.src/M000113.html" target="Code" class="method-signature"
258
- onclick="popupCode('Configurator.src/M000113.html');return false;">
257
+ <a href="Configurator.src/M000094.html" target="Code" class="method-signature"
258
+ onclick="popupCode('Configurator.src/M000094.html');return false;">
259
259
  <span class="method-name">cloaking_class</span><span class="method-args">()</span>
260
260
  </a>
261
261
  </div>
@@ -267,12 +267,12 @@ generates a class for cloaking the current self and making the DSL nicer
267
267
  </div>
268
268
  </div>
269
269
 
270
- <div id="method-M000118" class="method-detail">
271
- <a name="M000118"></a>
270
+ <div id="method-M000099" class="method-detail">
271
+ <a name="M000099"></a>
272
272
 
273
273
  <div class="method-heading">
274
- <a href="Configurator.src/M000118.html" target="Code" class="method-signature"
275
- onclick="popupCode('Configurator.src/M000118.html');return false;">
274
+ <a href="Configurator.src/M000099.html" target="Code" class="method-signature"
275
+ onclick="popupCode('Configurator.src/M000099.html');return false;">
276
276
  <span class="method-name">daemonize</span><span class="method-args">(options={})</span>
277
277
  </a>
278
278
  </div>
@@ -305,12 +305,12 @@ gem/library if NOT win32.
305
305
  </div>
306
306
  </div>
307
307
 
308
- <div id="method-M000127" class="method-detail">
309
- <a name="M000127"></a>
308
+ <div id="method-M000108" class="method-detail">
309
+ <a name="M000108"></a>
310
310
 
311
311
  <div class="method-heading">
312
- <a href="Configurator.src/M000127.html" target="Code" class="method-signature"
313
- onclick="popupCode('Configurator.src/M000127.html');return false;">
312
+ <a href="Configurator.src/M000108.html" target="Code" class="method-signature"
313
+ onclick="popupCode('Configurator.src/M000108.html');return false;">
314
314
  <span class="method-name">debug</span><span class="method-args">(location, what = [:objects, :rails, :files, :threads, :params])</span>
315
315
  </a>
316
316
  </div>
@@ -340,12 +340,12 @@ NOTE: Use [:files] to get accesses dumped to stderr like with WEBrick.
340
340
  </div>
341
341
  </div>
342
342
 
343
- <div id="method-M000126" class="method-detail">
344
- <a name="M000126"></a>
343
+ <div id="method-M000107" class="method-detail">
344
+ <a name="M000107"></a>
345
345
 
346
346
  <div class="method-heading">
347
- <a href="Configurator.src/M000126.html" target="Code" class="method-signature"
348
- onclick="popupCode('Configurator.src/M000126.html');return false;">
347
+ <a href="Configurator.src/M000107.html" target="Code" class="method-signature"
348
+ onclick="popupCode('Configurator.src/M000107.html');return false;">
349
349
  <span class="method-name">join</span><span class="method-args">()</span>
350
350
  </a>
351
351
  </div>
@@ -359,12 +359,12 @@ In other words do it like: config.join.
359
359
  </div>
360
360
  </div>
361
361
 
362
- <div id="method-M000116" class="method-detail">
363
- <a name="M000116"></a>
362
+ <div id="method-M000097" class="method-detail">
363
+ <a name="M000097"></a>
364
364
 
365
365
  <div class="method-heading">
366
- <a href="Configurator.src/M000116.html" target="Code" class="method-signature"
367
- onclick="popupCode('Configurator.src/M000116.html');return false;">
366
+ <a href="Configurator.src/M000097.html" target="Code" class="method-signature"
367
+ onclick="popupCode('Configurator.src/M000097.html');return false;">
368
368
  <span class="method-name">listener</span><span class="method-args">(options={},&amp;blk)</span>
369
369
  </a>
370
370
  </div>
@@ -372,10 +372,10 @@ In other words do it like: config.join.
372
372
  <div class="method-description">
373
373
  <p>
374
374
  Starts a listener block. This is the only one that actually takes a block
375
- and then you make <a href="Configurator.html#M000117">Configurator.uri</a>
375
+ and then you make <a href="Configurator.html#M000098">Configurator.uri</a>
376
376
  calls in order to setup your URIs and handlers. If you write your Handlers
377
377
  as GemPlugins then you can use <a
378
- href="Configurator.html#M000119">load_plugins</a> and plugin to load them.
378
+ href="Configurator.html#M000100">load_plugins</a> and plugin to load them.
379
379
  </p>
380
380
  <p>
381
381
  It expects the following options (or defaults):
@@ -405,12 +405,12 @@ It expects the following options (or defaults):
405
405
  </div>
406
406
  </div>
407
407
 
408
- <div id="method-M000121" class="method-detail">
409
- <a name="M000121"></a>
408
+ <div id="method-M000102" class="method-detail">
409
+ <a name="M000102"></a>
410
410
 
411
411
  <div class="method-heading">
412
- <a href="Configurator.src/M000121.html" target="Code" class="method-signature"
413
- onclick="popupCode('Configurator.src/M000121.html');return false;">
412
+ <a href="Configurator.src/M000102.html" target="Code" class="method-signature"
413
+ onclick="popupCode('Configurator.src/M000102.html');return false;">
414
414
  <span class="method-name">load_mime_map</span><span class="method-args">(file, mime={})</span>
415
415
  </a>
416
416
  </div>
@@ -427,12 +427,12 @@ MIME types map is organized.
427
427
  </div>
428
428
  </div>
429
429
 
430
- <div id="method-M000119" class="method-detail">
431
- <a name="M000119"></a>
430
+ <div id="method-M000100" class="method-detail">
431
+ <a name="M000100"></a>
432
432
 
433
433
  <div class="method-heading">
434
- <a href="Configurator.src/M000119.html" target="Code" class="method-signature"
435
- onclick="popupCode('Configurator.src/M000119.html');return false;">
434
+ <a href="Configurator.src/M000100.html" target="Code" class="method-signature"
435
+ onclick="popupCode('Configurator.src/M000100.html');return false;">
436
436
  <span class="method-name">load_plugins</span><span class="method-args">(options={})</span>
437
437
  </a>
438
438
  </div>
@@ -447,12 +447,12 @@ determining the dependencies.
447
447
  </div>
448
448
  </div>
449
449
 
450
- <div id="method-M000120" class="method-detail">
451
- <a name="M000120"></a>
450
+ <div id="method-M000101" class="method-detail">
451
+ <a name="M000101"></a>
452
452
 
453
453
  <div class="method-heading">
454
- <a href="Configurator.src/M000120.html" target="Code" class="method-signature"
455
- onclick="popupCode('Configurator.src/M000120.html');return false;">
454
+ <a href="Configurator.src/M000101.html" target="Code" class="method-signature"
455
+ onclick="popupCode('Configurator.src/M000101.html');return false;">
456
456
  <span class="method-name">load_yaml</span><span class="method-args">(file, default={})</span>
457
457
  </a>
458
458
  </div>
@@ -464,12 +464,12 @@ Easy way to load a YAML file and apply default settings.
464
464
  </div>
465
465
  </div>
466
466
 
467
- <div id="method-M000130" class="method-detail">
468
- <a name="M000130"></a>
467
+ <div id="method-M000111" class="method-detail">
468
+ <a name="M000111"></a>
469
469
 
470
470
  <div class="method-heading">
471
- <a href="Configurator.src/M000130.html" target="Code" class="method-signature"
472
- onclick="popupCode('Configurator.src/M000130.html');return false;">
471
+ <a href="Configurator.src/M000111.html" target="Code" class="method-signature"
472
+ onclick="popupCode('Configurator.src/M000111.html');return false;">
473
473
  <span class="method-name">log</span><span class="method-args">(msg)</span>
474
474
  </a>
475
475
  </div>
@@ -481,12 +481,12 @@ Logs a simple message to STDERR (or the mongrel log if in daemon mode).
481
481
  </div>
482
482
  </div>
483
483
 
484
- <div id="method-M000122" class="method-detail">
485
- <a name="M000122"></a>
484
+ <div id="method-M000103" class="method-detail">
485
+ <a name="M000103"></a>
486
486
 
487
487
  <div class="method-heading">
488
- <a href="Configurator.src/M000122.html" target="Code" class="method-signature"
489
- onclick="popupCode('Configurator.src/M000122.html');return false;">
488
+ <a href="Configurator.src/M000103.html" target="Code" class="method-signature"
489
+ onclick="popupCode('Configurator.src/M000103.html');return false;">
490
490
  <span class="method-name">plugin</span><span class="method-args">(name, options={})</span>
491
491
  </a>
492
492
  </div>
@@ -500,12 +500,12 @@ to passing them in.
500
500
  </div>
501
501
  </div>
502
502
 
503
- <div id="method-M000123" class="method-detail">
504
- <a name="M000123"></a>
503
+ <div id="method-M000104" class="method-detail">
504
+ <a name="M000104"></a>
505
505
 
506
506
  <div class="method-heading">
507
- <a href="Configurator.src/M000123.html" target="Code" class="method-signature"
508
- onclick="popupCode('Configurator.src/M000123.html');return false;">
507
+ <a href="Configurator.src/M000104.html" target="Code" class="method-signature"
508
+ onclick="popupCode('Configurator.src/M000104.html');return false;">
509
509
  <span class="method-name">redirect</span><span class="method-args">(from, pattern, replacement = nil, &amp;block)</span>
510
510
  </a>
511
511
  </div>
@@ -524,12 +524,12 @@ the configurator like this:
524
524
  </div>
525
525
  </div>
526
526
 
527
- <div id="method-M000115" class="method-detail">
528
- <a name="M000115"></a>
527
+ <div id="method-M000096" class="method-detail">
528
+ <a name="M000096"></a>
529
529
 
530
530
  <div class="method-heading">
531
- <a href="Configurator.src/M000115.html" target="Code" class="method-signature"
532
- onclick="popupCode('Configurator.src/M000115.html');return false;">
531
+ <a href="Configurator.src/M000096.html" target="Code" class="method-signature"
532
+ onclick="popupCode('Configurator.src/M000096.html');return false;">
533
533
  <span class="method-name">resolve_defaults</span><span class="method-args">(options)</span>
534
534
  </a>
535
535
  </div>
@@ -542,12 +542,12 @@ used internally.
542
542
  </div>
543
543
  </div>
544
544
 
545
- <div id="method-M000124" class="method-detail">
546
- <a name="M000124"></a>
545
+ <div id="method-M000105" class="method-detail">
546
+ <a name="M000105"></a>
547
547
 
548
548
  <div class="method-heading">
549
- <a href="Configurator.src/M000124.html" target="Code" class="method-signature"
550
- onclick="popupCode('Configurator.src/M000124.html');return false;">
549
+ <a href="Configurator.src/M000105.html" target="Code" class="method-signature"
550
+ onclick="popupCode('Configurator.src/M000105.html');return false;">
551
551
  <span class="method-name">run</span><span class="method-args">()</span>
552
552
  </a>
553
553
  </div>
@@ -556,18 +556,18 @@ used internally.
556
556
  <p>
557
557
  Works like a meta run method which goes through all the configured
558
558
  listeners. Use the <a
559
- href="Configurator.html#M000126">Configurator.join</a> method to prevent
559
+ href="Configurator.html#M000107">Configurator.join</a> method to prevent
560
560
  Ruby from exiting until each one is done.
561
561
  </p>
562
562
  </div>
563
563
  </div>
564
564
 
565
- <div id="method-M000128" class="method-detail">
566
- <a name="M000128"></a>
565
+ <div id="method-M000109" class="method-detail">
566
+ <a name="M000109"></a>
567
567
 
568
568
  <div class="method-heading">
569
- <a href="Configurator.src/M000128.html" target="Code" class="method-signature"
570
- onclick="popupCode('Configurator.src/M000128.html');return false;">
569
+ <a href="Configurator.src/M000109.html" target="Code" class="method-signature"
570
+ onclick="popupCode('Configurator.src/M000109.html');return false;">
571
571
  <span class="method-name">run_config</span><span class="method-args">(script)</span>
572
572
  </a>
573
573
  </div>
@@ -583,12 +583,12 @@ href="Configurator.html">Configurator</a> statements.
583
583
  </div>
584
584
  </div>
585
585
 
586
- <div id="method-M000129" class="method-detail">
587
- <a name="M000129"></a>
586
+ <div id="method-M000110" class="method-detail">
587
+ <a name="M000110"></a>
588
588
 
589
589
  <div class="method-heading">
590
- <a href="Configurator.src/M000129.html" target="Code" class="method-signature"
591
- onclick="popupCode('Configurator.src/M000129.html');return false;">
590
+ <a href="Configurator.src/M000110.html" target="Code" class="method-signature"
591
+ onclick="popupCode('Configurator.src/M000110.html');return false;">
592
592
  <span class="method-name">setup_signals</span><span class="method-args">(options={})</span>
593
593
  </a>
594
594
  </div>
@@ -601,7 +601,7 @@ since this is typically framework specific.
601
601
  </p>
602
602
  <p>
603
603
  Requires a :pid_file option given to <a
604
- href="Configurator.html#M000110">Configurator.new</a> to indicate a file to
604
+ href="Configurator.html#M000091">Configurator.new</a> to indicate a file to
605
605
  delete. It sets the MongrelConfig.needs_restart attribute if the start
606
606
  command should reload. It&#8217;s up to you to detect this and do whatever
607
607
  is needed for a &quot;restart&quot;.
@@ -612,13 +612,13 @@ This command is safely ignored if the platform is win32 (with a warning)
612
612
  </div>
613
613
  </div>
614
614
 
615
- <div id="method-M000125" class="method-detail">
616
- <a name="M000125"></a>
615
+ <div id="method-M000106" class="method-detail">
616
+ <a name="M000106"></a>
617
617
 
618
618
  <div class="method-heading">
619
- <a href="Configurator.src/M000125.html" target="Code" class="method-signature"
620
- onclick="popupCode('Configurator.src/M000125.html');return false;">
621
- <span class="method-name">stop</span><span class="method-args">(needs_restart=false, unlink_pid_file=true)</span>
619
+ <a href="Configurator.src/M000106.html" target="Code" class="method-signature"
620
+ onclick="popupCode('Configurator.src/M000106.html');return false;">
621
+ <span class="method-name">stop</span><span class="method-args">(needs_restart=false)</span>
622
622
  </a>
623
623
  </div>
624
624
 
@@ -626,17 +626,17 @@ This command is safely ignored if the platform is win32 (with a warning)
626
626
  <p>
627
627
  Calls .stop on all the configured listeners so they stop processing
628
628
  requests (gracefully). By default it assumes that you don&#8217;t want to
629
- restart and that the pid file should be unlinked on exit.
629
+ restart.
630
630
  </p>
631
631
  </div>
632
632
  </div>
633
633
 
634
- <div id="method-M000117" class="method-detail">
635
- <a name="M000117"></a>
634
+ <div id="method-M000098" class="method-detail">
635
+ <a name="M000098"></a>
636
636
 
637
637
  <div class="method-heading">
638
- <a href="Configurator.src/M000117.html" target="Code" class="method-signature"
639
- onclick="popupCode('Configurator.src/M000117.html');return false;">
638
+ <a href="Configurator.src/M000098.html" target="Code" class="method-signature"
639
+ onclick="popupCode('Configurator.src/M000098.html');return false;">
640
640
  <span class="method-name">uri</span><span class="method-args">(location, options={})</span>
641
641
  </a>
642
642
  </div>
@@ -644,7 +644,7 @@ restart and that the pid file should be unlinked on exit.
644
644
  <div class="method-description">
645
645
  <p>
646
646
  Called inside a <a
647
- href="Configurator.html#M000116">Configurator.listener</a> block in order
647
+ href="Configurator.html#M000097">Configurator.listener</a> block in order
648
648
  to add URI-&gt;handler mappings for that listener. Use this as many times
649
649
  as you like. It expects the following options or defaults:
650
650
  </p>
@@ -661,12 +661,12 @@ handler.
661
661
  </div>
662
662
  </div>
663
663
 
664
- <div id="method-M000112" class="method-detail">
665
- <a name="M000112"></a>
664
+ <div id="method-M000093" class="method-detail">
665
+ <a name="M000093"></a>
666
666
 
667
667
  <div class="method-heading">
668
- <a href="Configurator.src/M000112.html" target="Code" class="method-signature"
669
- onclick="popupCode('Configurator.src/M000112.html');return false;">
668
+ <a href="Configurator.src/M000093.html" target="Code" class="method-signature"
669
+ onclick="popupCode('Configurator.src/M000093.html');return false;">
670
670
  <span class="method-name">write_pid_file</span><span class="method-args">()</span>
671
671
  </a>
672
672
  </div>