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
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Webmachine::MediaType
|
8
8
|
|
9
|
-
— Documentation by YARD 0.7.
|
9
|
+
— Documentation by YARD 0.7.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -98,7 +98,8 @@
|
|
98
98
|
|
99
99
|
<h2>Overview</h2><div class="docstring">
|
100
100
|
<div class="discussion">
|
101
|
-
Encapsulates a MIME media type, with logic for matching types
|
101
|
+
<p>Encapsulates a MIME media type, with logic for matching types.</p>
|
102
|
+
|
102
103
|
|
103
104
|
</div>
|
104
105
|
</div>
|
@@ -113,7 +114,8 @@
|
|
113
114
|
<dt id="MEDIA_TYPE_REGEX-constant" class="">MEDIA_TYPE_REGEX =
|
114
115
|
<div class="docstring">
|
115
116
|
<div class="discussion">
|
116
|
-
Matches valid media types
|
117
|
+
<p>Matches valid media types</p>
|
118
|
+
|
117
119
|
|
118
120
|
</div>
|
119
121
|
</div>
|
@@ -127,7 +129,8 @@
|
|
127
129
|
<dt id="PARAMS_REGEX-constant" class="">PARAMS_REGEX =
|
128
130
|
<div class="docstring">
|
129
131
|
<div class="discussion">
|
130
|
-
Matches sub-type parameters
|
132
|
+
<p>Matches sub-type parameters</p>
|
133
|
+
|
131
134
|
|
132
135
|
</div>
|
133
136
|
</div>
|
@@ -142,10 +145,8 @@
|
|
142
145
|
|
143
146
|
|
144
147
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
148
|
+
|
149
|
+
|
149
150
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
150
151
|
<ul class="summary">
|
151
152
|
|
@@ -168,7 +169,8 @@
|
|
168
169
|
|
169
170
|
|
170
171
|
|
171
|
-
<span class="summary_desc"><div class='inline'>Any type parameters, e.g.</
|
172
|
+
<span class="summary_desc"><div class='inline'><p>Any type parameters, e.g.</p>
|
173
|
+
</div></span>
|
172
174
|
|
173
175
|
</li>
|
174
176
|
|
@@ -192,7 +194,8 @@
|
|
192
194
|
|
193
195
|
|
194
196
|
|
195
|
-
<span class="summary_desc"><div class='inline'>The MIME media type.</
|
197
|
+
<span class="summary_desc"><div class='inline'><p>The MIME media type.</p>
|
198
|
+
</div></span>
|
196
199
|
|
197
200
|
</li>
|
198
201
|
|
@@ -201,9 +204,6 @@
|
|
201
204
|
|
202
205
|
|
203
206
|
|
204
|
-
|
205
|
-
|
206
|
-
|
207
207
|
|
208
208
|
|
209
209
|
<h2>
|
@@ -229,7 +229,8 @@
|
|
229
229
|
|
230
230
|
|
231
231
|
|
232
|
-
<span class="summary_desc"><div class='inline'>Creates a new MediaType by parsing an alternate representation.</
|
232
|
+
<span class="summary_desc"><div class='inline'><p>Creates a new MediaType by parsing an alternate representation.</p>
|
233
|
+
</div></span>
|
233
234
|
|
234
235
|
</li>
|
235
236
|
|
@@ -259,7 +260,8 @@
|
|
259
260
|
|
260
261
|
|
261
262
|
|
262
|
-
<span class="summary_desc"><div class='inline'>Are these two types strictly equal?.</
|
263
|
+
<span class="summary_desc"><div class='inline'><p>Are these two types strictly equal?.</p>
|
264
|
+
</div></span>
|
263
265
|
|
264
266
|
</li>
|
265
267
|
|
@@ -280,8 +282,9 @@
|
|
280
282
|
|
281
283
|
|
282
284
|
|
283
|
-
<span class="summary_desc"><div class='inline'>Detects whether this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> matches the other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span>,
|
284
|
-
taking into account wildcards.</
|
285
|
+
<span class="summary_desc"><div class='inline'><p>Detects whether this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> matches the other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span>,
|
286
|
+
taking into account wildcards.</p>
|
287
|
+
</div></span>
|
285
288
|
|
286
289
|
</li>
|
287
290
|
|
@@ -304,7 +307,8 @@ taking into account wildcards.</div></span>
|
|
304
307
|
|
305
308
|
|
306
309
|
|
307
|
-
<span class="summary_desc"><div class='inline'>A new instance of MediaType.</
|
310
|
+
<span class="summary_desc"><div class='inline'><p>A new instance of MediaType.</p>
|
311
|
+
</div></span>
|
308
312
|
|
309
313
|
</li>
|
310
314
|
|
@@ -325,7 +329,8 @@ taking into account wildcards.</div></span>
|
|
325
329
|
|
326
330
|
|
327
331
|
|
328
|
-
<span class="summary_desc"><div class='inline'>The major type, e.g.</
|
332
|
+
<span class="summary_desc"><div class='inline'><p>The major type, e.g.</p>
|
333
|
+
</div></span>
|
329
334
|
|
330
335
|
</li>
|
331
336
|
|
@@ -346,10 +351,11 @@ taking into account wildcards.</div></span>
|
|
346
351
|
|
347
352
|
|
348
353
|
|
349
|
-
<span class="summary_desc"><div class='inline'>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> is an acceptable match for the
|
354
|
+
<span class="summary_desc"><div class='inline'><p>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> is an acceptable match for the
|
350
355
|
other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span>, taking into account wildcards and satisfying
|
351
356
|
all requested parameters, but allowing this type to have extra
|
352
|
-
specificity.</
|
357
|
+
specificity.</p>
|
358
|
+
</div></span>
|
353
359
|
|
354
360
|
</li>
|
355
361
|
|
@@ -370,8 +376,9 @@ specificity.</div></span>
|
|
370
376
|
|
371
377
|
|
372
378
|
|
373
|
-
<span class="summary_desc"><div class='inline'>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> represents an open wildcard
|
374
|
-
type, that is, "
|
379
|
+
<span class="summary_desc"><div class='inline'><p>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span> represents an open wildcard
|
380
|
+
type, that is, "<em>/</em>" without any <span class='object_link'><a href="#params-instance_method" title="Webmachine::MediaType#params (method)">#params</a></span>.</p>
|
381
|
+
</div></span>
|
375
382
|
|
376
383
|
</li>
|
377
384
|
|
@@ -392,7 +399,8 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
392
399
|
|
393
400
|
|
394
401
|
|
395
|
-
<span class="summary_desc"><div class='inline'>The minor or sub-type, e.g.</
|
402
|
+
<span class="summary_desc"><div class='inline'><p>The minor or sub-type, e.g.</p>
|
403
|
+
</div></span>
|
396
404
|
|
397
405
|
</li>
|
398
406
|
|
@@ -413,8 +421,9 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
413
421
|
|
414
422
|
|
415
423
|
|
416
|
-
<span class="summary_desc"><div class='inline'>Detects whether the passed sub-type parameters are all satisfied
|
417
|
-
by this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span>.</
|
424
|
+
<span class="summary_desc"><div class='inline'><p>Detects whether the passed sub-type parameters are all satisfied
|
425
|
+
by this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">MediaType</a></span>.</p>
|
426
|
+
</div></span>
|
418
427
|
|
419
428
|
</li>
|
420
429
|
|
@@ -435,7 +444,8 @@ by this <span class='object_link'><a href="" title="Webmachine::MediaType (class
|
|
435
444
|
|
436
445
|
|
437
446
|
|
438
|
-
<span class="summary_desc"><div class='inline'>Reconstitutes the type into a String.</
|
447
|
+
<span class="summary_desc"><div class='inline'><p>Reconstitutes the type into a String.</p>
|
448
|
+
</div></span>
|
439
449
|
|
440
450
|
</li>
|
441
451
|
|
@@ -456,8 +466,9 @@ by this <span class='object_link'><a href="" title="Webmachine::MediaType (class
|
|
456
466
|
|
457
467
|
|
458
468
|
|
459
|
-
<span class="summary_desc"><div class='inline'>Whether the main media type is acceptable,
|
460
|
-
ignoring params and taking into account wildcards.</
|
469
|
+
<span class="summary_desc"><div class='inline'><p>Whether the main media type is acceptable,
|
470
|
+
ignoring params and taking into account wildcards.</p>
|
471
|
+
</div></span>
|
461
472
|
|
462
473
|
</li>
|
463
474
|
|
@@ -487,7 +498,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
487
498
|
|
488
499
|
</p><div class="docstring">
|
489
500
|
<div class="discussion">
|
490
|
-
A new instance of MediaType
|
501
|
+
<p>A new instance of MediaType</p>
|
502
|
+
|
491
503
|
|
492
504
|
</div>
|
493
505
|
</div>
|
@@ -505,7 +517,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
505
517
|
|
506
518
|
|
507
519
|
—
|
508
|
-
<div class='inline'>the main media type, e.g. application/json</
|
520
|
+
<div class='inline'><p>the main media type, e.g. application/json</p>
|
521
|
+
</div>
|
509
522
|
|
510
523
|
</li>
|
511
524
|
|
@@ -521,7 +534,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
521
534
|
|
522
535
|
|
523
536
|
—
|
524
|
-
<div class='inline'>the media type parameters</
|
537
|
+
<div class='inline'><p>the media type parameters</p>
|
538
|
+
</div>
|
525
539
|
|
526
540
|
</li>
|
527
541
|
|
@@ -541,8 +555,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
541
555
|
<td>
|
542
556
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 44</span>
|
543
557
|
|
544
|
-
<span class='kw'>def</span> <span class='id
|
545
|
-
<span class='ivar'>@type</span><span class='comma'>,</span> <span class='ivar'>@params</span> <span class='op'>=</span> <span class='id
|
558
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
559
|
+
<span class='ivar'>@type</span><span class='comma'>,</span> <span class='ivar'>@params</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span>
|
546
560
|
<span class='kw'>end</span></pre>
|
547
561
|
</td>
|
548
562
|
</tr>
|
@@ -566,7 +580,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
566
580
|
|
567
581
|
</p><div class="docstring">
|
568
582
|
<div class="discussion">
|
569
|
-
Any type parameters, e.g. charset
|
583
|
+
<p>Any type parameters, e.g. charset</p>
|
584
|
+
|
570
585
|
|
571
586
|
</div>
|
572
587
|
</div>
|
@@ -583,7 +598,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
583
598
|
|
584
599
|
|
585
600
|
—
|
586
|
-
<div class='inline'>any type parameters, e.g. charset</
|
601
|
+
<div class='inline'><p>any type parameters, e.g. charset</p>
|
602
|
+
</div>
|
587
603
|
|
588
604
|
</li>
|
589
605
|
|
@@ -602,7 +618,7 @@ ignoring params and taking into account wildcards.</div></span>
|
|
602
618
|
<td>
|
603
619
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 40</span>
|
604
620
|
|
605
|
-
<span class='kw'>def</span> <span class='id
|
621
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_params'>params</span>
|
606
622
|
<span class='ivar'>@params</span>
|
607
623
|
<span class='kw'>end</span></pre>
|
608
624
|
</td>
|
@@ -622,7 +638,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
622
638
|
|
623
639
|
</p><div class="docstring">
|
624
640
|
<div class="discussion">
|
625
|
-
The MIME media type
|
641
|
+
<p>The MIME media type</p>
|
642
|
+
|
626
643
|
|
627
644
|
</div>
|
628
645
|
</div>
|
@@ -639,7 +656,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
639
656
|
|
640
657
|
|
641
658
|
—
|
642
|
-
<div class='inline'>the MIME media type</
|
659
|
+
<div class='inline'><p>the MIME media type</p>
|
660
|
+
</div>
|
643
661
|
|
644
662
|
</li>
|
645
663
|
|
@@ -658,7 +676,7 @@ ignoring params and taking into account wildcards.</div></span>
|
|
658
676
|
<td>
|
659
677
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 37</span>
|
660
678
|
|
661
|
-
<span class='kw'>def</span> <span class='id
|
679
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
662
680
|
<span class='ivar'>@type</span>
|
663
681
|
<span class='kw'>end</span></pre>
|
664
682
|
</td>
|
@@ -682,7 +700,8 @@ ignoring params and taking into account wildcards.</div></span>
|
|
682
700
|
|
683
701
|
</p><div class="docstring">
|
684
702
|
<div class="discussion">
|
685
|
-
Creates a new MediaType by parsing an alternate representation
|
703
|
+
<p>Creates a new MediaType by parsing an alternate representation.</p>
|
704
|
+
|
686
705
|
|
687
706
|
</div>
|
688
707
|
</div>
|
@@ -700,8 +719,9 @@ ignoring params and taking into account wildcards.</div></span>
|
|
700
719
|
|
701
720
|
|
702
721
|
—
|
703
|
-
<div class='inline'>the raw type
|
704
|
-
to be parsed</
|
722
|
+
<div class='inline'><p>the raw type
|
723
|
+
to be parsed</p>
|
724
|
+
</div>
|
705
725
|
|
706
726
|
</li>
|
707
727
|
|
@@ -718,7 +738,8 @@ to be parsed</div>
|
|
718
738
|
|
719
739
|
|
720
740
|
—
|
721
|
-
<div class='inline'>the parsed media type</
|
741
|
+
<div class='inline'><p>the parsed media type</p>
|
742
|
+
</div>
|
722
743
|
|
723
744
|
</li>
|
724
745
|
|
@@ -734,7 +755,8 @@ to be parsed</div>
|
|
734
755
|
|
735
756
|
|
736
757
|
—
|
737
|
-
<div class='inline'>when the type could not be parsed</
|
758
|
+
<div class='inline'><p>when the type could not be parsed</p>
|
759
|
+
</div>
|
738
760
|
|
739
761
|
</li>
|
740
762
|
|
@@ -767,21 +789,21 @@ to be parsed</div>
|
|
767
789
|
<td>
|
768
790
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 18</span>
|
769
791
|
|
770
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id
|
771
|
-
<span class='kw'>case</span> <span class='id
|
792
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
793
|
+
<span class='kw'>case</span> <span class='id identifier rubyid_obj'>obj</span>
|
772
794
|
<span class='kw'>when</span> <span class='const'>MediaType</span>
|
773
|
-
<span class='id
|
795
|
+
<span class='id identifier rubyid_obj'>obj</span>
|
774
796
|
<span class='kw'>when</span> <span class='const'>MEDIA_TYPE_REGEX</span>
|
775
|
-
<span class='id
|
776
|
-
<span class='id
|
777
|
-
<span class='id
|
797
|
+
<span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_raw_params'>raw_params</span> <span class='op'>=</span> <span class='backref'>$1</span><span class='comma'>,</span> <span class='backref'>$2</span>
|
798
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_raw_params'>raw_params</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='const'>PARAMS_REGEX</span><span class='rparen'>)</span><span class='rbracket'>]</span>
|
799
|
+
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
778
800
|
<span class='kw'>else</span>
|
779
|
-
<span class='kw'>unless</span> <span class='const'>Array</span> <span class='op'>===</span> <span class='id
|
780
|
-
<span class='id
|
801
|
+
<span class='kw'>unless</span> <span class='const'>Array</span> <span class='op'>===</span> <span class='id identifier rubyid_obj'>obj</span> <span class='op'>&&</span> <span class='const'>String</span> <span class='op'>===</span> <span class='id identifier rubyid_obj'>obj</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>&&</span> <span class='const'>Hash</span> <span class='op'>===</span> <span class='id identifier rubyid_obj'>obj</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
802
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='id identifier rubyid_t'>t</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>invalid_media_type</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:type</span> <span class='op'>=></span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rparen'>)</span>
|
781
803
|
<span class='kw'>end</span>
|
782
|
-
<span class='id
|
783
|
-
<span class='id
|
784
|
-
<span class='id
|
804
|
+
<span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
805
|
+
<span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
806
|
+
<span class='id identifier rubyid_type'>type</span>
|
785
807
|
<span class='kw'>end</span>
|
786
808
|
<span class='kw'>end</span></pre>
|
787
809
|
</td>
|
@@ -804,7 +826,8 @@ to be parsed</div>
|
|
804
826
|
|
805
827
|
</p><div class="docstring">
|
806
828
|
<div class="discussion">
|
807
|
-
Are these two types strictly equal
|
829
|
+
<p>Are these two types strictly equal?</p>
|
830
|
+
|
808
831
|
|
809
832
|
</div>
|
810
833
|
</div>
|
@@ -822,7 +845,8 @@ to be parsed</div>
|
|
822
845
|
|
823
846
|
|
824
847
|
—
|
825
|
-
<div class='inline'>the other media type.</
|
848
|
+
<div class='inline'><p>the other media type.</p>
|
849
|
+
</div>
|
826
850
|
|
827
851
|
</li>
|
828
852
|
|
@@ -839,7 +863,8 @@ to be parsed</div>
|
|
839
863
|
|
840
864
|
|
841
865
|
—
|
842
|
-
<div class='inline'>Are these two types strictly equal?</
|
866
|
+
<div class='inline'><p>Are these two types strictly equal?</p>
|
867
|
+
</div>
|
843
868
|
|
844
869
|
</li>
|
845
870
|
|
@@ -866,9 +891,9 @@ to be parsed</div>
|
|
866
891
|
<td>
|
867
892
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 57</span>
|
868
893
|
|
869
|
-
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id
|
870
|
-
<span class='id
|
871
|
-
<span class='id
|
894
|
+
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
895
|
+
<span class='id identifier rubyid_other'>other</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
896
|
+
<span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>&&</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span> <span class='op'>==</span> <span class='id identifier rubyid_params'>params</span>
|
872
897
|
<span class='kw'>end</span></pre>
|
873
898
|
</td>
|
874
899
|
</tr>
|
@@ -884,9 +909,10 @@ to be parsed</div>
|
|
884
909
|
|
885
910
|
</p><div class="docstring">
|
886
911
|
<div class="discussion">
|
887
|
-
Detects whether this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> matches the other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span>,
|
912
|
+
<p>Detects whether this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> matches the other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span>,
|
888
913
|
taking into account wildcards. Sub-type parameters are treated
|
889
|
-
strictly
|
914
|
+
strictly.</p>
|
915
|
+
|
890
916
|
|
891
917
|
</div>
|
892
918
|
</div>
|
@@ -904,7 +930,8 @@ strictly.
|
|
904
930
|
|
905
931
|
|
906
932
|
—
|
907
|
-
<div class='inline'>the other type</
|
933
|
+
<div class='inline'><p>the other type</p>
|
934
|
+
</div>
|
908
935
|
|
909
936
|
</li>
|
910
937
|
|
@@ -921,7 +948,8 @@ strictly.
|
|
921
948
|
|
922
949
|
|
923
950
|
—
|
924
|
-
<div class='inline'>whether it is an acceptable match</
|
951
|
+
<div class='inline'><p>whether it is an acceptable match</p>
|
952
|
+
</div>
|
925
953
|
|
926
954
|
</li>
|
927
955
|
|
@@ -941,9 +969,9 @@ strictly.
|
|
941
969
|
<td>
|
942
970
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 67</span>
|
943
971
|
|
944
|
-
<span class='kw'>def</span> <span class='id
|
945
|
-
<span class='id
|
946
|
-
<span class='id
|
972
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_exact_match?'>exact_match?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
973
|
+
<span class='id identifier rubyid_other'>other</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
974
|
+
<span class='id identifier rubyid_type_matches?'>type_matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span> <span class='op'>==</span> <span class='id identifier rubyid_params'>params</span>
|
947
975
|
<span class='kw'>end</span></pre>
|
948
976
|
</td>
|
949
977
|
</tr>
|
@@ -959,7 +987,8 @@ strictly.
|
|
959
987
|
|
960
988
|
</p><div class="docstring">
|
961
989
|
<div class="discussion">
|
962
|
-
The major type, e.g. "application", "text", "image"
|
990
|
+
<p>The major type, e.g. "application", "text", "image"</p>
|
991
|
+
|
963
992
|
|
964
993
|
</div>
|
965
994
|
</div>
|
@@ -976,7 +1005,8 @@ strictly.
|
|
976
1005
|
|
977
1006
|
|
978
1007
|
—
|
979
|
-
<div class='inline'>The major type, e.g. "application", "text", "image"</
|
1008
|
+
<div class='inline'><p>The major type, e.g. "application", "text", "image"</p>
|
1009
|
+
</div>
|
980
1010
|
|
981
1011
|
</li>
|
982
1012
|
|
@@ -995,8 +1025,8 @@ strictly.
|
|
995
1025
|
<td>
|
996
1026
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 99</span>
|
997
1027
|
|
998
|
-
<span class='kw'>def</span> <span class='id
|
999
|
-
<span class='id
|
1028
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_major'>major</span>
|
1029
|
+
<span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</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='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
1000
1030
|
<span class='kw'>end</span></pre>
|
1001
1031
|
</td>
|
1002
1032
|
</tr>
|
@@ -1012,10 +1042,11 @@ strictly.
|
|
1012
1042
|
|
1013
1043
|
</p><div class="docstring">
|
1014
1044
|
<div class="discussion">
|
1015
|
-
Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> is an acceptable match for the
|
1045
|
+
<p>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> is an acceptable match for the
|
1016
1046
|
other <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span>, taking into account wildcards and satisfying
|
1017
1047
|
all requested parameters, but allowing this type to have extra
|
1018
|
-
specificity
|
1048
|
+
specificity.</p>
|
1049
|
+
|
1019
1050
|
|
1020
1051
|
</div>
|
1021
1052
|
</div>
|
@@ -1033,7 +1064,8 @@ specificity.
|
|
1033
1064
|
|
1034
1065
|
|
1035
1066
|
—
|
1036
|
-
<div class='inline'>the other type</
|
1067
|
+
<div class='inline'><p>the other type</p>
|
1068
|
+
</div>
|
1037
1069
|
|
1038
1070
|
</li>
|
1039
1071
|
|
@@ -1050,7 +1082,8 @@ specificity.
|
|
1050
1082
|
|
1051
1083
|
|
1052
1084
|
—
|
1053
|
-
<div class='inline'>whether it is an acceptable match</
|
1085
|
+
<div class='inline'><p>whether it is an acceptable match</p>
|
1086
|
+
</div>
|
1054
1087
|
|
1055
1088
|
</li>
|
1056
1089
|
|
@@ -1070,9 +1103,9 @@ specificity.
|
|
1070
1103
|
<td>
|
1071
1104
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 78</span>
|
1072
1105
|
|
1073
|
-
<span class='kw'>def</span> <span class='id
|
1074
|
-
<span class='id
|
1075
|
-
<span class='id
|
1106
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
1107
|
+
<span class='id identifier rubyid_other'>other</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
1108
|
+
<span class='id identifier rubyid_type_matches?'>type_matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_params_match?'>params_match?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
1076
1109
|
<span class='kw'>end</span></pre>
|
1077
1110
|
</td>
|
1078
1111
|
</tr>
|
@@ -1088,8 +1121,9 @@ specificity.
|
|
1088
1121
|
|
1089
1122
|
</p><div class="docstring">
|
1090
1123
|
<div class="discussion">
|
1091
|
-
Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> represents an open wildcard
|
1092
|
-
type, that is, "
|
1124
|
+
<p>Detects whether the <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span> represents an open wildcard
|
1125
|
+
type, that is, "<em>/</em>" without any <span class='object_link'><a href="#params-instance_method" title="Webmachine::MediaType#params (method)">#params</a></span>.</p>
|
1126
|
+
|
1093
1127
|
|
1094
1128
|
</div>
|
1095
1129
|
</div>
|
@@ -1122,8 +1156,8 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
1122
1156
|
<td>
|
1123
1157
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 50</span>
|
1124
1158
|
|
1125
|
-
<span class='kw'>def</span> <span class='id
|
1126
|
-
<span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*/*</span><span class='tstring_end'>"</span></span> <span class='op'>&&</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id
|
1159
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_matches_all?'>matches_all?</span>
|
1160
|
+
<span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*/*</span><span class='tstring_end'>"</span></span> <span class='op'>&&</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
1127
1161
|
<span class='kw'>end</span></pre>
|
1128
1162
|
</td>
|
1129
1163
|
</tr>
|
@@ -1139,7 +1173,8 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
1139
1173
|
|
1140
1174
|
</p><div class="docstring">
|
1141
1175
|
<div class="discussion">
|
1142
|
-
The minor or sub-type, e.g. "json", "html", "jpeg"
|
1176
|
+
<p>The minor or sub-type, e.g. "json", "html", "jpeg"</p>
|
1177
|
+
|
1143
1178
|
|
1144
1179
|
</div>
|
1145
1180
|
</div>
|
@@ -1156,7 +1191,8 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
1156
1191
|
|
1157
1192
|
|
1158
1193
|
—
|
1159
|
-
<div class='inline'>the minor or sub-type, e.g. "json", "html", "jpeg"</
|
1194
|
+
<div class='inline'><p>the minor or sub-type, e.g. "json", "html", "jpeg"</p>
|
1195
|
+
</div>
|
1160
1196
|
|
1161
1197
|
</li>
|
1162
1198
|
|
@@ -1175,8 +1211,8 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
1175
1211
|
<td>
|
1176
1212
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 104</span>
|
1177
1213
|
|
1178
|
-
<span class='kw'>def</span> <span class='id
|
1179
|
-
<span class='id
|
1214
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_minor'>minor</span>
|
1215
|
+
<span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</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='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
|
1180
1216
|
<span class='kw'>end</span></pre>
|
1181
1217
|
</td>
|
1182
1218
|
</tr>
|
@@ -1192,9 +1228,10 @@ type, that is, "*/*" without any <span class='object_link'><a href="#p
|
|
1192
1228
|
|
1193
1229
|
</p><div class="docstring">
|
1194
1230
|
<div class="discussion">
|
1195
|
-
Detects whether the passed sub-type parameters are all satisfied
|
1231
|
+
<p>Detects whether the passed sub-type parameters are all satisfied
|
1196
1232
|
by this <span class='object_link'><a href="" title="Webmachine::MediaType (class)">Webmachine::MediaType</a></span>. The receiver is allowed to have other
|
1197
|
-
params than the ones specified, but all specified must be equal
|
1233
|
+
params than the ones specified, but all specified must be equal.</p>
|
1234
|
+
|
1198
1235
|
|
1199
1236
|
</div>
|
1200
1237
|
</div>
|
@@ -1212,7 +1249,8 @@ params than the ones specified, but all specified must be equal.
|
|
1212
1249
|
|
1213
1250
|
|
1214
1251
|
—
|
1215
|
-
<div class='inline'>the requested params</
|
1252
|
+
<div class='inline'><p>the requested params</p>
|
1253
|
+
</div>
|
1216
1254
|
|
1217
1255
|
</li>
|
1218
1256
|
|
@@ -1229,7 +1267,8 @@ params than the ones specified, but all specified must be equal.
|
|
1229
1267
|
|
1230
1268
|
|
1231
1269
|
—
|
1232
|
-
<div class='inline'>whether it is an acceptable match</
|
1270
|
+
<div class='inline'><p>whether it is an acceptable match</p>
|
1271
|
+
</div>
|
1233
1272
|
|
1234
1273
|
</li>
|
1235
1274
|
|
@@ -1248,8 +1287,8 @@ params than the ones specified, but all specified must be equal.
|
|
1248
1287
|
<td>
|
1249
1288
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 88</span>
|
1250
1289
|
|
1251
|
-
<span class='kw'>def</span> <span class='id
|
1252
|
-
<span class='id
|
1290
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_params_match?'>params_match?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
1291
|
+
<span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_all?'>all?</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='id identifier rubyid_v'>v</span> <span class='rbrace'>}</span>
|
1253
1292
|
<span class='kw'>end</span></pre>
|
1254
1293
|
</td>
|
1255
1294
|
</tr>
|
@@ -1265,7 +1304,8 @@ params than the ones specified, but all specified must be equal.
|
|
1265
1304
|
|
1266
1305
|
</p><div class="docstring">
|
1267
1306
|
<div class="discussion">
|
1268
|
-
Reconstitutes the type into a String
|
1307
|
+
<p>Reconstitutes the type into a String</p>
|
1308
|
+
|
1269
1309
|
|
1270
1310
|
</div>
|
1271
1311
|
</div>
|
@@ -1282,7 +1322,8 @@ params than the ones specified, but all specified must be equal.
|
|
1282
1322
|
|
1283
1323
|
|
1284
1324
|
—
|
1285
|
-
<div class='inline'>the type as a String</
|
1325
|
+
<div class='inline'><p>the type as a String</p>
|
1326
|
+
</div>
|
1286
1327
|
|
1287
1328
|
</li>
|
1288
1329
|
|
@@ -1301,8 +1342,8 @@ params than the ones specified, but all specified must be equal.
|
|
1301
1342
|
<td>
|
1302
1343
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 94</span>
|
1303
1344
|
|
1304
|
-
<span class='kw'>def</span> <span class='id
|
1305
|
-
<span class='lbracket'>[</span><span class='id
|
1345
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1346
|
+
<span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_v'>v</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</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='rparen'>)</span>
|
1306
1347
|
<span class='kw'>end</span></pre>
|
1307
1348
|
</td>
|
1308
1349
|
</tr>
|
@@ -1318,8 +1359,9 @@ params than the ones specified, but all specified must be equal.
|
|
1318
1359
|
|
1319
1360
|
</p><div class="docstring">
|
1320
1361
|
<div class="discussion">
|
1321
|
-
Whether the main media type is acceptable,
|
1322
|
-
ignoring params and taking into account wildcards
|
1362
|
+
<p>Whether the main media type is acceptable,
|
1363
|
+
ignoring params and taking into account wildcards</p>
|
1364
|
+
|
1323
1365
|
|
1324
1366
|
</div>
|
1325
1367
|
</div>
|
@@ -1337,7 +1379,8 @@ ignoring params and taking into account wildcards
|
|
1337
1379
|
|
1338
1380
|
|
1339
1381
|
—
|
1340
|
-
<div class='inline'>the other type</
|
1382
|
+
<div class='inline'><p>the other type</p>
|
1383
|
+
</div>
|
1341
1384
|
|
1342
1385
|
</li>
|
1343
1386
|
|
@@ -1354,8 +1397,9 @@ ignoring params and taking into account wildcards
|
|
1354
1397
|
|
1355
1398
|
|
1356
1399
|
—
|
1357
|
-
<div class='inline'>whether the main media type is acceptable,
|
1358
|
-
ignoring params and taking into account wildcards</
|
1400
|
+
<div class='inline'><p>whether the main media type is acceptable,
|
1401
|
+
ignoring params and taking into account wildcards</p>
|
1402
|
+
</div>
|
1359
1403
|
|
1360
1404
|
</li>
|
1361
1405
|
|
@@ -1379,12 +1423,12 @@ ignoring params and taking into account wildcards</div>
|
|
1379
1423
|
<td>
|
1380
1424
|
<pre class="code"><span class="info file"># File 'lib/webmachine/media_type.rb', line 111</span>
|
1381
1425
|
|
1382
|
-
<span class='kw'>def</span> <span class='id
|
1383
|
-
<span class='id
|
1384
|
-
<span class='kw'>if</span> <span class='lbracket'>[</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='comma'>,</span> <span class='id
|
1426
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_type_matches?'>type_matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
1427
|
+
<span class='id identifier rubyid_other'>other</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
1428
|
+
<span class='kw'>if</span> <span class='lbracket'>[</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='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
1385
1429
|
<span class='kw'>true</span>
|
1386
1430
|
<span class='kw'>else</span>
|
1387
|
-
<span class='id
|
1431
|
+
<span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_major'>major</span> <span class='op'>==</span> <span class='id identifier rubyid_major'>major</span> <span class='op'>&&</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_minor'>minor</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span>
|
1388
1432
|
<span class='kw'>end</span>
|
1389
1433
|
<span class='kw'>end</span></pre>
|
1390
1434
|
</td>
|
@@ -1397,9 +1441,9 @@ ignoring params and taking into account wildcards</div>
|
|
1397
1441
|
</div>
|
1398
1442
|
|
1399
1443
|
<div id="footer">
|
1400
|
-
Generated on
|
1444
|
+
Generated on Thu Mar 22 10:24:45 2012 by
|
1401
1445
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1402
|
-
0.7.
|
1446
|
+
0.7.5 (ruby-1.9.3).
|
1403
1447
|
</div>
|
1404
1448
|
|
1405
1449
|
</body>
|