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