webmachine 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,3046 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: Webmachine::Resource::Callbacks
8
-
9
- &mdash; Documentation by YARD 0.7.3
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '../..';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="../../_index.html">Index (C)</a> &raquo;
37
- <span class='title'><span class='object_link'><a href="../../Webmachine.html" title="Webmachine (module)">Webmachine</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Resource.html" title="Webmachine::Resource (class)">Resource</a></span></span>
38
- &raquo;
39
- <span class="title">Callbacks</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Module: Webmachine::Resource::Callbacks
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
- <dt class="r1">Included in:</dt>
74
- <dd class="r1"><span class='object_link'><a href="../Resource.html" title="Webmachine::Resource (class)">Webmachine::Resource</a></span></dd>
75
-
76
-
77
-
78
- <dt class="r2 last">Defined in:</dt>
79
- <dd class="r2 last">lib/webmachine/resource/callbacks.rb</dd>
80
-
81
- </dl>
82
- <div class="clear"></div>
83
-
84
- <h2>Overview</h2><div class="docstring">
85
- <div class="discussion">
86
- These methods are the primary way your <span class='object_link'><a href="../Resource.html" title="Webmachine::Resource (class)">Webmachine::Resource</a></span>
87
- instance interacts with HTTP and the
88
- <span class='object_link'><a href="../Decision/FSM.html" title="Webmachine::Decision::FSM (class)">Decision::FSM</a></span>. Implementing a callback can change
89
- the portions of the graph that are made available to your
90
- application.
91
-
92
- </div>
93
- </div>
94
- <div class="tags">
95
-
96
-
97
- </div>
98
-
99
-
100
-
101
-
102
-
103
- <h2>
104
- Instance Method Summary
105
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
106
- </h2>
107
-
108
- <ul class="summary">
109
-
110
- <li class="public ">
111
- <span class="summary_signature">
112
-
113
- <a href="#allow_missing_post%3F-instance_method" title="#allow_missing_post? (instance method)">- (true, false) <strong>allow_missing_post?</strong> </a>
114
-
115
-
116
-
117
- </span>
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
- <span class="summary_desc"><div class='inline'>If the resource accepts POST requests to nonexistent resources,
127
- then this should return true.</div></span>
128
-
129
- </li>
130
-
131
-
132
- <li class="public ">
133
- <span class="summary_signature">
134
-
135
- <a href="#allowed_methods-instance_method" title="#allowed_methods (instance method)">- (Array&lt;String&gt;) <strong>allowed_methods</strong> </a>
136
-
137
-
138
-
139
- </span>
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- <span class="summary_desc"><div class='inline'>HTTP methods that are allowed on this resource.</div></span>
149
-
150
- </li>
151
-
152
-
153
- <li class="public ">
154
- <span class="summary_signature">
155
-
156
- <a href="#base_uri-instance_method" title="#base_uri (instance method)">- (String, ...) <strong>base_uri</strong> </a>
157
-
158
-
159
-
160
- </span>
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
- <span class="summary_desc"><div class='inline'>This will be called after <span class='object_link'><a href="#create_path-instance_method" title="Webmachine::Resource::Callbacks#create_path (method)">#create_path</a></span> but before setting the
170
- Location response header, and is used to determine the root
171
- URI of the new resource.</div></span>
172
-
173
- </li>
174
-
175
-
176
- <li class="public ">
177
- <span class="summary_signature">
178
-
179
- <a href="#charsets_provided-instance_method" title="#charsets_provided (instance method)">- (nil, Array) <strong>charsets_provided</strong> </a>
180
-
181
-
182
-
183
- </span>
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
- <span class="summary_desc"><div class='inline'>If this is anything other than nil, it must be an array of pairs
193
- where each pair is of the form Charset, Converter where Charset
194
- is a string naming a charset and Converter is an arity-1 method
195
- in the resource which will be called on the produced body in a
196
- GET and ensure that it is in Charset.</div></span>
197
-
198
- </li>
199
-
200
-
201
- <li class="public ">
202
- <span class="summary_signature">
203
-
204
- <a href="#content_types_accepted-instance_method" title="#content_types_accepted (instance method)">- (Array) <strong>content_types_accepted</strong> </a>
205
-
206
-
207
-
208
- </span>
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
- <span class="summary_desc"><div class='inline'>Similarly to content_types_provided, this should return an array
218
- of mediatype/handler pairs, except that it is for incoming
219
- resource representations -- for example, PUT requests.</div></span>
220
-
221
- </li>
222
-
223
-
224
- <li class="public ">
225
- <span class="summary_signature">
226
-
227
- <a href="#content_types_provided-instance_method" title="#content_types_provided (instance method)">- (Object) <strong>content_types_provided</strong> </a>
228
-
229
-
230
-
231
- </span>
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
- <span class="summary_desc"><div class='inline'>This should return an array of pairs where each pair is of the
241
- form [mediatype, :handler] where mediatype is a String of
242
- Content-Type format (or <span class='object_link'><a href="../MediaType.html" title="Webmachine::MediaType (class)">MediaType</a></span>) and :handler
243
- is a Symbol naming the method which can provide a resource
244
- representation in that media type.</div></span>
245
-
246
- </li>
247
-
248
-
249
- <li class="public ">
250
- <span class="summary_signature">
251
-
252
- <a href="#create_path-instance_method" title="#create_path (instance method)">- (String, URI) <strong>create_path</strong> </a>
253
-
254
-
255
-
256
- </span>
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
- <span class="summary_desc"><div class='inline'>This will be called on a POST request if post_is_create? returns
266
- true.</div></span>
267
-
268
- </li>
269
-
270
-
271
- <li class="public ">
272
- <span class="summary_signature">
273
-
274
- <a href="#delete_completed%3F-instance_method" title="#delete_completed? (instance method)">- (true, false) <strong>delete_completed?</strong> </a>
275
-
276
-
277
-
278
- </span>
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
- <span class="summary_desc"><div class='inline'>This method is called after a successful call to
288
- <span class='object_link'><a href="#delete_resource-instance_method" title="Webmachine::Resource::Callbacks#delete_resource (method)">#delete_resource</a></span> and should return false if the deletion was
289
- accepted but cannot yet be guaranteed to have finished.</div></span>
290
-
291
- </li>
292
-
293
-
294
- <li class="public ">
295
- <span class="summary_signature">
296
-
297
- <a href="#delete_resource-instance_method" title="#delete_resource (instance method)">- (true, false) <strong>delete_resource</strong> </a>
298
-
299
-
300
-
301
- </span>
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
- <span class="summary_desc"><div class='inline'>This method is called when a DELETE request should be enacted,
311
- and should return true if the deletion succeeded.</div></span>
312
-
313
- </li>
314
-
315
-
316
- <li class="public ">
317
- <span class="summary_signature">
318
-
319
- <a href="#encodings_provided-instance_method" title="#encodings_provided (instance method)">- (Hash) <strong>encodings_provided</strong> </a>
320
-
321
-
322
-
323
- </span>
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
- <span class="summary_desc"><div class='inline'>This should return a hash of encodings mapped to encoding
333
- methods for Content-Encodings your resource wants to
334
- provide.</div></span>
335
-
336
- </li>
337
-
338
-
339
- <li class="public ">
340
- <span class="summary_signature">
341
-
342
- <a href="#expires-instance_method" title="#expires (instance method)">- (Time, ...) <strong>expires</strong> </a>
343
-
344
-
345
-
346
- </span>
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
- <span class="summary_desc"><div class='inline'>If the resource expires, this method should return the date/time
356
- it expires.</div></span>
357
-
358
- </li>
359
-
360
-
361
- <li class="public ">
362
- <span class="summary_signature">
363
-
364
- <a href="#finish_request-instance_method" title="#finish_request (instance method)">- (Object) <strong>finish_request</strong> </a>
365
-
366
-
367
-
368
- </span>
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
- <span class="summary_desc"><div class='inline'>This method is called just before the final response is
378
- constructed and sent.</div></span>
379
-
380
- </li>
381
-
382
-
383
- <li class="public ">
384
- <span class="summary_signature">
385
-
386
- <a href="#forbidden%3F-instance_method" title="#forbidden? (instance method)">- (true, false) <strong>forbidden?</strong> </a>
387
-
388
-
389
-
390
- </span>
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
- <span class="summary_desc"><div class='inline'>Is the request or client forbidden? Returning a truthy value
400
- (true or non-nil) will result in a '403 Forbidden' response.</div></span>
401
-
402
- </li>
403
-
404
-
405
- <li class="public ">
406
- <span class="summary_signature">
407
-
408
- <a href="#generate_etag-instance_method" title="#generate_etag (instance method)">- (String<sup>?</sup>) <strong>generate_etag</strong> </a>
409
-
410
-
411
-
412
- </span>
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
- <span class="summary_desc"><div class='inline'>If this returns a value, it will be used as the value of the
422
- ETag header and for comparison in conditional requests.</div></span>
423
-
424
- </li>
425
-
426
-
427
- <li class="public ">
428
- <span class="summary_signature">
429
-
430
- <a href="#is_authorized%3F-instance_method" title="#is_authorized? (instance method)">- (true, ...) <strong>is_authorized?</strong>(authorization_header = nil) </a>
431
-
432
-
433
-
434
- </span>
435
-
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
- <span class="summary_desc"><div class='inline'>Is the client or request authorized? Returning anything other than true
444
- will result in a '401 Unauthorized' response.</div></span>
445
-
446
- </li>
447
-
448
-
449
- <li class="public ">
450
- <span class="summary_signature">
451
-
452
- <a href="#is_conflict%3F-instance_method" title="#is_conflict? (instance method)">- (true, false) <strong>is_conflict?</strong> </a>
453
-
454
-
455
-
456
- </span>
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
- <span class="summary_desc"><div class='inline'>If this returns true, the client will receive a '409 Conflict'
466
- response.</div></span>
467
-
468
- </li>
469
-
470
-
471
- <li class="public ">
472
- <span class="summary_signature">
473
-
474
- <a href="#known_content_type%3F-instance_method" title="#known_content_type? (instance method)">- (true, false) <strong>known_content_type?</strong>(content_type = nil) </a>
475
-
476
-
477
-
478
- </span>
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
- <span class="summary_desc"><div class='inline'>If the Content-Type on PUT or POST is unknown, this should
488
- return false, which will result in a '415 Unsupported Media
489
- Type' response.</div></span>
490
-
491
- </li>
492
-
493
-
494
- <li class="public ">
495
- <span class="summary_signature">
496
-
497
- <a href="#known_methods-instance_method" title="#known_methods (instance method)">- (Array&lt;String&gt;) <strong>known_methods</strong> </a>
498
-
499
-
500
-
501
- </span>
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
- <span class="summary_desc"><div class='inline'>HTTP methods that are known to the resource.</div></span>
511
-
512
- </li>
513
-
514
-
515
- <li class="public ">
516
- <span class="summary_signature">
517
-
518
- <a href="#language_chosen-instance_method" title="#language_chosen (instance method)">- (Object) <strong>language_chosen</strong>(lang) </a>
519
-
520
-
521
-
522
- </span>
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
- <span class="summary_desc"><div class='inline'>This should receive the chosen language and do something with
532
- it that is resource-specific.</div></span>
533
-
534
- </li>
535
-
536
-
537
- <li class="public ">
538
- <span class="summary_signature">
539
-
540
- <a href="#languages_provided-instance_method" title="#languages_provided (instance method)">- (Array&lt;String&gt;) <strong>languages_provided</strong> </a>
541
-
542
-
543
-
544
- </span>
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
- <span class="summary_desc"><div class='inline'>This should return a list of language tags provided by the
554
- resource.</div></span>
555
-
556
- </li>
557
-
558
-
559
- <li class="public ">
560
- <span class="summary_signature">
561
-
562
- <a href="#last_modified-instance_method" title="#last_modified (instance method)">- (Time, ...) <strong>last_modified</strong> </a>
563
-
564
-
565
-
566
- </span>
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
- <span class="summary_desc"><div class='inline'>This method should return the last modified date/time of the
576
- resource which will be added as the Last-Modified header in the
577
- response and used in negotiating conditional requests.</div></span>
578
-
579
- </li>
580
-
581
-
582
- <li class="public ">
583
- <span class="summary_signature">
584
-
585
- <a href="#malformed_request%3F-instance_method" title="#malformed_request? (instance method)">- (true, false) <strong>malformed_request?</strong> </a>
586
-
587
-
588
-
589
- </span>
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
- <span class="summary_desc"><div class='inline'>If the request is malformed, this should return true, which will
599
- result in a '400 Malformed Request' response.</div></span>
600
-
601
- </li>
602
-
603
-
604
- <li class="public ">
605
- <span class="summary_signature">
606
-
607
- <a href="#moved_permanently%3F-instance_method" title="#moved_permanently? (instance method)">- (String, ...) <strong>moved_permanently?</strong> </a>
608
-
609
-
610
-
611
- </span>
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
- <span class="summary_desc"><div class='inline'>If this resource has moved to a new location permanently, this
621
- method should return the new location as a String or
622
- URI.</div></span>
623
-
624
- </li>
625
-
626
-
627
- <li class="public ">
628
- <span class="summary_signature">
629
-
630
- <a href="#moved_temporarily%3F-instance_method" title="#moved_temporarily? (instance method)">- (String, ...) <strong>moved_temporarily?</strong> </a>
631
-
632
-
633
-
634
- </span>
635
-
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
- <span class="summary_desc"><div class='inline'>If this resource has moved to a new location temporarily, this
644
- method should return the new location as a String or
645
- URI.</div></span>
646
-
647
- </li>
648
-
649
-
650
- <li class="public ">
651
- <span class="summary_signature">
652
-
653
- <a href="#multiple_choices%3F-instance_method" title="#multiple_choices? (instance method)">- (true, false) <strong>multiple_choices?</strong> </a>
654
-
655
-
656
-
657
- </span>
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
- <span class="summary_desc"><div class='inline'>If this returns true, then it is assumed that multiple
667
- representations of the response are possible and a single one
668
- cannot be automatically chosen, so a 300 Multiple Choices will
669
- be sent instead of a 200.</div></span>
670
-
671
- </li>
672
-
673
-
674
- <li class="public ">
675
- <span class="summary_signature">
676
-
677
- <a href="#options-instance_method" title="#options (instance method)">- (Hash) <strong>options</strong> </a>
678
-
679
-
680
-
681
- </span>
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
- <span class="summary_desc"><div class='inline'>If the OPTIONS method is supported and is used, this method
691
- should return a Hash of headers that should appear in the
692
- response.</div></span>
693
-
694
- </li>
695
-
696
-
697
- <li class="public ">
698
- <span class="summary_signature">
699
-
700
- <a href="#post_is_create%3F-instance_method" title="#post_is_create? (instance method)">- (true, false) <strong>post_is_create?</strong> </a>
701
-
702
-
703
-
704
- </span>
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
- <span class="summary_desc"><div class='inline'>If POST requests should be treated as a request to put content
714
- into a (potentially new) resource as opposed to a generic
715
- submission for processing, then this method should return
716
- true.</div></span>
717
-
718
- </li>
719
-
720
-
721
- <li class="public ">
722
- <span class="summary_signature">
723
-
724
- <a href="#previously_existed%3F-instance_method" title="#previously_existed? (instance method)">- (true, false) <strong>previously_existed?</strong> </a>
725
-
726
-
727
-
728
- </span>
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
- <span class="summary_desc"><div class='inline'>If this resource is known to have existed previously, this
738
- method should return true.</div></span>
739
-
740
- </li>
741
-
742
-
743
- <li class="public ">
744
- <span class="summary_signature">
745
-
746
- <a href="#process_post-instance_method" title="#process_post (instance method)">- (true, ...) <strong>process_post</strong> </a>
747
-
748
-
749
-
750
- </span>
751
-
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
- <span class="summary_desc"><div class='inline'>If post_is_create? returns false, then this will be called to
760
- process any POST request.</div></span>
761
-
762
- </li>
763
-
764
-
765
- <li class="public ">
766
- <span class="summary_signature">
767
-
768
- <a href="#resource_exists%3F-instance_method" title="#resource_exists? (instance method)">- (true, false) <strong>resource_exists?</strong> </a>
769
-
770
-
771
-
772
- </span>
773
-
774
-
775
-
776
-
777
-
778
-
779
-
780
-
781
- <span class="summary_desc"><div class='inline'>Does the resource exist? Returning a falsey value (false or nil)
782
- will result in a '404 Not Found' response.</div></span>
783
-
784
- </li>
785
-
786
-
787
- <li class="public ">
788
- <span class="summary_signature">
789
-
790
- <a href="#service_available%3F-instance_method" title="#service_available? (instance method)">- (true, false) <strong>service_available?</strong> </a>
791
-
792
-
793
-
794
- </span>
795
-
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
- <span class="summary_desc"><div class='inline'>Is the resource available? Returning a falsey value (false or
804
- nil) will result in a '503 Service Not Available'
805
- response.</div></span>
806
-
807
- </li>
808
-
809
-
810
- <li class="public ">
811
- <span class="summary_signature">
812
-
813
- <a href="#uri_too_long%3F-instance_method" title="#uri_too_long? (instance method)">- (true, false) <strong>uri_too_long?</strong>(uri = nil) </a>
814
-
815
-
816
-
817
- </span>
818
-
819
-
820
-
821
-
822
-
823
-
824
-
825
-
826
- <span class="summary_desc"><div class='inline'>If the URI is too long to be processed, this should return true,
827
- which will result in a '414 Request URI Too Long'
828
- response.</div></span>
829
-
830
- </li>
831
-
832
-
833
- <li class="public ">
834
- <span class="summary_signature">
835
-
836
- <a href="#valid_content_headers%3F-instance_method" title="#valid_content_headers? (instance method)">- (true, false) <strong>valid_content_headers?</strong>(content_headers = nil) </a>
837
-
838
-
839
-
840
- </span>
841
-
842
-
843
-
844
-
845
-
846
-
847
-
848
-
849
- <span class="summary_desc"><div class='inline'>If the request includes any invalid Content-* headers, this
850
- should return false, which will result in a '501 Not
851
- Implemented' response.</div></span>
852
-
853
- </li>
854
-
855
-
856
- <li class="public ">
857
- <span class="summary_signature">
858
-
859
- <a href="#valid_entity_length%3F-instance_method" title="#valid_entity_length? (instance method)">- (true, false) <strong>valid_entity_length?</strong>(length = nil) </a>
860
-
861
-
862
-
863
- </span>
864
-
865
-
866
-
867
-
868
-
869
-
870
-
871
-
872
- <span class="summary_desc"><div class='inline'>If the entity length on PUT or POST is invalid, this should
873
- return false, which will result in a '413 Request Entity Too
874
- Large' response.</div></span>
875
-
876
- </li>
877
-
878
-
879
- <li class="public ">
880
- <span class="summary_signature">
881
-
882
- <a href="#validate_content_checksum-instance_method" title="#validate_content_checksum (instance method)">- (true, ...) <strong>validate_content_checksum</strong> </a>
883
-
884
-
885
-
886
- </span>
887
-
888
-
889
-
890
-
891
-
892
-
893
-
894
-
895
- <span class="summary_desc"><div class='inline'>This method is called when verifying the Content-MD5 header
896
- against the request body.</div></span>
897
-
898
- </li>
899
-
900
-
901
- <li class="public ">
902
- <span class="summary_signature">
903
-
904
- <a href="#variances-instance_method" title="#variances (instance method)">- (Array&lt;String&gt;) <strong>variances</strong> </a>
905
-
906
-
907
-
908
- </span>
909
-
910
-
911
-
912
-
913
-
914
-
915
-
916
-
917
- <span class="summary_desc"><div class='inline'>If this method is implemented, it should return a list of
918
- strings with header names that should be included in a given
919
- response's Vary header.</div></span>
920
-
921
- </li>
922
-
923
-
924
- </ul>
925
-
926
-
927
-
928
-
929
- <div id="instance_method_details" class="method_details_list">
930
- <h2>Instance Method Details</h2>
931
-
932
-
933
- <div class="method_details first">
934
- <p class="signature first" id="allow_missing_post?-instance_method">
935
-
936
- - (<tt>true</tt>, <tt>false</tt>) <strong>allow_missing_post?</strong>
937
-
938
-
939
-
940
- </p><div class="docstring">
941
- <div class="discussion">
942
- If the resource accepts POST requests to nonexistent resources,
943
- then this should return true. Defaults to false.
944
-
945
- </div>
946
- </div>
947
- <div class="tags">
948
-
949
- <h3>Returns:</h3>
950
- <ul class="return">
951
-
952
- <li>
953
-
954
-
955
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
956
-
957
-
958
-
959
- &mdash;
960
- <div class='inline'>Whether to accept POST requests to missing
961
- resources.</div>
962
-
963
- </li>
964
-
965
- </ul>
966
-
967
- </div><table class="source_code">
968
- <tr>
969
- <td>
970
- <pre class="lines">
971
-
972
-
973
- 55
974
- 56
975
- 57</pre>
976
- </td>
977
- <td>
978
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 55</span>
979
-
980
- <span class='kw'>def</span> <span class='id allow_missing_post?'>allow_missing_post?</span>
981
- <span class='kw'>false</span>
982
- <span class='kw'>end</span></pre>
983
- </td>
984
- </tr>
985
- </table>
986
- </div>
987
-
988
- <div class="method_details ">
989
- <p class="signature " id="allowed_methods-instance_method">
990
-
991
- - (<tt>Array&lt;String&gt;</tt>) <strong>allowed_methods</strong>
992
-
993
-
994
-
995
- </p><div class="docstring">
996
- <div class="discussion">
997
- HTTP methods that are allowed on this resource. This must return
998
- an Array of Strings in all capitals. Defaults to ['GET','HEAD'].
999
-
1000
- </div>
1001
- </div>
1002
- <div class="tags">
1003
-
1004
- <h3>Returns:</h3>
1005
- <ul class="return">
1006
-
1007
- <li>
1008
-
1009
-
1010
- <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
1011
-
1012
-
1013
-
1014
- &mdash;
1015
- <div class='inline'>allowed methods on this resource</div>
1016
-
1017
- </li>
1018
-
1019
- </ul>
1020
-
1021
- </div><table class="source_code">
1022
- <tr>
1023
- <td>
1024
- <pre class="lines">
1025
-
1026
-
1027
- 125
1028
- 126
1029
- 127</pre>
1030
- </td>
1031
- <td>
1032
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 125</span>
1033
-
1034
- <span class='kw'>def</span> <span class='id allowed_methods'>allowed_methods</span>
1035
- <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GET</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>HEAD</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
1036
- <span class='kw'>end</span></pre>
1037
- </td>
1038
- </tr>
1039
- </table>
1040
- </div>
1041
-
1042
- <div class="method_details ">
1043
- <p class="signature " id="base_uri-instance_method">
1044
-
1045
- - (<tt>String</tt>, ...) <strong>base_uri</strong>
1046
-
1047
-
1048
-
1049
- </p><div class="docstring">
1050
- <div class="discussion">
1051
- This will be called after <span class='object_link'><a href="#create_path-instance_method" title="Webmachine::Resource::Callbacks#create_path (method)">#create_path</a></span> but before setting the
1052
- Location response header, and is used to determine the root
1053
- URI of the new resource. Default is nil, which uses the URI of
1054
- the request as the base.
1055
-
1056
- </div>
1057
- </div>
1058
- <div class="tags">
1059
-
1060
- <h3>Returns:</h3>
1061
- <ul class="return">
1062
-
1063
- <li>
1064
-
1065
-
1066
- <span class='type'>(<tt>String</tt>, <tt>URI</tt>, <tt>nil</tt>)</span>
1067
-
1068
-
1069
-
1070
- </li>
1071
-
1072
- </ul>
1073
-
1074
- </div><table class="source_code">
1075
- <tr>
1076
- <td>
1077
- <pre class="lines">
1078
-
1079
-
1080
- 187
1081
- 188
1082
- 189</pre>
1083
- </td>
1084
- <td>
1085
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 187</span>
1086
-
1087
- <span class='kw'>def</span> <span class='id base_uri'>base_uri</span>
1088
- <span class='kw'>nil</span>
1089
- <span class='kw'>end</span></pre>
1090
- </td>
1091
- </tr>
1092
- </table>
1093
- </div>
1094
-
1095
- <div class="method_details ">
1096
- <p class="signature " id="charsets_provided-instance_method">
1097
-
1098
- - (<tt>nil</tt>, <tt>Array</tt>) <strong>charsets_provided</strong>
1099
-
1100
-
1101
-
1102
- </p><div class="docstring">
1103
- <div class="discussion">
1104
- If this is anything other than nil, it must be an array of pairs
1105
- where each pair is of the form Charset, Converter where Charset
1106
- is a string naming a charset and Converter is an arity-1 method
1107
- in the resource which will be called on the produced body in a
1108
- GET and ensure that it is in Charset.
1109
-
1110
- </div>
1111
- </div>
1112
- <div class="tags">
1113
-
1114
- <h3>Returns:</h3>
1115
- <ul class="return">
1116
-
1117
- <li>
1118
-
1119
-
1120
- <span class='type'>(<tt>nil</tt>, <tt>Array</tt>)</span>
1121
-
1122
-
1123
-
1124
- &mdash;
1125
- <div class='inline'>The provided character sets and encoder
1126
- methods, or nothing.</div>
1127
-
1128
- </li>
1129
-
1130
- </ul>
1131
-
1132
- </div><table class="source_code">
1133
- <tr>
1134
- <td>
1135
- <pre class="lines">
1136
-
1137
-
1138
- 234
1139
- 235
1140
- 236</pre>
1141
- </td>
1142
- <td>
1143
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 234</span>
1144
-
1145
- <span class='kw'>def</span> <span class='id charsets_provided'>charsets_provided</span>
1146
- <span class='kw'>nil</span>
1147
- <span class='kw'>end</span></pre>
1148
- </td>
1149
- </tr>
1150
- </table>
1151
- </div>
1152
-
1153
- <div class="method_details ">
1154
- <p class="signature " id="content_types_accepted-instance_method">
1155
-
1156
- - (<tt>Array</tt>) <strong>content_types_accepted</strong>
1157
-
1158
-
1159
-
1160
- </p><div class="docstring">
1161
- <div class="discussion">
1162
- Similarly to content_types_provided, this should return an array
1163
- of mediatype/handler pairs, except that it is for incoming
1164
- resource representations -- for example, PUT requests. Handler
1165
- functions usually want to use <span class='object_link'><a href="../Request.html#body-instance_method" title="Webmachine::Request#body (method)">Webmachine::Request#body</a></span> to access the
1166
- incoming entity.
1167
-
1168
- </div>
1169
- </div>
1170
- <div class="tags">
1171
-
1172
- <h3>Returns:</h3>
1173
- <ul class="return">
1174
-
1175
- <li>
1176
-
1177
-
1178
- <span class='type'>(<tt>Array</tt>)</span>
1179
-
1180
-
1181
-
1182
- &mdash;
1183
- <div class='inline'>an array of mediatype/handler pairs</div>
1184
-
1185
- </li>
1186
-
1187
- </ul>
1188
-
1189
- </div><table class="source_code">
1190
- <tr>
1191
- <td>
1192
- <pre class="lines">
1193
-
1194
-
1195
- 222
1196
- 223
1197
- 224</pre>
1198
- </td>
1199
- <td>
1200
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 222</span>
1201
-
1202
- <span class='kw'>def</span> <span class='id content_types_accepted'>content_types_accepted</span>
1203
- <span class='lbracket'>[</span><span class='rbracket'>]</span>
1204
- <span class='kw'>end</span></pre>
1205
- </td>
1206
- </tr>
1207
- </table>
1208
- </div>
1209
-
1210
- <div class="method_details ">
1211
- <p class="signature " id="content_types_provided-instance_method">
1212
-
1213
- - (<tt>Object</tt>) <strong>content_types_provided</strong>
1214
-
1215
-
1216
-
1217
- </p><div class="docstring">
1218
- <div class="discussion">
1219
- This should return an array of pairs where each pair is of the
1220
- form [mediatype, :handler] where mediatype is a String of
1221
- Content-Type format (or <span class='object_link'><a href="../MediaType.html" title="Webmachine::MediaType (class)">MediaType</a></span>) and :handler
1222
- is a Symbol naming the method which can provide a resource
1223
- representation in that media type. For example, if a client
1224
- request includes an 'Accept' header with a value that does not
1225
- appear as a first element in any of the return pairs, then a
1226
- '406 Not Acceptable' will be sent. Default is [['text/html',
1227
- :to_html]].
1228
-
1229
- </div>
1230
- </div>
1231
- <div class="tags">
1232
-
1233
- <h3>Returns:</h3>
1234
- <ul class="return">
1235
-
1236
- <li>
1237
-
1238
-
1239
- <span class='type'></span>
1240
-
1241
-
1242
-
1243
-
1244
- <div class='inline'>an array of mediatype/handler pairs</div>
1245
-
1246
- </li>
1247
-
1248
- </ul>
1249
-
1250
- </div><table class="source_code">
1251
- <tr>
1252
- <td>
1253
- <pre class="lines">
1254
-
1255
-
1256
- 211
1257
- 212
1258
- 213</pre>
1259
- </td>
1260
- <td>
1261
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 211</span>
1262
-
1263
- <span class='kw'>def</span> <span class='id content_types_provided'>content_types_provided</span>
1264
- <span class='lbracket'>[</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>text/html</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:to_html</span><span class='rbracket'>]</span><span class='rbracket'>]</span>
1265
- <span class='kw'>end</span></pre>
1266
- </td>
1267
- </tr>
1268
- </table>
1269
- </div>
1270
-
1271
- <div class="method_details ">
1272
- <p class="signature " id="create_path-instance_method">
1273
-
1274
- - (<tt>String</tt>, <tt>URI</tt>) <strong>create_path</strong>
1275
-
1276
-
1277
-
1278
- </p><div class="docstring">
1279
- <div class="discussion">
1280
- This will be called on a POST request if post_is_create? returns
1281
- true. The path returned should be a valid URI part following the
1282
- dispatcher prefix. That path will replace the previous one in
1283
- the return value of <span class='object_link'><a href="../Request.html#disp_path-instance_method" title="Webmachine::Request#disp_path (method)">Webmachine::Request#disp_path</a></span> for all subsequent
1284
- resource function calls in the course of this request.
1285
-
1286
- </div>
1287
- </div>
1288
- <div class="tags">
1289
-
1290
- <h3>Returns:</h3>
1291
- <ul class="return">
1292
-
1293
- <li>
1294
-
1295
-
1296
- <span class='type'>(<tt>String</tt>, <tt>URI</tt>)</span>
1297
-
1298
-
1299
-
1300
- &mdash;
1301
- <div class='inline'>the path to the new resource</div>
1302
-
1303
- </li>
1304
-
1305
- </ul>
1306
-
1307
- </div><table class="source_code">
1308
- <tr>
1309
- <td>
1310
- <pre class="lines">
1311
-
1312
-
1313
- 177
1314
- 178
1315
- 179</pre>
1316
- </td>
1317
- <td>
1318
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 177</span>
1319
-
1320
- <span class='kw'>def</span> <span class='id create_path'>create_path</span>
1321
- <span class='kw'>nil</span>
1322
- <span class='kw'>end</span></pre>
1323
- </td>
1324
- </tr>
1325
- </table>
1326
- </div>
1327
-
1328
- <div class="method_details ">
1329
- <p class="signature " id="delete_completed?-instance_method">
1330
-
1331
- - (<tt>true</tt>, <tt>false</tt>) <strong>delete_completed?</strong>
1332
-
1333
-
1334
-
1335
- </p><div class="docstring">
1336
- <div class="discussion">
1337
- This method is called after a successful call to
1338
- <span class='object_link'><a href="#delete_resource-instance_method" title="Webmachine::Resource::Callbacks#delete_resource (method)">#delete_resource</a></span> and should return false if the deletion was
1339
- accepted but cannot yet be guaranteed to have finished. Defaults
1340
- to true.
1341
-
1342
- </div>
1343
- </div>
1344
- <div class="tags">
1345
-
1346
- <h3>Returns:</h3>
1347
- <ul class="return">
1348
-
1349
- <li>
1350
-
1351
-
1352
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
1353
-
1354
-
1355
-
1356
- &mdash;
1357
- <div class='inline'>Whether the deletion completed</div>
1358
-
1359
- </li>
1360
-
1361
- </ul>
1362
-
1363
- </div><table class="source_code">
1364
- <tr>
1365
- <td>
1366
- <pre class="lines">
1367
-
1368
-
1369
- 154
1370
- 155
1371
- 156</pre>
1372
- </td>
1373
- <td>
1374
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 154</span>
1375
-
1376
- <span class='kw'>def</span> <span class='id delete_completed?'>delete_completed?</span>
1377
- <span class='kw'>true</span>
1378
- <span class='kw'>end</span></pre>
1379
- </td>
1380
- </tr>
1381
- </table>
1382
- </div>
1383
-
1384
- <div class="method_details ">
1385
- <p class="signature " id="delete_resource-instance_method">
1386
-
1387
- - (<tt>true</tt>, <tt>false</tt>) <strong>delete_resource</strong>
1388
-
1389
-
1390
-
1391
- </p><div class="docstring">
1392
- <div class="discussion">
1393
- This method is called when a DELETE request should be enacted,
1394
- and should return true if the deletion succeeded. Defaults to false.
1395
-
1396
- </div>
1397
- </div>
1398
- <div class="tags">
1399
-
1400
- <h3>Returns:</h3>
1401
- <ul class="return">
1402
-
1403
- <li>
1404
-
1405
-
1406
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
1407
-
1408
-
1409
-
1410
- &mdash;
1411
- <div class='inline'>Whether the deletion succeeded.</div>
1412
-
1413
- </li>
1414
-
1415
- </ul>
1416
-
1417
- </div><table class="source_code">
1418
- <tr>
1419
- <td>
1420
- <pre class="lines">
1421
-
1422
-
1423
- 144
1424
- 145
1425
- 146</pre>
1426
- </td>
1427
- <td>
1428
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 144</span>
1429
-
1430
- <span class='kw'>def</span> <span class='id delete_resource'>delete_resource</span>
1431
- <span class='kw'>false</span>
1432
- <span class='kw'>end</span></pre>
1433
- </td>
1434
- </tr>
1435
- </table>
1436
- </div>
1437
-
1438
- <div class="method_details ">
1439
- <p class="signature " id="encodings_provided-instance_method">
1440
-
1441
- - (<tt>Hash</tt>) <strong>encodings_provided</strong>
1442
-
1443
-
1444
-
1445
- </p><div class="docstring">
1446
- <div class="discussion">
1447
- This should return a hash of encodings mapped to encoding
1448
- methods for Content-Encodings your resource wants to
1449
- provide. The encoding will be applied to the response body
1450
- automatically by Webmachine. A number of built-in encodings
1451
- are provided in the <span class='object_link'><a href="Encodings.html" title="Webmachine::Resource::Encodings (module)">Encodings</a></span> module. Default includes only
1452
- the 'identity' encoding.
1453
-
1454
- </div>
1455
- </div>
1456
- <div class="tags">
1457
-
1458
- <h3>Returns:</h3>
1459
- <ul class="return">
1460
-
1461
- <li>
1462
-
1463
-
1464
- <span class='type'>(<tt>Hash</tt>)</span>
1465
-
1466
-
1467
-
1468
- &mdash;
1469
- <div class='inline'>a hash of encodings and encoder methods/procs</div>
1470
-
1471
- </li>
1472
-
1473
- </ul>
1474
-
1475
- <h3>See Also:</h3>
1476
- <ul class="see">
1477
-
1478
- <li><span class='object_link'><a href="Encodings.html" title="Webmachine::Resource::Encodings (module)">Encodings</a></span></li>
1479
-
1480
- </ul>
1481
-
1482
- </div><table class="source_code">
1483
- <tr>
1484
- <td>
1485
- <pre class="lines">
1486
-
1487
-
1488
- 265
1489
- 266
1490
- 267</pre>
1491
- </td>
1492
- <td>
1493
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 265</span>
1494
-
1495
- <span class='kw'>def</span> <span class='id encodings_provided'>encodings_provided</span>
1496
- <span class='lbrace'>{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>identity</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='symbol'>:encode_identity</span> <span class='rbrace'>}</span>
1497
- <span class='kw'>end</span></pre>
1498
- </td>
1499
- </tr>
1500
- </table>
1501
- </div>
1502
-
1503
- <div class="method_details ">
1504
- <p class="signature " id="expires-instance_method">
1505
-
1506
- - (<tt>Time</tt>, ...) <strong>expires</strong>
1507
-
1508
-
1509
-
1510
- </p><div class="docstring">
1511
- <div class="discussion">
1512
- If the resource expires, this method should return the date/time
1513
- it expires. Default is nil.
1514
-
1515
- </div>
1516
- </div>
1517
- <div class="tags">
1518
-
1519
- <h3>Returns:</h3>
1520
- <ul class="return">
1521
-
1522
- <li>
1523
-
1524
-
1525
- <span class='type'>(<tt>Time</tt>, <tt>DateTime</tt>, <tt>Date</tt>, <tt>nil</tt>)</span>
1526
-
1527
-
1528
-
1529
- &mdash;
1530
- <div class='inline'>the expiration time</div>
1531
-
1532
- </li>
1533
-
1534
- </ul>
1535
-
1536
- </div><table class="source_code">
1537
- <tr>
1538
- <td>
1539
- <pre class="lines">
1540
-
1541
-
1542
- 344
1543
- 345
1544
- 346</pre>
1545
- </td>
1546
- <td>
1547
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 344</span>
1548
-
1549
- <span class='kw'>def</span> <span class='id expires'>expires</span>
1550
- <span class='kw'>nil</span>
1551
- <span class='kw'>end</span></pre>
1552
- </td>
1553
- </tr>
1554
- </table>
1555
- </div>
1556
-
1557
- <div class="method_details ">
1558
- <p class="signature " id="finish_request-instance_method">
1559
-
1560
- - (<tt>Object</tt>) <strong>finish_request</strong>
1561
-
1562
-
1563
-
1564
- </p><div class="docstring">
1565
- <div class="discussion">
1566
- This method is called just before the final response is
1567
- constructed and sent. The return value is ignored, so any effect
1568
- of this method must be by modifying the response.
1569
-
1570
- </div>
1571
- </div>
1572
- <div class="tags">
1573
-
1574
-
1575
- </div><table class="source_code">
1576
- <tr>
1577
- <td>
1578
- <pre class="lines">
1579
-
1580
-
1581
- 361</pre>
1582
- </td>
1583
- <td>
1584
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 361</span>
1585
-
1586
- <span class='kw'>def</span> <span class='id finish_request'>finish_request</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1587
- </td>
1588
- </tr>
1589
- </table>
1590
- </div>
1591
-
1592
- <div class="method_details ">
1593
- <p class="signature " id="forbidden?-instance_method">
1594
-
1595
- - (<tt>true</tt>, <tt>false</tt>) <strong>forbidden?</strong>
1596
-
1597
-
1598
-
1599
- </p><div class="docstring">
1600
- <div class="discussion">
1601
- Is the request or client forbidden? Returning a truthy value
1602
- (true or non-nil) will result in a '403 Forbidden' response.
1603
- Defaults to false.
1604
-
1605
- </div>
1606
- </div>
1607
- <div class="tags">
1608
-
1609
- <h3>Returns:</h3>
1610
- <ul class="return">
1611
-
1612
- <li>
1613
-
1614
-
1615
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
1616
-
1617
-
1618
-
1619
- &mdash;
1620
- <div class='inline'>Whether the client or request is forbidden.</div>
1621
-
1622
- </li>
1623
-
1624
- </ul>
1625
-
1626
- </div><table class="source_code">
1627
- <tr>
1628
- <td>
1629
- <pre class="lines">
1630
-
1631
-
1632
- 46
1633
- 47
1634
- 48</pre>
1635
- </td>
1636
- <td>
1637
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 46</span>
1638
-
1639
- <span class='kw'>def</span> <span class='id forbidden?'>forbidden?</span>
1640
- <span class='kw'>false</span>
1641
- <span class='kw'>end</span></pre>
1642
- </td>
1643
- </tr>
1644
- </table>
1645
- </div>
1646
-
1647
- <div class="method_details ">
1648
- <p class="signature " id="generate_etag-instance_method">
1649
-
1650
- - (<tt>String</tt><sup>?</sup>) <strong>generate_etag</strong>
1651
-
1652
-
1653
-
1654
- </p><div class="docstring">
1655
- <div class="discussion">
1656
- If this returns a value, it will be used as the value of the
1657
- ETag header and for comparison in conditional requests. Default
1658
- is nil.
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>String</tt>, <tt>nil</tt>)</span>
1671
-
1672
-
1673
-
1674
- &mdash;
1675
- <div class='inline'>the entity tag for this resource</div>
1676
-
1677
- </li>
1678
-
1679
- </ul>
1680
-
1681
- </div><table class="source_code">
1682
- <tr>
1683
- <td>
1684
- <pre class="lines">
1685
-
1686
-
1687
- 353
1688
- 354
1689
- 355</pre>
1690
- </td>
1691
- <td>
1692
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 353</span>
1693
-
1694
- <span class='kw'>def</span> <span class='id generate_etag'>generate_etag</span>
1695
- <span class='kw'>nil</span>
1696
- <span class='kw'>end</span></pre>
1697
- </td>
1698
- </tr>
1699
- </table>
1700
- </div>
1701
-
1702
- <div class="method_details ">
1703
- <p class="signature " id="is_authorized?-instance_method">
1704
-
1705
- - (<tt>true</tt>, ...) <strong>is_authorized?</strong>(authorization_header = nil)
1706
-
1707
-
1708
-
1709
- </p><div class="docstring">
1710
- <div class="discussion">
1711
- Is the client or request authorized? Returning anything other than true
1712
- will result in a '401 Unauthorized' response. Defaults to
1713
- true. If a String is returned, it will be used as the value in
1714
- the WWW-Authenticate header, which can also be set manually.
1715
-
1716
- </div>
1717
- </div>
1718
- <div class="tags">
1719
- <h3>Parameters:</h3>
1720
- <ul class="param">
1721
-
1722
- <li>
1723
-
1724
- <span class='name'>authorization_header</span>
1725
-
1726
-
1727
- <span class='type'>(<tt>String</tt>)</span>
1728
-
1729
-
1730
- <em class="default">(defaults to: <tt>nil</tt>)</em>
1731
-
1732
-
1733
- &mdash;
1734
- <div class='inline'>The contents of the
1735
- 'Authorization' header sent by the client, if present.</div>
1736
-
1737
- </li>
1738
-
1739
- </ul>
1740
-
1741
- <h3>Returns:</h3>
1742
- <ul class="return">
1743
-
1744
- <li>
1745
-
1746
-
1747
- <span class='type'>(<tt>true</tt>, <tt>false</tt>, <tt>String</tt>)</span>
1748
-
1749
-
1750
-
1751
- &mdash;
1752
- <div class='inline'>Whether the client is authorized,
1753
- and if not, the WWW-Authenticate header when a String.</div>
1754
-
1755
- </li>
1756
-
1757
- </ul>
1758
-
1759
- </div><table class="source_code">
1760
- <tr>
1761
- <td>
1762
- <pre class="lines">
1763
-
1764
-
1765
- 37
1766
- 38
1767
- 39</pre>
1768
- </td>
1769
- <td>
1770
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 37</span>
1771
-
1772
- <span class='kw'>def</span> <span class='id is_authorized?'>is_authorized?</span><span class='lparen'>(</span><span class='id authorization_header'>authorization_header</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1773
- <span class='kw'>true</span>
1774
- <span class='kw'>end</span></pre>
1775
- </td>
1776
- </tr>
1777
- </table>
1778
- </div>
1779
-
1780
- <div class="method_details ">
1781
- <p class="signature " id="is_conflict?-instance_method">
1782
-
1783
- - (<tt>true</tt>, <tt>false</tt>) <strong>is_conflict?</strong>
1784
-
1785
-
1786
-
1787
- </p><div class="docstring">
1788
- <div class="discussion">
1789
- If this returns true, the client will receive a '409 Conflict'
1790
- response. This is only called for PUT requests. Default is false.
1791
-
1792
- </div>
1793
- </div>
1794
- <div class="tags">
1795
-
1796
- <h3>Returns:</h3>
1797
- <ul class="return">
1798
-
1799
- <li>
1800
-
1801
-
1802
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
1803
-
1804
-
1805
-
1806
- &mdash;
1807
- <div class='inline'>whether the submitted entity is in conflict
1808
- with the current state of the resource</div>
1809
-
1810
- </li>
1811
-
1812
- </ul>
1813
-
1814
- </div><table class="source_code">
1815
- <tr>
1816
- <td>
1817
- <pre class="lines">
1818
-
1819
-
1820
- 287
1821
- 288
1822
- 289</pre>
1823
- </td>
1824
- <td>
1825
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 287</span>
1826
-
1827
- <span class='kw'>def</span> <span class='id is_conflict?'>is_conflict?</span>
1828
- <span class='kw'>false</span>
1829
- <span class='kw'>end</span></pre>
1830
- </td>
1831
- </tr>
1832
- </table>
1833
- </div>
1834
-
1835
- <div class="method_details ">
1836
- <p class="signature " id="known_content_type?-instance_method">
1837
-
1838
- - (<tt>true</tt>, <tt>false</tt>) <strong>known_content_type?</strong>(content_type = nil)
1839
-
1840
-
1841
-
1842
- </p><div class="docstring">
1843
- <div class="discussion">
1844
- If the Content-Type on PUT or POST is unknown, this should
1845
- return false, which will result in a '415 Unsupported Media
1846
- Type' response. Defaults to true.
1847
-
1848
- </div>
1849
- </div>
1850
- <div class="tags">
1851
- <h3>Parameters:</h3>
1852
- <ul class="param">
1853
-
1854
- <li>
1855
-
1856
- <span class='name'>content_type</span>
1857
-
1858
-
1859
- <span class='type'>(<tt>String</tt>)</span>
1860
-
1861
-
1862
- <em class="default">(defaults to: <tt>nil</tt>)</em>
1863
-
1864
-
1865
- &mdash;
1866
- <div class='inline'>the 'Content-Type' header sent by
1867
- the client</div>
1868
-
1869
- </li>
1870
-
1871
- </ul>
1872
-
1873
- <h3>Returns:</h3>
1874
- <ul class="return">
1875
-
1876
- <li>
1877
-
1878
-
1879
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
1880
-
1881
-
1882
-
1883
- &mdash;
1884
- <div class='inline'>Whether the passed media type is known or
1885
- accepted</div>
1886
-
1887
- </li>
1888
-
1889
- </ul>
1890
-
1891
- </div><table class="source_code">
1892
- <tr>
1893
- <td>
1894
- <pre class="lines">
1895
-
1896
-
1897
- 85
1898
- 86
1899
- 87</pre>
1900
- </td>
1901
- <td>
1902
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 85</span>
1903
-
1904
- <span class='kw'>def</span> <span class='id known_content_type?'>known_content_type?</span><span class='lparen'>(</span><span class='id content_type'>content_type</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1905
- <span class='kw'>true</span>
1906
- <span class='kw'>end</span></pre>
1907
- </td>
1908
- </tr>
1909
- </table>
1910
- </div>
1911
-
1912
- <div class="method_details ">
1913
- <p class="signature " id="known_methods-instance_method">
1914
-
1915
- - (<tt>Array&lt;String&gt;</tt>) <strong>known_methods</strong>
1916
-
1917
-
1918
-
1919
- </p><div class="docstring">
1920
- <div class="discussion">
1921
- HTTP methods that are known to the resource. Like
1922
- <span class='object_link'><a href="#allowed_methods-instance_method" title="Webmachine::Resource::Callbacks#allowed_methods (method)">#allowed_methods</a></span>, this must return an Array of Strings in
1923
- all capitals. Default includes all standard HTTP methods. One
1924
- could override this callback to allow additional methods,
1925
- e.g. WebDAV.
1926
-
1927
- </div>
1928
- </div>
1929
- <div class="tags">
1930
-
1931
- <h3>Returns:</h3>
1932
- <ul class="return">
1933
-
1934
- <li>
1935
-
1936
-
1937
- <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
1938
-
1939
-
1940
-
1941
- &mdash;
1942
- <div class='inline'>known methods</div>
1943
-
1944
- </li>
1945
-
1946
- </ul>
1947
-
1948
- </div><table class="source_code">
1949
- <tr>
1950
- <td>
1951
- <pre class="lines">
1952
-
1953
-
1954
- 136
1955
- 137
1956
- 138</pre>
1957
- </td>
1958
- <td>
1959
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 136</span>
1960
-
1961
- <span class='kw'>def</span> <span class='id known_methods'>known_methods</span>
1962
- <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>GET</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>HEAD</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>POST</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>PUT</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>DELETE</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TRACE</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>CONNECT</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>OPTIONS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
1963
- <span class='kw'>end</span></pre>
1964
- </td>
1965
- </tr>
1966
- </table>
1967
- </div>
1968
-
1969
- <div class="method_details ">
1970
- <p class="signature " id="language_chosen-instance_method">
1971
-
1972
- - (<tt>Object</tt>) <strong>language_chosen</strong>(lang)
1973
-
1974
-
1975
-
1976
- </p><div class="docstring">
1977
- <div class="discussion">
1978
- This should receive the chosen language and do something with
1979
- it that is resource-specific. The default is to store the
1980
- value in the @language instance variable.
1981
-
1982
- </div>
1983
- </div>
1984
- <div class="tags">
1985
- <h3>Parameters:</h3>
1986
- <ul class="param">
1987
-
1988
- <li>
1989
-
1990
- <span class='name'>lang</span>
1991
-
1992
-
1993
- <span class='type'>(<tt>String</tt>)</span>
1994
-
1995
-
1996
-
1997
- &mdash;
1998
- <div class='inline'>the negotiated language</div>
1999
-
2000
- </li>
2001
-
2002
- </ul>
2003
-
2004
-
2005
- </div><table class="source_code">
2006
- <tr>
2007
- <td>
2008
- <pre class="lines">
2009
-
2010
-
2011
- 252
2012
- 253
2013
- 254</pre>
2014
- </td>
2015
- <td>
2016
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 252</span>
2017
-
2018
- <span class='kw'>def</span> <span class='id language_chosen'>language_chosen</span><span class='lparen'>(</span><span class='id lang'>lang</span><span class='rparen'>)</span>
2019
- <span class='ivar'>@language</span> <span class='op'>=</span> <span class='id lang'>lang</span>
2020
- <span class='kw'>end</span></pre>
2021
- </td>
2022
- </tr>
2023
- </table>
2024
- </div>
2025
-
2026
- <div class="method_details ">
2027
- <p class="signature " id="languages_provided-instance_method">
2028
-
2029
- - (<tt>Array&lt;String&gt;</tt>) <strong>languages_provided</strong>
2030
-
2031
-
2032
-
2033
- </p><div class="docstring">
2034
- <div class="discussion">
2035
- This should return a list of language tags provided by the
2036
- resource. Default is the empty Array, in which the content is
2037
- in no specific language.
2038
-
2039
- </div>
2040
- </div>
2041
- <div class="tags">
2042
-
2043
- <h3>Returns:</h3>
2044
- <ul class="return">
2045
-
2046
- <li>
2047
-
2048
-
2049
- <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2050
-
2051
-
2052
-
2053
- &mdash;
2054
- <div class='inline'>a list of provided languages</div>
2055
-
2056
- </li>
2057
-
2058
- </ul>
2059
-
2060
- </div><table class="source_code">
2061
- <tr>
2062
- <td>
2063
- <pre class="lines">
2064
-
2065
-
2066
- 243
2067
- 244
2068
- 245</pre>
2069
- </td>
2070
- <td>
2071
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 243</span>
2072
-
2073
- <span class='kw'>def</span> <span class='id languages_provided'>languages_provided</span>
2074
- <span class='lbracket'>[</span><span class='rbracket'>]</span>
2075
- <span class='kw'>end</span></pre>
2076
- </td>
2077
- </tr>
2078
- </table>
2079
- </div>
2080
-
2081
- <div class="method_details ">
2082
- <p class="signature " id="last_modified-instance_method">
2083
-
2084
- - (<tt>Time</tt>, ...) <strong>last_modified</strong>
2085
-
2086
-
2087
-
2088
- </p><div class="docstring">
2089
- <div class="discussion">
2090
- This method should return the last modified date/time of the
2091
- resource which will be added as the Last-Modified header in the
2092
- response and used in negotiating conditional requests. Default
2093
- is nil.
2094
-
2095
- </div>
2096
- </div>
2097
- <div class="tags">
2098
-
2099
- <h3>Returns:</h3>
2100
- <ul class="return">
2101
-
2102
- <li>
2103
-
2104
-
2105
- <span class='type'>(<tt>Time</tt>, <tt>DateTime</tt>, <tt>Date</tt>, <tt>nil</tt>)</span>
2106
-
2107
-
2108
-
2109
- &mdash;
2110
- <div class='inline'>the last modified time</div>
2111
-
2112
- </li>
2113
-
2114
- </ul>
2115
-
2116
- </div><table class="source_code">
2117
- <tr>
2118
- <td>
2119
- <pre class="lines">
2120
-
2121
-
2122
- 336
2123
- 337
2124
- 338</pre>
2125
- </td>
2126
- <td>
2127
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 336</span>
2128
-
2129
- <span class='kw'>def</span> <span class='id last_modified'>last_modified</span>
2130
- <span class='kw'>nil</span>
2131
- <span class='kw'>end</span></pre>
2132
- </td>
2133
- </tr>
2134
- </table>
2135
- </div>
2136
-
2137
- <div class="method_details ">
2138
- <p class="signature " id="malformed_request?-instance_method">
2139
-
2140
- - (<tt>true</tt>, <tt>false</tt>) <strong>malformed_request?</strong>
2141
-
2142
-
2143
-
2144
- </p><div class="docstring">
2145
- <div class="discussion">
2146
- If the request is malformed, this should return true, which will
2147
- result in a '400 Malformed Request' response. Defaults to false.
2148
-
2149
- </div>
2150
- </div>
2151
- <div class="tags">
2152
-
2153
- <h3>Returns:</h3>
2154
- <ul class="return">
2155
-
2156
- <li>
2157
-
2158
-
2159
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2160
-
2161
-
2162
-
2163
- &mdash;
2164
- <div class='inline'>Whether the request is malformed.</div>
2165
-
2166
- </li>
2167
-
2168
- </ul>
2169
-
2170
- </div><table class="source_code">
2171
- <tr>
2172
- <td>
2173
- <pre class="lines">
2174
-
2175
-
2176
- 63
2177
- 64
2178
- 65</pre>
2179
- </td>
2180
- <td>
2181
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 63</span>
2182
-
2183
- <span class='kw'>def</span> <span class='id malformed_request?'>malformed_request?</span>
2184
- <span class='kw'>false</span>
2185
- <span class='kw'>end</span></pre>
2186
- </td>
2187
- </tr>
2188
- </table>
2189
- </div>
2190
-
2191
- <div class="method_details ">
2192
- <p class="signature " id="moved_permanently?-instance_method">
2193
-
2194
- - (<tt>String</tt>, ...) <strong>moved_permanently?</strong>
2195
-
2196
-
2197
-
2198
- </p><div class="docstring">
2199
- <div class="discussion">
2200
- If this resource has moved to a new location permanently, this
2201
- method should return the new location as a String or
2202
- URI. Default is to return false.
2203
-
2204
- </div>
2205
- </div>
2206
- <div class="tags">
2207
-
2208
- <h3>Returns:</h3>
2209
- <ul class="return">
2210
-
2211
- <li>
2212
-
2213
-
2214
- <span class='type'>(<tt>String</tt>, <tt>URI</tt>, <tt>false</tt>)</span>
2215
-
2216
-
2217
-
2218
- &mdash;
2219
- <div class='inline'>the new location of the resource, or
2220
- false</div>
2221
-
2222
- </li>
2223
-
2224
- </ul>
2225
-
2226
- </div><table class="source_code">
2227
- <tr>
2228
- <td>
2229
- <pre class="lines">
2230
-
2231
-
2232
- 316
2233
- 317
2234
- 318</pre>
2235
- </td>
2236
- <td>
2237
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 316</span>
2238
-
2239
- <span class='kw'>def</span> <span class='id moved_permanently?'>moved_permanently?</span>
2240
- <span class='kw'>false</span>
2241
- <span class='kw'>end</span></pre>
2242
- </td>
2243
- </tr>
2244
- </table>
2245
- </div>
2246
-
2247
- <div class="method_details ">
2248
- <p class="signature " id="moved_temporarily?-instance_method">
2249
-
2250
- - (<tt>String</tt>, ...) <strong>moved_temporarily?</strong>
2251
-
2252
-
2253
-
2254
- </p><div class="docstring">
2255
- <div class="discussion">
2256
- If this resource has moved to a new location temporarily, this
2257
- method should return the new location as a String or
2258
- URI. Default is to return false.
2259
-
2260
- </div>
2261
- </div>
2262
- <div class="tags">
2263
-
2264
- <h3>Returns:</h3>
2265
- <ul class="return">
2266
-
2267
- <li>
2268
-
2269
-
2270
- <span class='type'>(<tt>String</tt>, <tt>URI</tt>, <tt>false</tt>)</span>
2271
-
2272
-
2273
-
2274
- &mdash;
2275
- <div class='inline'>the new location of the resource, or
2276
- false</div>
2277
-
2278
- </li>
2279
-
2280
- </ul>
2281
-
2282
- </div><table class="source_code">
2283
- <tr>
2284
- <td>
2285
- <pre class="lines">
2286
-
2287
-
2288
- 326
2289
- 327
2290
- 328</pre>
2291
- </td>
2292
- <td>
2293
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 326</span>
2294
-
2295
- <span class='kw'>def</span> <span class='id moved_temporarily?'>moved_temporarily?</span>
2296
- <span class='kw'>false</span>
2297
- <span class='kw'>end</span></pre>
2298
- </td>
2299
- </tr>
2300
- </table>
2301
- </div>
2302
-
2303
- <div class="method_details ">
2304
- <p class="signature " id="multiple_choices?-instance_method">
2305
-
2306
- - (<tt>true</tt>, <tt>false</tt>) <strong>multiple_choices?</strong>
2307
-
2308
-
2309
-
2310
- </p><div class="docstring">
2311
- <div class="discussion">
2312
- If this returns true, then it is assumed that multiple
2313
- representations of the response are possible and a single one
2314
- cannot be automatically chosen, so a 300 Multiple Choices will
2315
- be sent instead of a 200. Default is false.
2316
-
2317
- </div>
2318
- </div>
2319
- <div class="tags">
2320
-
2321
- <h3>Returns:</h3>
2322
- <ul class="return">
2323
-
2324
- <li>
2325
-
2326
-
2327
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2328
-
2329
-
2330
-
2331
- &mdash;
2332
- <div class='inline'>whether the multiple representations are
2333
- possible</div>
2334
-
2335
- </li>
2336
-
2337
- </ul>
2338
-
2339
- </div><table class="source_code">
2340
- <tr>
2341
- <td>
2342
- <pre class="lines">
2343
-
2344
-
2345
- 298
2346
- 299
2347
- 300</pre>
2348
- </td>
2349
- <td>
2350
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 298</span>
2351
-
2352
- <span class='kw'>def</span> <span class='id multiple_choices?'>multiple_choices?</span>
2353
- <span class='kw'>false</span>
2354
- <span class='kw'>end</span></pre>
2355
- </td>
2356
- </tr>
2357
- </table>
2358
- </div>
2359
-
2360
- <div class="method_details ">
2361
- <p class="signature " id="options-instance_method">
2362
-
2363
- - (<tt>Hash</tt>) <strong>options</strong>
2364
-
2365
-
2366
-
2367
- </p><div class="docstring">
2368
- <div class="discussion">
2369
- If the OPTIONS method is supported and is used, this method
2370
- should return a Hash of headers that should appear in the
2371
- response. Defaults to {}.
2372
-
2373
- </div>
2374
- </div>
2375
- <div class="tags">
2376
-
2377
- <h3>Returns:</h3>
2378
- <ul class="return">
2379
-
2380
- <li>
2381
-
2382
-
2383
- <span class='type'>(<tt>Hash</tt>)</span>
2384
-
2385
-
2386
-
2387
- &mdash;
2388
- <div class='inline'>headers to appear in the response</div>
2389
-
2390
- </li>
2391
-
2392
- </ul>
2393
-
2394
- </div><table class="source_code">
2395
- <tr>
2396
- <td>
2397
- <pre class="lines">
2398
-
2399
-
2400
- 117
2401
- 118
2402
- 119</pre>
2403
- </td>
2404
- <td>
2405
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 117</span>
2406
-
2407
- <span class='kw'>def</span> <span class='id options'>options</span>
2408
- <span class='lbrace'>{</span><span class='rbrace'>}</span>
2409
- <span class='kw'>end</span></pre>
2410
- </td>
2411
- </tr>
2412
- </table>
2413
- </div>
2414
-
2415
- <div class="method_details ">
2416
- <p class="signature " id="post_is_create?-instance_method">
2417
-
2418
- - (<tt>true</tt>, <tt>false</tt>) <strong>post_is_create?</strong>
2419
-
2420
-
2421
-
2422
- </p><div class="docstring">
2423
- <div class="discussion">
2424
- If POST requests should be treated as a request to put content
2425
- into a (potentially new) resource as opposed to a generic
2426
- submission for processing, then this method should return
2427
- true. If it does return true, then <span class='object_link'><a href="#create_path-instance_method" title="Webmachine::Resource::Callbacks#create_path (method)">#create_path</a></span> will be called
2428
- and the rest of the request will be treated much like a PUT to
2429
- the path returned by that call. Default is false.
2430
-
2431
- </div>
2432
- </div>
2433
- <div class="tags">
2434
-
2435
- <h3>Returns:</h3>
2436
- <ul class="return">
2437
-
2438
- <li>
2439
-
2440
-
2441
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2442
-
2443
-
2444
-
2445
- &mdash;
2446
- <div class='inline'>Whether POST creates a new resource</div>
2447
-
2448
- </li>
2449
-
2450
- </ul>
2451
-
2452
- </div><table class="source_code">
2453
- <tr>
2454
- <td>
2455
- <pre class="lines">
2456
-
2457
-
2458
- 166
2459
- 167
2460
- 168</pre>
2461
- </td>
2462
- <td>
2463
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 166</span>
2464
-
2465
- <span class='kw'>def</span> <span class='id post_is_create?'>post_is_create?</span>
2466
- <span class='kw'>false</span>
2467
- <span class='kw'>end</span></pre>
2468
- </td>
2469
- </tr>
2470
- </table>
2471
- </div>
2472
-
2473
- <div class="method_details ">
2474
- <p class="signature " id="previously_existed?-instance_method">
2475
-
2476
- - (<tt>true</tt>, <tt>false</tt>) <strong>previously_existed?</strong>
2477
-
2478
-
2479
-
2480
- </p><div class="docstring">
2481
- <div class="discussion">
2482
- If this resource is known to have existed previously, this
2483
- method should return true. Default is false.
2484
-
2485
- </div>
2486
- </div>
2487
- <div class="tags">
2488
-
2489
- <h3>Returns:</h3>
2490
- <ul class="return">
2491
-
2492
- <li>
2493
-
2494
-
2495
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2496
-
2497
-
2498
-
2499
- &mdash;
2500
- <div class='inline'>whether the resource existed previously</div>
2501
-
2502
- </li>
2503
-
2504
- </ul>
2505
-
2506
- </div><table class="source_code">
2507
- <tr>
2508
- <td>
2509
- <pre class="lines">
2510
-
2511
-
2512
- 306
2513
- 307
2514
- 308</pre>
2515
- </td>
2516
- <td>
2517
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 306</span>
2518
-
2519
- <span class='kw'>def</span> <span class='id previously_existed?'>previously_existed?</span>
2520
- <span class='kw'>false</span>
2521
- <span class='kw'>end</span></pre>
2522
- </td>
2523
- </tr>
2524
- </table>
2525
- </div>
2526
-
2527
- <div class="method_details ">
2528
- <p class="signature " id="process_post-instance_method">
2529
-
2530
- - (<tt>true</tt>, ...) <strong>process_post</strong>
2531
-
2532
-
2533
-
2534
- </p><div class="docstring">
2535
- <div class="discussion">
2536
- If post_is_create? returns false, then this will be called to
2537
- process any POST request. If it succeeds, it should return true.
2538
-
2539
- </div>
2540
- </div>
2541
- <div class="tags">
2542
-
2543
- <h3>Returns:</h3>
2544
- <ul class="return">
2545
-
2546
- <li>
2547
-
2548
-
2549
- <span class='type'>(<tt>true</tt>, <tt>false</tt>, <tt>Fixnum</tt>)</span>
2550
-
2551
-
2552
-
2553
- &mdash;
2554
- <div class='inline'>Whether the POST was successfully
2555
- processed, or an alternate response code</div>
2556
-
2557
- </li>
2558
-
2559
- </ul>
2560
-
2561
- </div><table class="source_code">
2562
- <tr>
2563
- <td>
2564
- <pre class="lines">
2565
-
2566
-
2567
- 196
2568
- 197
2569
- 198</pre>
2570
- </td>
2571
- <td>
2572
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 196</span>
2573
-
2574
- <span class='kw'>def</span> <span class='id process_post'>process_post</span>
2575
- <span class='kw'>false</span>
2576
- <span class='kw'>end</span></pre>
2577
- </td>
2578
- </tr>
2579
- </table>
2580
- </div>
2581
-
2582
- <div class="method_details ">
2583
- <p class="signature " id="resource_exists?-instance_method">
2584
-
2585
- - (<tt>true</tt>, <tt>false</tt>) <strong>resource_exists?</strong>
2586
-
2587
-
2588
-
2589
- </p><div class="docstring">
2590
- <div class="discussion">
2591
- Does the resource exist? Returning a falsey value (false or nil)
2592
- will result in a '404 Not Found' response. Defaults to true.
2593
-
2594
- </div>
2595
- </div>
2596
- <div class="tags">
2597
-
2598
- <h3>Returns:</h3>
2599
- <ul class="return">
2600
-
2601
- <li>
2602
-
2603
-
2604
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2605
-
2606
-
2607
-
2608
- &mdash;
2609
- <div class='inline'>Whether the resource exists</div>
2610
-
2611
- </li>
2612
-
2613
- </ul>
2614
-
2615
- </div><table class="source_code">
2616
- <tr>
2617
- <td>
2618
- <pre class="lines">
2619
-
2620
-
2621
- 13
2622
- 14
2623
- 15</pre>
2624
- </td>
2625
- <td>
2626
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 13</span>
2627
-
2628
- <span class='kw'>def</span> <span class='id resource_exists?'>resource_exists?</span>
2629
- <span class='kw'>true</span>
2630
- <span class='kw'>end</span></pre>
2631
- </td>
2632
- </tr>
2633
- </table>
2634
- </div>
2635
-
2636
- <div class="method_details ">
2637
- <p class="signature " id="service_available?-instance_method">
2638
-
2639
- - (<tt>true</tt>, <tt>false</tt>) <strong>service_available?</strong>
2640
-
2641
-
2642
-
2643
- </p><div class="docstring">
2644
- <div class="discussion">
2645
- Is the resource available? Returning a falsey value (false or
2646
- nil) will result in a '503 Service Not Available'
2647
- response. Defaults to true. If the resource is only temporarily
2648
- not available, add a 'Retry-After' response header in the body
2649
- of the method.
2650
-
2651
- </div>
2652
- </div>
2653
- <div class="tags">
2654
-
2655
- <h3>Returns:</h3>
2656
- <ul class="return">
2657
-
2658
- <li>
2659
-
2660
-
2661
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2662
-
2663
-
2664
-
2665
- </li>
2666
-
2667
- </ul>
2668
-
2669
- </div><table class="source_code">
2670
- <tr>
2671
- <td>
2672
- <pre class="lines">
2673
-
2674
-
2675
- 24
2676
- 25
2677
- 26</pre>
2678
- </td>
2679
- <td>
2680
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 24</span>
2681
-
2682
- <span class='kw'>def</span> <span class='id service_available?'>service_available?</span>
2683
- <span class='kw'>true</span>
2684
- <span class='kw'>end</span></pre>
2685
- </td>
2686
- </tr>
2687
- </table>
2688
- </div>
2689
-
2690
- <div class="method_details ">
2691
- <p class="signature " id="uri_too_long?-instance_method">
2692
-
2693
- - (<tt>true</tt>, <tt>false</tt>) <strong>uri_too_long?</strong>(uri = nil)
2694
-
2695
-
2696
-
2697
- </p><div class="docstring">
2698
- <div class="discussion">
2699
- If the URI is too long to be processed, this should return true,
2700
- which will result in a '414 Request URI Too Long'
2701
- response. Defaults to false.
2702
-
2703
- </div>
2704
- </div>
2705
- <div class="tags">
2706
- <h3>Parameters:</h3>
2707
- <ul class="param">
2708
-
2709
- <li>
2710
-
2711
- <span class='name'>uri</span>
2712
-
2713
-
2714
- <span class='type'>(<tt>URI</tt>)</span>
2715
-
2716
-
2717
- <em class="default">(defaults to: <tt>nil</tt>)</em>
2718
-
2719
-
2720
- &mdash;
2721
- <div class='inline'>the request URI</div>
2722
-
2723
- </li>
2724
-
2725
- </ul>
2726
-
2727
- <h3>Returns:</h3>
2728
- <ul class="return">
2729
-
2730
- <li>
2731
-
2732
-
2733
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2734
-
2735
-
2736
-
2737
- &mdash;
2738
- <div class='inline'>Whether the request URI is too long.</div>
2739
-
2740
- </li>
2741
-
2742
- </ul>
2743
-
2744
- </div><table class="source_code">
2745
- <tr>
2746
- <td>
2747
- <pre class="lines">
2748
-
2749
-
2750
- 73
2751
- 74
2752
- 75</pre>
2753
- </td>
2754
- <td>
2755
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 73</span>
2756
-
2757
- <span class='kw'>def</span> <span class='id uri_too_long?'>uri_too_long?</span><span class='lparen'>(</span><span class='id uri'>uri</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2758
- <span class='kw'>false</span>
2759
- <span class='kw'>end</span></pre>
2760
- </td>
2761
- </tr>
2762
- </table>
2763
- </div>
2764
-
2765
- <div class="method_details ">
2766
- <p class="signature " id="valid_content_headers?-instance_method">
2767
-
2768
- - (<tt>true</tt>, <tt>false</tt>) <strong>valid_content_headers?</strong>(content_headers = nil)
2769
-
2770
-
2771
-
2772
- </p><div class="docstring">
2773
- <div class="discussion">
2774
- If the request includes any invalid Content-* headers, this
2775
- should return false, which will result in a '501 Not
2776
- Implemented' response. Defaults to false.
2777
-
2778
- </div>
2779
- </div>
2780
- <div class="tags">
2781
- <h3>Parameters:</h3>
2782
- <ul class="param">
2783
-
2784
- <li>
2785
-
2786
- <span class='name'>content_headers</span>
2787
-
2788
-
2789
- <span class='type'>(<tt>Hash</tt>)</span>
2790
-
2791
-
2792
- <em class="default">(defaults to: <tt>nil</tt>)</em>
2793
-
2794
-
2795
- &mdash;
2796
- <div class='inline'>Request headers that begin with
2797
- 'Content-'</div>
2798
-
2799
- </li>
2800
-
2801
- </ul>
2802
-
2803
- <h3>Returns:</h3>
2804
- <ul class="return">
2805
-
2806
- <li>
2807
-
2808
-
2809
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2810
-
2811
-
2812
-
2813
- &mdash;
2814
- <div class='inline'>Whether the Content-* headers are invalid
2815
- or unsupported</div>
2816
-
2817
- </li>
2818
-
2819
- </ul>
2820
-
2821
- </div><table class="source_code">
2822
- <tr>
2823
- <td>
2824
- <pre class="lines">
2825
-
2826
-
2827
- 97
2828
- 98
2829
- 99</pre>
2830
- </td>
2831
- <td>
2832
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 97</span>
2833
-
2834
- <span class='kw'>def</span> <span class='id valid_content_headers?'>valid_content_headers?</span><span class='lparen'>(</span><span class='id content_headers'>content_headers</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2835
- <span class='kw'>true</span>
2836
- <span class='kw'>end</span></pre>
2837
- </td>
2838
- </tr>
2839
- </table>
2840
- </div>
2841
-
2842
- <div class="method_details ">
2843
- <p class="signature " id="valid_entity_length?-instance_method">
2844
-
2845
- - (<tt>true</tt>, <tt>false</tt>) <strong>valid_entity_length?</strong>(length = nil)
2846
-
2847
-
2848
-
2849
- </p><div class="docstring">
2850
- <div class="discussion">
2851
- If the entity length on PUT or POST is invalid, this should
2852
- return false, which will result in a '413 Request Entity Too
2853
- Large' response. Defaults to true.
2854
-
2855
- </div>
2856
- </div>
2857
- <div class="tags">
2858
- <h3>Parameters:</h3>
2859
- <ul class="param">
2860
-
2861
- <li>
2862
-
2863
- <span class='name'>length</span>
2864
-
2865
-
2866
- <span class='type'>(<tt>Fixnum</tt>)</span>
2867
-
2868
-
2869
- <em class="default">(defaults to: <tt>nil</tt>)</em>
2870
-
2871
-
2872
- &mdash;
2873
- <div class='inline'>the size of the request body (entity)</div>
2874
-
2875
- </li>
2876
-
2877
- </ul>
2878
-
2879
- <h3>Returns:</h3>
2880
- <ul class="return">
2881
-
2882
- <li>
2883
-
2884
-
2885
- <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span>
2886
-
2887
-
2888
-
2889
- &mdash;
2890
- <div class='inline'>Whether the body is a valid length (not too
2891
- large)</div>
2892
-
2893
- </li>
2894
-
2895
- </ul>
2896
-
2897
- </div><table class="source_code">
2898
- <tr>
2899
- <td>
2900
- <pre class="lines">
2901
-
2902
-
2903
- 108
2904
- 109
2905
- 110</pre>
2906
- </td>
2907
- <td>
2908
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 108</span>
2909
-
2910
- <span class='kw'>def</span> <span class='id valid_entity_length?'>valid_entity_length?</span><span class='lparen'>(</span><span class='id length'>length</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2911
- <span class='kw'>true</span>
2912
- <span class='kw'>end</span></pre>
2913
- </td>
2914
- </tr>
2915
- </table>
2916
- </div>
2917
-
2918
- <div class="method_details ">
2919
- <p class="signature " id="validate_content_checksum-instance_method">
2920
-
2921
- - (<tt>true</tt>, ...) <strong>validate_content_checksum</strong>
2922
-
2923
-
2924
-
2925
- </p><div class="docstring">
2926
- <div class="discussion">
2927
- This method is called when verifying the Content-MD5 header
2928
- against the request body. To do your own validation, implement
2929
- it in this callback, returning true or false. To bypass header
2930
- validation, simply return true. Default is nil, which will
2931
- invoke Webmachine's default validation.
2932
-
2933
- </div>
2934
- </div>
2935
- <div class="tags">
2936
-
2937
- <h3>Returns:</h3>
2938
- <ul class="return">
2939
-
2940
- <li>
2941
-
2942
-
2943
- <span class='type'>(<tt>true</tt>, <tt>false</tt>, <tt>nil</tt>)</span>
2944
-
2945
-
2946
-
2947
- &mdash;
2948
- <div class='inline'>Whether the Content-MD5 header
2949
- validates against the request body</div>
2950
-
2951
- </li>
2952
-
2953
- </ul>
2954
-
2955
- </div><table class="source_code">
2956
- <tr>
2957
- <td>
2958
- <pre class="lines">
2959
-
2960
-
2961
- 371
2962
- 372
2963
- 373</pre>
2964
- </td>
2965
- <td>
2966
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 371</span>
2967
-
2968
- <span class='kw'>def</span> <span class='id validate_content_checksum'>validate_content_checksum</span>
2969
- <span class='kw'>nil</span>
2970
- <span class='kw'>end</span></pre>
2971
- </td>
2972
- </tr>
2973
- </table>
2974
- </div>
2975
-
2976
- <div class="method_details ">
2977
- <p class="signature " id="variances-instance_method">
2978
-
2979
- - (<tt>Array&lt;String&gt;</tt>) <strong>variances</strong>
2980
-
2981
-
2982
-
2983
- </p><div class="docstring">
2984
- <div class="discussion">
2985
- If this method is implemented, it should return a list of
2986
- strings with header names that should be included in a given
2987
- response's Vary header. The standard conneg headers (Accept,
2988
- Accept-Encoding, Accept-Charset, Accept-Language) do not need to
2989
- be specified here as Webmachine will add the correct elements of
2990
- those automatically depending on resource behavior. Default is
2991
- [].
2992
-
2993
- </div>
2994
- </div>
2995
- <div class="tags">
2996
-
2997
- <h3>Returns:</h3>
2998
- <ul class="return">
2999
-
3000
- <li>
3001
-
3002
-
3003
- <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
3004
-
3005
-
3006
-
3007
- &mdash;
3008
- <div class='inline'>a list of variance headers</div>
3009
-
3010
- </li>
3011
-
3012
- </ul>
3013
-
3014
- </div><table class="source_code">
3015
- <tr>
3016
- <td>
3017
- <pre class="lines">
3018
-
3019
-
3020
- 278
3021
- 279
3022
- 280</pre>
3023
- </td>
3024
- <td>
3025
- <pre class="code"><span class="info file"># File 'lib/webmachine/resource/callbacks.rb', line 278</span>
3026
-
3027
- <span class='kw'>def</span> <span class='id variances'>variances</span>
3028
- <span class='lbracket'>[</span><span class='rbracket'>]</span>
3029
- <span class='kw'>end</span></pre>
3030
- </td>
3031
- </tr>
3032
- </table>
3033
- </div>
3034
-
3035
- </div>
3036
-
3037
- </div>
3038
-
3039
- <div id="footer">
3040
- Generated on Wed Jan 4 08:47:41 2012 by
3041
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3042
- 0.7.3 (ruby-1.9.3).
3043
- </div>
3044
-
3045
- </body>
3046
- </html>