webmachine 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,109 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Dispatcher::Route do
|
4
|
-
let(:request){ Webmachine::Request.new("GET", URI.parse("http://localhost:8098/"), Webmachine::Headers.new, "") }
|
5
|
-
let(:resource){ Class.new(Webmachine::Resource) }
|
6
|
-
|
7
|
-
matcher :match_route do |*expected|
|
8
|
-
route = described_class.new(expected[0], resource, expected[1] || {})
|
9
|
-
match do |actual|
|
10
|
-
request.uri.path = actual if String === actual
|
11
|
-
route.match?(request)
|
12
|
-
end
|
13
|
-
|
14
|
-
failure_message_for_should do |_|
|
15
|
-
"expected route #{expected[0].inspect} to match path #{request.uri.path}"
|
16
|
-
end
|
17
|
-
failure_message_for_should_not do |_|
|
18
|
-
"expected route #{expected[0].inspect} not to match path #{request.uri.path}"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
context "matching a request" do
|
23
|
-
context "on the root path" do
|
24
|
-
subject { "/" }
|
25
|
-
it { should match_route([]) }
|
26
|
-
it { should match_route ['*'] }
|
27
|
-
it { should_not match_route %w{foo} }
|
28
|
-
it { should_not match_route [:id] }
|
29
|
-
end
|
30
|
-
|
31
|
-
context "on a deep path" do
|
32
|
-
subject { "/foo/bar/baz" }
|
33
|
-
it { should match_route %w{foo bar baz} }
|
34
|
-
it { should match_route ['foo', :id, "baz"] }
|
35
|
-
it { should match_route %w{foo *} }
|
36
|
-
it { should match_route [:id, '*'] }
|
37
|
-
it { should_not match_route [] }
|
38
|
-
it { should_not match_route %w{bar *} }
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
context "applying bindings" do
|
43
|
-
context "on the root path" do
|
44
|
-
subject { described_class.new([], resource) }
|
45
|
-
before { subject.apply(request) }
|
46
|
-
|
47
|
-
it "should assign the dispatched path to the empty string" do
|
48
|
-
request.disp_path.should == ""
|
49
|
-
end
|
50
|
-
|
51
|
-
it "should assign empty bindings" do
|
52
|
-
request.path_info.should == {}
|
53
|
-
end
|
54
|
-
|
55
|
-
it "should assign empty path tokens" do
|
56
|
-
request.path_tokens.should == []
|
57
|
-
end
|
58
|
-
|
59
|
-
context "with extra user-defined bindings" do
|
60
|
-
subject { described_class.new([], resource, "bar" => "baz") }
|
61
|
-
|
62
|
-
it "should assign the user-defined bindings" do
|
63
|
-
request.path_info.should == {"bar" => "baz"}
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
context "with a splat" do
|
68
|
-
subject { described_class.new(['*'], resource) }
|
69
|
-
|
70
|
-
it "should assign empty path tokens" do
|
71
|
-
request.path_tokens.should == []
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
context "on a deep path" do
|
77
|
-
subject { described_class.new(%w{foo bar baz}, resource) }
|
78
|
-
before { request.uri.path = "/foo/bar/baz"; subject.apply(request) }
|
79
|
-
|
80
|
-
it "should assign the dispatched path as the path past the initial slash" do
|
81
|
-
request.disp_path.should == "foo/bar/baz"
|
82
|
-
end
|
83
|
-
|
84
|
-
it "should assign empty bindings" do
|
85
|
-
request.path_info.should == {}
|
86
|
-
end
|
87
|
-
|
88
|
-
it "should assign empty path tokens" do
|
89
|
-
request.path_tokens.should == []
|
90
|
-
end
|
91
|
-
|
92
|
-
context "with path variables" do
|
93
|
-
subject { described_class.new(['foo', :id, 'baz'], resource) }
|
94
|
-
|
95
|
-
it "should assign the path variables in the bindings" do
|
96
|
-
request.path_info.should == {:id => "bar"}
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
context "with a splat" do
|
101
|
-
subject { described_class.new(%w{foo *}, resource) }
|
102
|
-
|
103
|
-
it "should capture the path tokens matched by the splat" do
|
104
|
-
request.path_tokens.should == %w{ bar baz }
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Dispatcher do
|
4
|
-
let(:dispatcher) { described_class }
|
5
|
-
let(:request) { Webmachine::Request.new("GET", URI.parse("http://localhost:8080/"), Webmachine::Headers["accept" => "*/*"], "") }
|
6
|
-
let(:response) { Webmachine::Response.new }
|
7
|
-
let(:resource) do
|
8
|
-
Class.new(Webmachine::Resource) do
|
9
|
-
def to_html; "hello world!"; end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
let(:resource2) do
|
13
|
-
Class.new(Webmachine::Resource) do
|
14
|
-
def to_html; "goodbye, cruel world"; end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
let(:fsm){ mock }
|
18
|
-
|
19
|
-
before { dispatcher.reset }
|
20
|
-
|
21
|
-
it "should add routes" do
|
22
|
-
expect {
|
23
|
-
dispatcher.add_route ['*'], resource
|
24
|
-
}.should_not raise_error
|
25
|
-
end
|
26
|
-
|
27
|
-
it "should route to the proper resource" do
|
28
|
-
dispatcher.add_route ["goodbye"], resource2
|
29
|
-
dispatcher.add_route ['*'], resource
|
30
|
-
Webmachine::Decision::FSM.should_receive(:new).with(instance_of(resource), request, response).and_return(fsm)
|
31
|
-
fsm.should_receive(:run)
|
32
|
-
dispatcher.dispatch(request, response)
|
33
|
-
end
|
34
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Headers do
|
4
|
-
it "should set and access values insensitive to case" do
|
5
|
-
subject['Content-TYPE'] = "text/plain"
|
6
|
-
subject['CONTENT-TYPE'].should == 'text/plain'
|
7
|
-
end
|
8
|
-
|
9
|
-
context "filtering with #grep" do
|
10
|
-
subject { described_class["content-type" => "text/plain", "etag" => '"abcdef1234567890"'] }
|
11
|
-
it "should filter keys by the given pattern" do
|
12
|
-
subject.grep(/content/i).should include("content-type")
|
13
|
-
end
|
14
|
-
|
15
|
-
it "should return a Headers instance" do
|
16
|
-
subject.grep(/etag/i).should be_instance_of(described_class)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Request do
|
4
|
-
subject { Webmachine::Request.new("GET", URI.parse("http://localhost:8080/some/resource"), Webmachine::Headers.new, "") }
|
5
|
-
it "should provide access to the headers via brackets" do
|
6
|
-
subject.headers['Accept'] = "*/*"
|
7
|
-
subject["accept"].should == "*/*"
|
8
|
-
end
|
9
|
-
|
10
|
-
it "should provide access to the headers via underscored methods" do
|
11
|
-
subject.headers["Accept-Encoding"] = "identity"
|
12
|
-
subject.accept_encoding.should == "identity"
|
13
|
-
subject.content_md5.should be_nil
|
14
|
-
end
|
15
|
-
|
16
|
-
it "should calculate a base URI" do
|
17
|
-
subject.base_uri.should == URI.parse("http://localhost:8080/")
|
18
|
-
end
|
19
|
-
|
20
|
-
it "should provide a hash of query parameters" do
|
21
|
-
subject.uri.query = "foo=bar&baz=bam"
|
22
|
-
subject.query.should == {"foo" => "bar", "baz" => "bam"}
|
23
|
-
end
|
24
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
$:.push File.expand_path("../lib", __FILE__)
|
2
|
-
require 'webmachine/version'
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.name = "webmachine"
|
6
|
-
gem.version = Webmachine::VERSION
|
7
|
-
gem.date = File.mtime("lib/webmachine/version.rb")
|
8
|
-
gem.summary = %Q{webmachine is a toolkit for building HTTP applications,}
|
9
|
-
gem.description = <<-DESC.gsub(/\s+/, ' ')
|
10
|
-
webmachine is a toolkit for building HTTP applications in a declarative fashion, that avoids
|
11
|
-
the confusion of going through a CGI-style interface like Rack. It is strongly influenced
|
12
|
-
by the original Erlang project of the same name and shares its opinionated nature about HTTP.
|
13
|
-
DESC
|
14
|
-
gem.homepage = "http://github.com/seancribbs/webmachine-ruby"
|
15
|
-
gem.authors = ["Sean Cribbs"]
|
16
|
-
gem.email = ["sean@basho.com"]
|
17
|
-
|
18
|
-
if gem.respond_to? :specification_version then
|
19
|
-
gem.specification_version = 3
|
20
|
-
|
21
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
22
|
-
gem.add_runtime_dependency(%q<i18n>, [">= 0.4.0"])
|
23
|
-
gem.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
24
|
-
gem.add_development_dependency(%q<yard>, ["~> 0.6.7"])
|
25
|
-
gem.add_development_dependency(%q<rake>)
|
26
|
-
else
|
27
|
-
gem.add_dependency(%q<i18n>, [">= 0.4.0"])
|
28
|
-
gem.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
29
|
-
gem.add_dependency(%q<yard>, ["~> 0.6.7"])
|
30
|
-
gem.add_dependency(%q<rake>)
|
31
|
-
end
|
32
|
-
else
|
33
|
-
gem.add_dependency(%q<i18n>, [">= 0.4.0"])
|
34
|
-
gem.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
35
|
-
gem.add_dependency(%q<yard>, ["~> 0.6.7"])
|
36
|
-
gem.add_dependency(%q<rake>)
|
37
|
-
end
|
38
|
-
|
39
|
-
ignores = File.read(".gitignore").split(/\r?\n/).reject{ |f| f =~ /^(#.+|\s*)$/ }.map {|f| Dir[f] }.flatten
|
40
|
-
gem.files = (Dir['**/*','.gitignore'] - ignores).reject {|f| !File.file?(f) }
|
41
|
-
gem.test_files = (Dir['spec/**/*','features/**/*','.gitignore'] - ignores).reject {|f| !File.file?(f) }
|
42
|
-
gem.executables = Dir['bin/*'].map { |f| File.basename(f) }
|
43
|
-
gem.require_paths = ['lib']
|
44
|
-
end
|
Binary file
|
@@ -1,13 +0,0 @@
|
|
1
|
-
$LOAD_PATH << File.expand_path("..", __FILE__)
|
2
|
-
$LOAD_PATH << File.expand_path("../../lib", __FILE__)
|
3
|
-
|
4
|
-
require 'rubygems'
|
5
|
-
require 'webmachine'
|
6
|
-
require 'rspec'
|
7
|
-
|
8
|
-
RSpec.configure do |config|
|
9
|
-
config.mock_with :rspec
|
10
|
-
config.filter_run :focus => true
|
11
|
-
config.run_all_when_everything_filtered = true
|
12
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
13
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
* 2,2 Basic Rules
|
2
|
-
- HTTP/1.1 header field values can be folded onto multiple lines if
|
3
|
-
the continuation line begins with a space or horizontal tab. All
|
4
|
-
linear white space, including folding, has the same semantics as
|
5
|
-
SP. A recipient MAY replace any linear white space with a single
|
6
|
-
SP before interpreting the field value or forwarding the message
|
7
|
-
downstream.
|
8
|
-
- Many HTTP/1.1 header field values consist of words separated by
|
9
|
-
LWS or special characters. These special characters MUST be in a
|
10
|
-
quoted string to be used within a parameter value (as defined in
|
11
|
-
section 3.6).
|
12
|
-
* 3.1 HTTP Version
|
13
|
-
- Note that the major and minor numbers MUST be treated as separate
|
14
|
-
integers and that each MAY be incremented higher than a single
|
15
|
-
digit.
|
16
|
-
- Leading zeros MUST be ignored by recipients and MUST NOT be sent.
|
17
|
-
- An application that sends a request or response message that
|
18
|
-
includes HTTP-Version of "HTTP/1.1" MUST be at least conditionally
|
19
|
-
compliant with this specification.
|
20
|
-
- Applications that are at least conditionally compliant with this
|
21
|
-
specification SHOULD use an HTTP-Version of "HTTP/1.1" in their
|
22
|
-
messages, and MUST do so for any message that is not compatible
|
23
|
-
with HTTP/1.0.
|
24
|
-
- Since the protocol version indicates the protocol capability of
|
25
|
-
the sender, a proxy/gateway MUST NOT send a message with a version
|
26
|
-
indicator which is greater than its actual version. If a higher
|
27
|
-
version request is received, the proxy/gateway MUST either
|
28
|
-
downgrade the request version, or respond with an error, or switch
|
29
|
-
to tunnel behavior.
|
30
|
-
- Due to interoperability problems with HTTP/1.0 proxies discovered
|
31
|
-
since the publication of RFC 2068 [33], caching proxies MUST,
|
32
|
-
gateways MAY, and tunnels MUST NOT upgrade the request to the
|
33
|
-
highest version they support. The proxy/gateway's response to that
|
34
|
-
request MUST be in the same major version as the request.
|
35
|
-
* 3.2 URIs
|
36
|
-
** General Syntax
|
37
|
-
- Servers MUST be able to handle the URI of any resource they serve.
|
38
|
-
- Servers SHOULD be able to handle URIs of unbounded length if they
|
39
|
-
provide GET-based forms that could generate such URIs.
|
40
|
-
- A server SHOULD return 414 (Request-URI Too Long) status if a URI
|
41
|
-
is longer than the server can handle
|
42
|
-
** http URL
|
43
|
-
- If the abs_path is not present in the URL, it MUST be given as
|
44
|
-
"/" when used as a Request-URI for a resource.
|
45
|
-
- If a proxy receives a fully qualified domain name, the proxy MUST
|
46
|
-
NOT change the host name.
|
47
|
-
** URI Comparison
|
48
|
-
- When comparing two URIs to decide if they match or not, a client
|
49
|
-
SHOULD use a case-sensitive octet-by-octet comparison of the
|
50
|
-
entire URIs, with these exceptions:
|
51
|
-
- A port that is empty or not given is equivalent to the default
|
52
|
-
port for that URI-reference
|
53
|
-
- Comparisons of host names MUST be case-insensitive
|
54
|
-
- Comparisons of scheme names MUST be case-insensitive
|
55
|
-
- An empty abs_path is equivalent to an abs_path of "/"
|
56
|
-
* 3.3 Date/Time Formats
|
57
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Configuration do
|
4
|
-
before { Webmachine.configuration = nil }
|
5
|
-
|
6
|
-
%w{ip port adapter adapter_options}.each do |field|
|
7
|
-
it { should respond_to(field) }
|
8
|
-
it { should respond_to("#{field}=") }
|
9
|
-
end
|
10
|
-
|
11
|
-
it "should yield configuration to the block" do
|
12
|
-
Webmachine.configure do |config|
|
13
|
-
config.should be_kind_of(described_class)
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
it "should set the global configuration from the yielded instance" do
|
18
|
-
Webmachine.configure do |config|
|
19
|
-
@config = config
|
20
|
-
end
|
21
|
-
@config.should == Webmachine.configuration
|
22
|
-
end
|
23
|
-
|
24
|
-
it "should return the module from the configure call so you can chain it" do
|
25
|
-
Webmachine.configure {|c|}.should == Webmachine
|
26
|
-
end
|
27
|
-
end
|
@@ -1,159 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe Webmachine::Decision::Conneg do
|
4
|
-
let(:request) { Webmachine::Request.new("GET", URI.parse("http://localhost:8080/"), Webmachine::Headers["accept" => "*/*"], "") }
|
5
|
-
let(:response) { Webmachine::Response.new }
|
6
|
-
let(:resource) do
|
7
|
-
Class.new(Webmachine::Resource) do
|
8
|
-
def to_html; "hello world!"; end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
subject do
|
13
|
-
Webmachine::Decision::FSM.new(resource, request, response)
|
14
|
-
end
|
15
|
-
|
16
|
-
context "choosing a media type" do
|
17
|
-
it "should not choose a type when none are provided" do
|
18
|
-
subject.choose_media_type([], "*/*").should be_nil
|
19
|
-
end
|
20
|
-
|
21
|
-
it "should not choose a type when none are acceptable" do
|
22
|
-
subject.choose_media_type(["text/html"], "application/json").should be_nil
|
23
|
-
end
|
24
|
-
|
25
|
-
it "should choose the first acceptable type" do
|
26
|
-
subject.choose_media_type(["text/html", "application/xml"],
|
27
|
-
"application/xml, text/html, */*").should == "application/xml"
|
28
|
-
end
|
29
|
-
|
30
|
-
it "should choose the type that matches closest when matching subparams" do
|
31
|
-
subject.choose_media_type(["text/html",
|
32
|
-
["text/html", {"charset" => "iso8859-1"}]],
|
33
|
-
"text/html;charset=iso8859-1, application/xml").
|
34
|
-
should == "text/html;charset=iso8859-1"
|
35
|
-
end
|
36
|
-
|
37
|
-
it "should choose a type more specific than requested when an exact match is not present" do
|
38
|
-
subject.choose_media_type(["application/json;v=3;foo=bar", "application/json;v=2"],
|
39
|
-
"text/html, application/json").
|
40
|
-
should == "application/json;v=3;foo=bar"
|
41
|
-
end
|
42
|
-
|
43
|
-
|
44
|
-
it "should choose the preferred type over less-preferred types" do
|
45
|
-
subject.choose_media_type(["text/html", "application/xml"],
|
46
|
-
"application/xml;q=0.7, text/html, */*").should == "text/html"
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
it "should raise an exception when a media-type is improperly formatted" do
|
51
|
-
expect {
|
52
|
-
subject.choose_media_type(["text/html", "application/xml"],
|
53
|
-
"bah;")
|
54
|
-
}.to raise_error(Webmachine::MalformedRequest)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
context "choosing an encoding" do
|
59
|
-
it "should not set the encoding when none are provided" do
|
60
|
-
subject.choose_encoding({}, "identity, gzip")
|
61
|
-
subject.metadata['Content-Encoding'].should be_nil
|
62
|
-
subject.response.headers['Content-Encoding'].should be_nil
|
63
|
-
end
|
64
|
-
|
65
|
-
it "should not set the Content-Encoding header when it is identity" do
|
66
|
-
subject.choose_encoding({"gzip"=> :encode_gzip, "identity" => :encode_identity}, "identity")
|
67
|
-
subject.metadata['Content-Encoding'].should == 'identity'
|
68
|
-
response.headers['Content-Encoding'].should be_nil
|
69
|
-
end
|
70
|
-
|
71
|
-
it "should choose the first acceptable encoding" do
|
72
|
-
subject.choose_encoding({"gzip" => :encode_gzip}, "identity, gzip")
|
73
|
-
subject.metadata['Content-Encoding'].should == 'gzip'
|
74
|
-
response.headers['Content-Encoding'].should == 'gzip'
|
75
|
-
end
|
76
|
-
|
77
|
-
it "should choose the preferred encoding over less-preferred encodings" do
|
78
|
-
subject.choose_encoding({"gzip" => :encode_gzip, "identity" => :encode_identity}, "gzip, identity;q=0.7")
|
79
|
-
subject.metadata['Content-Encoding'].should == 'gzip'
|
80
|
-
response.headers['Content-Encoding'].should == 'gzip'
|
81
|
-
end
|
82
|
-
|
83
|
-
it "should not set the encoding if none are acceptable" do
|
84
|
-
subject.choose_encoding({"gzip" => :encode_gzip}, "identity")
|
85
|
-
subject.metadata['Content-Encoding'].should be_nil
|
86
|
-
response.headers['Content-Encoding'].should be_nil
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
context "choosing a charset" do
|
91
|
-
it "should not set the charset when none are provided" do
|
92
|
-
subject.choose_charset([], "ISO-8859-1")
|
93
|
-
subject.metadata['Charset'].should be_nil
|
94
|
-
end
|
95
|
-
|
96
|
-
it "should choose the first acceptable charset" do
|
97
|
-
subject.choose_charset([["UTF-8", :to_utf8],["US-ASCII", :to_ascii]], "US-ASCII, UTF-8")
|
98
|
-
subject.metadata['Charset'].should == "US-ASCII"
|
99
|
-
end
|
100
|
-
|
101
|
-
it "should choose the preferred charset over less-preferred charsets" do
|
102
|
-
subject.choose_charset([["UTF-8", :to_utf8],["US-ASCII", :to_ascii]], "US-ASCII;q=0.7, UTF-8")
|
103
|
-
subject.metadata['Charset'].should == "UTF-8"
|
104
|
-
end
|
105
|
-
|
106
|
-
it "should not set the charset if none are acceptable" do
|
107
|
-
subject.choose_charset([["UTF-8", :to_utf8],["US-ASCII", :to_ascii]], "ISO-8859-1")
|
108
|
-
subject.metadata['Charset'].should be_nil
|
109
|
-
end
|
110
|
-
|
111
|
-
it "should choose a charset case-insensitively" do
|
112
|
-
subject.choose_charset([["UtF-8", :to_utf8],["US-ASCII", :to_ascii]], "iso-8859-1, utf-8")
|
113
|
-
subject.metadata['Charset'].should == "utf-8"
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
context "choosing a language" do
|
118
|
-
it "should not set the language when none are provided" do
|
119
|
-
subject.choose_language([], "en")
|
120
|
-
subject.metadata['Language'].should be_nil
|
121
|
-
end
|
122
|
-
|
123
|
-
it "should choose the first acceptable language" do
|
124
|
-
subject.choose_language(['en', 'en-US', 'es'], "en-US, es")
|
125
|
-
subject.metadata['Language'].should == "en-US"
|
126
|
-
response.headers['Content-Language'].should == "en-US"
|
127
|
-
end
|
128
|
-
|
129
|
-
it "should choose the preferred language over less-preferred languages" do
|
130
|
-
subject.choose_language(['en', 'en-US', 'es'], "en-US;q=0.6, es")
|
131
|
-
subject.metadata['Language'].should == "es"
|
132
|
-
response.headers['Content-Language'].should == "es"
|
133
|
-
end
|
134
|
-
|
135
|
-
it "should select the first language if all are acceptable" do
|
136
|
-
subject.choose_language(['en', 'fr', 'es'], "*")
|
137
|
-
subject.metadata['Language'].should == "en"
|
138
|
-
response.headers['Content-Language'].should == "en"
|
139
|
-
end
|
140
|
-
|
141
|
-
it "should select the closest acceptable language when an exact match is not available" do
|
142
|
-
subject.choose_language(['en-US', 'es'], "en, fr")
|
143
|
-
subject.metadata['Language'].should == 'en-US'
|
144
|
-
response.headers['Content-Language'].should == 'en-US'
|
145
|
-
end
|
146
|
-
|
147
|
-
it "should not set the language if none are acceptable" do
|
148
|
-
subject.choose_language(['en'], 'es')
|
149
|
-
subject.metadata['Language'].should be_nil
|
150
|
-
response.headers.should_not include('Content-Language')
|
151
|
-
end
|
152
|
-
|
153
|
-
it "should choose a language case-insensitively" do
|
154
|
-
subject.choose_language(['en-US', 'ZH'], 'zh-ch, EN')
|
155
|
-
subject.metadata['Language'].should == 'en-US'
|
156
|
-
response.headers['Content-Language'].should == 'en-US'
|
157
|
-
end
|
158
|
-
end
|
159
|
-
end
|