webmachine 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (907) hide show
  1. data/LICENSE +16 -0
  2. data/README.md +24 -0
  3. data/doc/Webmachine/Adapter.html +580 -0
  4. data/doc/Webmachine/Adapters.html +10 -9
  5. data/doc/Webmachine/Application.html +225 -72
  6. data/doc/Webmachine/CallableEncoder.html +23 -24
  7. data/doc/Webmachine/ChunkedBody.html +44 -29
  8. data/doc/Webmachine/Decision.html +8 -5
  9. data/doc/Webmachine/Dispatcher.html +103 -61
  10. data/doc/Webmachine/EnumerableEncoder.html +20 -25
  11. data/doc/Webmachine/Error.html +7 -6
  12. data/doc/Webmachine/FiberEncoder.html +16 -29
  13. data/doc/Webmachine/Headers.html +42 -30
  14. data/doc/Webmachine/InvalidResource.html +7 -13
  15. data/doc/Webmachine/MalformedRequest.html +8 -14
  16. data/doc/Webmachine/MediaType.html +153 -109
  17. data/doc/Webmachine/Request.html +844 -103
  18. data/doc/Webmachine/Resource.html +46 -48
  19. data/doc/Webmachine/Response.html +79 -50
  20. data/doc/Webmachine/StreamingEncoder.html +36 -23
  21. data/doc/Webmachine/Translation.html +21 -13
  22. data/doc/Webmachine.html +105 -82
  23. data/doc/_index.html +27 -34
  24. data/doc/class_list.html +1 -1
  25. data/doc/css/style.css +10 -10
  26. data/doc/file.README.html +113 -37
  27. data/doc/frames.html +1 -1
  28. data/doc/index.html +113 -37
  29. data/doc/js/app.js +4 -4
  30. data/doc/js/full_list.js +6 -0
  31. data/doc/method_list.html +269 -189
  32. data/lib/webmachine/adapters/mongrel.rb +5 -4
  33. data/lib/webmachine/decision/flow.rb +1 -1
  34. data/lib/webmachine/dispatcher.rb +1 -1
  35. data/lib/webmachine/request.rb +6 -3
  36. data/lib/webmachine/version.rb +1 -1
  37. data/spec/webmachine/adapters/mongrel_spec.rb +9 -0
  38. data/spec/webmachine/dispatcher_spec.rb +13 -0
  39. data/spec/webmachine/request_spec.rb +14 -9
  40. metadata +68 -992
  41. data/b/autospec +0 -16
  42. data/b/gpgen +0 -16
  43. data/b/guard +0 -16
  44. data/b/htmldiff +0 -16
  45. data/b/ldiff +0 -16
  46. data/b/mongrel_rails +0 -16
  47. data/b/rackup +0 -16
  48. data/b/rake +0 -16
  49. data/b/rake2thor +0 -16
  50. data/b/redcarpet +0 -16
  51. data/b/rspec +0 -16
  52. data/b/thor +0 -16
  53. data/b/yard +0 -16
  54. data/b/yardoc +0 -16
  55. data/b/yri +0 -16
  56. data/doc/Webmachine/Adapters/Mongrel/Handler.html +0 -348
  57. data/doc/Webmachine/Adapters/Mongrel.html +0 -212
  58. data/doc/Webmachine/Adapters/Rack.html +0 -316
  59. data/doc/Webmachine/Adapters/WEBrick/RequestBody.html +0 -363
  60. data/doc/Webmachine/Adapters/WEBrick/Server.html +0 -310
  61. data/doc/Webmachine/Adapters/WEBrick.html +0 -202
  62. data/doc/Webmachine/Configuration.html +0 -551
  63. data/doc/Webmachine/Decision/Conneg/MediaTypeList.html +0 -262
  64. data/doc/Webmachine/Decision/Conneg/PriorityList.html +0 -788
  65. data/doc/Webmachine/Decision/Conneg.html +0 -678
  66. data/doc/Webmachine/Decision/FSM.html +0 -648
  67. data/doc/Webmachine/Decision/Flow.html +0 -3989
  68. data/doc/Webmachine/Decision/Helpers.html +0 -733
  69. data/doc/Webmachine/Dispatcher/Route.html +0 -657
  70. data/doc/Webmachine/Resource/Authentication.html +0 -333
  71. data/doc/Webmachine/Resource/Callbacks.html +0 -3046
  72. data/doc/Webmachine/Resource/Encodings.html +0 -325
  73. data/doc/Webmachine/Trace/Call.html +0 -366
  74. data/doc/Webmachine/Trace/TraceResource.html +0 -627
  75. data/doc/Webmachine/Trace/Wrapper.html +0 -451
  76. data/doc/Webmachine/Trace.html +0 -108
  77. data/doc/top-level-namespace.html +0 -103
  78. data/lib/webmachine/adapter.rbc +0 -486
  79. data/lib/webmachine/adapters/mongrel.rbc +0 -2213
  80. data/lib/webmachine/adapters/rack.rbc +0 -1082
  81. data/lib/webmachine/adapters/webrick.rbc +0 -2217
  82. data/lib/webmachine/adapters.rbc +0 -223
  83. data/lib/webmachine/application.rbc +0 -1143
  84. data/lib/webmachine/chunked_body.rbc +0 -552
  85. data/lib/webmachine/configuration.rbc +0 -570
  86. data/lib/webmachine/decision/conneg.rbc +0 -4428
  87. data/lib/webmachine/decision/flow.rbc +0 -8688
  88. data/lib/webmachine/decision/fsm.rbc +0 -1540
  89. data/lib/webmachine/decision/helpers.rbc +0 -2287
  90. data/lib/webmachine/decision.rbc +0 -194
  91. data/lib/webmachine/dispatcher/route.rbc +0 -1616
  92. data/lib/webmachine/dispatcher.rbc +0 -955
  93. data/lib/webmachine/errors.rbc +0 -625
  94. data/lib/webmachine/fiber18.rbc +0 -1251
  95. data/lib/webmachine/headers.rbc +0 -919
  96. data/lib/webmachine/media_type.rbc +0 -1946
  97. data/lib/webmachine/request.rbc +0 -1949
  98. data/lib/webmachine/resource/authentication.rbc +0 -510
  99. data/lib/webmachine/resource/callbacks.rbc +0 -2602
  100. data/lib/webmachine/resource/encodings.rbc +0 -746
  101. data/lib/webmachine/resource.rbc +0 -511
  102. data/lib/webmachine/response.rbc +0 -602
  103. data/lib/webmachine/streaming.rbc +0 -1024
  104. data/lib/webmachine/translation.rbc +0 -393
  105. data/lib/webmachine/version.rbc +0 -161
  106. data/lib/webmachine.rbc +0 -389
  107. data/pkg/public/map.png +0 -0
  108. data/pkg/public/trace.html.erb +0 -54
  109. data/pkg/public/wmtrace.css +0 -107
  110. data/pkg/public/wmtrace.js +0 -713
  111. data/pkg/tests.org +0 -80
  112. data/pkg/trace/trace_resource.rb +0 -83
  113. data/pkg/trace.rb +0 -40
  114. data/pkg/webmachine-0.1.0/Gemfile +0 -16
  115. data/pkg/webmachine-0.1.0/Guardfile +0 -11
  116. data/pkg/webmachine-0.1.0/README.md +0 -90
  117. data/pkg/webmachine-0.1.0/Rakefile +0 -31
  118. data/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  119. data/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  120. data/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  121. data/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  122. data/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  123. data/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  124. data/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  125. data/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  126. data/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  127. data/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  128. data/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  129. data/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  130. data/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  131. data/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  132. data/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  133. data/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  134. data/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  135. data/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  136. data/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  137. data/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  138. data/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  139. data/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  140. data/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  141. data/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  142. data/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  143. data/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  144. data/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  145. data/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  146. data/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  147. data/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  148. data/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  149. data/pkg/webmachine-0.1.0.gem +0 -0
  150. data/pkg/webmachine-0.2.0/Gemfile +0 -24
  151. data/pkg/webmachine-0.2.0/Guardfile +0 -11
  152. data/pkg/webmachine-0.2.0/README.md +0 -117
  153. data/pkg/webmachine-0.2.0/Rakefile +0 -31
  154. data/pkg/webmachine-0.2.0/examples/webrick.rb +0 -19
  155. data/pkg/webmachine-0.2.0/lib/webmachine/adapters/mongrel.rb +0 -84
  156. data/pkg/webmachine-0.2.0/lib/webmachine/adapters/webrick.rb +0 -85
  157. data/pkg/webmachine-0.2.0/lib/webmachine/adapters.rb +0 -9
  158. data/pkg/webmachine-0.2.0/lib/webmachine/configuration.rb +0 -30
  159. data/pkg/webmachine-0.2.0/lib/webmachine/decision/conneg.rb +0 -239
  160. data/pkg/webmachine-0.2.0/lib/webmachine/decision/flow.rb +0 -504
  161. data/pkg/webmachine-0.2.0/lib/webmachine/decision/fsm.rb +0 -71
  162. data/pkg/webmachine-0.2.0/lib/webmachine/decision/helpers.rb +0 -100
  163. data/pkg/webmachine-0.2.0/lib/webmachine/decision.rb +0 -12
  164. data/pkg/webmachine-0.2.0/lib/webmachine/dispatcher/route.rb +0 -85
  165. data/pkg/webmachine-0.2.0/lib/webmachine/dispatcher.rb +0 -40
  166. data/pkg/webmachine-0.2.0/lib/webmachine/errors.rb +0 -38
  167. data/pkg/webmachine-0.2.0/lib/webmachine/headers.rb +0 -40
  168. data/pkg/webmachine-0.2.0/lib/webmachine/locale/en.yml +0 -28
  169. data/pkg/webmachine-0.2.0/lib/webmachine/media_type.rb +0 -117
  170. data/pkg/webmachine-0.2.0/lib/webmachine/request.rb +0 -56
  171. data/pkg/webmachine-0.2.0/lib/webmachine/resource/callbacks.rb +0 -376
  172. data/pkg/webmachine-0.2.0/lib/webmachine/resource/encodings.rb +0 -36
  173. data/pkg/webmachine-0.2.0/lib/webmachine/resource.rb +0 -48
  174. data/pkg/webmachine-0.2.0/lib/webmachine/response.rb +0 -49
  175. data/pkg/webmachine-0.2.0/lib/webmachine/streaming.rb +0 -27
  176. data/pkg/webmachine-0.2.0/lib/webmachine/translation.rb +0 -11
  177. data/pkg/webmachine-0.2.0/lib/webmachine/version.rb +0 -4
  178. data/pkg/webmachine-0.2.0/lib/webmachine.rb +0 -21
  179. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  180. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  181. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/README.md +0 -90
  182. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  183. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  184. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  185. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  186. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  187. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  188. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  189. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  190. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  191. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  192. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  193. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  194. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  195. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  196. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  197. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  198. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  199. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  200. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  201. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  202. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  203. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  204. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  205. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  206. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  207. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  208. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  209. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  210. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  211. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  212. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  213. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  214. data/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0.gem +0 -0
  215. data/pkg/webmachine-0.2.0/spec/spec_helper.rb +0 -13
  216. data/pkg/webmachine-0.2.0/spec/tests.org +0 -57
  217. data/pkg/webmachine-0.2.0/spec/webmachine/configuration_spec.rb +0 -27
  218. data/pkg/webmachine-0.2.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  219. data/pkg/webmachine-0.2.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  220. data/pkg/webmachine-0.2.0/spec/webmachine/decision/helpers_spec.rb +0 -105
  221. data/pkg/webmachine-0.2.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  222. data/pkg/webmachine-0.2.0/spec/webmachine/dispatcher_spec.rb +0 -34
  223. data/pkg/webmachine-0.2.0/spec/webmachine/errors_spec.rb +0 -13
  224. data/pkg/webmachine-0.2.0/spec/webmachine/headers_spec.rb +0 -20
  225. data/pkg/webmachine-0.2.0/spec/webmachine/media_type_spec.rb +0 -78
  226. data/pkg/webmachine-0.2.0/spec/webmachine/request_spec.rb +0 -24
  227. data/pkg/webmachine-0.2.0/webmachine.gemspec +0 -47
  228. data/pkg/webmachine-0.2.0.gem +0 -0
  229. data/pkg/webmachine-0.3.0/Gemfile +0 -28
  230. data/pkg/webmachine-0.3.0/Guardfile +0 -11
  231. data/pkg/webmachine-0.3.0/README.md +0 -169
  232. data/pkg/webmachine-0.3.0/Rakefile +0 -41
  233. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Mongrel/Handler.html +0 -348
  234. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Mongrel.html +0 -212
  235. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Rack.html +0 -316
  236. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick/RequestBody.html +0 -363
  237. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick/Server.html +0 -310
  238. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick.html +0 -202
  239. data/pkg/webmachine-0.3.0/doc/Webmachine/Adapters.html +0 -120
  240. data/pkg/webmachine-0.3.0/doc/Webmachine/CallableEncoder.html +0 -326
  241. data/pkg/webmachine-0.3.0/doc/Webmachine/ChunkedBody.html +0 -350
  242. data/pkg/webmachine-0.3.0/doc/Webmachine/Configuration.html +0 -551
  243. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg/MediaTypeList.html +0 -262
  244. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg/PriorityList.html +0 -788
  245. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg.html +0 -678
  246. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/FSM.html +0 -648
  247. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Flow.html +0 -3989
  248. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Helpers.html +0 -733
  249. data/pkg/webmachine-0.3.0/doc/Webmachine/Decision.html +0 -121
  250. data/pkg/webmachine-0.3.0/doc/Webmachine/Dispatcher/Route.html +0 -657
  251. data/pkg/webmachine-0.3.0/doc/Webmachine/Dispatcher.html +0 -530
  252. data/pkg/webmachine-0.3.0/doc/Webmachine/EnumerableEncoder.html +0 -276
  253. data/pkg/webmachine-0.3.0/doc/Webmachine/Error.html +0 -129
  254. data/pkg/webmachine-0.3.0/doc/Webmachine/FiberEncoder.html +0 -250
  255. data/pkg/webmachine-0.3.0/doc/Webmachine/Headers.html +0 -475
  256. data/pkg/webmachine-0.3.0/doc/Webmachine/InvalidResource.html +0 -139
  257. data/pkg/webmachine-0.3.0/doc/Webmachine/MalformedRequest.html +0 -141
  258. data/pkg/webmachine-0.3.0/doc/Webmachine/MediaType.html +0 -1406
  259. data/pkg/webmachine-0.3.0/doc/Webmachine/Request.html +0 -1048
  260. data/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Authentication.html +0 -333
  261. data/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Callbacks.html +0 -3046
  262. data/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Encodings.html +0 -325
  263. data/pkg/webmachine-0.3.0/doc/Webmachine/Resource.html +0 -457
  264. data/pkg/webmachine-0.3.0/doc/Webmachine/Response.html +0 -880
  265. data/pkg/webmachine-0.3.0/doc/Webmachine/StreamingEncoder.html +0 -465
  266. data/pkg/webmachine-0.3.0/doc/Webmachine/Translation.html +0 -236
  267. data/pkg/webmachine-0.3.0/doc/Webmachine.html +0 -836
  268. data/pkg/webmachine-0.3.0/doc/_index.html +0 -478
  269. data/pkg/webmachine-0.3.0/doc/class_list.html +0 -47
  270. data/pkg/webmachine-0.3.0/doc/css/common.css +0 -1
  271. data/pkg/webmachine-0.3.0/doc/css/full_list.css +0 -55
  272. data/pkg/webmachine-0.3.0/doc/css/style.css +0 -322
  273. data/pkg/webmachine-0.3.0/doc/file.README.html +0 -240
  274. data/pkg/webmachine-0.3.0/doc/file_list.html +0 -49
  275. data/pkg/webmachine-0.3.0/doc/frames.html +0 -13
  276. data/pkg/webmachine-0.3.0/doc/index.html +0 -240
  277. data/pkg/webmachine-0.3.0/doc/js/app.js +0 -205
  278. data/pkg/webmachine-0.3.0/doc/js/full_list.js +0 -167
  279. data/pkg/webmachine-0.3.0/doc/js/jquery.js +0 -16
  280. data/pkg/webmachine-0.3.0/doc/method_list.html +0 -1910
  281. data/pkg/webmachine-0.3.0/doc/top-level-namespace.html +0 -103
  282. data/pkg/webmachine-0.3.0/examples/webrick.rb +0 -19
  283. data/pkg/webmachine-0.3.0/lib/webmachine/adapters/mongrel.rb +0 -80
  284. data/pkg/webmachine-0.3.0/lib/webmachine/adapters/rack.rb +0 -50
  285. data/pkg/webmachine-0.3.0/lib/webmachine/adapters/webrick.rb +0 -85
  286. data/pkg/webmachine-0.3.0/lib/webmachine/adapters.rb +0 -9
  287. data/pkg/webmachine-0.3.0/lib/webmachine/chunked_body.rb +0 -43
  288. data/pkg/webmachine-0.3.0/lib/webmachine/configuration.rb +0 -30
  289. data/pkg/webmachine-0.3.0/lib/webmachine/decision/conneg.rb +0 -240
  290. data/pkg/webmachine-0.3.0/lib/webmachine/decision/flow.rb +0 -506
  291. data/pkg/webmachine-0.3.0/lib/webmachine/decision/fsm.rb +0 -71
  292. data/pkg/webmachine-0.3.0/lib/webmachine/decision/helpers.rb +0 -104
  293. data/pkg/webmachine-0.3.0/lib/webmachine/decision.rb +0 -12
  294. data/pkg/webmachine-0.3.0/lib/webmachine/dispatcher/route.rb +0 -89
  295. data/pkg/webmachine-0.3.0/lib/webmachine/dispatcher.rb +0 -53
  296. data/pkg/webmachine-0.3.0/lib/webmachine/errors.rb +0 -38
  297. data/pkg/webmachine-0.3.0/lib/webmachine/fiber18.rb +0 -88
  298. data/pkg/webmachine-0.3.0/lib/webmachine/headers.rb +0 -40
  299. data/pkg/webmachine-0.3.0/lib/webmachine/locale/en.yml +0 -28
  300. data/pkg/webmachine-0.3.0/lib/webmachine/media_type.rb +0 -120
  301. data/pkg/webmachine-0.3.0/lib/webmachine/request.rb +0 -66
  302. data/pkg/webmachine-0.3.0/lib/webmachine/resource/authentication.rb +0 -35
  303. data/pkg/webmachine-0.3.0/lib/webmachine/resource/callbacks.rb +0 -376
  304. data/pkg/webmachine-0.3.0/lib/webmachine/resource/encodings.rb +0 -36
  305. data/pkg/webmachine-0.3.0/lib/webmachine/resource.rb +0 -49
  306. data/pkg/webmachine-0.3.0/lib/webmachine/response.rb +0 -50
  307. data/pkg/webmachine-0.3.0/lib/webmachine/streaming.rb +0 -63
  308. data/pkg/webmachine-0.3.0/lib/webmachine/translation.rb +0 -18
  309. data/pkg/webmachine-0.3.0/lib/webmachine/version.rb +0 -8
  310. data/pkg/webmachine-0.3.0/lib/webmachine.rb +0 -21
  311. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  312. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  313. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/README.md +0 -90
  314. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  315. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  316. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  317. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  318. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  319. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  320. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  321. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  322. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  323. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  324. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  325. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  326. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  327. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  328. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  329. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  330. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  331. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  332. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  333. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  334. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  335. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  336. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  337. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  338. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  339. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  340. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  341. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  342. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  343. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  344. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  345. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  346. data/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0.gem +0 -0
  347. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Gemfile +0 -24
  348. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Guardfile +0 -11
  349. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/README.md +0 -117
  350. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Rakefile +0 -31
  351. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/examples/webrick.rb +0 -19
  352. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/mongrel.rb +0 -84
  353. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/webrick.rb +0 -85
  354. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters.rb +0 -9
  355. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/configuration.rb +0 -30
  356. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/conneg.rb +0 -239
  357. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/flow.rb +0 -504
  358. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/fsm.rb +0 -71
  359. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/helpers.rb +0 -100
  360. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision.rb +0 -12
  361. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher/route.rb +0 -85
  362. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher.rb +0 -40
  363. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/errors.rb +0 -38
  364. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/headers.rb +0 -40
  365. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/locale/en.yml +0 -28
  366. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/media_type.rb +0 -117
  367. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/request.rb +0 -56
  368. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource/callbacks.rb +0 -376
  369. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource/encodings.rb +0 -36
  370. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource.rb +0 -48
  371. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/response.rb +0 -49
  372. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/streaming.rb +0 -27
  373. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/translation.rb +0 -11
  374. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/version.rb +0 -4
  375. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine.rb +0 -21
  376. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  377. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  378. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/README.md +0 -90
  379. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  380. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  381. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  382. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  383. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  384. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  385. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  386. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  387. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  388. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  389. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  390. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  391. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  392. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  393. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  394. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  395. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  396. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  397. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  398. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  399. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  400. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  401. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  402. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  403. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  404. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  405. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  406. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  407. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  408. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  409. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  410. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  411. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0.gem +0 -0
  412. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/spec_helper.rb +0 -13
  413. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/tests.org +0 -57
  414. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/configuration_spec.rb +0 -27
  415. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  416. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  417. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/helpers_spec.rb +0 -105
  418. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  419. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher_spec.rb +0 -34
  420. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/errors_spec.rb +0 -13
  421. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/headers_spec.rb +0 -20
  422. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/media_type_spec.rb +0 -78
  423. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/request_spec.rb +0 -24
  424. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/webmachine.gemspec +0 -47
  425. data/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0.gem +0 -0
  426. data/pkg/webmachine-0.3.0/spec/spec_helper.rb +0 -13
  427. data/pkg/webmachine-0.3.0/spec/tests.org +0 -80
  428. data/pkg/webmachine-0.3.0/spec/webmachine/adapters/rack_spec.rb +0 -64
  429. data/pkg/webmachine-0.3.0/spec/webmachine/chunked_body_spec.rb +0 -30
  430. data/pkg/webmachine-0.3.0/spec/webmachine/configuration_spec.rb +0 -27
  431. data/pkg/webmachine-0.3.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  432. data/pkg/webmachine-0.3.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  433. data/pkg/webmachine-0.3.0/spec/webmachine/decision/helpers_spec.rb +0 -116
  434. data/pkg/webmachine-0.3.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  435. data/pkg/webmachine-0.3.0/spec/webmachine/dispatcher_spec.rb +0 -47
  436. data/pkg/webmachine-0.3.0/spec/webmachine/errors_spec.rb +0 -13
  437. data/pkg/webmachine-0.3.0/spec/webmachine/headers_spec.rb +0 -20
  438. data/pkg/webmachine-0.3.0/spec/webmachine/media_type_spec.rb +0 -78
  439. data/pkg/webmachine-0.3.0/spec/webmachine/request_spec.rb +0 -29
  440. data/pkg/webmachine-0.3.0/spec/webmachine/resource/authentication_spec.rb +0 -68
  441. data/pkg/webmachine-0.3.0/webmachine.gemspec +0 -50
  442. data/pkg/webmachine-0.3.0.gem +0 -0
  443. data/pkg/webmachine-0.4.0/Gemfile +0 -30
  444. data/pkg/webmachine-0.4.0/Guardfile +0 -11
  445. data/pkg/webmachine-0.4.0/README.md +0 -169
  446. data/pkg/webmachine-0.4.0/Rakefile +0 -41
  447. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/Mongrel/Handler.html +0 -348
  448. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/Mongrel.html +0 -212
  449. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/Rack.html +0 -316
  450. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/WEBrick/RequestBody.html +0 -363
  451. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/WEBrick/Server.html +0 -310
  452. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters/WEBrick.html +0 -202
  453. data/pkg/webmachine-0.4.0/doc/Webmachine/Adapters.html +0 -120
  454. data/pkg/webmachine-0.4.0/doc/Webmachine/Application.html +0 -755
  455. data/pkg/webmachine-0.4.0/doc/Webmachine/CallableEncoder.html +0 -326
  456. data/pkg/webmachine-0.4.0/doc/Webmachine/ChunkedBody.html +0 -350
  457. data/pkg/webmachine-0.4.0/doc/Webmachine/Configuration.html +0 -551
  458. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/Conneg/MediaTypeList.html +0 -262
  459. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/Conneg/PriorityList.html +0 -788
  460. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/Conneg.html +0 -678
  461. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/FSM.html +0 -648
  462. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/Flow.html +0 -3989
  463. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision/Helpers.html +0 -733
  464. data/pkg/webmachine-0.4.0/doc/Webmachine/Decision.html +0 -121
  465. data/pkg/webmachine-0.4.0/doc/Webmachine/Dispatcher/Route.html +0 -657
  466. data/pkg/webmachine-0.4.0/doc/Webmachine/Dispatcher.html +0 -530
  467. data/pkg/webmachine-0.4.0/doc/Webmachine/EnumerableEncoder.html +0 -276
  468. data/pkg/webmachine-0.4.0/doc/Webmachine/Error.html +0 -129
  469. data/pkg/webmachine-0.4.0/doc/Webmachine/FiberEncoder.html +0 -250
  470. data/pkg/webmachine-0.4.0/doc/Webmachine/Headers.html +0 -475
  471. data/pkg/webmachine-0.4.0/doc/Webmachine/InvalidResource.html +0 -139
  472. data/pkg/webmachine-0.4.0/doc/Webmachine/MalformedRequest.html +0 -141
  473. data/pkg/webmachine-0.4.0/doc/Webmachine/MediaType.html +0 -1406
  474. data/pkg/webmachine-0.4.0/doc/Webmachine/Request.html +0 -1048
  475. data/pkg/webmachine-0.4.0/doc/Webmachine/Resource/Authentication.html +0 -333
  476. data/pkg/webmachine-0.4.0/doc/Webmachine/Resource/Callbacks.html +0 -3046
  477. data/pkg/webmachine-0.4.0/doc/Webmachine/Resource/Encodings.html +0 -325
  478. data/pkg/webmachine-0.4.0/doc/Webmachine/Resource.html +0 -457
  479. data/pkg/webmachine-0.4.0/doc/Webmachine/Response.html +0 -880
  480. data/pkg/webmachine-0.4.0/doc/Webmachine/StreamingEncoder.html +0 -465
  481. data/pkg/webmachine-0.4.0/doc/Webmachine/Trace/Call.html +0 -366
  482. data/pkg/webmachine-0.4.0/doc/Webmachine/Trace/TraceResource.html +0 -627
  483. data/pkg/webmachine-0.4.0/doc/Webmachine/Trace/Wrapper.html +0 -451
  484. data/pkg/webmachine-0.4.0/doc/Webmachine/Trace.html +0 -108
  485. data/pkg/webmachine-0.4.0/doc/Webmachine/Translation.html +0 -236
  486. data/pkg/webmachine-0.4.0/doc/Webmachine.html +0 -836
  487. data/pkg/webmachine-0.4.0/doc/_index.html +0 -478
  488. data/pkg/webmachine-0.4.0/doc/class_list.html +0 -47
  489. data/pkg/webmachine-0.4.0/doc/css/common.css +0 -1
  490. data/pkg/webmachine-0.4.0/doc/css/full_list.css +0 -55
  491. data/pkg/webmachine-0.4.0/doc/css/style.css +0 -322
  492. data/pkg/webmachine-0.4.0/doc/file.README.html +0 -240
  493. data/pkg/webmachine-0.4.0/doc/file_list.html +0 -49
  494. data/pkg/webmachine-0.4.0/doc/frames.html +0 -13
  495. data/pkg/webmachine-0.4.0/doc/index.html +0 -240
  496. data/pkg/webmachine-0.4.0/doc/js/app.js +0 -205
  497. data/pkg/webmachine-0.4.0/doc/js/full_list.js +0 -167
  498. data/pkg/webmachine-0.4.0/doc/js/jquery.js +0 -16
  499. data/pkg/webmachine-0.4.0/doc/method_list.html +0 -1910
  500. data/pkg/webmachine-0.4.0/doc/top-level-namespace.html +0 -103
  501. data/pkg/webmachine-0.4.0/examples/application.rb +0 -35
  502. data/pkg/webmachine-0.4.0/examples/webrick.rb +0 -19
  503. data/pkg/webmachine-0.4.0/lib/webmachine/adapter.rb +0 -36
  504. data/pkg/webmachine-0.4.0/lib/webmachine/adapters/mongrel.rb +0 -86
  505. data/pkg/webmachine-0.4.0/lib/webmachine/adapters/rack.rb +0 -69
  506. data/pkg/webmachine-0.4.0/lib/webmachine/adapters/webrick.rb +0 -89
  507. data/pkg/webmachine-0.4.0/lib/webmachine/adapters.rb +0 -9
  508. data/pkg/webmachine-0.4.0/lib/webmachine/application.rb +0 -108
  509. data/pkg/webmachine-0.4.0/lib/webmachine/chunked_body.rb +0 -43
  510. data/pkg/webmachine-0.4.0/lib/webmachine/configuration.rb +0 -40
  511. data/pkg/webmachine-0.4.0/lib/webmachine/decision/conneg.rb +0 -239
  512. data/pkg/webmachine-0.4.0/lib/webmachine/decision/flow.rb +0 -503
  513. data/pkg/webmachine-0.4.0/lib/webmachine/decision/fsm.rb +0 -70
  514. data/pkg/webmachine-0.4.0/lib/webmachine/decision/helpers.rb +0 -104
  515. data/pkg/webmachine-0.4.0/lib/webmachine/decision.rb +0 -12
  516. data/pkg/webmachine-0.4.0/lib/webmachine/dispatcher/route.rb +0 -126
  517. data/pkg/webmachine-0.4.0/lib/webmachine/dispatcher.rb +0 -61
  518. data/pkg/webmachine-0.4.0/lib/webmachine/errors.rb +0 -38
  519. data/pkg/webmachine-0.4.0/lib/webmachine/fiber18.rb +0 -88
  520. data/pkg/webmachine-0.4.0/lib/webmachine/headers.rb +0 -40
  521. data/pkg/webmachine-0.4.0/lib/webmachine/locale/en.yml +0 -28
  522. data/pkg/webmachine-0.4.0/lib/webmachine/media_type.rb +0 -120
  523. data/pkg/webmachine-0.4.0/lib/webmachine/request.rb +0 -141
  524. data/pkg/webmachine-0.4.0/lib/webmachine/resource/authentication.rb +0 -36
  525. data/pkg/webmachine-0.4.0/lib/webmachine/resource/callbacks.rb +0 -377
  526. data/pkg/webmachine-0.4.0/lib/webmachine/resource/encodings.rb +0 -37
  527. data/pkg/webmachine-0.4.0/lib/webmachine/resource.rb +0 -50
  528. data/pkg/webmachine-0.4.0/lib/webmachine/response.rb +0 -51
  529. data/pkg/webmachine-0.4.0/lib/webmachine/streaming.rb +0 -63
  530. data/pkg/webmachine-0.4.0/lib/webmachine/translation.rb +0 -18
  531. data/pkg/webmachine-0.4.0/lib/webmachine/version.rb +0 -8
  532. data/pkg/webmachine-0.4.0/lib/webmachine/version.rbc +0 -161
  533. data/pkg/webmachine-0.4.0/lib/webmachine.rb +0 -22
  534. data/pkg/webmachine-0.4.0/pkg/public/map.png +0 -0
  535. data/pkg/webmachine-0.4.0/pkg/public/trace.html.erb +0 -54
  536. data/pkg/webmachine-0.4.0/pkg/public/wmtrace.css +0 -107
  537. data/pkg/webmachine-0.4.0/pkg/public/wmtrace.js +0 -713
  538. data/pkg/webmachine-0.4.0/pkg/tests.org +0 -80
  539. data/pkg/webmachine-0.4.0/pkg/trace/trace_resource.rb +0 -83
  540. data/pkg/webmachine-0.4.0/pkg/trace.rb +0 -40
  541. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  542. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  543. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/README.md +0 -90
  544. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  545. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  546. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  547. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  548. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  549. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  550. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  551. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  552. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  553. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  554. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  555. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  556. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  557. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  558. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  559. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  560. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  561. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  562. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  563. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  564. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  565. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  566. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  567. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  568. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  569. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  570. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  571. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  572. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  573. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  574. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  575. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  576. data/pkg/webmachine-0.4.0/pkg/webmachine-0.1.0.gem +0 -0
  577. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/Gemfile +0 -24
  578. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/Guardfile +0 -11
  579. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/README.md +0 -117
  580. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/Rakefile +0 -31
  581. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/examples/webrick.rb +0 -19
  582. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/mongrel.rb +0 -84
  583. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/webrick.rb +0 -85
  584. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/adapters.rb +0 -9
  585. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/configuration.rb +0 -30
  586. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/decision/conneg.rb +0 -239
  587. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/decision/flow.rb +0 -504
  588. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/decision/fsm.rb +0 -71
  589. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/decision/helpers.rb +0 -100
  590. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/decision.rb +0 -12
  591. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher/route.rb +0 -85
  592. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher.rb +0 -40
  593. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/errors.rb +0 -38
  594. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/headers.rb +0 -40
  595. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/locale/en.yml +0 -28
  596. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/media_type.rb +0 -117
  597. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/request.rb +0 -56
  598. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/resource/callbacks.rb +0 -376
  599. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/resource/encodings.rb +0 -36
  600. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/resource.rb +0 -48
  601. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/response.rb +0 -49
  602. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/streaming.rb +0 -27
  603. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/translation.rb +0 -11
  604. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine/version.rb +0 -4
  605. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/lib/webmachine.rb +0 -21
  606. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  607. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  608. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/README.md +0 -90
  609. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  610. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  611. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  612. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  613. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  614. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  615. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  616. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  617. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  618. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  619. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  620. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  621. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  622. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  623. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  624. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  625. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  626. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  627. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  628. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  629. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  630. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  631. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  632. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  633. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  634. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  635. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  636. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  637. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  638. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  639. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  640. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  641. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0.gem +0 -0
  642. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/spec_helper.rb +0 -13
  643. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/tests.org +0 -57
  644. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/configuration_spec.rb +0 -27
  645. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  646. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  647. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/decision/helpers_spec.rb +0 -105
  648. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  649. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher_spec.rb +0 -34
  650. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/errors_spec.rb +0 -13
  651. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/headers_spec.rb +0 -20
  652. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/media_type_spec.rb +0 -78
  653. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/spec/webmachine/request_spec.rb +0 -24
  654. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0/webmachine.gemspec +0 -47
  655. data/pkg/webmachine-0.4.0/pkg/webmachine-0.2.0.gem +0 -0
  656. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/Gemfile +0 -28
  657. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/Guardfile +0 -11
  658. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/README.md +0 -169
  659. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/Rakefile +0 -41
  660. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Mongrel/Handler.html +0 -348
  661. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Mongrel.html +0 -212
  662. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/Rack.html +0 -316
  663. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick/RequestBody.html +0 -363
  664. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick/Server.html +0 -310
  665. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters/WEBrick.html +0 -202
  666. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Adapters.html +0 -120
  667. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/CallableEncoder.html +0 -326
  668. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/ChunkedBody.html +0 -350
  669. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Configuration.html +0 -551
  670. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg/MediaTypeList.html +0 -262
  671. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg/PriorityList.html +0 -788
  672. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Conneg.html +0 -678
  673. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/FSM.html +0 -648
  674. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Flow.html +0 -3989
  675. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision/Helpers.html +0 -733
  676. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Decision.html +0 -121
  677. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Dispatcher/Route.html +0 -657
  678. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Dispatcher.html +0 -530
  679. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/EnumerableEncoder.html +0 -276
  680. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Error.html +0 -129
  681. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/FiberEncoder.html +0 -250
  682. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Headers.html +0 -475
  683. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/InvalidResource.html +0 -139
  684. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/MalformedRequest.html +0 -141
  685. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/MediaType.html +0 -1406
  686. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Request.html +0 -1048
  687. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Authentication.html +0 -333
  688. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Callbacks.html +0 -3046
  689. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Resource/Encodings.html +0 -325
  690. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Resource.html +0 -457
  691. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Response.html +0 -880
  692. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/StreamingEncoder.html +0 -465
  693. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine/Translation.html +0 -236
  694. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/Webmachine.html +0 -836
  695. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/_index.html +0 -478
  696. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/class_list.html +0 -47
  697. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/css/common.css +0 -1
  698. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/css/full_list.css +0 -55
  699. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/css/style.css +0 -322
  700. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/file.README.html +0 -240
  701. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/file_list.html +0 -49
  702. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/frames.html +0 -13
  703. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/index.html +0 -240
  704. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/js/app.js +0 -205
  705. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/js/full_list.js +0 -167
  706. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/js/jquery.js +0 -16
  707. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/method_list.html +0 -1910
  708. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/doc/top-level-namespace.html +0 -103
  709. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/examples/webrick.rb +0 -19
  710. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/adapters/mongrel.rb +0 -80
  711. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/adapters/rack.rb +0 -50
  712. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/adapters/webrick.rb +0 -85
  713. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/adapters.rb +0 -9
  714. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/chunked_body.rb +0 -43
  715. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/configuration.rb +0 -30
  716. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/decision/conneg.rb +0 -240
  717. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/decision/flow.rb +0 -506
  718. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/decision/fsm.rb +0 -71
  719. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/decision/helpers.rb +0 -104
  720. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/decision.rb +0 -12
  721. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/dispatcher/route.rb +0 -89
  722. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/dispatcher.rb +0 -53
  723. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/errors.rb +0 -38
  724. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/fiber18.rb +0 -88
  725. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/headers.rb +0 -40
  726. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/locale/en.yml +0 -28
  727. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/media_type.rb +0 -120
  728. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/request.rb +0 -66
  729. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/resource/authentication.rb +0 -35
  730. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/resource/callbacks.rb +0 -376
  731. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/resource/encodings.rb +0 -36
  732. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/resource.rb +0 -49
  733. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/response.rb +0 -50
  734. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/streaming.rb +0 -63
  735. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/translation.rb +0 -18
  736. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine/version.rb +0 -8
  737. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/lib/webmachine.rb +0 -21
  738. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  739. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  740. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/README.md +0 -90
  741. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  742. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  743. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  744. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  745. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  746. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  747. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  748. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  749. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  750. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  751. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  752. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  753. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  754. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  755. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  756. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  757. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  758. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  759. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  760. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  761. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  762. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  763. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  764. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  765. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  766. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  767. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  768. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  769. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  770. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  771. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  772. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  773. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.1.0.gem +0 -0
  774. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Gemfile +0 -24
  775. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Guardfile +0 -11
  776. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/README.md +0 -117
  777. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/Rakefile +0 -31
  778. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/examples/webrick.rb +0 -19
  779. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/mongrel.rb +0 -84
  780. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters/webrick.rb +0 -85
  781. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/adapters.rb +0 -9
  782. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/configuration.rb +0 -30
  783. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/conneg.rb +0 -239
  784. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/flow.rb +0 -504
  785. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/fsm.rb +0 -71
  786. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision/helpers.rb +0 -100
  787. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/decision.rb +0 -12
  788. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher/route.rb +0 -85
  789. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/dispatcher.rb +0 -40
  790. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/errors.rb +0 -38
  791. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/headers.rb +0 -40
  792. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/locale/en.yml +0 -28
  793. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/media_type.rb +0 -117
  794. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/request.rb +0 -56
  795. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource/callbacks.rb +0 -376
  796. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource/encodings.rb +0 -36
  797. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/resource.rb +0 -48
  798. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/response.rb +0 -49
  799. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/streaming.rb +0 -27
  800. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/translation.rb +0 -11
  801. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine/version.rb +0 -4
  802. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/lib/webmachine.rb +0 -21
  803. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Gemfile +0 -16
  804. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Guardfile +0 -11
  805. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/README.md +0 -90
  806. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/Rakefile +0 -31
  807. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/examples/webrick.rb +0 -19
  808. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters/webrick.rb +0 -74
  809. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/adapters.rb +0 -15
  810. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/conneg.rb +0 -304
  811. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/flow.rb +0 -502
  812. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/fsm.rb +0 -79
  813. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision/helpers.rb +0 -80
  814. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/decision.rb +0 -12
  815. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher/route.rb +0 -85
  816. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/dispatcher.rb +0 -40
  817. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/errors.rb +0 -37
  818. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/headers.rb +0 -16
  819. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/locale/en.yml +0 -28
  820. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/request.rb +0 -56
  821. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/callbacks.rb +0 -362
  822. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource/encodings.rb +0 -36
  823. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/resource.rb +0 -48
  824. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/response.rb +0 -49
  825. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/streaming.rb +0 -27
  826. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/translation.rb +0 -11
  827. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine/version.rb +0 -4
  828. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/lib/webmachine.rb +0 -19
  829. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/spec_helper.rb +0 -13
  830. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/tests.org +0 -57
  831. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/conneg_spec.rb +0 -152
  832. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/decision/flow_spec.rb +0 -1030
  833. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  834. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/dispatcher_spec.rb +0 -34
  835. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/headers_spec.rb +0 -19
  836. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/spec/webmachine/request_spec.rb +0 -24
  837. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0/webmachine.gemspec +0 -44
  838. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/pkg/webmachine-0.1.0.gem +0 -0
  839. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/spec_helper.rb +0 -13
  840. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/tests.org +0 -57
  841. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/configuration_spec.rb +0 -27
  842. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  843. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  844. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/decision/helpers_spec.rb +0 -105
  845. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  846. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/dispatcher_spec.rb +0 -34
  847. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/errors_spec.rb +0 -13
  848. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/headers_spec.rb +0 -20
  849. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/media_type_spec.rb +0 -78
  850. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/spec/webmachine/request_spec.rb +0 -24
  851. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0/webmachine.gemspec +0 -47
  852. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/pkg/webmachine-0.2.0.gem +0 -0
  853. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/spec_helper.rb +0 -13
  854. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/tests.org +0 -80
  855. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/adapters/rack_spec.rb +0 -64
  856. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/chunked_body_spec.rb +0 -30
  857. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/configuration_spec.rb +0 -27
  858. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  859. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  860. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/decision/helpers_spec.rb +0 -116
  861. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/dispatcher/route_spec.rb +0 -109
  862. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/dispatcher_spec.rb +0 -47
  863. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/errors_spec.rb +0 -13
  864. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/headers_spec.rb +0 -20
  865. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/media_type_spec.rb +0 -78
  866. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/request_spec.rb +0 -29
  867. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/spec/webmachine/resource/authentication_spec.rb +0 -68
  868. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0/webmachine.gemspec +0 -50
  869. data/pkg/webmachine-0.4.0/pkg/webmachine-0.3.0.gem +0 -0
  870. data/pkg/webmachine-0.4.0/spec/spec_helper.rb +0 -13
  871. data/pkg/webmachine-0.4.0/spec/webmachine/adapter_spec.rb +0 -40
  872. data/pkg/webmachine-0.4.0/spec/webmachine/adapters/mongrel_spec.rb +0 -22
  873. data/pkg/webmachine-0.4.0/spec/webmachine/adapters/rack_spec.rb +0 -90
  874. data/pkg/webmachine-0.4.0/spec/webmachine/adapters/webrick_spec.rb +0 -18
  875. data/pkg/webmachine-0.4.0/spec/webmachine/application_spec.rb +0 -73
  876. data/pkg/webmachine-0.4.0/spec/webmachine/chunked_body_spec.rb +0 -30
  877. data/pkg/webmachine-0.4.0/spec/webmachine/configuration_spec.rb +0 -27
  878. data/pkg/webmachine-0.4.0/spec/webmachine/decision/conneg_spec.rb +0 -159
  879. data/pkg/webmachine-0.4.0/spec/webmachine/decision/flow_spec.rb +0 -1032
  880. data/pkg/webmachine-0.4.0/spec/webmachine/decision/helpers_spec.rb +0 -116
  881. data/pkg/webmachine-0.4.0/spec/webmachine/dispatcher/route_spec.rb +0 -166
  882. data/pkg/webmachine-0.4.0/spec/webmachine/dispatcher_spec.rb +0 -59
  883. data/pkg/webmachine-0.4.0/spec/webmachine/errors_spec.rb +0 -13
  884. data/pkg/webmachine-0.4.0/spec/webmachine/headers_spec.rb +0 -20
  885. data/pkg/webmachine-0.4.0/spec/webmachine/media_type_spec.rb +0 -78
  886. data/pkg/webmachine-0.4.0/spec/webmachine/request_spec.rb +0 -186
  887. data/pkg/webmachine-0.4.0/spec/webmachine/resource/authentication_spec.rb +0 -68
  888. data/pkg/webmachine-0.4.0/webmachine.gemspec +0 -29
  889. data/pkg/webmachine-0.4.0.gem +0 -0
  890. data/spec/spec_helper.rbc +0 -438
  891. data/spec/webmachine/adapter_spec.rbc +0 -1059
  892. data/spec/webmachine/adapters/mongrel_spec.rbc +0 -748
  893. data/spec/webmachine/adapters/rack_spec.rbc +0 -2405
  894. data/spec/webmachine/adapters/webrick_spec.rbc +0 -653
  895. data/spec/webmachine/application_spec.rbc +0 -1979
  896. data/spec/webmachine/chunked_body_spec.rbc +0 -917
  897. data/spec/webmachine/configuration_spec.rbc +0 -874
  898. data/spec/webmachine/decision/conneg_spec.rbc +0 -4563
  899. data/spec/webmachine/decision/flow_spec.rbc +0 -31810
  900. data/spec/webmachine/decision/helpers_spec.rbc +0 -3742
  901. data/spec/webmachine/dispatcher/route_spec.rbc +0 -6354
  902. data/spec/webmachine/dispatcher_spec.rbc +0 -2143
  903. data/spec/webmachine/errors_spec.rbc +0 -387
  904. data/spec/webmachine/headers_spec.rbc +0 -678
  905. data/spec/webmachine/media_type_spec.rbc +0 -3298
  906. data/spec/webmachine/request_spec.rbc +0 -5948
  907. data/spec/webmachine/resource/authentication_spec.rbc +0 -2395
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Webmachine::Request
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; Documentation by YARD 0.7.5
10
10
 
11
11
  </title>
12
12
 
@@ -98,8 +98,9 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
- Request represents a single HTTP request sent from a client. It
102
- should be instantiated by <span class='object_link'><a href="Adapters.html" title="Webmachine::Adapters (module)">Adapters</a></span> when a request is received
101
+ <p>Request represents a single HTTP request sent from a client. It
102
+ should be instantiated by <span class='object_link'><a href="Adapters.html" title="Webmachine::Adapters (module)">Adapters</a></span> when a request is received</p>
103
+
103
104
 
104
105
  </div>
105
106
  </div>
@@ -107,8 +108,21 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
107
108
 
108
109
 
109
110
  </div>
110
-
111
+ <h2>Constant Summary</h2>
112
+
113
+ <dl class="constants">
114
+
115
+ <dt id="STANDARD_HTTP_METHODS-constant" class="">STANDARD_HTTP_METHODS =
116
+
117
+ </dt>
118
+ <dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='tstring_content'>GET</span><span class='words_sep'> </span><span class='tstring_content'>HEAD</span><span class='words_sep'> </span><span class='tstring_content'>POST</span><span class='words_sep'> </span><span class='tstring_content'>PUT</span><span class='words_sep'> </span><span class='tstring_content'>DELETE</span><span class='words_sep'> </span><span class='tstring_content'>TRACE</span><span class='words_sep'> </span><span class='tstring_content'>CONNECT</span><span class='words_sep'> </span><span class='tstring_content'>OPTIONS</span><span class='words_sep'>]</span></pre></dd>
119
+
120
+ </dl>
111
121
 
122
+
123
+
124
+
125
+
112
126
  <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
113
127
  <ul class="summary">
114
128
 
@@ -131,7 +145,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
131
145
 
132
146
 
133
147
 
134
- <span class="summary_desc"><div class='inline'>Returns the value of attribute body.</div></span>
148
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute body.</p>
149
+ </div></span>
135
150
 
136
151
  </li>
137
152
 
@@ -155,7 +170,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
155
170
 
156
171
 
157
172
 
158
- <span class="summary_desc"><div class='inline'>Returns the value of attribute disp_path.</div></span>
173
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute disp_path.</p>
174
+ </div></span>
159
175
 
160
176
  </li>
161
177
 
@@ -179,7 +195,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
179
195
 
180
196
 
181
197
 
182
- <span class="summary_desc"><div class='inline'>Returns the value of attribute headers.</div></span>
198
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute headers.</p>
199
+ </div></span>
183
200
 
184
201
  </li>
185
202
 
@@ -203,7 +220,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
203
220
 
204
221
 
205
222
 
206
- <span class="summary_desc"><div class='inline'>Returns the value of attribute method.</div></span>
223
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute method.</p>
224
+ </div></span>
207
225
 
208
226
  </li>
209
227
 
@@ -227,7 +245,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
227
245
 
228
246
 
229
247
 
230
- <span class="summary_desc"><div class='inline'>Returns the value of attribute path_info.</div></span>
248
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute path_info.</p>
249
+ </div></span>
231
250
 
232
251
  </li>
233
252
 
@@ -251,7 +270,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
251
270
 
252
271
 
253
272
 
254
- <span class="summary_desc"><div class='inline'>Returns the value of attribute path_tokens.</div></span>
273
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute path_tokens.</p>
274
+ </div></span>
255
275
 
256
276
  </li>
257
277
 
@@ -275,7 +295,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
275
295
 
276
296
 
277
297
 
278
- <span class="summary_desc"><div class='inline'>Returns the value of attribute uri.</div></span>
298
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute uri.</p>
299
+ </div></span>
279
300
 
280
301
  </li>
281
302
 
@@ -284,7 +305,6 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
284
305
 
285
306
 
286
307
 
287
-
288
308
 
289
309
 
290
310
  <h2>
@@ -310,7 +330,74 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
310
330
 
311
331
 
312
332
 
313
- <span class="summary_desc"><div class='inline'>The root URI for the request, ignoring path and query.</div></span>
333
+ <span class="summary_desc"><div class='inline'><p>The root URI for the request, ignoring path and query.</p>
334
+ </div></span>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="public ">
340
+ <span class="summary_signature">
341
+
342
+ <a href="#connect%3F-instance_method" title="#connect? (instance method)">- (Boolean) <strong>connect?</strong> </a>
343
+
344
+
345
+
346
+ </span>
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+ <span class="summary_desc"><div class='inline'><p>Is this a CONNECT request?.</p>
356
+ </div></span>
357
+
358
+ </li>
359
+
360
+
361
+ <li class="public ">
362
+ <span class="summary_signature">
363
+
364
+ <a href="#delete%3F-instance_method" title="#delete? (instance method)">- (Boolean) <strong>delete?</strong> </a>
365
+
366
+
367
+
368
+ </span>
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+ <span class="summary_desc"><div class='inline'><p>Is this a DELETE request?.</p>
378
+ </div></span>
379
+
380
+ </li>
381
+
382
+
383
+ <li class="public ">
384
+ <span class="summary_signature">
385
+
386
+ <a href="#get%3F-instance_method" title="#get? (instance method)">- (Boolean) <strong>get?</strong> </a>
387
+
388
+
389
+
390
+ </span>
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+ <span class="summary_desc"><div class='inline'><p>Is this a GET request?.</p>
400
+ </div></span>
314
401
 
315
402
  </li>
316
403
 
@@ -331,7 +418,52 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
331
418
 
332
419
 
333
420
 
334
- <span class="summary_desc"><div class='inline'>@return[true, false] Whether the request body is present.</div></span>
421
+ <span class="summary_desc"><div class='inline'><p>@return[true, false] Whether the request body is present.</p>
422
+ </div></span>
423
+
424
+ </li>
425
+
426
+
427
+ <li class="public ">
428
+ <span class="summary_signature">
429
+
430
+ <a href="#head%3F-instance_method" title="#head? (instance method)">- (Boolean) <strong>head?</strong> </a>
431
+
432
+
433
+
434
+ </span>
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+ <span class="summary_desc"><div class='inline'><p>Is this a HEAD request?.</p>
444
+ </div></span>
445
+
446
+ </li>
447
+
448
+
449
+ <li class="public ">
450
+ <span class="summary_signature">
451
+
452
+ <a href="#https%3F-instance_method" title="#https? (instance method)">- (Boolean) <strong>https?</strong> </a>
453
+
454
+
455
+
456
+ </span>
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+ <span class="summary_desc"><div class='inline'><p>Is this an HTTPS request?.</p>
466
+ </div></span>
335
467
 
336
468
  </li>
337
469
 
@@ -354,7 +486,8 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
354
486
 
355
487
 
356
488
 
357
- <span class="summary_desc"><div class='inline'>A new instance of Request.</div></span>
489
+ <span class="summary_desc"><div class='inline'><p>A new instance of Request.</p>
490
+ </div></span>
358
491
 
359
492
  </li>
360
493
 
@@ -375,8 +508,75 @@ should be instantiated by <span class='object_link'><a href="Adapters.html" titl
375
508
 
376
509
 
377
510
 
378
- <span class="summary_desc"><div class='inline'>Enables quicker access to request headers by using a
379
- lowercased-underscored version of the header name, e.g.</div></span>
511
+ <span class="summary_desc"><div class='inline'><p>Enables quicker access to request headers by using a
512
+ lowercased-underscored version of the header name, e.g.</p>
513
+ </div></span>
514
+
515
+ </li>
516
+
517
+
518
+ <li class="public ">
519
+ <span class="summary_signature">
520
+
521
+ <a href="#options%3F-instance_method" title="#options? (instance method)">- (Boolean) <strong>options?</strong> </a>
522
+
523
+
524
+
525
+ </span>
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+ <span class="summary_desc"><div class='inline'><p>Is this an OPTIONS request?.</p>
535
+ </div></span>
536
+
537
+ </li>
538
+
539
+
540
+ <li class="public ">
541
+ <span class="summary_signature">
542
+
543
+ <a href="#post%3F-instance_method" title="#post? (instance method)">- (Boolean) <strong>post?</strong> </a>
544
+
545
+
546
+
547
+ </span>
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+ <span class="summary_desc"><div class='inline'><p>Is this a POST request?.</p>
557
+ </div></span>
558
+
559
+ </li>
560
+
561
+
562
+ <li class="public ">
563
+ <span class="summary_signature">
564
+
565
+ <a href="#put%3F-instance_method" title="#put? (instance method)">- (Boolean) <strong>put?</strong> </a>
566
+
567
+
568
+
569
+ </span>
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+ <span class="summary_desc"><div class='inline'><p>Is this a PUT request?.</p>
579
+ </div></span>
380
580
 
381
581
  </li>
382
582
 
@@ -397,8 +597,31 @@ lowercased-underscored version of the header name, e.g.</div></span>
397
597
 
398
598
 
399
599
 
400
- <span class="summary_desc"><div class='inline'>Returns a hash of query parameters (they come after the ? in the
401
- URI).</div></span>
600
+ <span class="summary_desc"><div class='inline'><p>Returns a hash of query parameters (they come after the ? in the
601
+ URI).</p>
602
+ </div></span>
603
+
604
+ </li>
605
+
606
+
607
+ <li class="public ">
608
+ <span class="summary_signature">
609
+
610
+ <a href="#trace%3F-instance_method" title="#trace? (instance method)">- (Boolean) <strong>trace?</strong> </a>
611
+
612
+
613
+
614
+ </span>
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+ <span class="summary_desc"><div class='inline'><p>Is this a TRACE request?.</p>
624
+ </div></span>
402
625
 
403
626
  </li>
404
627
 
@@ -419,7 +642,8 @@ URI).</div></span>
419
642
 
420
643
  </p><div class="docstring">
421
644
  <div class="discussion">
422
- A new instance of Request
645
+ <p>A new instance of Request</p>
646
+
423
647
 
424
648
  </div>
425
649
  </div>
@@ -437,7 +661,8 @@ URI).</div></span>
437
661
 
438
662
 
439
663
  &mdash;
440
- <div class='inline'>the HTTP request method</div>
664
+ <div class='inline'><p>the HTTP request method</p>
665
+ </div>
441
666
 
442
667
  </li>
443
668
 
@@ -451,8 +676,9 @@ URI).</div></span>
451
676
 
452
677
 
453
678
  &mdash;
454
- <div class='inline'>the requested URI, including host, scheme and
455
- port</div>
679
+ <div class='inline'><p>the requested URI, including host, scheme and
680
+ port</p>
681
+ </div>
456
682
 
457
683
  </li>
458
684
 
@@ -466,7 +692,8 @@ port</div>
466
692
 
467
693
 
468
694
  &mdash;
469
- <div class='inline'>the HTTP request headers</div>
695
+ <div class='inline'><p>the HTTP request headers</p>
696
+ </div>
470
697
 
471
698
  </li>
472
699
 
@@ -480,8 +707,9 @@ port</div>
480
707
 
481
708
 
482
709
  &mdash;
483
- <div class='inline'>the entity included in the
484
- request, if present</div>
710
+ <div class='inline'><p>the entity included in the
711
+ request, if present</p>
712
+ </div>
485
713
 
486
714
  </li>
487
715
 
@@ -494,15 +722,15 @@ request, if present</div>
494
722
  <pre class="lines">
495
723
 
496
724
 
497
- 18
498
- 19
499
- 20</pre>
725
+ 20
726
+ 21
727
+ 22</pre>
500
728
  </td>
501
729
  <td>
502
- <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 18</span>
730
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 20</span>
503
731
 
504
- <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id method'>method</span><span class='comma'>,</span> <span class='id uri'>uri</span><span class='comma'>,</span> <span class='id headers'>headers</span><span class='comma'>,</span> <span class='id body'>body</span><span class='rparen'>)</span>
505
- <span class='ivar'>@method</span><span class='comma'>,</span> <span class='ivar'>@uri</span><span class='comma'>,</span> <span class='ivar'>@headers</span><span class='comma'>,</span> <span class='ivar'>@body</span> <span class='op'>=</span> <span class='id method'>method</span><span class='comma'>,</span> <span class='id uri'>uri</span><span class='comma'>,</span> <span class='id headers'>headers</span><span class='comma'>,</span> <span class='id body'>body</span>
732
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
733
+ <span class='ivar'>@method</span><span class='comma'>,</span> <span class='ivar'>@uri</span><span class='comma'>,</span> <span class='ivar'>@headers</span><span class='comma'>,</span> <span class='ivar'>@body</span> <span class='op'>=</span> <span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span>
506
734
  <span class='kw'>end</span></pre>
507
735
  </td>
508
736
  </tr>
@@ -526,9 +754,10 @@ request, if present</div>
526
754
 
527
755
  </p><div class="docstring">
528
756
  <div class="discussion">
529
- Enables quicker access to request headers by using a
757
+ <p>Enables quicker access to request headers by using a
530
758
  lowercased-underscored version of the header name, e.g.
531
- `if_unmodified_since`.
759
+ <code>if_unmodified_since</code>.</p>
760
+
532
761
 
533
762
  </div>
534
763
  </div>
@@ -541,22 +770,22 @@ lowercased-underscored version of the header name, e.g.
541
770
  <pre class="lines">
542
771
 
543
772
 
544
- 27
545
- 28
546
773
  29
547
774
  30
548
775
  31
549
776
  32
550
777
  33
551
- 34</pre>
778
+ 34
779
+ 35
780
+ 36</pre>
552
781
  </td>
553
782
  <td>
554
- <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 27</span>
783
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 29</span>
555
784
 
556
- <span class='kw'>def</span> <span class='id method_missing'>method_missing</span><span class='lparen'>(</span><span class='id m'>m</span><span class='comma'>,</span> <span class='op'>*</span><span class='id args'>args</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id block'>block</span><span class='rparen'>)</span>
557
- <span class='kw'>if</span> <span class='id m'>m</span><span class='period'>.</span><span class='id to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?:[a-z0-9])+(?:_[a-z0-9]+)*$</span><span class='regexp_end'>/i</span></span>
785
+ <span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_m'>m</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
786
+ <span class='kw'>if</span> <span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^(?:[a-z0-9])+(?:_[a-z0-9]+)*$</span><span class='regexp_end'>/i</span></span>
558
787
  <span class='comment'># Access headers more easily as underscored methods.
559
- </span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id m'>m</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='period'>.</span><span class='id tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbracket'>]</span>
788
+ </span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_tr'>tr</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbracket'>]</span>
560
789
  <span class='kw'>else</span>
561
790
  <span class='kw'>super</span>
562
791
  <span class='kw'>end</span>
@@ -583,7 +812,8 @@ lowercased-underscored version of the header name, e.g.
583
812
 
584
813
  </p><div class="docstring">
585
814
  <div class="discussion">
586
- Returns the value of attribute body
815
+ <p>Returns the value of attribute body</p>
816
+
587
817
 
588
818
  </div>
589
819
  </div>
@@ -603,7 +833,7 @@ lowercased-underscored version of the header name, e.g.
603
833
  <td>
604
834
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 9</span>
605
835
 
606
- <span class='kw'>def</span> <span class='id body'>body</span>
836
+ <span class='kw'>def</span> <span class='id identifier rubyid_body'>body</span>
607
837
  <span class='ivar'>@body</span>
608
838
  <span class='kw'>end</span></pre>
609
839
  </td>
@@ -623,7 +853,8 @@ lowercased-underscored version of the header name, e.g.
623
853
 
624
854
  </p><div class="docstring">
625
855
  <div class="discussion">
626
- Returns the value of attribute disp_path
856
+ <p>Returns the value of attribute disp_path</p>
857
+
627
858
 
628
859
  </div>
629
860
  </div>
@@ -643,7 +874,7 @@ lowercased-underscored version of the header name, e.g.
643
874
  <td>
644
875
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 10</span>
645
876
 
646
- <span class='kw'>def</span> <span class='id disp_path'>disp_path</span>
877
+ <span class='kw'>def</span> <span class='id identifier rubyid_disp_path'>disp_path</span>
647
878
  <span class='ivar'>@disp_path</span>
648
879
  <span class='kw'>end</span></pre>
649
880
  </td>
@@ -663,7 +894,8 @@ lowercased-underscored version of the header name, e.g.
663
894
 
664
895
  </p><div class="docstring">
665
896
  <div class="discussion">
666
- Returns the value of attribute headers
897
+ <p>Returns the value of attribute headers</p>
898
+
667
899
 
668
900
  </div>
669
901
  </div>
@@ -683,7 +915,7 @@ lowercased-underscored version of the header name, e.g.
683
915
  <td>
684
916
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 9</span>
685
917
 
686
- <span class='kw'>def</span> <span class='id headers'>headers</span>
918
+ <span class='kw'>def</span> <span class='id identifier rubyid_headers'>headers</span>
687
919
  <span class='ivar'>@headers</span>
688
920
  <span class='kw'>end</span></pre>
689
921
  </td>
@@ -703,7 +935,8 @@ lowercased-underscored version of the header name, e.g.
703
935
 
704
936
  </p><div class="docstring">
705
937
  <div class="discussion">
706
- Returns the value of attribute method
938
+ <p>Returns the value of attribute method</p>
939
+
707
940
 
708
941
  </div>
709
942
  </div>
@@ -723,7 +956,7 @@ lowercased-underscored version of the header name, e.g.
723
956
  <td>
724
957
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 9</span>
725
958
 
726
- <span class='kw'>def</span> <span class='id method'>method</span>
959
+ <span class='kw'>def</span> <span class='id identifier rubyid_method'>method</span>
727
960
  <span class='ivar'>@method</span>
728
961
  <span class='kw'>end</span></pre>
729
962
  </td>
@@ -743,7 +976,8 @@ lowercased-underscored version of the header name, e.g.
743
976
 
744
977
  </p><div class="docstring">
745
978
  <div class="discussion">
746
- Returns the value of attribute path_info
979
+ <p>Returns the value of attribute path_info</p>
980
+
747
981
 
748
982
  </div>
749
983
  </div>
@@ -763,7 +997,7 @@ lowercased-underscored version of the header name, e.g.
763
997
  <td>
764
998
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 10</span>
765
999
 
766
- <span class='kw'>def</span> <span class='id path_info'>path_info</span>
1000
+ <span class='kw'>def</span> <span class='id identifier rubyid_path_info'>path_info</span>
767
1001
  <span class='ivar'>@path_info</span>
768
1002
  <span class='kw'>end</span></pre>
769
1003
  </td>
@@ -783,7 +1017,8 @@ lowercased-underscored version of the header name, e.g.
783
1017
 
784
1018
  </p><div class="docstring">
785
1019
  <div class="discussion">
786
- Returns the value of attribute path_tokens
1020
+ <p>Returns the value of attribute path_tokens</p>
1021
+
787
1022
 
788
1023
  </div>
789
1024
  </div>
@@ -803,7 +1038,7 @@ lowercased-underscored version of the header name, e.g.
803
1038
  <td>
804
1039
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 10</span>
805
1040
 
806
- <span class='kw'>def</span> <span class='id path_tokens'>path_tokens</span>
1041
+ <span class='kw'>def</span> <span class='id identifier rubyid_path_tokens'>path_tokens</span>
807
1042
  <span class='ivar'>@path_tokens</span>
808
1043
  <span class='kw'>end</span></pre>
809
1044
  </td>
@@ -823,7 +1058,8 @@ lowercased-underscored version of the header name, e.g.
823
1058
 
824
1059
  </p><div class="docstring">
825
1060
  <div class="discussion">
826
- Returns the value of attribute uri
1061
+ <p>Returns the value of attribute uri</p>
1062
+
827
1063
 
828
1064
  </div>
829
1065
  </div>
@@ -843,7 +1079,7 @@ lowercased-underscored version of the header name, e.g.
843
1079
  <td>
844
1080
  <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 9</span>
845
1081
 
846
- <span class='kw'>def</span> <span class='id uri'>uri</span>
1082
+ <span class='kw'>def</span> <span class='id identifier rubyid_uri'>uri</span>
847
1083
  <span class='ivar'>@uri</span>
848
1084
  <span class='kw'>end</span></pre>
849
1085
  </td>
@@ -867,8 +1103,9 @@ lowercased-underscored version of the header name, e.g.
867
1103
 
868
1104
  </p><div class="docstring">
869
1105
  <div class="discussion">
870
- The root URI for the request, ignoring path and query. This is
871
- useful for calculating relative paths to resources.
1106
+ <p>The root URI for the request, ignoring path and query. This is
1107
+ useful for calculating relative paths to resources.</p>
1108
+
872
1109
 
873
1110
  </div>
874
1111
  </div>
@@ -894,20 +1131,20 @@ useful for calculating relative paths to resources.
894
1131
  <pre class="lines">
895
1132
 
896
1133
 
897
- 44
898
- 45
899
1134
  46
900
1135
  47
901
1136
  48
902
- 49</pre>
1137
+ 49
1138
+ 50
1139
+ 51</pre>
903
1140
  </td>
904
1141
  <td>
905
- <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 44</span>
1142
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 46</span>
906
1143
 
907
- <span class='kw'>def</span> <span class='id base_uri'>base_uri</span>
908
- <span class='ivar'>@base_uri</span> <span class='op'>||=</span> <span class='id uri'>uri</span><span class='period'>.</span><span class='id dup'>dup</span><span class='period'>.</span><span class='id tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id u'>u</span><span class='op'>|</span>
909
- <span class='id u'>u</span><span class='period'>.</span><span class='id path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span>
910
- <span class='id u'>u</span><span class='period'>.</span><span class='id query'>query</span> <span class='op'>=</span> <span class='kw'>nil</span>
1144
+ <span class='kw'>def</span> <span class='id identifier rubyid_base_uri'>base_uri</span>
1145
+ <span class='ivar'>@base_uri</span> <span class='op'>||=</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_u'>u</span><span class='op'>|</span>
1146
+ <span class='id identifier rubyid_u'>u</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span>
1147
+ <span class='id identifier rubyid_u'>u</span><span class='period'>.</span><span class='id identifier rubyid_query'>query</span> <span class='op'>=</span> <span class='kw'>nil</span>
911
1148
  <span class='kw'>end</span>
912
1149
  <span class='kw'>end</span></pre>
913
1150
  </td>
@@ -916,15 +1153,16 @@ useful for calculating relative paths to resources.
916
1153
  </div>
917
1154
 
918
1155
  <div class="method_details ">
919
- <p class="signature " id="has_body?-instance_method">
1156
+ <p class="signature " id="connect?-instance_method">
920
1157
 
921
- - (<tt>Boolean</tt>) <strong>has_body?</strong>
1158
+ - (<tt>Boolean</tt>) <strong>connect?</strong>
922
1159
 
923
1160
 
924
1161
 
925
1162
  </p><div class="docstring">
926
1163
  <div class="discussion">
927
- @return[true, false] Whether the request body is present.
1164
+ <p>Is this a CONNECT request?</p>
1165
+
928
1166
 
929
1167
  </div>
930
1168
  </div>
@@ -940,6 +1178,10 @@ useful for calculating relative paths to resources.
940
1178
 
941
1179
 
942
1180
 
1181
+ &mdash;
1182
+ <div class='inline'><p>true if this request was made with the CONNECT method</p>
1183
+ </div>
1184
+
943
1185
  </li>
944
1186
 
945
1187
  </ul>
@@ -950,15 +1192,15 @@ useful for calculating relative paths to resources.
950
1192
  <pre class="lines">
951
1193
 
952
1194
 
953
- 37
954
- 38
955
- 39</pre>
1195
+ 131
1196
+ 132
1197
+ 133</pre>
956
1198
  </td>
957
1199
  <td>
958
- <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 37</span>
1200
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 131</span>
959
1201
 
960
- <span class='kw'>def</span> <span class='id has_body?'>has_body?</span>
961
- <span class='op'>!</span><span class='lparen'>(</span><span class='id body'>body</span><span class='period'>.</span><span class='id nil?'>nil?</span> <span class='op'>||</span> <span class='id body'>body</span><span class='period'>.</span><span class='id empty?'>empty?</span><span class='rparen'>)</span>
1202
+ <span class='kw'>def</span> <span class='id identifier rubyid_connect?'>connect?</span>
1203
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>CONNECT</span><span class='tstring_end'>&quot;</span></span>
962
1204
  <span class='kw'>end</span></pre>
963
1205
  </td>
964
1206
  </tr>
@@ -966,17 +1208,16 @@ useful for calculating relative paths to resources.
966
1208
  </div>
967
1209
 
968
1210
  <div class="method_details ">
969
- <p class="signature " id="query-instance_method">
1211
+ <p class="signature " id="delete?-instance_method">
970
1212
 
971
- - (<tt>Hash</tt>) <strong>query</strong>
1213
+ - (<tt>Boolean</tt>) <strong>delete?</strong>
972
1214
 
973
1215
 
974
1216
 
975
1217
  </p><div class="docstring">
976
1218
  <div class="discussion">
977
- Returns a hash of query parameters (they come after the ? in the
978
- URI). Note that this does NOT work in the same way as Rails,
979
- i.e. it does not support nested arrays and hashes.
1219
+ <p>Is this a DELETE request?</p>
1220
+
980
1221
 
981
1222
  </div>
982
1223
  </div>
@@ -988,12 +1229,13 @@ i.e. it does not support nested arrays and hashes.
988
1229
  <li>
989
1230
 
990
1231
 
991
- <span class='type'>(<tt>Hash</tt>)</span>
1232
+ <span class='type'>(<tt>Boolean</tt>)</span>
992
1233
 
993
1234
 
994
1235
 
995
1236
  &mdash;
996
- <div class='inline'>query parameters</div>
1237
+ <div class='inline'><p>true if this request was made with the DELETE method</p>
1238
+ </div>
997
1239
 
998
1240
  </li>
999
1241
 
@@ -1005,29 +1247,528 @@ i.e. it does not support nested arrays and hashes.
1005
1247
  <pre class="lines">
1006
1248
 
1007
1249
 
1008
- 55
1009
- 56
1010
- 57
1011
- 58
1012
- 59
1013
- 60
1014
- 61
1015
- 62
1016
- 63
1017
- 64</pre>
1250
+ 115
1251
+ 116
1252
+ 117</pre>
1018
1253
  </td>
1019
1254
  <td>
1020
- <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 55</span>
1255
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 115</span>
1021
1256
 
1022
- <span class='kw'>def</span> <span class='id query'>query</span>
1023
- <span class='kw'>unless</span> <span class='ivar'>@query</span>
1024
- <span class='ivar'>@query</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1025
- <span class='lparen'>(</span><span class='id uri'>uri</span><span class='period'>.</span><span class='id query'>query</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>&amp;</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id kv'>kv</span><span class='op'>|</span>
1026
- <span class='id k'>k</span><span class='comma'>,</span> <span class='id v'>v</span> <span class='op'>=</span> <span class='const'>CGI</span><span class='period'>.</span><span class='id unescape'>unescape</span><span class='lparen'>(</span><span class='id kv'>kv</span><span class='rparen'>)</span><span class='period'>.</span><span class='id split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>=</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
1027
- <span class='ivar'>@query</span><span class='lbracket'>[</span><span class='id k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id v'>v</span> <span class='kw'>if</span> <span class='id k'>k</span> <span class='op'>&amp;&amp;</span> <span class='id v'>v</span>
1028
- <span class='kw'>end</span>
1029
- <span class='kw'>end</span>
1030
- <span class='ivar'>@query</span>
1257
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete?'>delete?</span>
1258
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>DELETE</span><span class='tstring_end'>&quot;</span></span>
1259
+ <span class='kw'>end</span></pre>
1260
+ </td>
1261
+ </tr>
1262
+ </table>
1263
+ </div>
1264
+
1265
+ <div class="method_details ">
1266
+ <p class="signature " id="get?-instance_method">
1267
+
1268
+ - (<tt>Boolean</tt>) <strong>get?</strong>
1269
+
1270
+
1271
+
1272
+ </p><div class="docstring">
1273
+ <div class="discussion">
1274
+ <p>Is this a GET request?</p>
1275
+
1276
+
1277
+ </div>
1278
+ </div>
1279
+ <div class="tags">
1280
+
1281
+ <h3>Returns:</h3>
1282
+ <ul class="return">
1283
+
1284
+ <li>
1285
+
1286
+
1287
+ <span class='type'>(<tt>Boolean</tt>)</span>
1288
+
1289
+
1290
+
1291
+ &mdash;
1292
+ <div class='inline'><p>true if this request was made with the GET method</p>
1293
+ </div>
1294
+
1295
+ </li>
1296
+
1297
+ </ul>
1298
+
1299
+ </div><table class="source_code">
1300
+ <tr>
1301
+ <td>
1302
+ <pre class="lines">
1303
+
1304
+
1305
+ 83
1306
+ 84
1307
+ 85</pre>
1308
+ </td>
1309
+ <td>
1310
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 83</span>
1311
+
1312
+ <span class='kw'>def</span> <span class='id identifier rubyid_get?'>get?</span>
1313
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>GET</span><span class='tstring_end'>&quot;</span></span>
1314
+ <span class='kw'>end</span></pre>
1315
+ </td>
1316
+ </tr>
1317
+ </table>
1318
+ </div>
1319
+
1320
+ <div class="method_details ">
1321
+ <p class="signature " id="has_body?-instance_method">
1322
+
1323
+ - (<tt>Boolean</tt>) <strong>has_body?</strong>
1324
+
1325
+
1326
+
1327
+ </p><div class="docstring">
1328
+ <div class="discussion">
1329
+ <p>@return[true, false] Whether the request body is present.</p>
1330
+
1331
+
1332
+ </div>
1333
+ </div>
1334
+ <div class="tags">
1335
+
1336
+ <h3>Returns:</h3>
1337
+ <ul class="return">
1338
+
1339
+ <li>
1340
+
1341
+
1342
+ <span class='type'>(<tt>Boolean</tt>)</span>
1343
+
1344
+
1345
+
1346
+ </li>
1347
+
1348
+ </ul>
1349
+
1350
+ </div><table class="source_code">
1351
+ <tr>
1352
+ <td>
1353
+ <pre class="lines">
1354
+
1355
+
1356
+ 39
1357
+ 40
1358
+ 41</pre>
1359
+ </td>
1360
+ <td>
1361
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 39</span>
1362
+
1363
+ <span class='kw'>def</span> <span class='id identifier rubyid_has_body?'>has_body?</span>
1364
+ <span class='op'>!</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span><span class='rparen'>)</span>
1365
+ <span class='kw'>end</span></pre>
1366
+ </td>
1367
+ </tr>
1368
+ </table>
1369
+ </div>
1370
+
1371
+ <div class="method_details ">
1372
+ <p class="signature " id="head?-instance_method">
1373
+
1374
+ - (<tt>Boolean</tt>) <strong>head?</strong>
1375
+
1376
+
1377
+
1378
+ </p><div class="docstring">
1379
+ <div class="discussion">
1380
+ <p>Is this a HEAD request?</p>
1381
+
1382
+
1383
+ </div>
1384
+ </div>
1385
+ <div class="tags">
1386
+
1387
+ <h3>Returns:</h3>
1388
+ <ul class="return">
1389
+
1390
+ <li>
1391
+
1392
+
1393
+ <span class='type'>(<tt>Boolean</tt>)</span>
1394
+
1395
+
1396
+
1397
+ &mdash;
1398
+ <div class='inline'><p>true if this request was made with the HEAD method</p>
1399
+ </div>
1400
+
1401
+ </li>
1402
+
1403
+ </ul>
1404
+
1405
+ </div><table class="source_code">
1406
+ <tr>
1407
+ <td>
1408
+ <pre class="lines">
1409
+
1410
+
1411
+ 91
1412
+ 92
1413
+ 93</pre>
1414
+ </td>
1415
+ <td>
1416
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 91</span>
1417
+
1418
+ <span class='kw'>def</span> <span class='id identifier rubyid_head?'>head?</span>
1419
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>HEAD</span><span class='tstring_end'>&quot;</span></span>
1420
+ <span class='kw'>end</span></pre>
1421
+ </td>
1422
+ </tr>
1423
+ </table>
1424
+ </div>
1425
+
1426
+ <div class="method_details ">
1427
+ <p class="signature " id="https?-instance_method">
1428
+
1429
+ - (<tt>Boolean</tt>) <strong>https?</strong>
1430
+
1431
+
1432
+
1433
+ </p><div class="docstring">
1434
+ <div class="discussion">
1435
+ <p>Is this an HTTPS request?</p>
1436
+
1437
+
1438
+ </div>
1439
+ </div>
1440
+ <div class="tags">
1441
+
1442
+ <h3>Returns:</h3>
1443
+ <ul class="return">
1444
+
1445
+ <li>
1446
+
1447
+
1448
+ <span class='type'>(<tt>Boolean</tt>)</span>
1449
+
1450
+
1451
+
1452
+ &mdash;
1453
+ <div class='inline'><p>true if this request was made via HTTPS</p>
1454
+ </div>
1455
+
1456
+ </li>
1457
+
1458
+ </ul>
1459
+
1460
+ </div><table class="source_code">
1461
+ <tr>
1462
+ <td>
1463
+ <pre class="lines">
1464
+
1465
+
1466
+ 75
1467
+ 76
1468
+ 77</pre>
1469
+ </td>
1470
+ <td>
1471
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 75</span>
1472
+
1473
+ <span class='kw'>def</span> <span class='id identifier rubyid_https?'>https?</span>
1474
+ <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_scheme'>scheme</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https</span><span class='tstring_end'>&quot;</span></span>
1475
+ <span class='kw'>end</span></pre>
1476
+ </td>
1477
+ </tr>
1478
+ </table>
1479
+ </div>
1480
+
1481
+ <div class="method_details ">
1482
+ <p class="signature " id="options?-instance_method">
1483
+
1484
+ - (<tt>Boolean</tt>) <strong>options?</strong>
1485
+
1486
+
1487
+
1488
+ </p><div class="docstring">
1489
+ <div class="discussion">
1490
+ <p>Is this an OPTIONS request?</p>
1491
+
1492
+
1493
+ </div>
1494
+ </div>
1495
+ <div class="tags">
1496
+
1497
+ <h3>Returns:</h3>
1498
+ <ul class="return">
1499
+
1500
+ <li>
1501
+
1502
+
1503
+ <span class='type'>(<tt>Boolean</tt>)</span>
1504
+
1505
+
1506
+
1507
+ &mdash;
1508
+ <div class='inline'><p>true if this request was made with the OPTIONS method</p>
1509
+ </div>
1510
+
1511
+ </li>
1512
+
1513
+ </ul>
1514
+
1515
+ </div><table class="source_code">
1516
+ <tr>
1517
+ <td>
1518
+ <pre class="lines">
1519
+
1520
+
1521
+ 139
1522
+ 140
1523
+ 141</pre>
1524
+ </td>
1525
+ <td>
1526
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 139</span>
1527
+
1528
+ <span class='kw'>def</span> <span class='id identifier rubyid_options?'>options?</span>
1529
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>OPTIONS</span><span class='tstring_end'>&quot;</span></span>
1530
+ <span class='kw'>end</span></pre>
1531
+ </td>
1532
+ </tr>
1533
+ </table>
1534
+ </div>
1535
+
1536
+ <div class="method_details ">
1537
+ <p class="signature " id="post?-instance_method">
1538
+
1539
+ - (<tt>Boolean</tt>) <strong>post?</strong>
1540
+
1541
+
1542
+
1543
+ </p><div class="docstring">
1544
+ <div class="discussion">
1545
+ <p>Is this a POST request?</p>
1546
+
1547
+
1548
+ </div>
1549
+ </div>
1550
+ <div class="tags">
1551
+
1552
+ <h3>Returns:</h3>
1553
+ <ul class="return">
1554
+
1555
+ <li>
1556
+
1557
+
1558
+ <span class='type'>(<tt>Boolean</tt>)</span>
1559
+
1560
+
1561
+
1562
+ &mdash;
1563
+ <div class='inline'><p>true if this request was made with the GET method</p>
1564
+ </div>
1565
+
1566
+ </li>
1567
+
1568
+ </ul>
1569
+
1570
+ </div><table class="source_code">
1571
+ <tr>
1572
+ <td>
1573
+ <pre class="lines">
1574
+
1575
+
1576
+ 99
1577
+ 100
1578
+ 101</pre>
1579
+ </td>
1580
+ <td>
1581
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 99</span>
1582
+
1583
+ <span class='kw'>def</span> <span class='id identifier rubyid_post?'>post?</span>
1584
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>POST</span><span class='tstring_end'>&quot;</span></span>
1585
+ <span class='kw'>end</span></pre>
1586
+ </td>
1587
+ </tr>
1588
+ </table>
1589
+ </div>
1590
+
1591
+ <div class="method_details ">
1592
+ <p class="signature " id="put?-instance_method">
1593
+
1594
+ - (<tt>Boolean</tt>) <strong>put?</strong>
1595
+
1596
+
1597
+
1598
+ </p><div class="docstring">
1599
+ <div class="discussion">
1600
+ <p>Is this a PUT request?</p>
1601
+
1602
+
1603
+ </div>
1604
+ </div>
1605
+ <div class="tags">
1606
+
1607
+ <h3>Returns:</h3>
1608
+ <ul class="return">
1609
+
1610
+ <li>
1611
+
1612
+
1613
+ <span class='type'>(<tt>Boolean</tt>)</span>
1614
+
1615
+
1616
+
1617
+ &mdash;
1618
+ <div class='inline'><p>true if this request was made with the PUT method</p>
1619
+ </div>
1620
+
1621
+ </li>
1622
+
1623
+ </ul>
1624
+
1625
+ </div><table class="source_code">
1626
+ <tr>
1627
+ <td>
1628
+ <pre class="lines">
1629
+
1630
+
1631
+ 107
1632
+ 108
1633
+ 109</pre>
1634
+ </td>
1635
+ <td>
1636
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 107</span>
1637
+
1638
+ <span class='kw'>def</span> <span class='id identifier rubyid_put?'>put?</span>
1639
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>PUT</span><span class='tstring_end'>&quot;</span></span>
1640
+ <span class='kw'>end</span></pre>
1641
+ </td>
1642
+ </tr>
1643
+ </table>
1644
+ </div>
1645
+
1646
+ <div class="method_details ">
1647
+ <p class="signature " id="query-instance_method">
1648
+
1649
+ - (<tt>Hash</tt>) <strong>query</strong>
1650
+
1651
+
1652
+
1653
+ </p><div class="docstring">
1654
+ <div class="discussion">
1655
+ <p>Returns a hash of query parameters (they come after the ? in the
1656
+ URI). Note that this does NOT work in the same way as Rails,
1657
+ i.e. it does not support nested arrays and hashes.</p>
1658
+
1659
+
1660
+ </div>
1661
+ </div>
1662
+ <div class="tags">
1663
+
1664
+ <h3>Returns:</h3>
1665
+ <ul class="return">
1666
+
1667
+ <li>
1668
+
1669
+
1670
+ <span class='type'>(<tt>Hash</tt>)</span>
1671
+
1672
+
1673
+
1674
+ &mdash;
1675
+ <div class='inline'><p>query parameters</p>
1676
+ </div>
1677
+
1678
+ </li>
1679
+
1680
+ </ul>
1681
+
1682
+ </div><table class="source_code">
1683
+ <tr>
1684
+ <td>
1685
+ <pre class="lines">
1686
+
1687
+
1688
+ 57
1689
+ 58
1690
+ 59
1691
+ 60
1692
+ 61
1693
+ 62
1694
+ 63
1695
+ 64
1696
+ 65
1697
+ 66
1698
+ 67
1699
+ 68
1700
+ 69</pre>
1701
+ </td>
1702
+ <td>
1703
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 57</span>
1704
+
1705
+ <span class='kw'>def</span> <span class='id identifier rubyid_query'>query</span>
1706
+ <span class='kw'>unless</span> <span class='ivar'>@query</span>
1707
+ <span class='ivar'>@query</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1708
+ <span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_query'>query</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>&amp;</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_kv'>kv</span><span class='op'>|</span>
1709
+ <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_kv'>kv</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>=</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
1710
+ <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span>
1711
+ <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='const'>CGI</span><span class='period'>.</span><span class='id identifier rubyid_unescape'>unescape</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='const'>CGI</span><span class='period'>.</span><span class='id identifier rubyid_unescape'>unescape</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
1712
+ <span class='ivar'>@query</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
1713
+ <span class='kw'>end</span>
1714
+ <span class='kw'>end</span>
1715
+ <span class='kw'>end</span>
1716
+ <span class='ivar'>@query</span>
1717
+ <span class='kw'>end</span></pre>
1718
+ </td>
1719
+ </tr>
1720
+ </table>
1721
+ </div>
1722
+
1723
+ <div class="method_details ">
1724
+ <p class="signature " id="trace?-instance_method">
1725
+
1726
+ - (<tt>Boolean</tt>) <strong>trace?</strong>
1727
+
1728
+
1729
+
1730
+ </p><div class="docstring">
1731
+ <div class="discussion">
1732
+ <p>Is this a TRACE request?</p>
1733
+
1734
+
1735
+ </div>
1736
+ </div>
1737
+ <div class="tags">
1738
+
1739
+ <h3>Returns:</h3>
1740
+ <ul class="return">
1741
+
1742
+ <li>
1743
+
1744
+
1745
+ <span class='type'>(<tt>Boolean</tt>)</span>
1746
+
1747
+
1748
+
1749
+ &mdash;
1750
+ <div class='inline'><p>true if this request was made with the TRACE method</p>
1751
+ </div>
1752
+
1753
+ </li>
1754
+
1755
+ </ul>
1756
+
1757
+ </div><table class="source_code">
1758
+ <tr>
1759
+ <td>
1760
+ <pre class="lines">
1761
+
1762
+
1763
+ 123
1764
+ 124
1765
+ 125</pre>
1766
+ </td>
1767
+ <td>
1768
+ <pre class="code"><span class="info file"># File 'lib/webmachine/request.rb', line 123</span>
1769
+
1770
+ <span class='kw'>def</span> <span class='id identifier rubyid_trace?'>trace?</span>
1771
+ <span class='id identifier rubyid_method'>method</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>TRACE</span><span class='tstring_end'>&quot;</span></span>
1031
1772
  <span class='kw'>end</span></pre>
1032
1773
  </td>
1033
1774
  </tr>
@@ -1039,9 +1780,9 @@ i.e. it does not support nested arrays and hashes.
1039
1780
  </div>
1040
1781
 
1041
1782
  <div id="footer">
1042
- Generated on Wed Jan 4 08:47:39 2012 by
1783
+ Generated on Thu Mar 22 10:24:44 2012 by
1043
1784
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1044
- 0.7.3 (ruby-1.9.3).
1785
+ 0.7.5 (ruby-1.9.3).
1045
1786
  </div>
1046
1787
 
1047
1788
  </body>