merb-core 1.0.15 → 1.1.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +38 -0
- data/Rakefile +57 -228
- data/bin/merb +11 -2
- data/lib/merb-core/bootloader.rb +112 -72
- data/lib/merb-core/config.rb +4 -1
- data/lib/merb-core/controller/abstract_controller.rb +7 -1
- data/lib/merb-core/controller/merb_controller.rb +34 -1
- data/lib/merb-core/controller/mixins/controller.rb +50 -4
- data/lib/merb-core/controller/mixins/responder.rb +1 -1
- data/lib/merb-core/controller/template.rb +2 -2
- data/lib/merb-core/core_ext/kernel.rb +19 -234
- data/lib/merb-core/core_ext/time.rb +7 -0
- data/lib/merb-core/core_ext.rb +2 -1
- data/lib/merb-core/dispatch/cookies.rb +4 -1
- data/lib/merb-core/dispatch/default_exception/default_exception.rb +3 -3
- data/lib/merb-core/dispatch/dispatcher.rb +19 -23
- data/lib/merb-core/dispatch/request.rb +25 -4
- data/lib/merb-core/dispatch/request_parsers.rb +18 -5
- data/lib/merb-core/dispatch/router/behavior.rb +5 -2
- data/lib/merb-core/dispatch/router/resources.rb +21 -21
- data/lib/merb-core/dispatch/router/route.rb +2 -4
- data/lib/merb-core/dispatch/router.rb +1 -1
- data/lib/merb-core/dispatch/session.rb +9 -2
- data/lib/merb-core/dispatch/worker.rb +24 -1
- data/lib/merb-core/gem_ext/gem_dependency.rb +13 -0
- data/lib/merb-core/logger.rb +2 -2
- data/lib/merb-core/rack/adapter/abstract.rb +6 -4
- data/lib/merb-core/rack/adapter/irb.rb +43 -1
- data/lib/merb-core/rack/adapter/runner.rb +16 -3
- data/lib/merb-core/rack/handler/mongrel.rb +1 -1
- data/lib/merb-core/rack/stream_wrapper.rb +2 -0
- data/lib/merb-core/tasks/merb.rb +1 -4
- data/lib/merb-core/tasks/stats.rake +9 -3
- data/lib/merb-core/test/helpers/cookie_jar.rb +5 -2
- data/lib/merb-core/test/helpers/mock_request_helper.rb +5 -0
- data/lib/merb-core/test/helpers/multipart_request_helper.rb +4 -4
- data/lib/merb-core/test/helpers/request_helper.rb +13 -2
- data/lib/merb-core/test/matchers.rb +2 -2
- data/lib/merb-core/test/run_spec.rb +7 -8
- data/lib/merb-core/test/run_specs.rb +8 -5
- data/lib/merb-core/test/test_ext/rspec.rb +3 -1
- data/lib/merb-core/version.rb +1 -3
- data/lib/merb-core.rb +11 -12
- data/spec/Gemfile +0 -0
- data/spec/private/core_ext/kernel_spec.rb +35 -0
- data/spec/private/dispatch/bootloader_spec.rb +29 -0
- data/spec/private/dispatch/fixture/app/controllers/application.rb +4 -0
- data/spec/private/dispatch/fixture/app/controllers/exceptions.rb +25 -0
- data/spec/private/dispatch/fixture/app/controllers/foo.rb +19 -0
- data/spec/private/dispatch/fixture/app/helpers/global_helpers.rb +8 -0
- data/spec/private/dispatch/fixture/app/views/foo/bar.html.erb +0 -0
- data/spec/private/dispatch/fixture/app/views/layout/application.html.erb +11 -0
- data/spec/private/dispatch/fixture/config/black_hole.rb +12 -0
- data/spec/private/dispatch/fixture/config/environments/development.rb +6 -0
- data/spec/private/dispatch/fixture/config/environments/production.rb +5 -0
- data/spec/private/dispatch/fixture/config/environments/test.rb +6 -0
- data/spec/private/dispatch/fixture/config/init.rb +45 -0
- data/spec/private/dispatch/fixture/config/rack.rb +11 -0
- data/spec/private/dispatch/fixture/config/router.rb +35 -0
- data/spec/private/dispatch/fixture/public/images/merb.jpg +0 -0
- data/spec/private/dispatch/fixture/public/merb.fcgi +4 -0
- data/spec/private/dispatch/fixture/public/stylesheets/master.css +119 -0
- data/spec/private/dispatch/spec_helper.rb +1 -0
- data/spec/public/DEFINITIONS +11 -0
- data/spec/public/abstract_controller/controllers/alt_views/layout/application.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_string_controller_layout.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_template_controller_layout.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/show.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/partial/basic_partial_with_multiple_roots/_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_and_custom_location/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_inherited/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/cousins.rb +60 -0
- data/spec/public/abstract_controller/controllers/display.rb +60 -0
- data/spec/public/abstract_controller/controllers/filters.rb +277 -0
- data/spec/public/abstract_controller/controllers/helpers.rb +47 -0
- data/spec/public/abstract_controller/controllers/partial.rb +161 -0
- data/spec/public/abstract_controller/controllers/render.rb +113 -0
- data/spec/public/abstract_controller/controllers/views/helpers/capture/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/helpers/capture_eq/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/helpers/capture_non_string_return_value/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/helpers/capture_return_value/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/helpers/capture_with_args/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/helpers/concat/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/layout/alt.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/layout/custom.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object_with_action/new.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_app_layout/index.erb +0 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_custom_layout/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/show.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_two_append_contents/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/another_directory/_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/basic_partial/_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/basic_partial/_partial2.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/basic_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/basic_partial_with_multiple_roots/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/nested_partial/_first.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/nested_partial/_second.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/nested_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_in_another_directory/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_both/_collection.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_both/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections/_collection.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/_collection.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/_collection.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_different_sets_of_locals/_ab.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_different_sets_of_locals/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals/_variables.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals_overriding_helpers/_variable.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals_overriding_helpers/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_multiple_locals/_foo.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/_both.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_absolute_partial/_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_absolute_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_as_partial/_with_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_as_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_nil_partial/_with_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_nil_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_partial/_with_partial.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/partial/with_partial/index.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/test_display/foo.html.erb +1 -0
- data/spec/public/abstract_controller/controllers/views/test_render/foo.html.erb +0 -0
- data/spec/public/abstract_controller/controllers/views/wonderful/index.erb +1 -0
- data/spec/public/abstract_controller/display_spec.rb +38 -0
- data/spec/public/abstract_controller/filter_spec.rb +151 -0
- data/spec/public/abstract_controller/helper_spec.rb +30 -0
- data/spec/public/abstract_controller/partial_spec.rb +85 -0
- data/spec/public/abstract_controller/render_spec.rb +91 -0
- data/spec/public/abstract_controller/spec_helper.rb +29 -0
- data/spec/public/boot_loader/boot_loader_spec.rb +41 -0
- data/spec/public/boot_loader/spec_helper.rb +1 -0
- data/spec/public/controller/authentication_spec.rb +174 -0
- data/spec/public/controller/base_spec.rb +96 -0
- data/spec/public/controller/conditional_get_spec.rb +101 -0
- data/spec/public/controller/config/init.rb +6 -0
- data/spec/public/controller/controllers/authentication.rb +74 -0
- data/spec/public/controller/controllers/base.rb +71 -0
- data/spec/public/controller/controllers/conditional_get.rb +35 -0
- data/spec/public/controller/controllers/cookies.rb +37 -0
- data/spec/public/controller/controllers/dispatcher.rb +35 -0
- data/spec/public/controller/controllers/display.rb +118 -0
- data/spec/public/controller/controllers/redirect.rb +60 -0
- data/spec/public/controller/controllers/responder.rb +93 -0
- data/spec/public/controller/controllers/streaming.rb +18 -0
- data/spec/public/controller/controllers/url.rb +42 -0
- data/spec/public/controller/controllers/views/layout/custom.html.erb +1 -0
- data/spec/public/controller/controllers/views/layout/custom_arg.html.erb +1 -0
- data/spec/public/controller/controllers/views/layout/custom_arg.json.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.xml.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.xml.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/no_layout.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template_argument/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/html_default/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/layout/custom.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.xml.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.html.erb +1 -0
- data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.js.erb +1 -0
- data/spec/public/controller/cookies_spec.rb +101 -0
- data/spec/public/controller/dispatcher_spec.rb +587 -0
- data/spec/public/controller/display_spec.rb +84 -0
- data/spec/public/controller/override_spec.rb +27 -0
- data/spec/public/controller/redirect_spec.rb +68 -0
- data/spec/public/controller/resource_spec.rb +364 -0
- data/spec/public/controller/responder_spec.rb +179 -0
- data/spec/public/controller/spec_helper.rb +15 -0
- data/spec/public/controller/streaming_spec.rb +40 -0
- data/spec/public/controller/url_spec.rb +365 -0
- data/spec/public/core/merb_core_spec.rb +62 -0
- data/spec/public/core_ext/kernel_spec.rb +40 -0
- data/spec/public/core_ext/spec_helper.rb +1 -0
- data/spec/public/directory_structure/directory/app/controllers/application.rb +3 -0
- data/spec/public/directory_structure/directory/app/controllers/base.rb +13 -0
- data/spec/public/directory_structure/directory/app/controllers/custom.rb +19 -0
- data/spec/public/directory_structure/directory/app/views/base/template.html.erb +1 -0
- data/spec/public/directory_structure/directory/app/views/wonderful/template.erb +1 -0
- data/spec/public/directory_structure/directory/config/router.rb +3 -0
- data/spec/public/directory_structure/directory_spec.rb +43 -0
- data/spec/public/logger/logger_spec.rb +283 -0
- data/spec/public/logger/spec_helper.rb +1 -0
- data/spec/public/rack/conditinal_get_middleware_spec.rb +128 -0
- data/spec/public/rack/rack_middleware_spec.rb +101 -0
- data/spec/public/rack/shared_example_groups.rb +35 -0
- data/spec/public/request/multipart_spec.rb +72 -0
- data/spec/public/request/request_spec.rb +267 -0
- data/spec/public/router/behavior_spec.rb +74 -0
- data/spec/public/router/generation/conditions_spec.rb +143 -0
- data/spec/public/router/generation/default_route_spec.rb +32 -0
- data/spec/public/router/generation/defaults_spec.rb +20 -0
- data/spec/public/router/generation/identify_spec.rb +163 -0
- data/spec/public/router/generation/namespace_spec.rb +110 -0
- data/spec/public/router/generation/optional_segments_spec.rb +163 -0
- data/spec/public/router/generation/other_spec.rb +17 -0
- data/spec/public/router/generation/params_spec.rb +72 -0
- data/spec/public/router/generation/resources_spec.rb +320 -0
- data/spec/public/router/generation/string_spec.rb +125 -0
- data/spec/public/router/generation/using_request_params_spec.rb +130 -0
- data/spec/public/router/recognition/conditions_spec.rb +395 -0
- data/spec/public/router/recognition/default_routes_spec.rb +35 -0
- data/spec/public/router/recognition/defaults_spec.rb +122 -0
- data/spec/public/router/recognition/deferred_spec.rb +209 -0
- data/spec/public/router/recognition/fixation_spec.rb +27 -0
- data/spec/public/router/recognition/identify_spec.rb +53 -0
- data/spec/public/router/recognition/namespace_spec.rb +353 -0
- data/spec/public/router/recognition/nested_resources_spec.rb +105 -0
- data/spec/public/router/recognition/optional_segments_spec.rb +113 -0
- data/spec/public/router/recognition/params_spec.rb +228 -0
- data/spec/public/router/recognition/redirect_spec.rb +49 -0
- data/spec/public/router/recognition/regexp_paths_spec.rb +61 -0
- data/spec/public/router/recognition/resource_spec.rb +157 -0
- data/spec/public/router/recognition/resources_spec.rb +346 -0
- data/spec/public/router/recognition/variables_spec.rb +87 -0
- data/spec/public/router/router_spec.rb +169 -0
- data/spec/public/router/spec_helper.rb +287 -0
- data/spec/public/router/spec_helper_spec.rb +33 -0
- data/spec/public/session/controllers/sessions.rb +61 -0
- data/spec/public/session/cookie_session_spec.rb +80 -0
- data/spec/public/session/memcached_session_spec.rb +36 -0
- data/spec/public/session/memory_session_spec.rb +26 -0
- data/spec/public/session/multiple_sessions_spec.rb +81 -0
- data/spec/public/session/no_session_spec.rb +14 -0
- data/spec/public/session/session_shared.rb +108 -0
- data/spec/public/session/spec_helper.rb +2 -0
- data/spec/public/template/template_spec.rb +105 -0
- data/spec/public/template/templates/error.html.erb +2 -0
- data/spec/public/template/templates/template.html.erb +1 -0
- data/spec/public/template/templates/template.html.myt +1 -0
- data/spec/public/test/20_multipart_request_helper_spec.rb +152 -0
- data/spec/public/test/controller_matchers_spec.rb +422 -0
- data/spec/public/test/controllers/controller_assertion_mock.rb +7 -0
- data/spec/public/test/controllers/dispatch_controller.rb +11 -0
- data/spec/public/test/controllers/request_controller.rb +70 -0
- data/spec/public/test/controllers/spec_helper_controller.rb +41 -0
- data/spec/public/test/cookie_jar_spec.rb +23 -0
- data/spec/public/test/mock_request_helper_spec.rb +269 -0
- data/spec/public/test/multipart_request_helper_spec.rb +159 -0
- data/spec/public/test/multipart_upload_text_file.txt +1 -0
- data/spec/public/test/request_helper_spec.rb +152 -0
- data/spec/public/test/route_helper_spec.rb +75 -0
- data/spec/public/test/route_matchers_spec.rb +168 -0
- data/spec/public/test/rspec_ext_spec.rb +31 -0
- data/spec/public/test/spec_helper.rb +1 -0
- data/spec/public/webrat/spec_helper.rb +1 -0
- data/spec/public/webrat/test_app/Gemfile +0 -0
- data/spec/public/webrat/test_app/Rakefile +35 -0
- data/spec/public/webrat/test_app/app/controllers/application.rb +2 -0
- data/spec/public/webrat/test_app/app/controllers/exceptions.rb +13 -0
- data/spec/public/webrat/test_app/app/controllers/testing.rb +23 -0
- data/spec/public/webrat/test_app/app/helpers/global_helpers.rb +5 -0
- data/spec/public/webrat/test_app/app/helpers/testing_helper.rb +5 -0
- data/spec/public/webrat/test_app/app/models/user.rb +17 -0
- data/spec/public/webrat/test_app/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/spec/public/webrat/test_app/app/views/exceptions/not_found.html.erb +47 -0
- data/spec/public/webrat/test_app/app/views/layout/application.html.erb +12 -0
- data/spec/public/webrat/test_app/app/views/testing/index.html.erb +3 -0
- data/spec/public/webrat/test_app/app/views/testing/show_form.html.erb +6 -0
- data/spec/public/webrat/test_app/config/database.yml +33 -0
- data/spec/public/webrat/test_app/config/environments/development.rb +15 -0
- data/spec/public/webrat/test_app/config/environments/production.rb +10 -0
- data/spec/public/webrat/test_app/config/environments/rake.rb +11 -0
- data/spec/public/webrat/test_app/config/environments/staging.rb +10 -0
- data/spec/public/webrat/test_app/config/environments/test.rb +12 -0
- data/spec/public/webrat/test_app/config/init.rb +27 -0
- data/spec/public/webrat/test_app/config/rack.rb +29 -0
- data/spec/public/webrat/test_app/config/router.rb +44 -0
- data/spec/public/webrat/test_app/merb/merb-auth/setup.rb +44 -0
- data/spec/public/webrat/test_app/merb/merb-auth/strategies.rb +11 -0
- data/spec/public/webrat/test_app/merb/session/session.rb +9 -0
- data/spec/public/webrat/test_app/public/favicon.ico +0 -0
- data/spec/public/webrat/test_app/public/images/merb.jpg +0 -0
- data/spec/public/webrat/test_app/public/javascripts/application.js +1 -0
- data/spec/public/webrat/test_app/public/javascripts/jquery.js +32 -0
- data/spec/public/webrat/test_app/public/merb.fcgi +22 -0
- data/spec/public/webrat/test_app/public/robots.txt +5 -0
- data/spec/public/webrat/test_app/public/stylesheets/master.css +119 -0
- data/spec/public/webrat/webrat_spec.rb +76 -0
- data/spec/spec_helper.rb +138 -0
- data/spec10/private/core_ext/kernel_spec.rb +34 -0
- data/spec10/private/dispatch/bootloader_spec.rb +27 -0
- data/spec10/private/dispatch/fixture/app/controllers/application.rb +4 -0
- data/spec10/private/dispatch/fixture/app/controllers/exceptions.rb +25 -0
- data/spec10/private/dispatch/fixture/app/controllers/foo.rb +19 -0
- data/spec10/private/dispatch/fixture/app/helpers/global_helpers.rb +8 -0
- data/spec10/private/dispatch/fixture/app/views/foo/bar.html.erb +0 -0
- data/spec10/private/dispatch/fixture/app/views/layout/application.html.erb +11 -0
- data/spec10/private/dispatch/fixture/config/black_hole.rb +12 -0
- data/spec10/private/dispatch/fixture/config/environments/development.rb +6 -0
- data/spec10/private/dispatch/fixture/config/environments/production.rb +5 -0
- data/spec10/private/dispatch/fixture/config/environments/test.rb +6 -0
- data/spec10/private/dispatch/fixture/config/init.rb +45 -0
- data/spec10/private/dispatch/fixture/config/rack.rb +11 -0
- data/spec10/private/dispatch/fixture/config/router.rb +35 -0
- data/spec10/private/dispatch/fixture/public/images/merb.jpg +0 -0
- data/spec10/private/dispatch/fixture/public/merb.fcgi +4 -0
- data/spec10/private/dispatch/fixture/public/stylesheets/master.css +119 -0
- data/spec10/private/dispatch/spec_helper.rb +1 -0
- data/spec10/public/DEFINITIONS +11 -0
- data/spec10/public/abstract_controller/controllers/alt_views/layout/application.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_string_controller_layout.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_template_controller_layout.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/show.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/partial/basic_partial_with_multiple_roots/_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_and_custom_location/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_inherited/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/cousins.rb +60 -0
- data/spec10/public/abstract_controller/controllers/display.rb +60 -0
- data/spec10/public/abstract_controller/controllers/filters.rb +260 -0
- data/spec10/public/abstract_controller/controllers/helpers.rb +47 -0
- data/spec10/public/abstract_controller/controllers/partial.rb +140 -0
- data/spec10/public/abstract_controller/controllers/render.rb +113 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/capture/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/capture_eq/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/capture_non_string_return_value/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/capture_return_value/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/capture_with_args/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/helpers/concat/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/layout/alt.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/layout/custom.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object_with_action/new.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_app_layout/index.erb +0 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_custom_layout/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/show.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_two_append_contents/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/another_directory/_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/basic_partial/_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/basic_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/basic_partial_with_multiple_roots/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/nested_partial/_first.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/nested_partial/_second.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/nested_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_in_another_directory/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_both/_collection.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_both/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections/_collection.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/_collection.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/_collection.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_different_sets_of_locals/_ab.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_different_sets_of_locals/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_locals/_variables.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_locals/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_locals_overriding_helpers/_variable.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_locals_overriding_helpers/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/_both.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_absolute_partial/_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_absolute_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_as_partial/_with_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_as_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_nil_partial/_with_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_nil_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_partial/_with_partial.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/partial/with_partial/index.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/test_display/foo.html.erb +1 -0
- data/spec10/public/abstract_controller/controllers/views/test_render/foo.html.erb +0 -0
- data/spec10/public/abstract_controller/controllers/views/wonderful/index.erb +1 -0
- data/spec10/public/abstract_controller/display_spec.rb +38 -0
- data/spec10/public/abstract_controller/filter_spec.rb +143 -0
- data/spec10/public/abstract_controller/helper_spec.rb +30 -0
- data/spec10/public/abstract_controller/partial_spec.rb +70 -0
- data/spec10/public/abstract_controller/render_spec.rb +91 -0
- data/spec10/public/abstract_controller/spec_helper.rb +31 -0
- data/spec10/public/boot_loader/boot_loader_spec.rb +34 -0
- data/spec10/public/boot_loader/spec_helper.rb +1 -0
- data/spec10/public/controller/authentication_spec.rb +174 -0
- data/spec10/public/controller/base_spec.rb +96 -0
- data/spec10/public/controller/conditional_get_spec.rb +101 -0
- data/spec10/public/controller/config/init.rb +6 -0
- data/spec10/public/controller/controllers/authentication.rb +74 -0
- data/spec10/public/controller/controllers/base.rb +71 -0
- data/spec10/public/controller/controllers/conditional_get.rb +35 -0
- data/spec10/public/controller/controllers/cookies.rb +36 -0
- data/spec10/public/controller/controllers/dispatcher.rb +35 -0
- data/spec10/public/controller/controllers/display.rb +118 -0
- data/spec10/public/controller/controllers/redirect.rb +36 -0
- data/spec10/public/controller/controllers/responder.rb +93 -0
- data/spec10/public/controller/controllers/streaming.rb +18 -0
- data/spec10/public/controller/controllers/url.rb +42 -0
- data/spec10/public/controller/controllers/views/layout/custom.html.erb +1 -0
- data/spec10/public/controller/controllers/views/layout/custom_arg.html.erb +1 -0
- data/spec10/public/controller/controllers/views/layout/custom_arg.json.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.xml.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.xml.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/no_layout.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template_argument/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/html_default/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/layout/custom.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.xml.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.html.erb +1 -0
- data/spec10/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.js.erb +1 -0
- data/spec10/public/controller/cookies_spec.rb +95 -0
- data/spec10/public/controller/dispatcher_spec.rb +556 -0
- data/spec10/public/controller/display_spec.rb +84 -0
- data/spec10/public/controller/redirect_spec.rb +41 -0
- data/spec10/public/controller/resource_spec.rb +364 -0
- data/spec10/public/controller/responder_spec.rb +169 -0
- data/spec10/public/controller/spec_helper.rb +15 -0
- data/spec10/public/controller/streaming_spec.rb +40 -0
- data/spec10/public/controller/url_spec.rb +361 -0
- data/spec10/public/core/merb_core_spec.rb +46 -0
- data/spec10/public/core_ext/dependency_after_load_spec.rb +13 -0
- data/spec10/public/core_ext/fixtures/bad_require_gem/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/bad_require_gem/lib/BadRequireGem.rb +6 -0
- data/spec10/public/core_ext/fixtures/core_ext_dependency.rb +2 -0
- data/spec10/public/core_ext/fixtures/gems/bin/edit_json.rb +19 -0
- data/spec10/public/core_ext/fixtures/gems/gems/bad_require_gem-0.0.1/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/gems/gems/bad_require_gem-0.0.1/lib/BadRequireGem.rb +6 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/CHANGES +93 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/GPL +340 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/README +78 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/RUBY +58 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/Rakefile +309 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/TODO +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/VERSION +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/benchmarks/benchmark.txt +133 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/benchmarks/benchmark_generator.rb +48 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/benchmarks/benchmark_parser.rb +26 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/benchmarks/benchmark_rails.rb +26 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/bin/edit_json.rb +10 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/bin/prettify_json.rb +76 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/data/example.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/data/index.html +38 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/data/prototype.js +4184 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/generator/extconf.rb +9 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/generator/generator.c +875 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/generator/unicode.c +182 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/generator/unicode.h +53 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/parser/extconf.rb +9 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/parser/parser.c +1758 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/parser/parser.rl +638 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/parser/unicode.c +154 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/ext/json/ext/parser/unicode.h +58 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/install.rb +26 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/Array.xpm +21 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/FalseClass.xpm +21 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/Hash.xpm +21 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/Key.xpm +73 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/NilClass.xpm +21 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/Numeric.xpm +28 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/String.xpm +96 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/TrueClass.xpm +21 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/add/core.rb +135 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/add/rails.rb +58 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/common.rb +354 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/editor.rb +1362 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/ext.rb +13 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/json.xpm +1499 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/pure/generator.rb +394 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/pure/parser.rb +259 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/pure.rb +75 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json/version.rb +9 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/lib/json.rb +235 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail1.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail10.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail11.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail12.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail13.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail14.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail18.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail19.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail2.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail20.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail21.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail22.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail23.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail24.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail25.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail27.json +2 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail28.json +2 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail3.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail4.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail5.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail6.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail7.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail8.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/fail9.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass1.json +56 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass15.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass16.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass17.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass2.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass26.json +1 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/fixtures/pass3.json +6 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/runner.rb +25 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json.rb +293 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json_addition.rb +161 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json_fixtures.rb +30 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json_generate.rb +100 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json_rails.rb +118 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tests/test_json_unicode.rb +61 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tools/fuzz.rb +140 -0
- data/spec10/public/core_ext/fixtures/gems/gems/json_pure-1.1.3/tools/server.rb +62 -0
- data/spec10/public/core_ext/fixtures/gems/gems/simple_gem-0.0.1/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/gems/gems/simple_gem-0.0.1/lib/simple_gem.rb +6 -0
- data/spec10/public/core_ext/fixtures/gems/gems/simple_gem-0.0.2/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/gems/gems/simple_gem-0.0.2/lib/simple_gem.rb +6 -0
- data/spec10/public/core_ext/fixtures/gems/specifications/bad_require_gem-0.0.1.gemspec +28 -0
- data/spec10/public/core_ext/fixtures/gems/specifications/json_pure-1.1.3.gemspec +33 -0
- data/spec10/public/core_ext/fixtures/gems/specifications/simple_gem-0.0.1.gemspec +28 -0
- data/spec10/public/core_ext/fixtures/gems/specifications/simple_gem-0.0.2.gemspec +28 -0
- data/spec10/public/core_ext/fixtures/simple_gem/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/simple_gem/lib/simple_gem.rb +6 -0
- data/spec10/public/core_ext/fixtures/simple_gem_2/Rakefile +42 -0
- data/spec10/public/core_ext/fixtures/simple_gem_2/lib/simple_gem.rb +6 -0
- data/spec10/public/core_ext/immediate_spec.rb +17 -0
- data/spec10/public/core_ext/kernel_spec.rb +44 -0
- data/spec10/public/core_ext/multi_versions_spec.rb +14 -0
- data/spec10/public/core_ext/require_as_fail_spec.rb +11 -0
- data/spec10/public/core_ext/require_as_immediate_spec.rb +17 -0
- data/spec10/public/core_ext/require_as_version_spec.rb +17 -0
- data/spec10/public/core_ext/require_as_working_spec.rb +17 -0
- data/spec10/public/core_ext/simple_dependency_spec.rb +17 -0
- data/spec10/public/core_ext/spec_helper.rb +1 -0
- data/spec10/public/core_ext/version_dependency_spec.rb +20 -0
- data/spec10/public/directory_structure/directory/app/controllers/application.rb +3 -0
- data/spec10/public/directory_structure/directory/app/controllers/base.rb +13 -0
- data/spec10/public/directory_structure/directory/app/controllers/custom.rb +19 -0
- data/spec10/public/directory_structure/directory/app/views/base/template.html.erb +1 -0
- data/spec10/public/directory_structure/directory/app/views/wonderful/template.erb +1 -0
- data/spec10/public/directory_structure/directory/config/router.rb +3 -0
- data/spec10/public/directory_structure/directory_spec.rb +43 -0
- data/spec10/public/logger/logger_spec.rb +283 -0
- data/spec10/public/logger/spec_helper.rb +1 -0
- data/spec10/public/rack/conditinal_get_middleware_spec.rb +128 -0
- data/spec10/public/rack/rack_middleware_spec.rb +101 -0
- data/spec10/public/rack/shared_example_groups.rb +35 -0
- data/spec10/public/request/multipart_spec.rb +43 -0
- data/spec10/public/request/request_spec.rb +252 -0
- data/spec10/public/router/behavior_spec.rb +74 -0
- data/spec10/public/router/generation/conditions_spec.rb +134 -0
- data/spec10/public/router/generation/default_route_spec.rb +32 -0
- data/spec10/public/router/generation/defaults_spec.rb +20 -0
- data/spec10/public/router/generation/identify_spec.rb +163 -0
- data/spec10/public/router/generation/namespace_spec.rb +110 -0
- data/spec10/public/router/generation/optional_segments_spec.rb +163 -0
- data/spec10/public/router/generation/other_spec.rb +17 -0
- data/spec10/public/router/generation/params_spec.rb +72 -0
- data/spec10/public/router/generation/resources_spec.rb +320 -0
- data/spec10/public/router/generation/string_spec.rb +125 -0
- data/spec10/public/router/generation/using_request_params_spec.rb +130 -0
- data/spec10/public/router/recognition/conditions_spec.rb +395 -0
- data/spec10/public/router/recognition/default_routes_spec.rb +35 -0
- data/spec10/public/router/recognition/defaults_spec.rb +122 -0
- data/spec10/public/router/recognition/deferred_spec.rb +209 -0
- data/spec10/public/router/recognition/fixation_spec.rb +27 -0
- data/spec10/public/router/recognition/identify_spec.rb +53 -0
- data/spec10/public/router/recognition/namespace_spec.rb +353 -0
- data/spec10/public/router/recognition/nested_resources_spec.rb +105 -0
- data/spec10/public/router/recognition/optional_segments_spec.rb +113 -0
- data/spec10/public/router/recognition/params_spec.rb +228 -0
- data/spec10/public/router/recognition/redirect_spec.rb +49 -0
- data/spec10/public/router/recognition/regexp_paths_spec.rb +61 -0
- data/spec10/public/router/recognition/resource_spec.rb +157 -0
- data/spec10/public/router/recognition/resources_spec.rb +346 -0
- data/spec10/public/router/recognition/variables_spec.rb +87 -0
- data/spec10/public/router/router_spec.rb +134 -0
- data/spec10/public/router/spec_helper.rb +287 -0
- data/spec10/public/router/spec_helper_spec.rb +33 -0
- data/spec10/public/session/controllers/sessions.rb +61 -0
- data/spec10/public/session/cookie_session_spec.rb +71 -0
- data/spec10/public/session/memcached_session_spec.rb +36 -0
- data/spec10/public/session/memory_session_spec.rb +26 -0
- data/spec10/public/session/multiple_sessions_spec.rb +81 -0
- data/spec10/public/session/no_session_spec.rb +14 -0
- data/spec10/public/session/session_shared.rb +108 -0
- data/spec10/public/session/spec_helper.rb +2 -0
- data/spec10/public/template/template_spec.rb +105 -0
- data/spec10/public/template/templates/error.html.erb +2 -0
- data/spec10/public/template/templates/template.html.erb +1 -0
- data/spec10/public/template/templates/template.html.myt +1 -0
- data/spec10/public/test/controller_matchers_spec.rb +422 -0
- data/spec10/public/test/controllers/controller_assertion_mock.rb +7 -0
- data/spec10/public/test/controllers/dispatch_controller.rb +11 -0
- data/spec10/public/test/controllers/request_controller.rb +64 -0
- data/spec10/public/test/controllers/spec_helper_controller.rb +39 -0
- data/spec10/public/test/mock_request_helper_spec.rb +269 -0
- data/spec10/public/test/multipart_request_helper_spec.rb +159 -0
- data/spec10/public/test/multipart_upload_text_file.txt +1 -0
- data/spec10/public/test/request_helper_spec.rb +124 -0
- data/spec10/public/test/route_helper_spec.rb +75 -0
- data/spec10/public/test/route_matchers_spec.rb +168 -0
- data/spec10/public/test/rspec_ext_spec.rb +17 -0
- data/spec10/public/test/spec_helper.rb +1 -0
- data/spec10/public/webrat/spec_helper.rb +1 -0
- data/spec10/public/webrat/test_app/Rakefile +35 -0
- data/spec10/public/webrat/test_app/app/controllers/application.rb +2 -0
- data/spec10/public/webrat/test_app/app/controllers/exceptions.rb +13 -0
- data/spec10/public/webrat/test_app/app/controllers/testing.rb +23 -0
- data/spec10/public/webrat/test_app/app/helpers/global_helpers.rb +5 -0
- data/spec10/public/webrat/test_app/app/helpers/testing_helper.rb +5 -0
- data/spec10/public/webrat/test_app/app/models/user.rb +17 -0
- data/spec10/public/webrat/test_app/app/views/exceptions/not_acceptable.html.erb +63 -0
- data/spec10/public/webrat/test_app/app/views/exceptions/not_found.html.erb +47 -0
- data/spec10/public/webrat/test_app/app/views/layout/application.html.erb +12 -0
- data/spec10/public/webrat/test_app/app/views/testing/index.html.erb +3 -0
- data/spec10/public/webrat/test_app/app/views/testing/show_form.html.erb +6 -0
- data/spec10/public/webrat/test_app/autotest/discover.rb +1 -0
- data/spec10/public/webrat/test_app/autotest/merb.rb +149 -0
- data/spec10/public/webrat/test_app/autotest/merb_rspec.rb +165 -0
- data/spec10/public/webrat/test_app/bin/autospec +31 -0
- data/spec10/public/webrat/test_app/bin/edit_json.rb +31 -0
- data/spec10/public/webrat/test_app/bin/erubis +31 -0
- data/spec10/public/webrat/test_app/bin/gpgen +31 -0
- data/spec10/public/webrat/test_app/bin/merb +31 -0
- data/spec10/public/webrat/test_app/bin/mongrel_rails +31 -0
- data/spec10/public/webrat/test_app/bin/rackup +31 -0
- data/spec10/public/webrat/test_app/bin/rake +31 -0
- data/spec10/public/webrat/test_app/bin/rake2thor +31 -0
- data/spec10/public/webrat/test_app/bin/spec +31 -0
- data/spec10/public/webrat/test_app/bin/thor +31 -0
- data/spec10/public/webrat/test_app/config/database.yml +33 -0
- data/spec10/public/webrat/test_app/config/dependencies.rb +23 -0
- data/spec10/public/webrat/test_app/config/environments/development.rb +15 -0
- data/spec10/public/webrat/test_app/config/environments/production.rb +10 -0
- data/spec10/public/webrat/test_app/config/environments/rake.rb +11 -0
- data/spec10/public/webrat/test_app/config/environments/staging.rb +10 -0
- data/spec10/public/webrat/test_app/config/environments/test.rb +12 -0
- data/spec10/public/webrat/test_app/config/init.rb +25 -0
- data/spec10/public/webrat/test_app/config/rack.rb +11 -0
- data/spec10/public/webrat/test_app/config/router.rb +44 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/merb_generator.rb +1362 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/api_grease.js +640 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/index.html.erb +37 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/merb.css +252 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/merb.rb +351 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
- data/spec10/public/webrat/test_app/doc/rdoc/generators/template/merb/prototype.js +2515 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/ChangeLog +3 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt +57 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/abstract.gemspec +48 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/lib/abstract.rb +75 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/setup.rb +1331 -0
- data/spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/test/test.rb +91 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/CHANGELOG +14 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/LICENSE +55 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/Manifest +6 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/README +40 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/cgi_multipart_eof_fix.gemspec +44 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/lib/cgi_multipart_eof_fix.rb +127 -0
- data/spec10/public/webrat/test_app/gems/gems/cgi_multipart_eof_fix-2.5.0/test/test_cgi_multipart_eof_fix.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/LICENSE +29 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/README +223 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/Rakefile +84 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/Releases +126 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/TODO +6 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/call/call.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/call/call_monitor.rb +55 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/daemonize/daemonize.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_crash.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_exec.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_exit.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_keep_pid_files.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_monitor.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_multiple.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_normal.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_ontop.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_optionparser.rb +43 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_proc.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_proc.rb.output +101 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_proc_multiple.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_proc_multiple.rb.output +2 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/ctrl_proc_simple.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_crashing.rb.output +30 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/examples/run/myserver_exiting.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/application.rb +372 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/application_group.rb +152 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/cmdline.rb +117 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/controller.rb +134 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/daemonize.rb +263 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/exceptions.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/monitor.rb +127 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/pid.rb +101 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/pidfile.rb +111 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons/pidmem.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/lib/daemons.rb +283 -0
- data/spec10/public/webrat/test_app/gems/gems/daemons-1.0.10/setup.rb +1360 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/CHANGES.txt +717 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/MIT-LICENSE +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/README.txt +102 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/Makefile +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/bench.rb +314 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/bench_context.yaml +141 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/templates/_footer.html +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/templates/_header.html +52 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/templates/bench_erb.rhtml +29 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/templates/bench_erubis.rhtml +29 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/benchmark/templates/bench_eruby.rhtml +29 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/bin/erubis +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis-run.rb +132 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/inline-require +153 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc/docstyle.css +188 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc/users-guide.html +3285 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +181 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/ActionView.html +105 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/ERB.html +101 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Basic.html +112 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Context.html +344 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Converter.html +283 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Ec.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Ejava.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Engine.html +305 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Eperl.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Ephp.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Eruby.html +132 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Escheme.html +126 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Generator.html +416 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +164 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Helpers.html +116 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/InterpolationEnhancer.html +306 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/Main.html +340 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PI.html +124 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PercentLineEnhancer.html +179 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/RubyGenerator.html +327 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/TinyEruby.html +299 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/classes/Erubis.html +353 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/created.rid +1 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/README_txt.html +247 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/context_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/converter_rb.html +114 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/engine_rb.html +117 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/error_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/generator_rb.html +114 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/helper_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/main_rb.html +127 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis/tiny_rb.html +107 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/files/erubis_rb.html +118 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/fr_class_index.html +122 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/fr_file_index.html +51 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/fr_method_index.html +248 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/index.html +24 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/doc-api/rdoc-style.css +208 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/Makefile +53 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.ec +42 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.ejava +45 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.ejs +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.eperl +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.ephp +17 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.eruby +15 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/basic/example.escheme +26 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/Makefile +54 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.ec +42 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.ejava +45 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.ejs +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.eperl +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.ephp +17 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.eruby +15 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/examples/pi/example.escheme +26 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/context.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/converter.rb +358 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/ec.rb +118 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/ejava.rb +111 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/ejavascript.rb +120 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/enhanced.rb +122 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/eperl.rb +96 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/ephp.rb +100 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/eruby.rb +125 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/escheme.rb +115 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine/optimized.rb +128 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/engine.rb +121 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/enhancer.rb +681 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/error.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/evaluator.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/generator.rb +86 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/helper.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/helpers/rails_form_helper.rb +198 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/helpers/rails_helper.rb +325 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/local-setting.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/main.rb +491 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/preprocessing.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis/tiny.rb +146 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/lib/erubis.rb +73 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/setup.rb +1331 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/assert-text-equal.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/Example.ejava +55 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/array_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/arraybuffer_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/bipattern_example.result +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/context.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/context.yaml +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/def_method.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/def_method.result +3 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/escape_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.ec +27 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.ejs +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.eperl +18 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.ephp +18 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.eruby +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example.escheme +28 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example1.eruby +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example1.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example1.result +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example10.rb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example10.result +17 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example10.xhtml +14 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example10_x.result +17 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11.php +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11.result +23 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11.rhtml +21 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11_C.result +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11_N.result +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11_U.result +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11_php.result +15 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example1_x.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example2.eruby +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example2.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example2.result +27 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example2_trim.result +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example2_x.result +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example3.eruby +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example3.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example31.result +22 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example32.result +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example3_e.result +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example4.eruby +3 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example4.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example4.result +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example4_x.result +5 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example5.eruby +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example5.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example5.result +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example6.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example6.result +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example7.eruby +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example71.result +13 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example72.result +13 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example8.eruby +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example8_ruby.result +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example8_yaml.result +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example9.eruby +3 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example9.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example9.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example91.result +5 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example92.result +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_c.result +29 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_java.result +56 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_js.result +22 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_perl.result +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_php.result +19 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_scheme.result +30 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example_scheme_display.result +29 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/fasteruby.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/fasteruby.result +38 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/fasteruby.rhtml +15 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/headerfooter_example.result +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/headerfooter_example2.result +13 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/interpolation_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/main_program1.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/main_program1.result +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/main_program2.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/main_program2.result +6 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/nocode-example.eruby +14 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/nocode-php.result +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/nocode_example.result +15 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/normal_eruby_test.result +11 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/notext-example.eruby +14 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/notext-example.php +19 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/notext-php.result +20 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/notext_example.result +16 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/percentline-example.rhtml +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/percentline_example.result +7 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/printenable_example.result +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/printenabled-example.eruby +3 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/printenabled-example.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/printstatement_example.result +8 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/simplify_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/stdout_exmple.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/stringbuffer_example.result +9 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/tail_260.result +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/tailnewline.rhtml +3 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/template1.rhtml +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/template2.rhtml +4 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/hoge.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test-engines.rb +370 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test-enhancers.rb +571 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test-erubis.rb +884 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test-main.rb +674 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test-users-guide.rb +58 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/test.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/testutil.rb +101 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/LICENSE +20 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/README.txt +3 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/Rakefile +177 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/assertions.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/blank.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/boolean.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/class.rb +175 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/datetime.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/dictionary.rb +433 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/hash.rb +419 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/hook.rb +366 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/inflection.rb +435 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/lazy_array.rb +106 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/logger.rb +202 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/mash.rb +148 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/module.rb +41 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/nil.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/numeric.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/object.rb +175 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/object_space.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/pathname.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/pooling.rb +239 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/rubygems.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/simple_set.rb +39 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/string.rb +132 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/struct.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/symbol.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/tasks/release.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/time.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/version.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib/virtual_file.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/extlib-0.9.8/lib/extlib.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/CHANGELOG +3 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/Manifest +9 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/ext/fastthread/Makefile +153 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/ext/fastthread/extconf.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/ext/fastthread/fastthread.bundle +0 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/ext/fastthread/fastthread.c +1186 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/ext/fastthread/fastthread.o +0 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/fastthread.gemspec +52 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/lib/fastthread.bundle +0 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/setup.rb +1585 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/test/test_all.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/test/test_condvar.rb +34 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/test/test_mutex.rb +74 -0
- data/spec10/public/webrat/test_app/gems/gems/fastthread-1.0.1/test/test_queue.rb +79 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/CHANGELOG +2 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/COPYING +504 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/LICENSE +55 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/Manifest +15 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/README +115 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/bin/gpgen +60 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/gem_plugin.gemspec +53 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/lib/gem_plugin.rb +291 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/COPYING +1 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/LICENSE +1 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/README +5 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/Rakefile +61 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/lib/project/init.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/resources/resources/defaults.yaml +2 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/setup.rb +1360 -0
- data/spec10/public/webrat/test_app/gems/gems/gem_plugin-0.2.3/test/test_plugins.rb +72 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/CHANGES +93 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/GPL +340 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/README +78 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/RUBY +58 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/Rakefile +309 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/TODO +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/VERSION +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/benchmarks/benchmark.txt +133 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/benchmarks/benchmark_generator.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/benchmarks/benchmark_parser.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/benchmarks/benchmark_rails.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/bin/edit_json.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/bin/prettify_json.rb +76 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/data/example.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/data/index.html +38 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/data/prototype.js +4184 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/generator/extconf.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/generator/generator.c +875 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/generator/unicode.c +182 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/generator/unicode.h +53 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/parser/extconf.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/parser/parser.c +1758 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/parser/parser.rl +638 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/parser/unicode.c +154 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/ext/json/ext/parser/unicode.h +58 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/install.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/Array.xpm +21 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/FalseClass.xpm +21 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/Hash.xpm +21 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/Key.xpm +73 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/NilClass.xpm +21 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/Numeric.xpm +28 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/String.xpm +96 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/TrueClass.xpm +21 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/add/core.rb +135 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/add/rails.rb +58 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/common.rb +354 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/editor.rb +1362 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/ext.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/json.xpm +1499 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/pure/generator.rb +394 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/pure/parser.rb +259 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/pure.rb +75 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json/version.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/lib/json.rb +235 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail1.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail10.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail11.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail12.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail13.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail14.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail18.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail19.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail2.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail20.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail21.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail22.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail23.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail24.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail25.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail27.json +2 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail28.json +2 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail3.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail4.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail5.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail6.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail7.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail8.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/fail9.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass1.json +56 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass15.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass16.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass17.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass2.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass26.json +1 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/fixtures/pass3.json +6 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/runner.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json.rb +293 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json_addition.rb +161 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json_fixtures.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json_generate.rb +100 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json_rails.rb +118 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tests/test_json_unicode.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tools/fuzz.rb +140 -0
- data/spec10/public/webrat/test_app/gems/gems/json_pure-1.1.3/tools/server.rb +62 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/CHANGELOG +1126 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/CONTRIBUTORS +133 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/LICENSE +20 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/PUBLIC_CHANGELOG +157 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/README +53 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/Rakefile +461 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/TODO +0 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/bin/merb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/bin/merb-specs +5 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/autoload.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/bootloader.rb +1346 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/config.rb +470 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/constants.rb +97 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/abstract_controller.rb +713 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/exceptions.rb +346 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/merb_controller.rb +390 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mime.rb +135 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mixins/authentication.rb +168 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mixins/conditional_get.rb +97 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mixins/controller.rb +348 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mixins/render.rb +532 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/mixins/responder.rb +492 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/controller/template.rb +299 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/core_ext/hash.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/core_ext/kernel.rb +406 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/core_ext.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/cookies.rb +130 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/default_exception/default_exception.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/default_exception/views/_css.html.erb +200 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/default_exception/views/_javascript.html.erb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/default_exception/views/index.html.erb +98 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/dispatcher.rb +156 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/request.rb +608 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/request_parsers.rb +236 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/router/behavior.rb +785 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/router/cached_proc.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/router/resources.rb +329 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/router/route.rb +632 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/router.rb +355 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session/container.rb +90 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session/cookie.rb +202 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session/memcached.rb +72 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session/memory.rb +111 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session/store_container.rb +162 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/session.rb +266 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/dispatch/worker.rb +42 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/gem_ext/erubis.rb +81 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/logger.rb +193 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/plugins.rb +80 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/abstract.rb +268 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/ebb.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/evented_mongrel.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/fcgi.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/irb.rb +164 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/mongrel.rb +41 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/runner.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/swiftiplied_mongrel.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/thin.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/thin_turbo.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter/webrick.rb +72 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/adapter.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/application.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/handler/mongrel.rb +96 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/helpers.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/conditional_get.rb +29 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/content_length.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/path_prefix.rb +31 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/static.rb +49 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/tracer.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/stream_wrapper.rb +41 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/server.rb +386 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/tasks/audit.rake +68 -0
- data/{lib → spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib}/merb-core/tasks/gem_management.rb +1 -1
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/tasks/merb.rb +4 -0
- data/{lib → spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib}/merb-core/tasks/merb_rake_helper.rb +1 -1
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/tasks/stats.rake +71 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/controller_helper.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/cookie_jar.rb +106 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/mock_request_helper.rb +400 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/multipart_request_helper.rb +176 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/request_helper.rb +81 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers/route_helper.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/helpers.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/matchers/controller_matchers.rb +108 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/matchers/request_matchers.rb +126 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/matchers/route_matchers.rb +137 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/matchers/view_matchers.rb +248 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/matchers.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/run_spec.rb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/run_specs.rb +133 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/tasks/spectasks.rb +78 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/test_ext/hpricot.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/test_ext/nokogiri.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/test_ext/object.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/test_ext/rspec.rb +165 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/test_ext/string.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test/webrat.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/test.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/generated_parser.rb +653 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/generated_tokenizer.rb +159 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/node.rb +95 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/parser.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/parser.y +198 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/tokenizer.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/tokenizer.rex +63 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css/xpath_visitor.rb +159 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/vendor/nokogiri/css.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/version.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core.rb +750 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/LICENSE +20 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/README +180 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/Rakefile +73 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/TODO +5 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/core_ext/numeric.rb +388 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/core_ext.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/date_time_formatting.rb +127 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/date_time_helpers.rb +190 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/form/builder.rb +413 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/form/helpers.rb +449 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/form_helpers.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/tag_helpers.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/text_helpers.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers/time_dsl.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/lib/merb-helpers.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/core_ext_spec.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/application.rb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_check_box.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_file_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_hidden_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_option_tag.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_password_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_radio_button.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_radio_group.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_select.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_text_area.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/bound_text_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/button.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/check_box.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/custom_builder.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/delete_button.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/exceptions.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/field_set.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/fields_for.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/file_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/foo.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/form.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/form_for.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/hidden_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/label.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/numeric_ext.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/option_tag.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/password_field.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/radio_button.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/radio_group.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/relative_date.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/relative_date_span.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/select.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/specs_controller.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/submit.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/tag_helper.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/text_area.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/controllers/text_field.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/helpers/global_helpers.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/models/fake_dm_model.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/models/first_generic_fake_model.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/models/second_generic_fake_model.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/models/third_generic_fake_model.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/basic.html.erb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/checked.html.erb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/errors.html.erb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/label.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/on_and_off.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_check_box_specs/raise_value_error.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_file_field_specs/additional_attributes.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_file_field_specs/takes_string.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_file_field_specs/with_label.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_hidden_field_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_hidden_field_specs/errors.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_hidden_field_specs/hidden_error.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_hidden_field_specs/label.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_option_tag_specs/grouped.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_option_tag_specs/nested.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_option_tag_specs/text_and_value.html.erb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_password_field_specs/attributes.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_password_field_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_password_field_specs/label.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_radio_button_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_radio_group_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_radio_group_specs/hashes.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_radio_group_specs/mixed.html.erb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_radio_group_specs/override_id.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/blank.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/multiple.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/prompt.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/with_options.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_text_area_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/bound_text_field_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/button_specs/button_with_label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/button_specs/button_with_values.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/button_specs/disabled_button.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/boolean.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/on_off_is_boolean.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/raise_unless_both_on_and_off.html.erb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/raises_error_if_not_boolean.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/raises_error_if_on_off_and_boolean_false.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/simple.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/to_string.html.erb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/check_box_specs/unchecked.html.erb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/custom_builder_specs/everything.html.erb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/delete_button_specs/delete_with_explicit_url.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/delete_button_specs/delete_with_extra_params.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/delete_button_specs/delete_with_label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/delete_button_specs/simple_delete.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/exeptions/client_error.html.erb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/exeptions/internal_server_error.html.erb +216 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/exeptions/not_acceptable.html.erb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/exeptions/not_found.html.erb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/fields_for_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/fields_for_specs/midstream.html.erb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/fields_for_specs/nil.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/fieldset_specs/legend.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/file_field_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/file_field_specs/makes_multipart.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/file_field_specs/with_label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/file_field_specs/with_values.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/foo/bar.html.erb +0 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_for_specs/basic.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/create_a_form.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/create_a_multipart_form.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/fake_delete_if_set.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/fake_put_if_set.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/get_if_set.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/post_by_default.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/form_specs/resourceful_form.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/hidden_field_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/hidden_field_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/hidden_field_specs/label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/label_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/layout/application.html.erb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/numeric_ext_specs/minutes_to_hours.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/numeric_ext_specs/to_concurrency_default.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/numeric_ext_specs/two_digits.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/array.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/clean.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/collection.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/multiple_selects.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/no_extra_attributes.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/optgroups.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/selected.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/with_blank.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/option_tag_specs/with_prompt.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/password_field_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/password_field_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_button_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_button_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_button_specs/label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_group_specs/attributes.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_group_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_group_specs/hash.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/radio_group_specs/specific_attributes.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_span_specs/date_span_on_same_day.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_span_specs/date_span_on_same_day_on_different_year.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_specs/relative_date_with_year.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_specs/relative_date_without_year.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_specs/relative_today.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_specs/relative_tomorrow.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/relative_date_specs/relative_yesterday.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/select_specs/blank.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/select_specs/multiple.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/submit_specs/disabled_submit.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/submit_specs/submit_with_label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/submit_specs/submit_with_values.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/tag_helper/nested_tags.html.erb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/tag_helper/tag_with_attributes.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/tag_helper/tag_with_content.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/tag_helper/tag_with_content_in_the_block.html.erb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_area_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_area_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_area_specs/label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_area_specs/nil.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_field_specs/basic.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_field_specs/class.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_field_specs/disabled.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/app/views/text_field_specs/label.html.erb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/environments/development.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/environments/production.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/environments/test.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/init.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/rack.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/config/router.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/public/images/merb.jpg +0 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/public/merb.fcgi +4 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/fixture/public/stylesheets/master.css +119 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/merb_helpers_config_spec.rb +82 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/merb_helpers_date_time_spec.rb +268 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/merb_helpers_form_spec.rb +1237 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/merb_helpers_tag_helper_spec.rb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/merb_helpers_text_spec.rb +67 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/numeric_extlib_spec.rb +135 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/ordinalize_spec.rb +51 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/spec_helper.rb +156 -0
- data/spec10/public/webrat/test_app/gems/gems/merb-helpers-0.9.14/spec/time_dsl_spec.rb +43 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/ChangeLog +101 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/Install +16 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/LICENCE +18 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/README +30 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/Rakefile +208 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/lib/mime/types.rb +1558 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/pre-setup.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/setup.rb +1366 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/tests/tc_mime_type.rb +275 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/tests/tc_mime_types.rb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/mime-types-1.15/tests/testall.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/CHANGELOG +18 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/COPYING +55 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/LICENSE +55 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/Manifest +69 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/README +74 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/TODO +5 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/bin/mongrel_rails +283 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/builder.rb +29 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/camping/README +3 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/camping/blog.rb +294 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/camping/tepee.rb +149 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/httpd.conf +474 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/mime.yaml +3 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/mongrel.conf +9 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/mongrel_simple_ctrl.rb +92 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/mongrel_simple_service.rb +116 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/monitrc +57 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/random_thrash.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/simpletest.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/examples/webrick_compare.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/Makefile +153 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/ext_help.h +14 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/extconf.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11.bundle +0 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11.c +402 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11.o +0 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser.c +1221 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser.h +49 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser.java.rl +170 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser.o +0 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser.rl +152 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11/http11_parser_common.rl +54 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11_java/Http11Service.java +13 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11_java/org/jruby/mongrel/Http11.java +266 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/ext/http11_java/org/jruby/mongrel/Http11Parser.java +572 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/http11.bundle +0 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/camping.rb +107 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/cgi.rb +181 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/command.rb +222 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/configurator.rb +388 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/const.rb +110 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/debug.rb +203 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/gems.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/handlers.rb +468 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/header_out.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/http_request.rb +155 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/http_response.rb +163 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/init.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/mime_types.yml +616 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/rails.rb +185 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/stats.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel/uri_classifier.rb +76 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/lib/mongrel.rb +355 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/mongrel-public_cert.pem +20 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/mongrel.gemspec +235 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/setup.rb +1585 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/mime.yaml +3 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/mongrel.conf +1 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_cgi_wrapper.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_command.rb +86 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_conditional.rb +107 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_configurator.rb +87 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_debug.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_handlers.rb +123 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_http11.rb +156 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_redirect_handler.rb +44 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_request_progress.rb +99 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_response.rb +127 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_stats.rb +35 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_uriclassifier.rb +261 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/test_ws.rb +115 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/test/testhelp.rb +66 -0
- data/spec10/public/webrat/test_app/gems/gems/mongrel-1.1.5/tools/trickletest.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/AUTHORS +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/COPYING +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/KNOWN-ISSUES +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/RDOX +265 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/README +287 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/Rakefile +179 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/SPEC +126 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/bin/rackup +172 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/contrib/rack_logo.svg +111 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/example/lobster.ru +4 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/example/protectedlobster.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/example/protectedlobster.ru +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/adapter/camping.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/abstract/handler.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/abstract/request.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/basic.rb +58 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/digest/md5.rb +124 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/digest/nonce.rb +51 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/digest/params.rb +55 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/digest/request.rb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/auth/openid.rb +437 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/builder.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/cascade.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/commonlogger.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/deflater.rb +63 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/directory.rb +158 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/file.rb +116 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/cgi.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/evented_mongrel.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/fastcgi.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/lsws.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/mongrel.rb +78 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/scgi.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler/webrick.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/handler.rb +44 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/lint.rb +401 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/lobster.rb +65 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/mock.rb +160 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/recursive.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/reloader.rb +64 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/request.rb +209 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/response.rb +166 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/session/abstract/id.rb +140 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/session/cookie.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/session/memcache.rb +97 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/session/pool.rb +73 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/showexceptions.rb +344 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/showstatus.rb +105 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/static.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/urlmap.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack/utils.rb +318 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/lib/rack.rb +81 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/cgi/lighttpd.conf +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/cgi/test +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/cgi/test.fcgi +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/cgi/test.ru +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_auth_basic.rb +69 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_auth_digest.rb +169 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_auth_openid.rb +137 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_builder.rb +50 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_camping.rb +51 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_cascade.rb +50 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_cgi.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_commonlogger.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_deflater.rb +70 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_directory.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_fastcgi.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_file.rb +50 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_handler.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_lint.rb +303 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_lobster.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_mock.rb +152 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_mongrel.rb +170 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_recursive.rb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_request.rb +401 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_response.rb +167 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_session_cookie.rb +49 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_session_memcache.rb +132 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_session_pool.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_showexceptions.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_showstatus.rb +72 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_static.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_urlmap.rb +175 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_utils.rb +174 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/spec_rack_webrick.rb +106 -0
- data/spec10/public/webrat/test_app/gems/gems/rack-0.4.0/test/testrequest.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/CHANGES +400 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/MIT-LICENSE +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/README +285 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/Rakefile +418 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/TODO +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/bin/rake +31 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/example/Rakefile1 +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/example/Rakefile2 +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/example/a.c +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/example/b.c +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/example/main.c +11 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/glossary.rdoc +51 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/jamis.rb +591 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/proto_rake.rdoc +127 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/rake.1.gz +0 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/rakefile.rdoc +534 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/rational.rdoc +151 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/install.rb +88 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/classic_namespace.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/clean.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/compositepublisher.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/ftptools.rb +153 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/publisher.rb +75 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/sshpublisher.rb +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/contrib/sys.rb +209 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/gempackagetask.rb +103 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/loaders/makefile.rb +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/packagetask.rb +185 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/rake_test_loader.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/rdoctask.rb +147 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/ruby182_test_unit_fix.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/runtest.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/tasklib.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/testtask.rb +161 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake/win32.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/lib/rake.rb +2468 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/capture_stdout.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/check_expansion.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/contrib/test_sys.rb +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/chains/Rakefile +15 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/default/Rakefile +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/dryrun/Rakefile +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/file_creation_task/Rakefile +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/imports/Rakefile +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/imports/deps.mf +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/multidesc/Rakefile +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/namespace/Rakefile +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/rakelib/test1.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/rbext/rakefile.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/sample.mf +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/statusreturn/Rakefile +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/data/unittest/Rakefile +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/filecreation.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/functional.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/in_environment.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/rake_test_setup.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/reqfile.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/reqfile2.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/session_functional.rb +337 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/shellcommand.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_application.rb +694 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_clean.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_definitions.rb +82 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_earlytime.rb +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_extension.rb +63 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_file_creation_task.rb +62 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_file_task.rb +139 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_filelist.rb +618 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_fileutils.rb +250 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_ftp.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_invocation_chain.rb +75 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_makefile_loader.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_multitask.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_namespace.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_package_task.rb +116 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_pathmap.rb +209 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_rake.rb +41 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_require.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_rules.rb +347 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_task_arguments.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_task_manager.rb +170 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_tasklib.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_tasks.rb +371 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_test_task.rb +75 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_top_level_functions.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rake-0.8.3/test/test_win32.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/History.txt +1198 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/License.txt +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/Manifest.txt +403 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/README.txt +39 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/Rakefile +89 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/TODO.txt +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/bin/autospec +4 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/bin/spec +4 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/autogenerated_docstrings_example.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/before_and_after_example.rb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/behave_as_example.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/custom_expectation_matchers.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/custom_formatter.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/file_accessor.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/file_accessor_spec.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/greeter_spec.rb +31 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/helper_method_example.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/io_processor.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/io_processor_spec.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/legacy_spec.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/mocking_example.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/multi_threaded_behaviour_runner.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/nested_classes_example.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/partial_mock_example.rb +29 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/pending_example.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/predicate_example.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/priority.txt +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/shared_example_group_example.rb +81 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/shared_stack_examples.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/spec_helper.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/stack.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/stack_spec.rb +63 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/stack_spec_with_nested_example_groups.rb +67 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/stubbing_example.rb +69 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/yielding_example.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/adder.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition +34 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/addition.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/calculator.rb +65 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/README.txt +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/everything.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/examples/examples.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/examples/game_behaviour.rb +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb +66 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story +42 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story +42 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/ICanKillACell.story +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/TheGridWraps.story +53 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/create_a_cell.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/helper.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/steps.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/stories.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/behaviour/stories/stories.txt +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/life/game.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/life/grid.rb +43 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/game-of-life/life.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/helper.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/stories/steps/addition_steps.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/README.txt +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/diffing_spec.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/failing_autogenerated_docstrings_example.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/failure_in_setup.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/failure_in_teardown.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/mocking_example.rb +40 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/mocking_with_flexmock.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/mocking_with_mocha.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/mocking_with_rr.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/partial_mock_example.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/predicate_example.rb +29 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/raising_example.rb +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/spec_helper.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/syntax_error_example.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/team_spec.rb +44 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/failing_examples/timeout_behaviour.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/init.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/autotest/discover.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/autotest/rspec.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/adapters/ruby_engine/mri.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/adapters/ruby_engine/rubinius.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/adapters/ruby_engine.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/adapters.rb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/before_and_after_hooks.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/configuration.rb +167 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/errors.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/example_group.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/example_group_factory.rb +81 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/example_group_methods.rb +368 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/example_matcher.rb +44 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/example_methods.rb +105 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/module_reopening_fix.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/pending.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example/shared_example_group.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/example.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/differs/default.rb +66 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/errors.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/extensions/object.rb +63 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/extensions.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations/handler.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/expectations.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/extensions/class.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/extensions/main.rb +87 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/extensions/metaclass.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/extensions/object.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/extensions.rb +4 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test/unit/autorunner.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test/unit/testcase.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test/unit/testresult.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test/unit/testsuite_adapter.rb +34 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test/unit/ui/console/testrunner.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/interop/test.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/be.rb +221 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/be_close.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/change.rb +148 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/eql.rb +43 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/equal.rb +43 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/exist.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/has.rb +34 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/have.rb +150 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/include.rb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/match.rb +41 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/operator_matcher.rb +79 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/raise_error.rb +132 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/respond_to.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/satisfy.rb +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/simple_matcher.rb +132 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers/throw_symbol.rb +74 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/matchers.rb +162 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/argument_constraints.rb +165 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/argument_expectation.rb +49 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/error_generator.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/errors.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/extensions/object.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/extensions.rb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/framework.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/message_expectation.rb +331 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/methods.rb +51 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/mock.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/order_group.rb +29 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/proxy.rb +224 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/space.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks/spec_methods.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/mocks.rb +200 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/rake/spectask.rb +227 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/rake/verify_rcov.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/backtrace_tweaker.rb +56 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/class_and_arguments_parser.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/command_line.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/drb_command_line.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/example_group_runner.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/base_formatter.rb +79 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/base_text_formatter.rb +126 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/failing_example_groups_formatter.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/failing_examples_formatter.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/html_formatter.rb +337 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/nested_text_formatter.rb +65 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/profile_formatter.rb +51 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/progress_bar_formatter.rb +34 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/snippet_extractor.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/specdoc_formatter.rb +39 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/story/html_formatter.rb +174 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/story/plain_text_formatter.rb +194 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/story/progress_bar_formatter.rb +42 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/formatter/text_mate_formatter.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/heckle_runner.rb +72 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/heckle_runner_unsupported.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/option_parser.rb +205 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/options.rb +320 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/reporter.rb +167 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner/spec_parser.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/runner.rb +213 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/extensions/main.rb +86 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/extensions/regexp.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/extensions/string.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/extensions.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/given_scenario.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/plain_text_story_runner.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/scenario_collector.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/scenario_runner.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/story_mediator.rb +137 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/story_parser.rb +247 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner/story_runner.rb +70 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/runner.rb +59 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/scenario.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/step.rb +70 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/step_group.rb +89 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/step_mother.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/story.rb +39 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/world.rb +128 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/version.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/plugins/mock_frameworks/flexmock.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/plugins/mock_frameworks/mocha.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/plugins/mock_frameworks/rr.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/plugins/mock_frameworks/rspec.rb +20 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/rake_tasks/examples.rake +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/rake_tasks/examples_with_rcov.rake +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/rake_tasks/failing_examples_with_html.rake +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/rake_tasks/verify_rcov.rake +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/rspec.gemspec +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/README.jruby +15 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/autotest_helper.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/autotest_matchers.rb +47 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/rspec_spec.rb +150 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/rspec_suite.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/ruby_forker.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/adapters/ruby_engine_spec.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/configuration_spec.rb +296 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_group_class_definition_spec.rb +48 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_group_factory_spec.rb +165 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_group_methods_spec.rb +584 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_group_spec.rb +683 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_matcher_spec.rb +96 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_methods_spec.rb +169 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/example_runner_spec.rb +194 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/nested_example_group_spec.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/pending_module_spec.rb +145 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/predicate_matcher_spec.rb +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/shared_example_group_spec.rb +281 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/example/subclassing_example_group_spec.rb +25 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/expectations/differs/default_spec.rb +127 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/expectations/extensions/object_spec.rb +95 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/expectations/fail_with_spec.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/extensions/main_spec.rb +71 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/spec_that_fails.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/spec_that_passes.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/spec_with_errors.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/spec_with_options_hash.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_that_fails.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_that_passes.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/test_case_with_errors.rb +10 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb +38 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/spec_spec.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/test_unit_spec_helper.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/testcase_spec.rb +49 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/interop/test/unit/testsuite_adapter_spec.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/be_close_spec.rb +39 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/be_spec.rb +248 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/change_spec.rb +329 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/description_generation_spec.rb +153 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/eql_spec.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/equal_spec.rb +28 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/exist_spec.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/handler_spec.rb +150 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/has_spec.rb +63 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/have_spec.rb +394 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/include_spec.rb +64 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/match_spec.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/matcher_methods_spec.rb +78 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/mock_constraint_matchers_spec.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/operator_matcher_spec.rb +191 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/raise_error_spec.rb +315 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/respond_to_spec.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/satisfy_spec.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/simple_matcher_spec.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/matchers/throw_symbol_spec.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/any_number_of_times_spec.rb +36 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/argument_expectation_spec.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/at_least_spec.rb +97 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/at_most_spec.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_10260_spec.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_10263_spec.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_11545_spec.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_15719_spec.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +95 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/hash_including_matcher_spec.rb +53 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/mock_ordering_spec.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/mock_space_spec.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/mock_spec.rb +555 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/nil_expectation_warning_spec.rb +53 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/null_object_mock_spec.rb +54 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/once_counts_spec.rb +53 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/options_hash_spec.rb +35 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/partial_mock_spec.rb +149 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +66 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +130 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/precise_counts_spec.rb +52 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/record_messages_spec.rb +26 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/stub_spec.rb +188 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/twice_counts_spec.rb +67 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/package/bin_spec_spec.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/class_and_argument_parser_spec.rb +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/command_line_spec.rb +141 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/drb_command_line_spec.rb +97 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/empty_file.txt +0 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/examples.txt +2 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/failed.txt +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/base_formatter_spec.rb +112 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +33 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatted-1.8.4.html +365 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html +387 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatted-1.8.5.html +371 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html +381 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatted-1.8.6.html +370 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/html_formatter_spec.rb +61 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/nested_text_formatter_spec.rb +318 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/profile_formatter_spec.rb +65 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +155 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/snippet_extractor_spec.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +103 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/specdoc_formatter_spec.rb +159 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/story/html_formatter_spec.rb +135 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +600 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb +82 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/text_mate_formatted-1.8.4.html +365 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +370 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckle_runner_spec.rb +78 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/heckler_spec.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/option_parser_spec.rb +421 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/options_spec.rb +450 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/output_one_time_fixture.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/output_one_time_fixture_runner.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/output_one_time_spec.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +62 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/reporter_spec.rb +238 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/resources/a_bar.rb +0 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/resources/a_foo.rb +0 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/resources/a_spec.rb +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/spec.opts +2 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/spec_drb.opts +1 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/spec_parser/spec_parser_fixture.rb +70 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/spec_parser_spec.rb +85 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner/spec_spaced.opts +2 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/runner_spec.rb +11 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/spec_classes.rb +133 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/builders.rb +46 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/extensions/main_spec.rb +161 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/extensions_spec.rb +14 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/given_scenario_spec.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/plain_text_story_runner_spec.rb +90 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/scenario_collector_spec.rb +27 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/scenario_runner_spec.rb +214 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/story_mediator_spec.rb +143 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/story_parser_spec.rb +401 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner/story_runner_spec.rb +294 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/runner_spec.rb +93 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/scenario_spec.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/step_group_spec.rb +157 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/step_mother_spec.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/step_spec.rb +272 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/story_helper.rb +2 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/story_spec.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/story/world_spec.rb +423 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec.opts +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec_helper.rb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/all.rb +5 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/configuration/before_blocks.story +21 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/configuration/stories.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/autogenerated_docstrings +45 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/example_group_with_should_methods +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/nested_groups +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/output +25 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/example_groups/stories.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/helper.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/interop/examples_and_tests_together +30 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/interop/stories.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/interop/test_case_with_should_methods +17 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/mock_framework_integration/stories.rb +7 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/mock_framework_integration/use_flexmock.story +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/pending_stories/README +3 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/helpers/cmdline.rb +9 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/helpers/story_helper.rb +16 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/matchers/smart_match.rb +37 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/spec/before_blocks_example.rb +32 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/spec/example_group_with_should_methods.rb +12 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/spec/simple_spec.rb +8 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/spec/spec_with_flexmock.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/steps/running_rspec.rb +50 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/stories/failing_story.rb +15 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/spec_and_test_together.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/resources/test/test_case_with_should_methods.rb +30 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/stories/multiline_steps.story +23 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/stories/steps/multiline_steps.rb +13 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/stories/stories/stories.rb +6 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/builder.js +136 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/controls.js +972 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/dragdrop.js +976 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/effects.js +1117 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/prototype.js +4140 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/rspec.js +149 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/scriptaculous.js +58 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/slider.js +276 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/sound.js +55 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/javascripts/unittest.js +568 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/lib/server.rb +24 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/stories.html +176 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/stylesheets/rspec.css +136 -0
- data/spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/story_server/prototype/stylesheets/test.css +90 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/CHANGELOG.rdoc +52 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/LICENSE +20 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/README.markdown +76 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/Rakefile +6 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/bin/rake2thor +83 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/bin/thor +7 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/error.rb +3 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/options.rb +242 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/ordered_hash.rb +64 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/runner.rb +286 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/task.rb +84 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/task_hash.rb +22 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/tasks/package.rb +18 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/tasks.rb +77 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor/util.rb +57 -0
- data/spec10/public/webrat/test_app/gems/gems/thor-0.9.8/lib/thor.rb +146 -0
- data/spec10/public/webrat/test_app/gems/specifications/abstract-1.0.0.gemspec +29 -0
- data/spec10/public/webrat/test_app/gems/specifications/cgi_multipart_eof_fix-2.5.0.gemspec +31 -0
- data/spec10/public/webrat/test_app/gems/specifications/daemons-1.0.10.gemspec +31 -0
- data/spec10/public/webrat/test_app/gems/specifications/erubis-2.6.2.gemspec +34 -0
- data/spec10/public/webrat/test_app/gems/specifications/extlib-0.9.8.gemspec +28 -0
- data/spec10/public/webrat/test_app/gems/specifications/fastthread-1.0.1.gemspec +32 -0
- data/spec10/public/webrat/test_app/gems/specifications/gem_plugin-0.2.3.gemspec +33 -0
- data/spec10/public/webrat/test_app/gems/specifications/json_pure-1.1.3.gemspec +33 -0
- data/spec10/public/webrat/test_app/gems/specifications/merb-core-0.9.14.gemspec +57 -0
- data/spec10/public/webrat/test_app/gems/specifications/merb-helpers-0.9.14.gemspec +33 -0
- data/spec10/public/webrat/test_app/gems/specifications/mime-types-1.15.gemspec +34 -0
- data/spec10/public/webrat/test_app/gems/specifications/mongrel-1.1.5.gemspec +49 -0
- data/spec10/public/webrat/test_app/gems/specifications/rack-0.4.0.gemspec +33 -0
- data/spec10/public/webrat/test_app/gems/specifications/rake-0.8.3.gemspec +33 -0
- data/spec10/public/webrat/test_app/gems/specifications/rspec-1.1.11.gemspec +35 -0
- data/spec10/public/webrat/test_app/gems/specifications/thor-0.9.8.gemspec +31 -0
- data/spec10/public/webrat/test_app/merb/merb-auth/setup.rb +44 -0
- data/spec10/public/webrat/test_app/merb/merb-auth/strategies.rb +11 -0
- data/spec10/public/webrat/test_app/merb/session/session.rb +9 -0
- data/spec10/public/webrat/test_app/public/favicon.ico +0 -0
- data/spec10/public/webrat/test_app/public/images/merb.jpg +0 -0
- data/spec10/public/webrat/test_app/public/javascripts/application.js +1 -0
- data/spec10/public/webrat/test_app/public/javascripts/jquery.js +32 -0
- data/spec10/public/webrat/test_app/public/merb.fcgi +22 -0
- data/spec10/public/webrat/test_app/public/robots.txt +5 -0
- data/spec10/public/webrat/test_app/public/stylesheets/master.css +119 -0
- data/spec10/public/webrat/test_app/tasks/doc.thor +149 -0
- data/spec10/public/webrat/test_app/tasks/merb.thor +2012 -0
- data/spec10/public/webrat/webrat_spec.rb +75 -0
- data/spec10/spec_helper.rb +134 -0
- metadata +2172 -41
- data/lib/merb-core/core_ext/json_pure_fix.rb +0 -14
@@ -0,0 +1,1346 @@
|
|
1
|
+
module Merb
|
2
|
+
|
3
|
+
class BootLoader
|
4
|
+
|
5
|
+
# def self.subclasses
|
6
|
+
#
|
7
|
+
# @api plugin
|
8
|
+
cattr_accessor :subclasses, :after_load_callbacks, :before_load_callbacks,
|
9
|
+
:finished, :before_worker_shutdown_callbacks, :before_master_shutdown_callbacks
|
10
|
+
|
11
|
+
self.subclasses, self.after_load_callbacks,
|
12
|
+
self.before_load_callbacks, self.finished, self.before_master_shutdown_callbacks,
|
13
|
+
self.before_worker_shutdown_callbacks = [], [], [], [], [], []
|
14
|
+
|
15
|
+
class << self
|
16
|
+
|
17
|
+
# Adds the inheriting class to the list of subclasses in a position
|
18
|
+
# specified by the before and after methods.
|
19
|
+
#
|
20
|
+
# ==== Parameters
|
21
|
+
# klass<Class>:: The class inheriting from Merb::BootLoader.
|
22
|
+
#
|
23
|
+
# ==== Returns
|
24
|
+
# nil
|
25
|
+
#
|
26
|
+
# @api plugin
|
27
|
+
def inherited(klass)
|
28
|
+
subclasses << klass.to_s
|
29
|
+
super
|
30
|
+
end
|
31
|
+
|
32
|
+
# Execute this boot loader after the specified boot loader.
|
33
|
+
#
|
34
|
+
# ==== Parameters
|
35
|
+
# klass<~to_s>::
|
36
|
+
# The boot loader class after which this boot loader should be run.
|
37
|
+
#
|
38
|
+
# ==== Returns
|
39
|
+
# nil
|
40
|
+
#
|
41
|
+
# @api plugin
|
42
|
+
def after(klass)
|
43
|
+
move_klass(klass, 1)
|
44
|
+
nil
|
45
|
+
end
|
46
|
+
|
47
|
+
# Execute this boot loader before the specified boot loader.
|
48
|
+
#
|
49
|
+
# ==== Parameters
|
50
|
+
# klass<~to_s>::
|
51
|
+
# The boot loader class before which this boot loader should be run.
|
52
|
+
#
|
53
|
+
# ==== Returns
|
54
|
+
# nil
|
55
|
+
#
|
56
|
+
# @api plugin
|
57
|
+
def before(klass)
|
58
|
+
move_klass(klass, 0)
|
59
|
+
nil
|
60
|
+
end
|
61
|
+
|
62
|
+
# Move a class that is inside the bootloader to some place in the Array,
|
63
|
+
# relative to another class.
|
64
|
+
#
|
65
|
+
# ==== Parameters
|
66
|
+
# klass<~to_s>::
|
67
|
+
# The klass to move the bootloader relative to
|
68
|
+
# where<Integer>::
|
69
|
+
# 0 means insert it before; 1 means insert it after
|
70
|
+
#
|
71
|
+
# ==== Returns
|
72
|
+
# nil
|
73
|
+
#
|
74
|
+
# @api private
|
75
|
+
def move_klass(klass, where)
|
76
|
+
index = Merb::BootLoader.subclasses.index(klass.to_s)
|
77
|
+
if index
|
78
|
+
Merb::BootLoader.subclasses.delete(self.to_s)
|
79
|
+
Merb::BootLoader.subclasses.insert(index + where, self.to_s)
|
80
|
+
end
|
81
|
+
nil
|
82
|
+
end
|
83
|
+
|
84
|
+
# Runs all boot loader classes by calling their run methods.
|
85
|
+
#
|
86
|
+
# ==== Returns
|
87
|
+
# nil
|
88
|
+
#
|
89
|
+
# @api plugin
|
90
|
+
def run
|
91
|
+
Merb.started = true
|
92
|
+
subklasses = subclasses.dup
|
93
|
+
until subclasses.empty?
|
94
|
+
time = Time.now.to_i
|
95
|
+
bootloader = subclasses.shift
|
96
|
+
if (ENV['DEBUG'] || $DEBUG || Merb::Config[:verbose]) && Merb.logger
|
97
|
+
Merb.logger.debug!("Loading: #{bootloader}")
|
98
|
+
end
|
99
|
+
Object.full_const_get(bootloader).run
|
100
|
+
if (ENV['DEBUG'] || $DEBUG || Merb::Config[:verbose]) && Merb.logger
|
101
|
+
Merb.logger.debug!("It took: #{Time.now.to_i - time}")
|
102
|
+
end
|
103
|
+
self.finished << bootloader
|
104
|
+
end
|
105
|
+
self.subclasses = subklasses
|
106
|
+
nil
|
107
|
+
end
|
108
|
+
|
109
|
+
# Determines whether or not a specific bootloader has finished yet.
|
110
|
+
#
|
111
|
+
# ==== Parameters
|
112
|
+
# bootloader<String, Class>:: The name of the bootloader to check.
|
113
|
+
#
|
114
|
+
# ==== Returns
|
115
|
+
# Boolean:: Whether or not the bootloader has finished.
|
116
|
+
#
|
117
|
+
# @api private
|
118
|
+
def finished?(bootloader)
|
119
|
+
self.finished.include?(bootloader.to_s)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Set up the default framework
|
123
|
+
#
|
124
|
+
# ==== Returns
|
125
|
+
# nil
|
126
|
+
#
|
127
|
+
# @api plugin
|
128
|
+
# @overridable
|
129
|
+
def default_framework
|
130
|
+
%w[view model helper controller mailer part].each do |component|
|
131
|
+
Merb.push_path(component.to_sym, Merb.root_path("app/#{component}s"))
|
132
|
+
end
|
133
|
+
Merb.push_path(:application, Merb.root_path("app" / "controllers" / "application.rb"))
|
134
|
+
Merb.push_path(:config, Merb.root_path("config"), nil)
|
135
|
+
Merb.push_path(:router, Merb.dir_for(:config), (Merb::Config[:router_file] || "router.rb"))
|
136
|
+
Merb.push_path(:lib, Merb.root_path("lib"), nil)
|
137
|
+
Merb.push_path(:merb_session, Merb.root_path("merb" / "session"))
|
138
|
+
Merb.push_path(:log, Merb.log_path, nil)
|
139
|
+
Merb.push_path(:public, Merb.root_path("public"), nil)
|
140
|
+
Merb.push_path(:stylesheet, Merb.dir_for(:public) / "stylesheets", nil)
|
141
|
+
Merb.push_path(:javascript, Merb.dir_for(:public) / "javascripts", nil)
|
142
|
+
Merb.push_path(:image, Merb.dir_for(:public) / "images", nil)
|
143
|
+
nil
|
144
|
+
end
|
145
|
+
|
146
|
+
# Execute a block of code after the app loads.
|
147
|
+
#
|
148
|
+
# ==== Parameters
|
149
|
+
# &block::
|
150
|
+
# A block to be added to the callbacks that will be executed after the
|
151
|
+
# app loads.
|
152
|
+
#
|
153
|
+
# @api public
|
154
|
+
def after_app_loads(&block)
|
155
|
+
after_load_callbacks << block
|
156
|
+
end
|
157
|
+
|
158
|
+
# Execute a block of code before the app loads but after dependencies load.
|
159
|
+
#
|
160
|
+
# ==== Parameters
|
161
|
+
# &block::
|
162
|
+
# A block to be added to the callbacks that will be executed before the
|
163
|
+
# app loads.
|
164
|
+
#
|
165
|
+
# @api public
|
166
|
+
def before_app_loads(&block)
|
167
|
+
before_load_callbacks << block
|
168
|
+
end
|
169
|
+
|
170
|
+
# Execute a block of code before master process is shut down.
|
171
|
+
# Only makes sense on platforms where Merb server can use forking.
|
172
|
+
#
|
173
|
+
# ==== Parameters
|
174
|
+
# &block::
|
175
|
+
# A block to be added to the callbacks that will be executed
|
176
|
+
# before master process is shut down.
|
177
|
+
#
|
178
|
+
# @api public
|
179
|
+
def before_master_shutdown(&block)
|
180
|
+
before_master_shutdown_callbacks << block
|
181
|
+
end
|
182
|
+
|
183
|
+
# Execute a block of code before worker process is shut down.
|
184
|
+
# Only makes sense on platforms where Merb server can use forking.
|
185
|
+
#
|
186
|
+
# ==== Parameters
|
187
|
+
# &block::
|
188
|
+
# A block to be added to the callbacks that will be executed
|
189
|
+
# before worker process is shut down.
|
190
|
+
#
|
191
|
+
# @api public
|
192
|
+
def before_worker_shutdown(&block)
|
193
|
+
before_worker_shutdown_callbacks << block
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
end
|
198
|
+
|
199
|
+
end
|
200
|
+
|
201
|
+
# Set up the logger.
|
202
|
+
#
|
203
|
+
# Place the logger inside of the Merb log directory (set up in
|
204
|
+
# Merb::BootLoader::BuildFramework)
|
205
|
+
class Merb::BootLoader::Logger < Merb::BootLoader
|
206
|
+
|
207
|
+
# Sets Merb.logger to a new logger created based on the config settings.
|
208
|
+
#
|
209
|
+
# ==== Returns
|
210
|
+
# nil
|
211
|
+
#
|
212
|
+
# @api plugin
|
213
|
+
def self.run
|
214
|
+
Merb::Config[:log_level] ||= begin
|
215
|
+
if Merb.environment == "production"
|
216
|
+
Merb::Logger::Levels[:warn]
|
217
|
+
else
|
218
|
+
Merb::Logger::Levels[:debug]
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
Merb::Config[:log_stream] =
|
223
|
+
Merb::Config[:original_log_stream] || Merb.log_stream
|
224
|
+
|
225
|
+
print_warnings
|
226
|
+
|
227
|
+
nil
|
228
|
+
end
|
229
|
+
|
230
|
+
# Print a warning if the installed version of rubygems is not supported
|
231
|
+
#
|
232
|
+
# ==== Returns
|
233
|
+
# nil
|
234
|
+
#
|
235
|
+
# @api private
|
236
|
+
def self.print_warnings
|
237
|
+
if Gem::Version.new(Gem::RubyGemsVersion) < Gem::Version.new("1.1")
|
238
|
+
Merb.fatal! "Merb requires Rubygems 1.1 and later. " \
|
239
|
+
"Please upgrade RubyGems with gem update --system."
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Stores pid file.
|
245
|
+
#
|
246
|
+
# Only run if daemonization or clustering options specified on start.
|
247
|
+
# Port is taken from Merb::Config and must be already set at this point.
|
248
|
+
class Merb::BootLoader::DropPidFile < Merb::BootLoader
|
249
|
+
class << self
|
250
|
+
|
251
|
+
# Stores a PID file if Merb is running daemonized or clustered.
|
252
|
+
#
|
253
|
+
# ==== Returns
|
254
|
+
# nil
|
255
|
+
#
|
256
|
+
# @api plugin
|
257
|
+
def run
|
258
|
+
Merb::Server.store_pid("main") #if Merb::Config[:daemonize] || Merb::Config[:cluster]
|
259
|
+
nil
|
260
|
+
end
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
# Setup some useful defaults
|
265
|
+
class Merb::BootLoader::Defaults < Merb::BootLoader
|
266
|
+
# Sets up the defaults
|
267
|
+
#
|
268
|
+
# ==== Returns
|
269
|
+
# nil
|
270
|
+
#
|
271
|
+
# @api plugin
|
272
|
+
def self.run
|
273
|
+
Merb::Request.http_method_overrides.concat([
|
274
|
+
proc { |c| c.params[:_method] },
|
275
|
+
proc { |c| c.env['HTTP_X_HTTP_METHOD_OVERRIDE'] }
|
276
|
+
])
|
277
|
+
nil
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
|
282
|
+
# Build the framework paths.
|
283
|
+
#
|
284
|
+
# By default, the following paths will be used:
|
285
|
+
# application:: Merb.root/app/controller/application.rb
|
286
|
+
# config:: Merb.root/config
|
287
|
+
# lib:: Merb.root/lib
|
288
|
+
# log:: Merb.root/log
|
289
|
+
# view:: Merb.root/app/views
|
290
|
+
# model:: Merb.root/app/models
|
291
|
+
# controller:: Merb.root/app/controllers
|
292
|
+
# helper:: Merb.root/app/helpers
|
293
|
+
# mailer:: Merb.root/app/mailers
|
294
|
+
# part:: Merb.root/app/parts
|
295
|
+
#
|
296
|
+
# To override the default, set Merb::Config[:framework] in your initialization
|
297
|
+
# file. Merb::Config[:framework] takes a Hash whose key is the name of the
|
298
|
+
# path, and whose values can be passed into Merb.push_path (see Merb.push_path
|
299
|
+
# for full details).
|
300
|
+
#
|
301
|
+
# ==== Notes
|
302
|
+
# All paths will default to Merb.root, so you can get a flat-file structure by
|
303
|
+
# doing Merb::Config[:framework] = {}.
|
304
|
+
#
|
305
|
+
# ==== Example
|
306
|
+
# Merb::Config[:framework] = {
|
307
|
+
# :view => Merb.root / "views",
|
308
|
+
# :model => Merb.root / "models",
|
309
|
+
# :lib => Merb.root / "lib",
|
310
|
+
# :public => [Merb.root / "public", nil]
|
311
|
+
# :router => [Merb.root / "config", "router.rb"]
|
312
|
+
# }
|
313
|
+
#
|
314
|
+
# That will set up a flat directory structure with the config files and
|
315
|
+
# controller files under Merb.root, but with models, views, and lib with their
|
316
|
+
# own folders off of Merb.root.
|
317
|
+
class Merb::BootLoader::BuildFramework < Merb::BootLoader
|
318
|
+
class << self
|
319
|
+
|
320
|
+
# Builds the framework directory structure.
|
321
|
+
#
|
322
|
+
# ==== Returns
|
323
|
+
# nil
|
324
|
+
def run
|
325
|
+
$:.push Merb.root unless Merb.root == File.expand_path(Dir.pwd)
|
326
|
+
build_framework
|
327
|
+
nil
|
328
|
+
end
|
329
|
+
|
330
|
+
# Sets up merb paths to support the app's file layout. First, config/framework.rb is checked,
|
331
|
+
# next we look for Merb.root/framework.rb, finally we use the default merb layout (Merb::BootLoader.default_framework)
|
332
|
+
#
|
333
|
+
# This method can be overriden to support other application layouts.
|
334
|
+
#
|
335
|
+
# ==== Returns
|
336
|
+
# nil
|
337
|
+
#
|
338
|
+
# @api plugin
|
339
|
+
# @overridable
|
340
|
+
def build_framework
|
341
|
+
if File.exists?(Merb.root / "config" / "framework.rb")
|
342
|
+
require Merb.root / "config" / "framework"
|
343
|
+
elsif File.exists?(Merb.root / "framework.rb")
|
344
|
+
require Merb.root / "framework"
|
345
|
+
else
|
346
|
+
Merb::BootLoader.default_framework
|
347
|
+
end
|
348
|
+
(Merb::Config[:framework] || {}).each do |name, path|
|
349
|
+
path = Array(path)
|
350
|
+
Merb.push_path(name, path.first, path.length == 2 ? path[1] : "**/*.rb")
|
351
|
+
end
|
352
|
+
nil
|
353
|
+
end
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class Merb::BootLoader::Dependencies < Merb::BootLoader
|
358
|
+
|
359
|
+
# ==== Returns
|
360
|
+
# Array[Gem::Dependency]:: The dependencies regiestered in init.rb.
|
361
|
+
#
|
362
|
+
# @api plugin
|
363
|
+
cattr_accessor :dependencies
|
364
|
+
self.dependencies = []
|
365
|
+
|
366
|
+
# Load the init_file specified in Merb::Config or if not specified, the
|
367
|
+
# init.rb file from the Merb configuration directory, and any environment
|
368
|
+
# files, which register the list of necessary dependencies and any
|
369
|
+
# after_app_loads hooks.
|
370
|
+
#
|
371
|
+
# Dependencies can hook into the bootloader process itself by using
|
372
|
+
# before or after insertion methods. Since these are loaded from this
|
373
|
+
# bootloader (Dependencies), they can only adapt the bootloaders that
|
374
|
+
# haven't been loaded up until this point.
|
375
|
+
#
|
376
|
+
# ==== Returns
|
377
|
+
# nil
|
378
|
+
#
|
379
|
+
# @api plugin
|
380
|
+
def self.run
|
381
|
+
set_encoding
|
382
|
+
# this is crucial: load init file with all the preferences
|
383
|
+
# then environment init file, then start enabling specific
|
384
|
+
# components, load dependencies and update logger.
|
385
|
+
unless Merb::disabled?(:initfile)
|
386
|
+
load_initfile
|
387
|
+
load_env_config
|
388
|
+
end
|
389
|
+
expand_ruby_path
|
390
|
+
enable_json_gem unless Merb::disabled?(:json)
|
391
|
+
load_dependencies
|
392
|
+
update_logger
|
393
|
+
nil
|
394
|
+
end
|
395
|
+
|
396
|
+
# Load each dependency that has been declared so far.
|
397
|
+
#
|
398
|
+
# ==== Returns
|
399
|
+
# nil
|
400
|
+
#
|
401
|
+
# @api private
|
402
|
+
def self.load_dependencies
|
403
|
+
dependencies.each { |dependency| Kernel.load_dependency(dependency) }
|
404
|
+
nil
|
405
|
+
end
|
406
|
+
|
407
|
+
# Loads json or json_pure and requires it.
|
408
|
+
#
|
409
|
+
# ==== Returns
|
410
|
+
# nil
|
411
|
+
def self.enable_json_gem
|
412
|
+
gem "json"
|
413
|
+
require "json/ext"
|
414
|
+
rescue LoadError
|
415
|
+
gem "json_pure"
|
416
|
+
require "json/pure"
|
417
|
+
end
|
418
|
+
|
419
|
+
# Resets the logger and sets the log_stream to Merb::Config[:log_file]
|
420
|
+
# if one is specified, falling back to STDOUT.
|
421
|
+
#
|
422
|
+
# ==== Returns
|
423
|
+
# nil
|
424
|
+
#
|
425
|
+
# @api private
|
426
|
+
def self.update_logger
|
427
|
+
Merb.reset_logger!
|
428
|
+
|
429
|
+
# If log file is given, use it and not log stream we have.
|
430
|
+
if Merb::Config[:log_file]
|
431
|
+
raise "log file should be a string, got: #{Merb::Config[:log_file].inspect}" unless Merb::Config[:log_file].is_a?(String)
|
432
|
+
STDOUT.puts "Logging to file at #{Merb::Config[:log_file]}" unless Merb.testing?
|
433
|
+
Merb::Config[:log_stream] = File.open(Merb::Config[:log_file], "w+")
|
434
|
+
# but if it's not given, fallback to log stream or stdout
|
435
|
+
else
|
436
|
+
Merb::Config[:log_stream] ||= STDOUT
|
437
|
+
end
|
438
|
+
|
439
|
+
nil
|
440
|
+
end
|
441
|
+
|
442
|
+
# Default encoding to UTF8 if it has not already been set to something else.
|
443
|
+
#
|
444
|
+
# ==== Returns
|
445
|
+
# nil
|
446
|
+
#
|
447
|
+
# @api private
|
448
|
+
def self.set_encoding
|
449
|
+
$KCODE = 'UTF8' if $KCODE == 'NONE' || $KCODE.blank?
|
450
|
+
nil
|
451
|
+
end
|
452
|
+
|
453
|
+
private
|
454
|
+
|
455
|
+
# Determines the path for the environment configuration file
|
456
|
+
#
|
457
|
+
# ==== Returns
|
458
|
+
# String:: The path to the config file for the environment
|
459
|
+
#
|
460
|
+
# @api private
|
461
|
+
def self.env_config
|
462
|
+
Merb.dir_for(:config) / "environments" / (Merb.environment + ".rb")
|
463
|
+
end
|
464
|
+
|
465
|
+
# Checks to see whether or not an environment configuration exists
|
466
|
+
#
|
467
|
+
# ==== Returns
|
468
|
+
# Boolean:: Whether or not the environment configuration file exists.
|
469
|
+
#
|
470
|
+
# @api private
|
471
|
+
def self.env_config?
|
472
|
+
Merb.environment && File.exist?(env_config)
|
473
|
+
end
|
474
|
+
|
475
|
+
# Loads the environment configuration file, if it is present
|
476
|
+
#
|
477
|
+
# ==== Returns
|
478
|
+
# nil
|
479
|
+
#
|
480
|
+
# @api private
|
481
|
+
def self.load_env_config
|
482
|
+
if env_config?
|
483
|
+
STDOUT.puts "Loading #{env_config}" unless Merb.testing?
|
484
|
+
load(env_config)
|
485
|
+
end
|
486
|
+
nil
|
487
|
+
end
|
488
|
+
|
489
|
+
# Determines the init file to use, if any.
|
490
|
+
# By default Merb uses init.rb from application config directory.
|
491
|
+
#
|
492
|
+
# ==== Returns
|
493
|
+
# nil
|
494
|
+
#
|
495
|
+
# @api private
|
496
|
+
def self.initfile
|
497
|
+
if Merb::Config[:init_file]
|
498
|
+
Merb::Config[:init_file].chomp(".rb") + ".rb"
|
499
|
+
else
|
500
|
+
Merb.dir_for(:config) / "init.rb"
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# Loads the init file, should one exist
|
505
|
+
#
|
506
|
+
# ==== Returns
|
507
|
+
# nil
|
508
|
+
#
|
509
|
+
# @api private
|
510
|
+
def self.load_initfile
|
511
|
+
if File.exists?(initfile)
|
512
|
+
STDOUT.puts "Loading init file from #{initfile}" unless Merb.testing?
|
513
|
+
load(initfile)
|
514
|
+
elsif !Merb.testing?
|
515
|
+
Merb.fatal! "You are not in a Merb application, or you are in " \
|
516
|
+
"a flat application and have not specified the init file. If you " \
|
517
|
+
"are trying to create a new merb application, use merb-gen app."
|
518
|
+
end
|
519
|
+
nil
|
520
|
+
end
|
521
|
+
|
522
|
+
# Expands Ruby path with framework directories (for models, lib, etc). Only run once.
|
523
|
+
#
|
524
|
+
# ==== Returns
|
525
|
+
# nil
|
526
|
+
#
|
527
|
+
# @api private
|
528
|
+
def self.expand_ruby_path
|
529
|
+
# Add models, controllers, helpers and lib to the load path
|
530
|
+
unless @ran
|
531
|
+
Merb.logger.info "Expanding RUBY_PATH..." if Merb::Config[:verbose]
|
532
|
+
|
533
|
+
$LOAD_PATH.unshift Merb.dir_for(:model)
|
534
|
+
$LOAD_PATH.unshift Merb.dir_for(:controller)
|
535
|
+
$LOAD_PATH.unshift Merb.dir_for(:lib)
|
536
|
+
$LOAD_PATH.unshift Merb.dir_for(:helper)
|
537
|
+
end
|
538
|
+
|
539
|
+
@ran = true
|
540
|
+
nil
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
class Merb::BootLoader::MixinSession < Merb::BootLoader
|
545
|
+
|
546
|
+
# Mixin the session functionality; this is done before BeforeAppLoads
|
547
|
+
# so that SessionContainer and SessionStoreContainer can be subclassed by
|
548
|
+
# plugin session stores for example - these need to be loaded in a
|
549
|
+
# before_app_loads block or a BootLoader that runs after MixinSession.
|
550
|
+
#
|
551
|
+
# Note: access to Merb::Config is needed, so it needs to run after
|
552
|
+
# Merb::BootLoader::Dependencies is done.
|
553
|
+
#
|
554
|
+
# ==== Returns
|
555
|
+
# nil
|
556
|
+
#
|
557
|
+
# @api plugin
|
558
|
+
def self.run
|
559
|
+
require 'merb-core/dispatch/session'
|
560
|
+
Merb::Controller.send(:include, ::Merb::SessionMixin)
|
561
|
+
Merb::Request.send(:include, ::Merb::SessionMixin::RequestMixin)
|
562
|
+
end
|
563
|
+
|
564
|
+
end
|
565
|
+
|
566
|
+
class Merb::BootLoader::BeforeAppLoads < Merb::BootLoader
|
567
|
+
|
568
|
+
# Call any before_app_loads hooks that were registered via before_app_loads
|
569
|
+
# in any plugins.
|
570
|
+
#
|
571
|
+
# ==== Returns
|
572
|
+
# nil
|
573
|
+
#
|
574
|
+
# @api plugin
|
575
|
+
def self.run
|
576
|
+
Merb::BootLoader.before_load_callbacks.each { |x| x.call }
|
577
|
+
nil
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# Load all classes inside the load paths.
|
582
|
+
#
|
583
|
+
# This is used in conjunction with Merb::BootLoader::ReloadClasses to track
|
584
|
+
# files that need to be reloaded, and which constants need to be removed in
|
585
|
+
# order to reload a file.
|
586
|
+
#
|
587
|
+
# This also adds the model, controller, and lib directories to the load path,
|
588
|
+
# so they can be required in order to avoid load-order issues.
|
589
|
+
class Merb::BootLoader::LoadClasses < Merb::BootLoader
|
590
|
+
LOADED_CLASSES = {}
|
591
|
+
MTIMES = {}
|
592
|
+
|
593
|
+
class << self
|
594
|
+
|
595
|
+
# Load all classes from Merb's native load paths.
|
596
|
+
#
|
597
|
+
# If fork-based loading is used, every time classes are loaded this will return in a new spawner process
|
598
|
+
# and boot loading will continue from this point in the boot loading process.
|
599
|
+
#
|
600
|
+
# If fork-based loading is not in use, this only returns once and does not fork a new
|
601
|
+
# process.
|
602
|
+
#
|
603
|
+
# ==== Returns
|
604
|
+
# Returns at least once:
|
605
|
+
# nil
|
606
|
+
#
|
607
|
+
# @api plugin
|
608
|
+
def run
|
609
|
+
# process name you see in ps output
|
610
|
+
$0 = "merb#{" : " + Merb::Config[:name] if Merb::Config[:name]} : master"
|
611
|
+
|
612
|
+
# Log the process configuration user defined signal 1 (SIGUSR1) is received.
|
613
|
+
Merb.trap("USR1") do
|
614
|
+
require "yaml"
|
615
|
+
Merb.logger.fatal! "Configuration:\n#{Merb::Config.to_hash.merge(:pid => $$).to_yaml}\n\n"
|
616
|
+
end
|
617
|
+
|
618
|
+
if Merb::Config[:fork_for_class_load] && !Merb.testing?
|
619
|
+
start_transaction
|
620
|
+
else
|
621
|
+
Merb.trap('INT') do
|
622
|
+
Merb.logger.warn! "Reaping Workers"
|
623
|
+
reap_workers
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
# Load application file if it exists - for flat applications
|
628
|
+
load_file Merb.dir_for(:application) if File.file?(Merb.dir_for(:application))
|
629
|
+
|
630
|
+
# Load classes and their requirements
|
631
|
+
Merb.load_paths.each do |component, path|
|
632
|
+
next if path.last.blank? || component == :application || component == :router
|
633
|
+
load_classes(path.first / path.last)
|
634
|
+
end
|
635
|
+
|
636
|
+
Merb::Controller.send :include, Merb::GlobalHelpers
|
637
|
+
|
638
|
+
nil
|
639
|
+
end
|
640
|
+
|
641
|
+
# Wait for any children to exit, remove the "main" PID, and
|
642
|
+
# exit.
|
643
|
+
#
|
644
|
+
# ==== Returns
|
645
|
+
# (Does not return.)
|
646
|
+
#
|
647
|
+
# @api private
|
648
|
+
def exit_gracefully
|
649
|
+
# wait all workers to exit
|
650
|
+
Process.waitall
|
651
|
+
# remove master process pid
|
652
|
+
Merb::Server.remove_pid("main")
|
653
|
+
# terminate, workers remove their own pids
|
654
|
+
# in on exit hook
|
655
|
+
|
656
|
+
Merb::BootLoader.before_master_shutdown_callbacks.each do |cb|
|
657
|
+
begin
|
658
|
+
cb.call
|
659
|
+
rescue Exception => e
|
660
|
+
Merb.logger.fatal "before_master_shutdown callback crashed: #{e.message}"
|
661
|
+
end
|
662
|
+
end
|
663
|
+
exit
|
664
|
+
end
|
665
|
+
|
666
|
+
# Set up the BEGIN point for fork-based loading and sets up
|
667
|
+
# any signals in the parent and child. This is done by forking
|
668
|
+
# the app. The child process continues on to run the app. The parent
|
669
|
+
# process waits for the child process to finish and either forks again
|
670
|
+
#
|
671
|
+
#
|
672
|
+
# ==== Returns
|
673
|
+
# Parent Process:
|
674
|
+
# (Does not return.)
|
675
|
+
# Child Process returns at least once:
|
676
|
+
# nil
|
677
|
+
#
|
678
|
+
# @api private
|
679
|
+
|
680
|
+
def start_transaction
|
681
|
+
Merb.logger.warn! "Parent pid: #{Process.pid}"
|
682
|
+
reader, writer = nil, nil
|
683
|
+
|
684
|
+
if GC.respond_to?(:copy_on_write_friendly=)
|
685
|
+
GC.copy_on_write_friendly = true
|
686
|
+
end
|
687
|
+
|
688
|
+
loop do
|
689
|
+
# create two connected endpoints
|
690
|
+
# we use them for master/workers communication
|
691
|
+
reader, @writer = IO.pipe
|
692
|
+
pid = Kernel.fork
|
693
|
+
|
694
|
+
# pid means we're in the parent; only stay in the loop if that is case
|
695
|
+
break unless pid
|
696
|
+
# writer must be closed so reader can generate EOF condition
|
697
|
+
@writer.close
|
698
|
+
|
699
|
+
# master process stores pid to merb.main.pid
|
700
|
+
Merb::Server.store_pid("main")
|
701
|
+
|
702
|
+
if Merb::Config[:console_trap]
|
703
|
+
Merb.trap("INT") {}
|
704
|
+
else
|
705
|
+
# send ABRT to worker on INT
|
706
|
+
Merb.trap("INT") do
|
707
|
+
Merb.logger.warn! "Reaping Workers"
|
708
|
+
begin
|
709
|
+
Process.kill("ABRT", pid)
|
710
|
+
rescue SystemCallError
|
711
|
+
end
|
712
|
+
exit_gracefully
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
Merb.trap("HUP") do
|
717
|
+
Merb.logger.warn! "Doing a fast deploy\n"
|
718
|
+
Process.kill("HUP", pid)
|
719
|
+
end
|
720
|
+
|
721
|
+
reader_ary = [reader]
|
722
|
+
loop do
|
723
|
+
# wait for worker to exit and capture exit status
|
724
|
+
#
|
725
|
+
#
|
726
|
+
# WNOHANG specifies that wait2 exists without waiting
|
727
|
+
# if no worker processes are ready to be noticed.
|
728
|
+
if exit_status = Process.wait2(pid, Process::WNOHANG)
|
729
|
+
# wait2 returns a 2-tuple of process id and exit
|
730
|
+
# status.
|
731
|
+
#
|
732
|
+
# We do not care about specific pid here.
|
733
|
+
exit_status[1] && exit_status[1].exitstatus == 128 ? break : exit
|
734
|
+
end
|
735
|
+
# wait for data to become available, timeout in 0.25 of a second
|
736
|
+
if select(reader_ary, nil, nil, 0.25)
|
737
|
+
begin
|
738
|
+
# no open writers
|
739
|
+
next if reader.eof?
|
740
|
+
msg = reader.readline
|
741
|
+
if msg =~ /128/
|
742
|
+
Process.detach(pid)
|
743
|
+
break
|
744
|
+
else
|
745
|
+
exit_gracefully
|
746
|
+
end
|
747
|
+
rescue SystemCallError
|
748
|
+
exit_gracefully
|
749
|
+
end
|
750
|
+
end
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
reader.close
|
755
|
+
|
756
|
+
# add traps to the worker
|
757
|
+
if Merb::Config[:console_trap]
|
758
|
+
Merb::Server.add_irb_trap
|
759
|
+
at_exit { reap_workers }
|
760
|
+
else
|
761
|
+
Merb.trap('INT') { Merb::BootLoader.before_worker_shutdown_callbacks.each { |cb| cb.call } }
|
762
|
+
Merb.trap('ABRT') { reap_workers }
|
763
|
+
Merb.trap('HUP') { reap_workers(128) }
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# Reap any workers of the spawner process and
|
768
|
+
# exit with an appropriate status code.
|
769
|
+
#
|
770
|
+
# Note that exiting the spawner process with a status code
|
771
|
+
# of 128 when a master process exists will cause the
|
772
|
+
# spawner process to be recreated, and the app code reloaded.
|
773
|
+
#
|
774
|
+
# ==== Parameters
|
775
|
+
# status<Integer>:: The status code to exit with. Defaults to 0.
|
776
|
+
#
|
777
|
+
# ==== Returns
|
778
|
+
# (Does not return.)
|
779
|
+
#
|
780
|
+
# @api private
|
781
|
+
# @param status<Integer> The status code to exit with
|
782
|
+
# @param sig<String> The signal to send to workers
|
783
|
+
def reap_workers(status = 0, sig = "ABRT")
|
784
|
+
Merb.logger.info "Executed all before worker shutdown callbacks..."
|
785
|
+
Merb::BootLoader.before_worker_shutdown_callbacks.each do |cb|
|
786
|
+
begin
|
787
|
+
cb.call
|
788
|
+
rescue Exception => e
|
789
|
+
Merb.logger.fatal "before worker shutdown callback crashed: #{e.message}"
|
790
|
+
end
|
791
|
+
|
792
|
+
end
|
793
|
+
|
794
|
+
Merb.exiting = true unless status == 128
|
795
|
+
|
796
|
+
begin
|
797
|
+
@writer.puts(status.to_s) if @writer
|
798
|
+
rescue SystemCallError
|
799
|
+
end
|
800
|
+
|
801
|
+
threads = []
|
802
|
+
|
803
|
+
($WORKERS || []).each do |p|
|
804
|
+
threads << Thread.new do
|
805
|
+
begin
|
806
|
+
Process.kill(sig, p)
|
807
|
+
Process.wait2(p)
|
808
|
+
rescue SystemCallError
|
809
|
+
end
|
810
|
+
end
|
811
|
+
end
|
812
|
+
threads.each {|t| t.join }
|
813
|
+
exit(status)
|
814
|
+
end
|
815
|
+
|
816
|
+
# Loads a file, tracking its modified time and, if necessary, the classes it declared.
|
817
|
+
#
|
818
|
+
# ==== Parameters
|
819
|
+
# file<String>:: The file to load.
|
820
|
+
#
|
821
|
+
# ==== Returns
|
822
|
+
# nil
|
823
|
+
#
|
824
|
+
# @api private
|
825
|
+
def load_file(file)
|
826
|
+
# Don't do this expensive operation unless we need to
|
827
|
+
unless Merb::Config[:fork_for_class_load]
|
828
|
+
klasses = ObjectSpace.classes.dup
|
829
|
+
end
|
830
|
+
|
831
|
+
# Ignore the file for syntax errors. The next time
|
832
|
+
# the file is changed, it'll be reloaded again
|
833
|
+
begin
|
834
|
+
require file
|
835
|
+
rescue SyntaxError => e
|
836
|
+
Merb.logger.error "Cannot load #{file} because of syntax error: #{e.message}"
|
837
|
+
ensure
|
838
|
+
if Merb::Config[:reload_classes]
|
839
|
+
MTIMES[file] = File.mtime(file)
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
# Don't do this expensive operation unless we need to
|
844
|
+
unless Merb::Config[:fork_for_class_load]
|
845
|
+
LOADED_CLASSES[file] = ObjectSpace.classes - klasses
|
846
|
+
end
|
847
|
+
|
848
|
+
nil
|
849
|
+
end
|
850
|
+
|
851
|
+
# Load classes from given paths - using path/glob pattern.
|
852
|
+
#
|
853
|
+
# ==== Parameters
|
854
|
+
# *paths<Array>::
|
855
|
+
# Array of paths to load classes from - may contain glob pattern
|
856
|
+
#
|
857
|
+
# ==== Returns
|
858
|
+
# nil
|
859
|
+
#
|
860
|
+
# @api private
|
861
|
+
def load_classes(*paths)
|
862
|
+
orphaned_classes = []
|
863
|
+
paths.flatten.each do |path|
|
864
|
+
Dir[path].each do |file|
|
865
|
+
begin
|
866
|
+
load_file file
|
867
|
+
rescue NameError => ne
|
868
|
+
orphaned_classes.unshift(file)
|
869
|
+
end
|
870
|
+
end
|
871
|
+
end
|
872
|
+
load_classes_with_requirements(orphaned_classes)
|
873
|
+
end
|
874
|
+
|
875
|
+
# Reloads the classes in the specified file. If fork-based loading is used,
|
876
|
+
# this causes the current processes to be killed and and all classes to be
|
877
|
+
# reloaded. If class-based loading is not in use, the classes declared in that file
|
878
|
+
# are removed and the file is reloaded.
|
879
|
+
#
|
880
|
+
# ==== Parameters
|
881
|
+
# file<String>:: The file to reload.
|
882
|
+
#
|
883
|
+
# ==== Returns
|
884
|
+
# When fork-based loading is used:
|
885
|
+
# (Does not return.)
|
886
|
+
# When fork-based loading is not in use:
|
887
|
+
# nil
|
888
|
+
#
|
889
|
+
# @api private
|
890
|
+
def reload(file)
|
891
|
+
if Merb::Config[:fork_for_class_load]
|
892
|
+
reap_workers(128)
|
893
|
+
else
|
894
|
+
remove_classes_in_file(file) { |f| load_file(f) }
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
# Removes all classes declared in the specified file. Any hashes which use classes as keys
|
899
|
+
# will be protected provided they have been added to Merb.klass_hashes. These hashes have their
|
900
|
+
# keys substituted with placeholders before the file's classes are unloaded. If a block is provided,
|
901
|
+
# it is called before the substituted keys are reconstituted.
|
902
|
+
#
|
903
|
+
# ==== Parameters
|
904
|
+
# file<String>:: The file to remove classes for.
|
905
|
+
# &block:: A block to call with the file that has been removed before klass_hashes are updated
|
906
|
+
# to use the current values of the constants they used as keys.
|
907
|
+
#
|
908
|
+
# ==== Returns
|
909
|
+
# nil
|
910
|
+
#
|
911
|
+
# @api private
|
912
|
+
def remove_classes_in_file(file, &block)
|
913
|
+
Merb.klass_hashes.each { |x| x.protect_keys! }
|
914
|
+
if klasses = LOADED_CLASSES.delete(file)
|
915
|
+
klasses.each { |klass| remove_constant(klass) unless klass.to_s =~ /Router/ }
|
916
|
+
end
|
917
|
+
yield file if block_given?
|
918
|
+
Merb.klass_hashes.each {|x| x.unprotect_keys!}
|
919
|
+
nil
|
920
|
+
end
|
921
|
+
|
922
|
+
# Removes the specified class.
|
923
|
+
#
|
924
|
+
# Additionally, removes the specified class from the subclass list of every superclass that
|
925
|
+
# tracks it's subclasses in an array returned by _subclasses_list. Classes that wish to use this
|
926
|
+
# functionality are required to alias the reader for their list of subclasses
|
927
|
+
# to _subclasses_list. Plugins for ORMs and other libraries should keep this in mind.
|
928
|
+
#
|
929
|
+
# ==== Parameters
|
930
|
+
# const<Class>:: The class to remove.
|
931
|
+
#
|
932
|
+
# ==== Returns
|
933
|
+
# nil
|
934
|
+
#
|
935
|
+
# @api private
|
936
|
+
def remove_constant(const)
|
937
|
+
# This is to support superclasses (like AbstractController) that track
|
938
|
+
# their subclasses in a class variable.
|
939
|
+
superklass = const
|
940
|
+
until (superklass = superklass.superclass).nil?
|
941
|
+
if superklass.respond_to?(:_subclasses_list)
|
942
|
+
superklass.send(:_subclasses_list).delete(klass)
|
943
|
+
superklass.send(:_subclasses_list).delete(klass.to_s)
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
parts = const.to_s.split("::")
|
948
|
+
base = parts.size == 1 ? Object : Object.full_const_get(parts[0..-2].join("::"))
|
949
|
+
object = parts[-1].to_s
|
950
|
+
begin
|
951
|
+
base.send(:remove_const, object)
|
952
|
+
Merb.logger.debug("Removed constant #{object} from #{base}")
|
953
|
+
rescue NameError
|
954
|
+
Merb.logger.debug("Failed to remove constant #{object} from #{base}")
|
955
|
+
end
|
956
|
+
nil
|
957
|
+
end
|
958
|
+
|
959
|
+
private
|
960
|
+
|
961
|
+
# "Better loading" of classes. If a file fails to load due to a NameError
|
962
|
+
# it will be added to the failed_classes and load cycle will be repeated unless
|
963
|
+
# no classes load.
|
964
|
+
#
|
965
|
+
# ==== Parameters
|
966
|
+
# klasses<Array[Class]>:: Classes to load.
|
967
|
+
#
|
968
|
+
# ==== Returns
|
969
|
+
# nil
|
970
|
+
#
|
971
|
+
# @api private
|
972
|
+
def load_classes_with_requirements(klasses)
|
973
|
+
klasses.uniq!
|
974
|
+
|
975
|
+
while klasses.size > 0
|
976
|
+
# Note size to make sure things are loading
|
977
|
+
size_at_start = klasses.size
|
978
|
+
|
979
|
+
# List of failed classes
|
980
|
+
failed_classes = []
|
981
|
+
# Map classes to exceptions
|
982
|
+
error_map = {}
|
983
|
+
|
984
|
+
klasses.each do |klass|
|
985
|
+
klasses.delete(klass)
|
986
|
+
begin
|
987
|
+
load_file klass
|
988
|
+
rescue NameError => ne
|
989
|
+
error_map[klass] = ne
|
990
|
+
failed_classes.push(klass)
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
994
|
+
# Keep list of classes unique
|
995
|
+
failed_classes.each { |k| klasses.push(k) unless klasses.include?(k) }
|
996
|
+
|
997
|
+
# Stop processing if nothing loads or if everything has loaded
|
998
|
+
if klasses.size == size_at_start && klasses.size != 0
|
999
|
+
# Write all remaining failed classes and their exceptions to the log
|
1000
|
+
messages = error_map.only(*failed_classes).map do |klass, e|
|
1001
|
+
["Could not load #{klass}:\n\n#{e.message} - (#{e.class})",
|
1002
|
+
"#{(e.backtrace || []).join("\n")}"]
|
1003
|
+
end
|
1004
|
+
messages.each { |msg, trace| Merb.logger.fatal!("#{msg}\n\n#{trace}") }
|
1005
|
+
Merb.fatal! "#{failed_classes.join(", ")} failed to load."
|
1006
|
+
end
|
1007
|
+
break if(klasses.size == size_at_start || klasses.size == 0)
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
nil
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# Loads the router file. This needs to happen after everything else is loaded while merb is starting up to ensure
|
1018
|
+
# the router has everything it needs to run.
|
1019
|
+
class Merb::BootLoader::Router < Merb::BootLoader
|
1020
|
+
class << self
|
1021
|
+
|
1022
|
+
# load the router file
|
1023
|
+
#
|
1024
|
+
# ==== Returns
|
1025
|
+
# nil
|
1026
|
+
#
|
1027
|
+
# @api plugin
|
1028
|
+
def run
|
1029
|
+
Merb::BootLoader::LoadClasses.load_file(router_file) if router_file
|
1030
|
+
|
1031
|
+
nil
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# Tries to find the router file.
|
1035
|
+
#
|
1036
|
+
# ==== Returns
|
1037
|
+
# String:: The path to the router file if it exists, nil otherwise.
|
1038
|
+
def router_file
|
1039
|
+
@router_file ||= begin
|
1040
|
+
if File.file?(router = Merb.dir_for(:router) / Merb.glob_for(:router))
|
1041
|
+
router
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Precompiles all non-partial templates.
|
1050
|
+
class Merb::BootLoader::Templates < Merb::BootLoader
|
1051
|
+
class << self
|
1052
|
+
|
1053
|
+
# Loads all non-partial templates into the Merb::InlineTemplates module.
|
1054
|
+
#
|
1055
|
+
# ==== Returns
|
1056
|
+
# Array[String]:: The list of template files which were loaded.
|
1057
|
+
#
|
1058
|
+
# @api plugin
|
1059
|
+
def run
|
1060
|
+
template_paths.each do |path|
|
1061
|
+
Merb::Template.inline_template(File.open(path))
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# Finds a list of templates to load.
|
1066
|
+
#
|
1067
|
+
# ==== Returns
|
1068
|
+
# Array[String]:: All found template files whose basename does not begin with "_".
|
1069
|
+
#
|
1070
|
+
# @api private
|
1071
|
+
def template_paths
|
1072
|
+
extension_glob = "{#{Merb::Template.template_extensions.join(',')}}"
|
1073
|
+
|
1074
|
+
# This gets all templates set in the controllers template roots
|
1075
|
+
# We separate the two maps because most of controllers will have
|
1076
|
+
# the same _template_root, so it's silly to be globbing the same
|
1077
|
+
# path over and over.
|
1078
|
+
controller_view_paths = []
|
1079
|
+
Merb::AbstractController._abstract_subclasses.each do |klass|
|
1080
|
+
next if (const = Object.full_const_get(klass))._template_root.blank?
|
1081
|
+
controller_view_paths += const._template_roots.map { |pair| pair.first }
|
1082
|
+
end
|
1083
|
+
template_paths = controller_view_paths.uniq.compact.map { |path| Dir["#{path}/**/*.#{extension_glob}"] }
|
1084
|
+
|
1085
|
+
# This gets the templates that might be created outside controllers
|
1086
|
+
# template roots. eg app/views/shared/*
|
1087
|
+
template_paths << Dir["#{Merb.dir_for(:view)}/**/*.#{extension_glob}"] if Merb.dir_for(:view)
|
1088
|
+
|
1089
|
+
# This ignores templates for partials, which need to be compiled at use time to generate
|
1090
|
+
# a preamble that assigns local variables
|
1091
|
+
template_paths.flatten.compact.uniq.grep(%r{^.*/[^_][^/]*$})
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Register the default MIME types:
|
1097
|
+
#
|
1098
|
+
# By default, the mime-types include:
|
1099
|
+
# :all:: no transform, */*
|
1100
|
+
# :yaml:: to_yaml, application/x-yaml or text/yaml
|
1101
|
+
# :text:: to_text, text/plain
|
1102
|
+
# :html:: to_html, text/html or application/xhtml+xml or application/html
|
1103
|
+
# :xml:: to_xml, application/xml or text/xml or application/x-xml
|
1104
|
+
# :js:: to_json, text/javascript ot application/javascript or application/x-javascript
|
1105
|
+
# :json:: to_json, application/json or text/x-json
|
1106
|
+
class Merb::BootLoader::MimeTypes < Merb::BootLoader
|
1107
|
+
|
1108
|
+
# Registers the default MIME types.
|
1109
|
+
#
|
1110
|
+
# ==== Returns
|
1111
|
+
# nil
|
1112
|
+
#
|
1113
|
+
# @api plugin
|
1114
|
+
def self.run
|
1115
|
+
Merb.add_mime_type(:all, nil, %w[*/*])
|
1116
|
+
Merb.add_mime_type(:yaml, :to_yaml, %w[application/x-yaml text/yaml], :charset => "utf-8")
|
1117
|
+
Merb.add_mime_type(:text, :to_text, %w[text/plain], :charset => "utf-8")
|
1118
|
+
Merb.add_mime_type(:html, :to_html, %w[text/html application/xhtml+xml application/html], :charset => "utf-8")
|
1119
|
+
Merb.add_mime_type(:xml, :to_xml, %w[application/xml text/xml application/x-xml], {:charset => "utf-8"}, 0.9998)
|
1120
|
+
Merb.add_mime_type(:js, :to_json, %w[text/javascript application/javascript application/x-javascript], :charset => "utf-8")
|
1121
|
+
Merb.add_mime_type(:json, :to_json, %w[application/json text/x-json], :charset => "utf-8")
|
1122
|
+
nil
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Set up cookies support in Merb::Controller and Merb::Request
|
1127
|
+
class Merb::BootLoader::Cookies < Merb::BootLoader
|
1128
|
+
|
1129
|
+
# Set up cookies support in Merb::Controller and Merb::Request
|
1130
|
+
#
|
1131
|
+
# ==== Returns
|
1132
|
+
# nil
|
1133
|
+
#
|
1134
|
+
# @api plugin
|
1135
|
+
def self.run
|
1136
|
+
require 'merb-core/dispatch/cookies'
|
1137
|
+
Merb::Controller.send(:include, Merb::CookiesMixin)
|
1138
|
+
Merb::Request.send(:include, Merb::CookiesMixin::RequestMixin)
|
1139
|
+
nil
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
class Merb::BootLoader::SetupSession < Merb::BootLoader
|
1145
|
+
|
1146
|
+
# Enable the configured session container(s); any class that inherits from
|
1147
|
+
# SessionContainer will be considered by its session_store_type attribute.
|
1148
|
+
#
|
1149
|
+
# ==== Returns
|
1150
|
+
# nil
|
1151
|
+
#
|
1152
|
+
# @api plugin
|
1153
|
+
def self.run
|
1154
|
+
# Require all standard session containers.
|
1155
|
+
Dir[Merb.framework_root / "merb-core" / "dispatch" / "session" / "*.rb"].each do |file|
|
1156
|
+
base_name = File.basename(file, ".rb")
|
1157
|
+
require file unless base_name == "container" || base_name == "store_container"
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# Set some defaults.
|
1161
|
+
Merb::Config[:session_id_key] ||= "_session_id"
|
1162
|
+
|
1163
|
+
# List of all session_stores from :session_stores and :session_store config options.
|
1164
|
+
config_stores = Merb::Config.session_stores
|
1165
|
+
|
1166
|
+
# Register all configured session stores - any loaded session container class
|
1167
|
+
# (subclassed from Merb::SessionContainer) will be available for registration.
|
1168
|
+
Merb::SessionContainer.subclasses.each do |class_name|
|
1169
|
+
if(store = Object.full_const_get(class_name)) &&
|
1170
|
+
config_stores.include?(store.session_store_type)
|
1171
|
+
Merb::Request.register_session_type(store.session_store_type, class_name)
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# Mixin the Merb::Session module to add app-level functionality to sessions
|
1176
|
+
overrides = (Merb::Session.instance_methods & Merb::SessionContainer.instance_methods)
|
1177
|
+
overrides.each do |m|
|
1178
|
+
Merb.logger.warn!("Warning: Merb::Session##{m} overrides existing " \
|
1179
|
+
"Merb::SessionContainer##{m}")
|
1180
|
+
end
|
1181
|
+
Merb::SessionContainer.send(:include, Merb::Session)
|
1182
|
+
nil
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
# In case someone's running a sparse app, the default exceptions require the
|
1188
|
+
# Exceptions class. This must run prior to the AfterAppLoads BootLoader
|
1189
|
+
# So that plugins may have ensured access in the after_app_loads block
|
1190
|
+
class Merb::BootLoader::SetupStubClasses < Merb::BootLoader
|
1191
|
+
# Declares empty Application and Exception controllers.
|
1192
|
+
#
|
1193
|
+
# ==== Returns
|
1194
|
+
# nil
|
1195
|
+
#
|
1196
|
+
# @api plugin
|
1197
|
+
def self.run
|
1198
|
+
unless defined?(Exceptions)
|
1199
|
+
Object.class_eval <<-RUBY
|
1200
|
+
class Application < Merb::Controller
|
1201
|
+
abstract!
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
class Exceptions < Merb::Controller
|
1205
|
+
end
|
1206
|
+
RUBY
|
1207
|
+
end
|
1208
|
+
nil
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
class Merb::BootLoader::AfterAppLoads < Merb::BootLoader
|
1213
|
+
|
1214
|
+
# Call any after_app_loads hooks that were registered via after_app_loads in
|
1215
|
+
# init.rb.
|
1216
|
+
#
|
1217
|
+
# ==== Returns
|
1218
|
+
# nil
|
1219
|
+
#
|
1220
|
+
# @api plugin
|
1221
|
+
def self.run
|
1222
|
+
Merb::BootLoader.after_load_callbacks.each {|x| x.call }
|
1223
|
+
nil
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
class Merb::BootLoader::ChooseAdapter < Merb::BootLoader
|
1228
|
+
|
1229
|
+
# Choose the Rack adapter/server to use and set Merb.adapter.
|
1230
|
+
#
|
1231
|
+
# ==== Returns
|
1232
|
+
# nil
|
1233
|
+
#
|
1234
|
+
# @api plugin
|
1235
|
+
def self.run
|
1236
|
+
Merb.adapter = Merb::Rack::Adapter.get(Merb::Config[:adapter])
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class Merb::BootLoader::RackUpApplication < Merb::BootLoader
|
1241
|
+
# Setup the Merb Rack App or read a rackup file located at
|
1242
|
+
# Merb::Config[:rackup] with the same syntax as the
|
1243
|
+
# rackup tool that comes with rack. Automatically evals the file in
|
1244
|
+
# the context of a Rack::Builder.new { } block. Allows for mounting
|
1245
|
+
# additional apps or middleware.
|
1246
|
+
#
|
1247
|
+
# ==== Returns
|
1248
|
+
# nil
|
1249
|
+
#
|
1250
|
+
# @api plugin
|
1251
|
+
def self.run
|
1252
|
+
require 'rack'
|
1253
|
+
if File.exists?(Merb.dir_for(:config) / "rack.rb")
|
1254
|
+
Merb::Config[:rackup] ||= Merb.dir_for(:config) / "rack.rb"
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
if Merb::Config[:rackup]
|
1258
|
+
rackup_code = File.read(Merb::Config[:rackup])
|
1259
|
+
Merb::Config[:app] = eval("::Rack::Builder.new {( #{rackup_code}\n )}.to_app", TOPLEVEL_BINDING, Merb::Config[:rackup])
|
1260
|
+
else
|
1261
|
+
Merb::Config[:app] = ::Rack::Builder.new {
|
1262
|
+
if prefix = ::Merb::Config[:path_prefix]
|
1263
|
+
use Merb::Rack::PathPrefix, prefix
|
1264
|
+
end
|
1265
|
+
use Merb::Rack::Static, Merb.dir_for(:public)
|
1266
|
+
run Merb::Rack::Application.new
|
1267
|
+
}.to_app
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
nil
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
class Merb::BootLoader::ReloadClasses < Merb::BootLoader
|
1275
|
+
|
1276
|
+
class TimedExecutor
|
1277
|
+
# Executes the associated block every @seconds@ seconds in a separate thread.
|
1278
|
+
#
|
1279
|
+
# ==== Parameters
|
1280
|
+
# seconds<Integer>:: Number of seconds to sleep in between runs of &block.
|
1281
|
+
# &block:: The block to execute periodically.
|
1282
|
+
#
|
1283
|
+
# ==== Returns
|
1284
|
+
# Thread:: The thread executing the block periodically.
|
1285
|
+
#
|
1286
|
+
# @api private
|
1287
|
+
def self.every(seconds, &block)
|
1288
|
+
Thread.new do
|
1289
|
+
loop do
|
1290
|
+
sleep( seconds )
|
1291
|
+
yield
|
1292
|
+
end
|
1293
|
+
Thread.exit
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
# Set up the class reloader if class reloading is enabled. This checks periodically
|
1299
|
+
# for modifications to files loaded by the LoadClasses BootLoader and reloads them
|
1300
|
+
# when they are modified.
|
1301
|
+
#
|
1302
|
+
# ==== Returns
|
1303
|
+
# nil
|
1304
|
+
#
|
1305
|
+
# @api plugin
|
1306
|
+
def self.run
|
1307
|
+
return unless Merb::Config[:reload_classes]
|
1308
|
+
|
1309
|
+
paths = []
|
1310
|
+
Merb.load_paths.each do |path_name, file_info|
|
1311
|
+
path, glob = file_info
|
1312
|
+
next unless glob
|
1313
|
+
paths << Dir[path / glob]
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
if Merb.dir_for(:application) && File.file?(Merb.dir_for(:application))
|
1317
|
+
paths << Merb.dir_for(:application)
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
paths.flatten!
|
1321
|
+
|
1322
|
+
TimedExecutor.every(Merb::Config[:reload_time] || 0.5) do
|
1323
|
+
GC.start
|
1324
|
+
reload(paths)
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
nil
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# Reloads all files which have been modified since they were last loaded.
|
1331
|
+
#
|
1332
|
+
# ==== Returns
|
1333
|
+
# nil
|
1334
|
+
#
|
1335
|
+
# @api private
|
1336
|
+
def self.reload(paths)
|
1337
|
+
paths.each do |file|
|
1338
|
+
next if LoadClasses::MTIMES[file] &&
|
1339
|
+
LoadClasses::MTIMES[file] == File.mtime(file)
|
1340
|
+
|
1341
|
+
LoadClasses.reload(file)
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
nil
|
1345
|
+
end
|
1346
|
+
end
|