usher 0.6.8 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +18 -4
- data/VERSION.yml +2 -2
- data/lib/usher/interface/rack/route.rb +18 -12
- data/lib/usher/interface/rack.rb +28 -14
- data/lib/usher/interface/rails3.rb +38 -39
- data/lib/usher/node/response.rb +1 -1
- data/lib/usher/node/root.rb +47 -48
- data/lib/usher/node.rb +26 -33
- data/lib/usher/route/path.rb +2 -2
- data/lib/usher/route.rb +2 -4
- data/lib/usher/util/parser.rb +7 -4
- data/lib/usher.rb +23 -25
- data/spec/private/rack/dispatch_spec.rb +15 -0
- data/spec/private/rails3/dispatch_spec.rb +274 -0
- data/spec/private/recognize_spec.rb +14 -0
- data/spec/rails2_2/compat.rb +3 -0
- data/spec/{private/rails2_2 → rails2_2}/generate_spec.rb +0 -1
- data/spec/{private/rails2_2 → rails2_2}/path_spec.rb +0 -1
- data/spec/{private/rails2_2 → rails2_2}/recognize_spec.rb +0 -1
- data/spec/rails2_2/vendor/rails/app/controllers/application.rb +15 -0
- data/spec/rails2_2/vendor/rails/app/helpers/application_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/config/boot.rb +109 -0
- data/spec/rails2_2/vendor/rails/config/environment.rb +74 -0
- data/spec/rails2_2/vendor/rails/config/environments/development.rb +17 -0
- data/spec/rails2_2/vendor/rails/config/environments/production.rb +24 -0
- data/spec/rails2_2/vendor/rails/config/environments/test.rb +22 -0
- data/spec/rails2_2/vendor/rails/config/initializers/inflections.rb +10 -0
- data/spec/rails2_2/vendor/rails/config/initializers/mime_types.rb +5 -0
- data/spec/rails2_2/vendor/rails/config/routes.rb +43 -0
- data/spec/rails2_2/vendor/rails/public/dispatch.rb +10 -0
- data/spec/rails2_2/vendor/rails/test/test_helper.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/base.rb +701 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +111 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/part.rb +110 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +64 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/utils.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +426 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +581 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +960 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +1130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +578 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +495 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +248 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +132 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +1476 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +379 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +118 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +337 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/action_mailer.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/lib/actionmailer.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/adv_attr_accessor.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/base.rb +690 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/helpers.rb +111 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/mail_helper.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/part.rb +110 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/part_container.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/quoting.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/test_case.rb +64 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/test_helper.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/utils.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +426 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +581 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +960 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +1130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +578 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +495 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +248 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +132 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +1476 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +379 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +118 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +337 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/vendor.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/action_mailer.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/lib/actionmailer.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/abstract_unit.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/delivery_method_test.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/fixtures/helpers/example_helper.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/mail_helper_test.rb +95 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/mail_layout_test.rb +78 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/mail_render_test.rb +116 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/mail_service_test.rb +1060 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/quoting_test.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/test_helper_test.rb +129 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/tmail_test.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.2.2/test/url_test.rb +76 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/abstract_unit.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/delivery_method_test.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/mail_helper_test.rb +95 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/mail_layout_test.rb +95 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/mail_render_test.rb +116 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/mail_service_test.rb +1060 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/quoting_test.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/test_helper_test.rb +129 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/tmail_test.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionmailer/test/url_test.rb +76 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +123 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +627 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/base.rb +1340 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +112 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +154 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +97 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +110 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/components.rb +169 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/cookies.rb +106 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +196 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/filters.rb +680 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/flash.rb +172 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/headers.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/helpers.rb +221 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/integration.rb +631 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/layout.rb +284 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +178 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_type.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_types.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/performance_test.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/rack_process.rb +303 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +104 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/request.rb +872 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/request_profiler.rb +169 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/rescue.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/resources.rb +675 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/response.rb +190 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +168 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/route.rb +255 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +437 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +312 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing.rb +385 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb +340 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/drb_server.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/drb_store.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/session_management.rb +162 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/status_codes.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/streaming.rb +162 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/test_case.rb +147 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/test_process.rb +531 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/translation.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +537 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +173 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +828 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +105 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller/verification.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_controller.rb +79 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_pack/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_pack.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/base.rb +381 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +305 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +817 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +901 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +808 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +388 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +481 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +208 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +291 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +1315 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +225 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +151 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +601 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +615 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/inline_template.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/partials.rb +203 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/paths.rb +125 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/renderable.rb +102 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template.rb +116 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_error.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handler.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view/test_case.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/action_view.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/lib/actionpack.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/dom_assertions.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/model_assertions.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/response_assertions.rb +123 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/routing_assertions.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/selector_assertions.rb +627 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions/tag_assertions.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/assertions.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/base.rb +1340 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/benchmarking.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching/actions.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching/fragments.rb +112 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching/pages.rb +154 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching/sweeping.rb +97 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/caching.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_ext/cookie.rb +110 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_ext/query_extension.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_ext/session.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_ext/stdinput.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_ext.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cgi_process.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/components.rb +169 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/cookies.rb +106 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/dispatcher.rb +196 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/filters.rb +680 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/flash.rb +172 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/headers.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/helpers.rb +221 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/http_authentication.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/integration.rb +631 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/layout.rb +284 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/mime_responds.rb +178 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/mime_type.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/mime_types.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/performance_test.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/polymorphic_routes.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/rack_process.rb +303 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/record_identifier.rb +104 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/request.rb +872 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/request_forgery_protection.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/request_profiler.rb +169 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/rescue.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/resources.rb +675 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/response.rb +190 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/builder.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/optimisations.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb +168 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/route.rb +255 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/route_set.rb +437 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/routing_ext.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing/segments.rb +312 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/routing.rb +385 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session/active_record_store.rb +340 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session/cookie_store.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session/drb_server.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session/drb_store.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session/mem_cache_store.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/session_management.rb +162 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/status_codes.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/streaming.rb +162 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/test_case.rb +147 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/test_process.rb +531 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/translation.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/url_rewriter.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/node.rb +537 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +173 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/selector.rb +828 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +105 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller/verification.rb +130 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_controller.rb +79 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_pack/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_pack.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/base.rb +381 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/active_record_helper.rb +305 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/asset_tag_helper.rb +817 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/atom_feed_helper.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/benchmark_helper.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/cache_helper.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/date_helper.rb +901 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/debug_helper.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb +808 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/form_options_helper.rb +388 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/form_tag_helper.rb +481 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/javascript_helper.rb +208 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/number_helper.rb +291 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/prototype_helper.rb +1315 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/record_identification_helper.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/record_tag_helper.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/sanitize_helper.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/scriptaculous_helper.rb +225 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/tag_helper.rb +151 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/text_helper.rb +601 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/translation_helper.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers/url_helper.rb +615 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/helpers.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/inline_template.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/partials.rb +203 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/paths.rb +125 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/renderable.rb +102 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/renderable_partial.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template.rb +116 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_error.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_handler.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_handlers/builder.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_handlers/erb.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_handlers/rjs.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/template_handlers.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view/test_case.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/action_view.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/lib/actionpack.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/abstract_unit.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/active_record_unit.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/activerecord/active_record_store_test.rb +141 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/activerecord/render_partial_with_record_identification_test.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/adv_attr_test.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/action_pack_assertions_test.rb +514 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/addresses_render_test.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/assert_select_test.rb +721 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/base_test.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/benchmark_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/caching_test.rb +680 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/capture_test.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/cgi_test.rb +263 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/components_test.rb +156 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/content_type_test.rb +171 -0
- data/{lib/usher/interface/rack/mapper.rb → spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb} +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/cookie_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/deprecation/deprecated_base_methods_test.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/dispatcher_test.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/fake_controllers.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/fake_models.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/filter_params_test.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/filters_test.rb +881 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/flash_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/header_test.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/helper_test.rb +210 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/document_test.rb +148 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/node_test.rb +89 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/sanitizer_test.rb +273 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/tag_node_test.rb +238 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/text_node_test.rb +50 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/html-scanner/tokenizer_test.rb +131 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/http_authentication_test.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/integration_test.rb +413 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/integration_upload_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/layout_test.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/logging_test.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/mime_responds_test.rb +540 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/mime_type_test.rb +84 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/polymorphic_routes_test.rb +209 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/rack_test.rb +323 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/record_identifier_test.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/redirect_test.rb +290 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/render_test.rb +1539 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/request_forgery_protection_test.rb +327 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/request_test.rb +885 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/rescue_test.rb +513 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/resources_test.rb +1256 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/routing_test.rb +2464 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/selector_test.rb +628 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/send_file_test.rb +134 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/session/cookie_store_test.rb +310 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/session/mem_cache_store_test.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/session_fixation_test.rb +89 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/session_management_test.rb +178 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/test_test.rb +673 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/translation_test.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/url_rewriter_test.rb +309 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/verification_test.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/view_paths_test.rb +141 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/webservice_test.rb +229 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/company.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/developer.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/helpers/abc_helper.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/helpers/fun/games_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/mascot.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/project.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/reply.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/fixtures/topic.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/active_record_helper_i18n_test.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/active_record_helper_test.rb +268 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/asset_tag_helper_test.rb +657 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/atom_feed_helper_test.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/benchmark_helper_test.rb +60 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/compiled_templates_test.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/date_helper_i18n_test.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/date_helper_test.rb +2085 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/erb_util_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/form_helper_test.rb +977 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/form_options_helper_test.rb +685 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/form_tag_helper_test.rb +320 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/javascript_helper_test.rb +111 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/number_helper_i18n_test.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/number_helper_test.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/prototype_helper_test.rb +639 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/record_tag_helper_test.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/render_test.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/sanitize_helper_test.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/scriptaculous_helper_test.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/tag_helper_test.rb +97 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/test_test.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/text_helper_test.rb +441 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/translation_helper_test.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/template/url_helper_test.rb +581 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/testing_sandbox.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/abstract_unit.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/active_record_unit.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +141 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/adv_attr_test.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +514 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/addresses_render_test.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/assert_select_test.rb +721 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/base_test.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/benchmark_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/caching_test.rb +680 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/capture_test.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/cgi_test.rb +263 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/components_test.rb +156 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/content_type_test.rb +171 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/cookie_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/dispatcher_test.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/fake_controllers.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/fake_models.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/filter_params_test.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/filters_test.rb +881 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/flash_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/header_test.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/helper_test.rb +210 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +148 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +89 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +273 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +238 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +50 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +131 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/http_authentication_test.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/integration_test.rb +413 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/integration_upload_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/layout_test.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/logging_test.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/mime_responds_test.rb +540 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/mime_type_test.rb +84 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +209 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/rack_test.rb +323 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/record_identifier_test.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/redirect_test.rb +290 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/render_test.rb +1539 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +327 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/request_test.rb +885 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/rescue_test.rb +513 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/resources_test.rb +1256 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/routing_test.rb +2464 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/selector_test.rb +628 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/send_file_test.rb +134 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +310 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/session_fixation_test.rb +89 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/session_management_test.rb +178 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/test_test.rb +673 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/translation_test.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +309 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/verification_test.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/view_paths_test.rb +141 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/webservice_test.rb +229 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/company.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/developer.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/mascot.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/project.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/reply.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/fixtures/topic.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/active_record_helper_test.rb +268 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +657 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +60 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/compiled_templates_test.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/date_helper_test.rb +2085 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/erb_util_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/form_helper_test.rb +977 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/form_options_helper_test.rb +685 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +320 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/javascript_helper_test.rb +111 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/number_helper_test.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/prototype_helper_test.rb +639 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/render_test.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/tag_helper_test.rb +97 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/test_test.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/text_helper_test.rb +441 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/translation_helper_test.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/template/url_helper_test.rb +581 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/testing_sandbox.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/aggregations.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/association_preload.rb +374 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +453 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +272 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +256 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +115 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/associations.rb +2227 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +387 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/base.rb +2967 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/calculations.rb +299 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/callbacks.rb +331 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +355 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +201 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +94 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +705 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +434 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +210 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +585 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +1065 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +418 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/dirty.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/fixtures.rb +998 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +148 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +77 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/migration.rb +560 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/named_scope.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/observer.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/query_cache.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/reflection.rb +307 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/schema.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +177 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/serialization.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +80 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +338 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/test_case.rb +60 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/timestamp.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/transactions.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/validations.rb +1061 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/active_record.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/lib/activerecord.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/aggregations.rb +261 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/association_preload.rb +374 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/association_collection.rb +453 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/association_proxy.rb +272 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/belongs_to_association.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/belongs_to_polymorphic_association.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/has_and_belongs_to_many_association.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/has_many_association.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/has_many_through_association.rb +256 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/has_one_association.rb +115 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations/has_one_through_association.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/associations.rb +2227 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/attribute_methods.rb +387 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/base.rb +2967 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/calculations.rb +299 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/callbacks.rb +331 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb +355 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb +201 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb +94 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/quoting.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb +705 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb +434 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb +210 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb +585 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb +1065 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb +418 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/dirty.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/dynamic_finder_match.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/fixtures.rb +998 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/locking/optimistic.rb +148 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/locking/pessimistic.rb +77 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/migration.rb +560 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/named_scope.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/observer.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/query_cache.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/reflection.rb +307 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/schema.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/schema_dumper.rb +177 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/serialization.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/serializers/json_serializer.rb +80 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/serializers/xml_serializer.rb +338 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/test_case.rb +60 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/timestamp.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/transactions.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/validations.rb +1061 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/active_record.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/lib/activerecord.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/aaa_create_tables_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/active_schema_test_mysql.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/active_schema_test_postgresql.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/adapter_test.rb +133 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/aggregations_test.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/ar_schema_test.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/belongs_to_associations_test.rb +441 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/callbacks_test.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/cascaded_eager_loading_test.rb +123 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/eager_load_includes_full_sti_class_test.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/eager_load_nested_include_test.rb +101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/eager_singularization_test.rb +145 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/eager_test.rb +692 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/extension_test.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/has_and_belongs_to_many_associations_test.rb +773 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/has_many_associations_test.rb +1101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/has_many_through_associations_test.rb +247 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/has_one_associations_test.rb +362 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/has_one_through_associations_test.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/inner_join_association_test.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations/join_model_test.rb +714 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/associations_test.rb +262 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/attribute_methods_test.rb +293 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/base_test.rb +2087 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/binary_test.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/calculations_test.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/callbacks_observers_test.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/callbacks_test.rb +400 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/class_inheritable_attributes_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/column_alias_test.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/column_definition_test.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/connection_test_firebird.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/connection_test_mysql.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/copy_table_test_sqlite.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/database_statements_test.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/datatype_test_postgresql.rb +203 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/date_time_test.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/default_test_firebird.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/defaults_test.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/deprecated_finder_test.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/dirty_test.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/finder_respond_to_test.rb +76 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/finder_test.rb +1048 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/fixtures_test.rb +655 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/helper.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/i18n_test.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/inheritance_test.rb +262 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/invalid_date_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/json_serialization_test.rb +205 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/lifecycle_test.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/locking_test.rb +304 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/method_scoping_test.rb +569 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/migration_test.rb +1479 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/migration_test_firebird.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/mixin_test.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/modules_test.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/multiple_db_test.rb +85 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/named_scope_test.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/pk_test.rb +101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/pooled_connections_test.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/query_cache_test.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/readonly_test.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/reflection_test.rb +184 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/reload_models_test.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/reserved_word_test_mysql.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/sanitize_test.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/schema_authorization_test_postgresql.rb +75 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/schema_dumper_test.rb +184 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/schema_test_postgresql.rb +102 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/serialization_test.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/synonym_test_oracle.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/transactions_test.rb +357 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/unconnected_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/validations_i18n_test.rb +921 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/validations_test.rb +1552 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/cases/xml_serialization_test.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/config.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_db2/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_firebird/connection.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_frontbase/connection.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_mysql/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_openbase/connection.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_oracle/connection.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_postgresql/connection.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_sqlite/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_sqlite3/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_sqlite3/in_memory_connection.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/connections/native_sybase/connection.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/decimal/1_give_me_big_numbers.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate/2_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate/3_foo.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate_names/20080507052938_chunky.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/duplicate_names/20080507053028_chunky.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/missing/1000_people_have_middle_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/missing/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/missing/3_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/missing/4_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/valid/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/valid/2_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/migrations/valid/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/author.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/auto_id.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/binary.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/book.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/categorization.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/category.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/citation.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/club.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/column_name.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/comment.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/company.rb +156 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/company_in_module.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/computer.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/contact.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/course.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/customer.rb +73 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/default.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/developer.rb +79 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/edge.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/entrant.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/guid.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/item.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/job.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/joke.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/keyboard.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/legacy_thing.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/matey.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/member.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/member_detail.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/membership.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/minimalistic.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/mixed_case_monkey.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/movie.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/order.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/organization.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/owner.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/parrot.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/person.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/pet.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/pirate.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/post.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/price_estimate.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/project.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/reader.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/reference.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/reply.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/ship.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/sponsor.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/subject.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/subscriber.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/subscription.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/tag.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/tagging.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/task.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/topic.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/treasure.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/vertex.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/models/warehouse_thing.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/schema/mysql_specific_schema.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/schema/postgresql_specific_schema.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/schema/schema.rb +440 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/schema/schema2.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.2.2/test/schema/sqlite_specific_schema.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/adapter_test.rb +133 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/aggregations_test.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/ar_schema_test.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +441 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +123 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +145 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_test.rb +692 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/extension_test.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +773 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +1101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +247 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +362 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +714 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/associations_test.rb +262 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +293 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/base_test.rb +2087 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/binary_test.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/calculations_test.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/callbacks_test.rb +400 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/column_alias_test.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/column_definition_test.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/database_statements_test.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +203 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/date_time_test.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/default_test_firebird.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/defaults_test.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/dirty_test.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +76 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/finder_test.rb +1048 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/fixtures_test.rb +655 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/helper.rb +62 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/i18n_test.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/inheritance_test.rb +262 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/invalid_date_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/json_serialization_test.rb +205 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/lifecycle_test.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/locking_test.rb +304 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/method_scoping_test.rb +569 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/migration_test.rb +1479 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/mixin_test.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/modules_test.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/multiple_db_test.rb +85 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/named_scope_test.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/pk_test.rb +101 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/query_cache_test.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/readonly_test.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/reflection_test.rb +184 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/reload_models_test.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/sanitize_test.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +75 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +184 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +102 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/serialization_test.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/transactions_test.rb +357 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/unconnected_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +921 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/validations_test.rb +1552 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/config.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_db2/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/author.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/auto_id.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/binary.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/book.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/categorization.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/category.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/citation.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/club.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/column_name.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/comment.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/company.rb +156 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/company_in_module.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/computer.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/contact.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/course.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/customer.rb +73 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/default.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/developer.rb +79 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/edge.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/entrant.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/guid.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/item.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/job.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/joke.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/keyboard.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/legacy_thing.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/matey.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/member.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/member_detail.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/membership.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/minimalistic.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/movie.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/order.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/organization.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/owner.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/parrot.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/person.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/pet.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/pirate.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/post.rb +88 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/price_estimate.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/project.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/reader.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/reference.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/reply.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/ship.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/sponsor.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/subject.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/subscriber.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/subscription.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/tag.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/tagging.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/task.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/topic.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/treasure.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/vertex.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/models/warehouse_thing.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +103 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/schema/schema.rb +440 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/schema/schema2.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/base.rb +1074 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/connection.rb +218 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +120 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/http_mock.rb +217 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/validations.rb +274 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/active_resource.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/lib/activeresource.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/base.rb +1074 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/connection.rb +218 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/custom_methods.rb +120 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/formats/json_format.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/formats/xml_format.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/formats.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/http_mock.rb +217 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/validations.rb +274 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/active_resource.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/lib/activeresource.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/abstract_unit.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/authorization_test.rb +122 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/base/custom_methods_test.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/base/equality_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/base/load_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/base_errors_test.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/base_test.rb +878 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/connection_test.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/fixtures/beast.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/fixtures/customer.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/fixtures/person.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/fixtures/street_address.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/format_test.rb +112 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.2.2/test/setter_trap.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/abstract_unit.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/authorization_test.rb +122 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/base/custom_methods_test.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/base/equality_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/base/load_test.rb +146 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/base_errors_test.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/base_test.rb +878 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/connection_test.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/fixtures/beast.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/fixtures/customer.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/fixtures/person.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/fixtures/street_address.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/format_test.rb +112 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activeresource/test/setter_trap.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/install.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/base64.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/basic_object.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +122 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/cache.rb +223 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/callbacks.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +106 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +50 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +42 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +230 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +126 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +259 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +137 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +143 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +95 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +80 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +82 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +303 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +86 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +42 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/dependencies.rb +621 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/deprecation.rb +243 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/duration.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/gzip.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/inflections.rb +55 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/inflector.rb +397 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/decoding.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoding.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json/variable.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/json.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/memoizable.rb +82 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +679 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/option_merger.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/ordered_options.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/rescuable.rb +108 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/secure_random.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/test_case.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/core_ext/test/unit/assertions.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/core_ext/test.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/default.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/performance.rb +452 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +120 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +403 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +250 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +115 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb +216 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n/exceptions.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.0.1/i18n.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.5.1/memcache.rb +849 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +228 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +283 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +274 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +282 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +205 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +292 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +508 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +94 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +129 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb +1021 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/active_support.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/lib/activesupport.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/base64.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/basic_object.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/buffered_logger.rb +122 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/compressed_mem_cache_store.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/drb_store.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/file_store.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/mem_cache_store.rb +127 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/memory_store.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/cache.rb +223 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/callbacks.rb +280 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array/access.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array/conversions.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array/extract_options.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array/grouping.rb +106 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array/random_access.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/array.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/base64/encoding.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/base64.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal/conversions.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/blank.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/cgi.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/class/attribute_accessors.rb +54 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/class/delegating_attributes.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/class/inheritable_attributes.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/class/removal.rb +50 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/class.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date/behavior.rb +42 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date/calculations.rb +230 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date/conversions.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date_time/calculations.rb +126 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date_time/conversions.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/date_time.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/duplicable.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/enumerable.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/exception.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/file/atomic.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/file.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/float/rounding.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/float/time.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/float.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/conversions.rb +259 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/diff.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/except.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/indifferent_access.rb +137 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/reverse_merge.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash/slice.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/hash.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/integer/even_odd.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/integer/inflections.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/integer/time.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/integer.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel/debugger.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel/reporting.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel/requires.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/kernel.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/load_error.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/logger.rb +143 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/attribute_accessors.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/delegation.rb +95 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/inclusion.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/introspection.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/loading.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/model_naming.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/module.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/name_error.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/numeric/conversions.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/numeric/time.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/numeric.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object/conversions.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object/extending.rb +80 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object/instance_variables.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object/metaclass.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object/misc.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/object.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/pathname/clean_within.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/pathname.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/proc.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/process/daemon.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/process.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/range/blockless_step.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/range/conversions.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/range/include_range.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/range/overlaps.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/range.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/rexml.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/access.rb +82 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/conversions.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/filters.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/inflections.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/iterators.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/starts_ends_with.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string/xchar.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/string.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/symbol.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/time/behavior.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/time/calculations.rb +303 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/time/conversions.rb +90 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/time/zones.rb +86 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext/time.rb +42 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/core_ext.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/dependencies.rb +621 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/deprecation.rb +243 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/duration.rb +96 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/gzip.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/inflections.rb +55 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/inflector.rb +397 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/decoding.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/date.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/date_time.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/enumerable.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/false_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/hash.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/nil_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/numeric.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/object.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/regexp.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/string.rb +36 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/symbol.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/time.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoders/true_class.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/encoding.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json/variable.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/json.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/memoizable.rb +82 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/multibyte/chars.rb +679 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/multibyte/exceptions.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/multibyte.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/option_merger.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/ordered_hash.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/ordered_options.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/rescuable.rb +108 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/secure_random.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/string_inquirer.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/test_case.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/testing/core_ext/test/unit/assertions.rb +72 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/testing/core_ext/test.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/testing/default.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/testing/performance.rb +452 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb +120 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/time_with_zone.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/values/time_zone.rb +403 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb +113 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/css.rb +250 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +115 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +328 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb +216 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/exceptions.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1/memcache.rb +849 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +228 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +283 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +204 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +274 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +194 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +282 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +205 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +51 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +98 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +292 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +508 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +56 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +94 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +198 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +129 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb +1021 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/vendor.rb +34 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support/whiny_nil.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/active_support.rb +61 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.2.2/lib/activesupport.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/abstract_unit.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/buffered_logger_test.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/caching_test.rb +179 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/callbacks_test.rb +148 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/clean_logger_test.rb +57 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +305 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/base64_ext_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/bigdecimal.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/blank_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +14 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +224 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/class/delegating_attributes_test.rb +115 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/class_test.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +278 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +363 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/duplicable_test.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/duration_test.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +82 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/exception_test.rb +68 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/file_test.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/float_ext_test.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +891 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/kernel_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/load_error_test.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +33 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +58 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/model_naming_test.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module/synchronization_test.rb +85 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/module_test.rb +325 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/name_error_test.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +162 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +249 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/pathname_test.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/proc_test.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +63 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +256 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/symbol_test.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +744 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/core_ext/time_with_zone_test.rb +919 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/check_warnings.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/conflict.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/mutual_one.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/mutual_two.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/raises_exception.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/service_one.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies/service_two.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/dependencies_test.rb +776 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/deprecation_test.rb +161 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/gzip_test.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/i18n_test.rb +91 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/inflector_test.rb +286 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/inflector_test_cases.rb +224 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/json/decoding_test.rb +41 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/json/encoding_test.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/memoizable_test.rb +218 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/multibyte_chars_test.rb +569 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/multibyte_conformance.rb +129 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/multibyte_test_helpers.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/multibyte_unicode_database_test.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/option_merger_test.rb +77 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/ordered_hash_test.rb +64 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/ordered_options_test.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/rescuable_test.rb +75 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/secure_random_test.rb +19 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/string_inquirer_test.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/test_test.rb +144 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/time_zone_test.rb +294 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/activesupport/test/whiny_nil_test.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info.rb +125 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/configs/initializers/inflections.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/configs/initializers/mime_types.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/configs/routes.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/dispatches/dispatch.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/environments/boot.rb +109 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/environments/development.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/environments/environment.rb +75 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/environments/production.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/environments/test.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/helpers/application.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/helpers/application_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/helpers/performance_test.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/helpers/test_helper.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/code_statistics.rb +107 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/about.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/console.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/dbconsole.rb +67 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/destroy.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/generate.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/performance/benchmarker.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/performance/profiler.rb +50 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/performance/request.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/plugin.rb +967 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/process/inspector.rb +68 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/process/reaper.rb +149 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/process/spawner.rb +219 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/process/spinner.rb +57 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/runner.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/server.rb +49 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/base.rb +31 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/lighttpd.rb +94 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/mongrel.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/new_mongrel.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/thin.rb +25 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/servers/webrick.rb +66 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands/update.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/commands.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/console_app.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/console_sandbox.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/console_with_helpers.rb +26 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/dispatcher.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/fcgi_handler.rb +237 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/initializer.rb +1038 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/performance_test_help.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/gem_builder.rb +21 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/gem_dependency.rb +251 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/mongrel_server/commands.rb +342 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/mongrel_server/handler.rb +55 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/plugin/loader.rb +152 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/plugin/locator.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/plugin.rb +124 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/rack/logger.rb +28 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/rack/static.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/rack.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +140 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails/version.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/base.rb +263 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/commands.rb +616 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +184 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +37 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +10 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +30 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +15 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +20 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +11 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +5 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +9 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +39 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +74 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +100 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +85 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +45 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +18 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +16 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/lookup.rb +249 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/manifest.rb +53 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/options.rb +150 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/update.rb +12 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts.rb +89 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +22 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/simple_logger.rb +46 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator/spec.rb +44 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rails_generator.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/railties_path.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/ruby_version_check.rb +17 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/rubyprof_ext.rb +35 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/source_annotation_extractor.rb +102 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/tasks/rails.rb +8 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/test_help.rb +27 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/lib/webrick_server.rb +156 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/abstract_unit.rb +24 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/boot_test.rb +181 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/console_app_test.rb +32 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/error_page_test.rb +43 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fcgi_dispatcher_test.rb +299 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/eager/zoo/reptile_house.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/eager/zoo.rb +3 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/environment_with_constant.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/init.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/lib/gemlike.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/rails/init.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb +4 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +7 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +2 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/gem_dependency_test.rb +133 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generator_lookup_test.rb +40 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/generator_test_helper.rb +288 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/rails_controller_generator_test.rb +42 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/rails_mailer_generator_test.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/rails_model_generator_test.rb +48 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/rails_resource_generator_test.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/generators/rails_scaffold_generator_test.rb +149 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/initializer_test.rb +309 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/mocks/routes.rb +6 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/plugin_loader_test.rb +142 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/plugin_locator_test.rb +69 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/plugin_test.rb +167 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/plugin_test_helper.rb +29 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/rails_generator_test.rb +145 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/rails_info_controller_test.rb +52 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/rails_info_test.rb +99 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/secret_key_generation_test.rb +38 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-a-0.4.0/lib/dummy-gem-a.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.4.0/lib/dummy-gem-b.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.6.0/lib/dummy-gem-b.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.4.0/lib/dummy-gem-c.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.6.0/lib/dummy-gem-c.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-d-1.0.0/lib/dummy-gem-d.rb +1 -0
- data/spec/rails2_2/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-e-1.0.0/lib/dummy-gem-e.rb +1 -0
- data/spec/rails2_3/compat.rb +2 -0
- data/spec/{private/rails2_3 → rails2_3}/generate_spec.rb +0 -1
- data/spec/{private/rails2_3 → rails2_3}/path_spec.rb +0 -1
- data/spec/{private/rails2_3 → rails2_3}/recognize_spec.rb +0 -1
- data/spec/rails2_3/vendor/rails/app/controllers/application_controller.rb +10 -0
- data/spec/rails2_3/vendor/rails/app/helpers/application_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/config/boot.rb +110 -0
- data/spec/rails2_3/vendor/rails/config/environment.rb +42 -0
- data/spec/rails2_3/vendor/rails/config/environments/development.rb +17 -0
- data/spec/rails2_3/vendor/rails/config/environments/production.rb +28 -0
- data/spec/rails2_3/vendor/rails/config/environments/test.rb +28 -0
- data/spec/rails2_3/vendor/rails/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails2_3/vendor/rails/config/initializers/inflections.rb +10 -0
- data/spec/rails2_3/vendor/rails/config/initializers/mime_types.rb +5 -0
- data/spec/rails2_3/vendor/rails/config/initializers/new_rails_defaults.rb +19 -0
- data/spec/rails2_3/vendor/rails/config/routes.rb +43 -0
- data/spec/rails2_3/vendor/rails/public/dispatch.rb +10 -0
- data/spec/rails2_3/vendor/rails/test/test_helper.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/base.rb +705 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +113 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/part.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +64 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/utils.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +426 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +67 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +581 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +960 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +1130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +495 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +248 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +132 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +1476 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +379 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +118 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +49 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +261 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +280 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +337 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/action_mailer.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/lib/actionmailer.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/adv_attr_accessor.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/base.rb +705 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/helpers.rb +113 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/mail_helper.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/part.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/part_container.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/quoting.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/test_case.rb +64 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/test_helper.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/utils.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/text_format.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +426 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +67 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +581 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +960 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +1130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +495 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +248 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +132 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +1476 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +379 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +118 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +49 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +261 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +280 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +337 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/vendor/tmail.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/action_mailer.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/lib/actionmailer.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/abstract_unit.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/asset_host_test.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/delivery_method_test.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/fixtures/helpers/example_helper.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/mail_helper_test.rb +95 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/mail_layout_test.rb +123 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/mail_render_test.rb +116 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/mail_service_test.rb +1078 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/quoting_test.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/test_helper_test.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/tmail_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/pkg/actionmailer-2.3.3/test/url_test.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/abstract_unit.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/asset_host_test.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/delivery_method_test.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/mail_helper_test.rb +95 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/mail_layout_test.rb +123 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/mail_render_test.rb +116 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/mail_service_test.rb +1078 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/quoting_test.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/test_helper_test.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/tmail_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionmailer/test/url_test.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +158 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +632 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/base.rb +1419 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +177 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +152 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/sweeper.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/caching.rb +70 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +112 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/cookies.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +118 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/failsafe.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/filters.rb +680 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/flash.rb +171 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/headers.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/helpers.rb +225 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +307 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/integration.rb +680 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/layout.rb +281 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +119 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/middlewares.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_type.rb +212 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/mime_types.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/params_parser.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/performance_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/reloader.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/request.rb +493 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/rescue.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/resources.rb +678 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/response.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/route.rb +265 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +489 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +49 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +343 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/routing.rb +385 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +221 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/session_management.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/status_codes.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/streaming.rb +179 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/test_case.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/test_process.rb +580 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/translation.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +216 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +537 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +173 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +828 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +105 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller/verification.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_controller.rb +111 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_pack/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_pack.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/base.rb +357 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/erb/util.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +694 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +198 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +136 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +976 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +1052 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +532 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +487 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +208 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +303 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +1305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +251 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +226 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +638 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/helpers.rb +57 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/inline_template.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/partials.rb +240 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/paths.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +117 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/renderable.rb +95 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_error.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handler.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/template_handlers.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view/test_case.rb +87 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/action_view.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/lib/actionpack.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/dom_assertions.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/model_assertions.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/response_assertions.rb +158 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/routing_assertions.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/selector_assertions.rb +632 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/assertions/tag_assertions.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/base.rb +1419 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/benchmarking.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching/actions.rb +177 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching/fragments.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching/pages.rb +152 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching/sweeper.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching/sweeping.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/caching.rb +70 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cgi_ext/cookie.rb +112 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cgi_ext/query_extension.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cgi_ext/stdinput.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cgi_ext.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cgi_process.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/cookies.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/dispatcher.rb +118 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/failsafe.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/filters.rb +680 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/flash.rb +171 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/headers.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/helpers.rb +225 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/http_authentication.rb +307 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/integration.rb +680 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/layout.rb +281 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/middleware_stack.rb +119 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/middlewares.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/mime_responds.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/mime_type.rb +212 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/mime_types.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/params_parser.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/performance_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/polymorphic_routes.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/record_identifier.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/reloader.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/request.rb +493 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/request_forgery_protection.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/rescue.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/resources.rb +678 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/response.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/builder.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/optimisations.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/recognition_optimisation.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/route.rb +265 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/route_set.rb +489 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/routing_ext.rb +49 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing/segments.rb +343 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/routing.rb +385 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/session/abstract_store.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/session/cookie_store.rb +221 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/session/mem_cache_store.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/session_management.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/status_codes.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/streaming.rb +179 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/test_case.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/test_process.rb +580 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/translation.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/uploaded_file.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/url_rewriter.rb +216 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/node.rb +537 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +173 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/selector.rb +828 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +105 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/vendor/html-scanner.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller/verification.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_controller.rb +111 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_pack/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_pack.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/base.rb +357 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/erb/util.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/active_record_helper.rb +305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/asset_tag_helper.rb +694 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/atom_feed_helper.rb +198 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/benchmark_helper.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/cache_helper.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/capture_helper.rb +136 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/date_helper.rb +976 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/debug_helper.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/form_helper.rb +1052 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/form_options_helper.rb +532 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/form_tag_helper.rb +487 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/javascript_helper.rb +208 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/number_helper.rb +303 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/prototype_helper.rb +1305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/record_identification_helper.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/record_tag_helper.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/sanitize_helper.rb +251 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/scriptaculous_helper.rb +226 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/tag_helper.rb +150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/text_helper.rb +578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/translation_helper.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers/url_helper.rb +638 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/helpers.rb +57 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/inline_template.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/partials.rb +240 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/paths.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/reloadable_template.rb +117 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/renderable.rb +95 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/renderable_partial.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_error.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_handler.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_handlers/builder.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_handlers/erb.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_handlers/rjs.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/template_handlers.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view/test_case.rb +87 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/action_view.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/lib/actionpack.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/abstract_unit.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/active_record_unit.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/activerecord/active_record_store_test.rb +174 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/activerecord/render_partial_with_record_identification_test.rb +188 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/adv_attr_test.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/action_pack_assertions_test.rb +543 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/addresses_render_test.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/assert_select_test.rb +734 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/base_test.rb +217 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/benchmark_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/caching_test.rb +729 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/capture_test.rb +66 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/content_type_test.rb +168 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/cookie_test.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/deprecation/deprecated_base_methods_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/dispatcher_test.rb +105 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/failsafe_test.rb +60 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/fake_controllers.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/fake_models.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/filter_params_test.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/filters_test.rb +885 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/flash_test.rb +147 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/header_test.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/helper_test.rb +224 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/document_test.rb +148 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/node_test.rb +89 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/sanitizer_test.rb +273 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/tag_node_test.rb +238 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/text_node_test.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/html-scanner/tokenizer_test.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/http_basic_authentication_test.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/http_digest_authentication_test.rb +209 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/integration_test.rb +445 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/layout_test.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/logging_test.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/middleware_stack_test.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/mime_responds_test.rb +536 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/mime_type_test.rb +93 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/polymorphic_routes_test.rb +293 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/rack_test.rb +294 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/record_identifier_test.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/redirect_test.rb +285 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/reloader_test.rb +97 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/render_test.rb +1762 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/json_params_parsing_test.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/multipart_params_parsing_test.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/query_string_parsing_test.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/test_request_test.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/url_encoded_params_parsing_test.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request/xml_params_parsing_test.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request_forgery_protection_test.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/request_test.rb +395 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/rescue_test.rb +536 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/resources_test.rb +1349 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/routing_test.rb +2578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/selector_test.rb +628 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/send_file_test.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/session/cookie_store_test.rb +216 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/session/mem_cache_store_test.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/session/test_session_test.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/test_test.rb +700 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/translation_test.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/url_rewriter_test.rb +359 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/verification_test.rb +270 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/view_paths_test.rb +141 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/controller/webservice_test.rb +260 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/alternate_helpers/foo_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/company.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/developer.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/helpers/abc_helper.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/helpers/fun/games_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/mascot.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/project.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/reply.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/fixtures/topic.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/active_record_helper_i18n_test.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/active_record_helper_test.rb +302 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/asset_tag_helper_test.rb +759 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/atom_feed_helper_test.rb +286 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/benchmark_helper_test.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/compiled_templates_test.rb +203 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/date_helper_i18n_test.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/date_helper_test.rb +2469 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/erb_util_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/form_helper_test.rb +1287 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/form_options_helper_test.rb +773 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/form_tag_helper_test.rb +344 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/javascript_helper_test.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/number_helper_i18n_test.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/number_helper_test.rb +128 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/prototype_helper_test.rb +639 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/record_tag_helper_test.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/render_test.rb +290 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/sanitize_helper_test.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/scriptaculous_helper_test.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/tag_helper_test.rb +97 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/template_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/test_test.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/text_helper_test.rb +520 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/translation_helper_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/template/url_helper_test.rb +614 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/testing_sandbox.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.3.3/test/view/test_case_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/abstract_unit.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/active_record_unit.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +174 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +188 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/adv_attr_test.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +543 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/addresses_render_test.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/assert_select_test.rb +734 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/base_test.rb +217 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/benchmark_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/caching_test.rb +729 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/capture_test.rb +66 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/content_type_test.rb +168 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/cookie_test.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/dispatcher_test.rb +105 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/failsafe_test.rb +60 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/fake_controllers.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/fake_models.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/filter_params_test.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/filters_test.rb +885 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/flash_test.rb +147 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/header_test.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/helper_test.rb +224 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +148 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +89 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +273 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +238 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +209 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/integration_test.rb +445 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/layout_test.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/logging_test.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/mime_responds_test.rb +536 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/mime_type_test.rb +93 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +293 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/rack_test.rb +294 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/record_identifier_test.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/redirect_test.rb +285 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/reloader_test.rb +97 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/render_test.rb +1762 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/test_request_test.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +88 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/request_test.rb +395 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/rescue_test.rb +536 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/resources_test.rb +1349 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/routing_test.rb +2578 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/selector_test.rb +628 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/send_file_test.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +216 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/session/test_session_test.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/test_test.rb +700 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/translation_test.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +359 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/verification_test.rb +270 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/view_paths_test.rb +141 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/controller/webservice_test.rb +260 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/company.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/developer.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/mascot.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/project.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/reply.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/fixtures/topic.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/active_record_helper_test.rb +302 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +759 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +286 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/compiled_templates_test.rb +203 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/date_helper_test.rb +2469 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/erb_util_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/form_helper_test.rb +1287 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/form_options_helper_test.rb +773 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +344 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/javascript_helper_test.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/number_helper_test.rb +128 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/prototype_helper_test.rb +639 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/render_test.rb +290 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/tag_helper_test.rb +97 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/template_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/test_test.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/text_helper_test.rb +520 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/translation_helper_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/template/url_helper_test.rb +614 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/testing_sandbox.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/actionpack/test/view/test_case_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/aggregations.rb +261 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/association_preload.rb +389 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +474 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +256 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/associations.rb +2206 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +388 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/autosave_association.rb +354 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/base.rb +3150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/batches.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/calculations.rb +309 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/callbacks.rb +360 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +371 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +289 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +708 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +434 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +234 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +617 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +1094 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +441 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/dirty.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/fixtures.rb +994 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/migration.rb +566 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/named_scope.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +329 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/observer.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/query_cache.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/reflection.rb +320 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/schema.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/serialization.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +89 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +353 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/session_store.rb +326 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/test_case.rb +66 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/timestamp.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/transactions.rb +235 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/validations.rb +1066 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/active_record.rb +84 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/lib/activerecord.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/aggregations.rb +261 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/association_preload.rb +389 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/association_collection.rb +474 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/association_proxy.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/belongs_to_association.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/belongs_to_polymorphic_association.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/has_and_belongs_to_many_association.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/has_many_association.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/has_many_through_association.rb +256 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/has_one_association.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations/has_one_through_association.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/associations.rb +2206 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/attribute_methods.rb +388 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/autosave_association.rb +354 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/base.rb +3150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/batches.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/calculations.rb +309 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/callbacks.rb +360 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb +371 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/database_statements.rb +289 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/query_cache.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/quoting.rb +69 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/schema_definitions.rb +708 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/schema_statements.rb +434 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/abstract_adapter.rb +234 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/mysql_adapter.rb +617 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/postgresql_adapter.rb +1094 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/sqlite3_adapter.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/connection_adapters/sqlite_adapter.rb +441 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/dirty.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/dynamic_finder_match.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/dynamic_scope_match.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/fixtures.rb +994 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/locking/optimistic.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/locking/pessimistic.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/migration.rb +566 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/named_scope.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/nested_attributes.rb +329 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/observer.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/query_cache.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/reflection.rb +320 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/schema.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/schema_dumper.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/serialization.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/serializers/json_serializer.rb +89 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/serializers/xml_serializer.rb +353 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/session_store.rb +326 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/test_case.rb +66 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/timestamp.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/transactions.rb +235 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/validations.rb +1066 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/active_record.rb +84 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/lib/activerecord.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/aaa_create_tables_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/active_schema_test_mysql.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/active_schema_test_postgresql.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/adapter_test.rb +133 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/aggregations_test.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/ar_schema_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/belongs_to_associations_test.rb +443 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/callbacks_test.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/cascaded_eager_loading_test.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/eager_load_includes_full_sti_class_test.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/eager_load_nested_include_test.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/eager_singularization_test.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/eager_test.rb +834 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/extension_test.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/has_and_belongs_to_many_associations_test.rb +822 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/has_many_associations_test.rb +1068 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/has_many_through_associations_test.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/has_one_associations_test.rb +309 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/has_one_through_associations_test.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/inner_join_association_test.rb +93 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations/join_model_test.rb +712 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/associations_test.rb +262 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/attribute_methods_test.rb +305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/autosave_association_test.rb +923 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/base_test.rb +2107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/batches_test.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/binary_test.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/calculations_test.rb +342 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/callbacks_observers_test.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/callbacks_test.rb +438 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/class_inheritable_attributes_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/column_alias_test.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/column_definition_test.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/connection_pool_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/connection_test_firebird.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/connection_test_mysql.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/copy_table_test_sqlite.rb +80 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/database_statements_test.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/datatype_test_postgresql.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/date_time_test.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/default_test_firebird.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/defaults_test.rb +111 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/deprecated_finder_test.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/dirty_test.rb +306 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/finder_respond_to_test.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/finder_test.rb +1089 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/fixtures_test.rb +656 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/helper.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/i18n_test.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/inheritance_test.rb +262 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/invalid_date_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/json_serialization_test.rb +205 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/lifecycle_test.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/locking_test.rb +322 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/method_scoping_test.rb +704 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/migration_test.rb +1495 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/migration_test_firebird.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/mixin_test.rb +96 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/modules_test.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/multiple_db_test.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/named_scope_test.rb +359 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/nested_attributes_test.rb +509 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/pk_test.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/pooled_connections_test.rb +103 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/query_cache_test.rb +123 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/readonly_test.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/reflection_test.rb +194 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/reload_models_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/repair_helper.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/reserved_word_test_mysql.rb +176 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/sanitize_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/schema_authorization_test_postgresql.rb +75 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/schema_dumper_test.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/schema_test_postgresql.rb +178 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/serialization_test.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/synonym_test_oracle.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/timestamp_test.rb +75 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/transactions_test.rb +522 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/unconnected_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/validations_i18n_test.rb +915 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/validations_test.rb +1602 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/cases/xml_serialization_test.rb +220 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/config.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbcderby/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbch2/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbchsqldb/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbcmysql/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbcpostgresql/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/jdbc_jdbcsqlite3/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_db2/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_firebird/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_frontbase/connection.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_mysql/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_openbase/connection.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_oracle/connection.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_postgresql/connection.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_sqlite/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_sqlite3/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_sqlite3/in_memory_connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/connections/native_sybase/connection.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/decimal/1_give_me_big_numbers.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate/2_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate/3_foo.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate_names/20080507052938_chunky.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/duplicate_names/20080507053028_chunky.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/missing/1000_people_have_middle_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/missing/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/missing/3_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/missing/4_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/valid/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/valid/2_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/migrations/valid/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/author.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/auto_id.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/binary.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/bird.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/book.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/categorization.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/category.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/citation.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/club.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/column_name.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/comment.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/company.rb +159 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/company_in_module.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/computer.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/contact.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/course.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/customer.rb +73 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/default.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/developer.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/edge.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/entrant.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/essay.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/event.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/guid.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/item.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/job.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/joke.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/keyboard.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/legacy_thing.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/matey.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/member.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/member_detail.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/member_type.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/membership.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/minimalistic.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/mixed_case_monkey.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/movie.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/order.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/organization.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/owner.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/parrot.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/person.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/pet.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/pirate.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/post.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/price_estimate.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/project.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/reader.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/reference.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/reply.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/ship.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/ship_part.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/sponsor.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/subject.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/subscriber.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/subscription.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/tag.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/tagging.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/task.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/topic.rb +82 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/toy.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/treasure.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/vertex.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/warehouse_thing.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/schema/mysql_specific_schema.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/schema/postgresql_specific_schema.rb +103 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/schema/schema.rb +488 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/schema/schema2.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/schema/sqlite_specific_schema.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/adapter_test.rb +133 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/aggregations_test.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/ar_schema_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +443 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/eager_test.rb +834 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/extension_test.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +822 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +1068 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +309 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +93 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +712 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/associations_test.rb +262 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +305 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/autosave_association_test.rb +923 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/base_test.rb +2107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/batches_test.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/binary_test.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/calculations_test.rb +342 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/callbacks_test.rb +438 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/column_alias_test.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/column_definition_test.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/connection_pool_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +80 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/database_statements_test.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/date_time_test.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/default_test_firebird.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/defaults_test.rb +111 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/dirty_test.rb +306 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/finder_test.rb +1089 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/fixtures_test.rb +656 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/helper.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/i18n_test.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/inheritance_test.rb +262 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/invalid_date_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/json_serialization_test.rb +205 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/lifecycle_test.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/locking_test.rb +322 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/method_scoping_test.rb +704 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/migration_test.rb +1495 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/mixin_test.rb +96 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/modules_test.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/multiple_db_test.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/named_scope_test.rb +359 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +509 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/pk_test.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +103 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/query_cache_test.rb +123 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/readonly_test.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/reflection_test.rb +194 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/reload_models_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/repair_helper.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +176 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/sanitize_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +75 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +178 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/serialization_test.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/timestamp_test.rb +75 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/transactions_test.rb +522 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/unconnected_test.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +915 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/validations_test.rb +1602 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +220 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/config.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_db2/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/author.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/auto_id.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/binary.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/bird.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/book.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/categorization.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/category.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/citation.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/club.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/column_name.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/comment.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/company.rb +159 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/company_in_module.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/computer.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/contact.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/course.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/customer.rb +73 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/default.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/developer.rb +101 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/edge.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/entrant.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/essay.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/event.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/guid.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/item.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/job.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/joke.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/keyboard.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/legacy_thing.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/matey.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/member.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/member_detail.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/member_type.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/membership.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/minimalistic.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/movie.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/order.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/organization.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/owner.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/parrot.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/person.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/pet.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/pirate.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/post.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/price_estimate.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/project.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/reader.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/reference.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/reply.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/ship.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/ship_part.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/sponsor.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/subject.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/subscriber.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/subscription.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/tag.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/tagging.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/task.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/topic.rb +82 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/toy.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/treasure.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/vertex.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/models/warehouse_thing.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +103 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/schema/schema.rb +488 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/schema/schema2.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/base.rb +1083 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/connection.rb +218 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/formats.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/http_mock.rb +207 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/validations.rb +274 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/active_resource.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/lib/activeresource.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/base.rb +1083 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/connection.rb +218 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/custom_methods.rb +120 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/formats/json_format.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/formats/xml_format.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/formats.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/http_mock.rb +207 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/validations.rb +274 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/active_resource.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/lib/activeresource.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/abstract_unit.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/authorization_test.rb +122 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/base/custom_methods_test.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/base/equality_test.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/base/load_test.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/base_errors_test.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/base_test.rb +891 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/connection_test.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/fixtures/beast.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/fixtures/customer.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/fixtures/person.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/fixtures/street_address.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/format_test.rb +112 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/pkg/activeresource-2.3.3/test/setter_trap.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/abstract_unit.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/authorization_test.rb +122 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/base/custom_methods_test.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/base/equality_test.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/base/load_test.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/base_errors_test.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/base_test.rb +891 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/connection_test.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/fixtures/beast.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/fixtures/customer.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/fixtures/person.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/fixtures/street_address.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/format_test.rb +112 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activeresource/test/setter_trap.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/install.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +72 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/base64.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/basic_object.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +72 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +138 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/cache.rb +241 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/callbacks.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +140 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +230 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +126 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +96 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +116 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +143 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +60 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +80 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +303 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/core_ext.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/dependencies.rb +625 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/deprecation.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/duration.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/gzip.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/inflections.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/inflector.rb +406 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/backends/jsongem.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/backends/yaml.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/decoding.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/encoding.rb +102 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json/variable.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/json.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/memoizable.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +70 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/message_verifier.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +701 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/multibyte.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/option_merger.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +134 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/ordered_options.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/rescuable.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/secure_random.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/test_case.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +65 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/default.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +57 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/performance.rb +452 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +91 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +335 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +404 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +113 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +250 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +115 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +328 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +214 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +567 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb +1107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +228 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +283 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +274 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +194 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +282 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +205 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +288 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +98 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +292 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +508 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +198 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/vendor.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/xml_mini/jdom.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +133 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support/xml_mini.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/active_support.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/lib/activesupport.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/backtrace_cleaner.rb +72 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/base64.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/basic_object.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/buffered_logger.rb +127 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/compressed_mem_cache_store.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/drb_store.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/file_store.rb +72 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/mem_cache_store.rb +138 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/memory_store.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/strategy/local_cache.rb +104 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/cache.rb +241 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/callbacks.rb +279 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/access.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/conversions.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/extract_options.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/grouping.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/random_access.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array/wrapper.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/array.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/base64/encoding.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/base64.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/benchmark.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/bigdecimal/conversions.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/bigdecimal.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/blank.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/cgi.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/class/attribute_accessors.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/class/delegating_attributes.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/class/inheritable_attributes.rb +140 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/class/removal.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/class.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date/behavior.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date/calculations.rb +230 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date/conversions.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date_time/calculations.rb +126 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date_time/conversions.rb +96 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/date_time.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/duplicable.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/enumerable.rb +116 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/exception.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/file/atomic.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/file.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/float/rounding.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/float/time.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/float.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/conversions.rb +246 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/diff.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/except.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/indifferent_access.rb +143 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/keys.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/reverse_merge.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/hash.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/integer/even_odd.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/integer/inflections.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/integer/time.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/integer.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel/debugger.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel/reporting.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel/requires.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/kernel.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/load_error.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/logger.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/attribute_accessors.rb +60 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/delegation.rb +130 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/inclusion.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/introspection.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/loading.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/model_naming.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/module.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/name_error.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/numeric/bytes.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/numeric/conversions.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/numeric/time.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/numeric.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object/conversions.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object/extending.rb +80 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object/instance_variables.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object/metaclass.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object/misc.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/object.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/pathname/clean_within.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/pathname.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/proc.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/process/daemon.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/process.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/range/blockless_step.rb +32 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/range/conversions.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/range/include_range.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/range/overlaps.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/range.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/rexml.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/access.rb +106 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/conversions.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/filters.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/inflections.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/iterators.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/starts_ends_with.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string/xchar.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/string.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/symbol.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/time/behavior.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/time/calculations.rb +303 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/time/conversions.rb +90 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/time/zones.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/time.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/try.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext/uri.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/core_ext.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/dependencies.rb +625 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/deprecation.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/duration.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/gzip.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/inflections.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/inflector.rb +406 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/backends/jsongem.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/backends/yaml.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/decoding.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/date.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/date_time.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/enumerable.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/false_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/hash.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/nil_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/numeric.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/object.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/regexp.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/string.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/symbol.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/time.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoders/true_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/encoding.rb +102 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json/variable.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/json.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/memoizable.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/message_encryptor.rb +70 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/message_verifier.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/multibyte/chars.rb +701 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/multibyte/exceptions.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/multibyte.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/option_merger.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/ordered_hash.rb +134 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/ordered_options.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/rescuable.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/secure_random.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/string_inquirer.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/test_case.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/assertions.rb +65 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/declarative.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/default.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/deprecation.rb +57 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/performance.rb +452 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/testing/setup_and_teardown.rb +91 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/time_with_zone.rb +335 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/values/time_zone.rb +404 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/blankslate.rb +113 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/css.rb +250 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +115 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +328 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/builder-2.1.2/builder.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +214 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +199 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/test/all.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +124 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +567 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb +1107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +228 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +283 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +204 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +274 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +194 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +282 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +74 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +205 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +288 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +98 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +292 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +508 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +56 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +94 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +198 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/vendor.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/whiny_nil.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/xml_mini/jdom.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/xml_mini/libxml.rb +133 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/xml_mini/nokogiri.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/xml_mini/rexml.rb +108 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support/xml_mini.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/active_support.rb +59 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/pkg/activesupport-2.3.3/lib/activesupport.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/abstract_unit.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/buffered_logger_test.rb +146 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/caching_test.rb +327 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/callbacks_test.rb +188 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/clean_backtrace_test.rb +47 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/clean_logger_test.rb +57 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +356 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/base64_ext_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/bigdecimal.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/blank_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +14 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +31 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +224 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/class/delegating_attributes_test.rb +115 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/class_test.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +272 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +359 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/duplicable_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/duration_test.rb +121 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +93 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/exception_test.rb +68 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/file_test.rb +67 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/float_ext_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +1007 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +37 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/kernel_test.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/load_error_test.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +33 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +58 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/model_naming_test.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module/synchronization_test.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/module_test.rb +352 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/name_error_test.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +282 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/object_ext_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/pathname_test.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/proc_test.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +63 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +276 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/symbol_test.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +744 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/time_with_zone_test.rb +845 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/core_ext/uri_ext_test.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/check_warnings.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/conflict.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/mutual_one.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/mutual_two.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/raises_exception.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/service_one.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies/service_two.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/dependencies_test.rb +776 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/deprecation_test.rb +163 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/gzip_test.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/i18n_test.rb +98 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/inflector_test.rb +298 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/inflector_test_cases.rb +252 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/json/decoding_test.rb +77 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/json/encoding_test.rb +160 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/memoizable_test.rb +247 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/message_encryptor_test.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/message_verifier_test.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/multibyte_chars_test.rb +577 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/multibyte_conformance.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/multibyte_test_helpers.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/multibyte_unicode_database_test.rb +22 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/option_merger_test.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/ordered_hash_test.rb +194 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/ordered_options_test.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/rescuable_test.rb +75 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/secure_random_test.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/string_inquirer_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/test_test.rb +148 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/time_zone_test.rb +266 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/whiny_nil_test.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/xml_mini/jdom_engine_test.rb +153 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/xml_mini/nokogiri_engine_test.rb +157 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/activesupport/test/xml_mini/rexml_engine_test.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info.rb +129 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/initializers/inflections.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/initializers/mime_types.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +19 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/initializers/session_store.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/configs/routes.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/dispatches/dispatch.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/environments/boot.rb +110 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/environments/development.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/environments/environment.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/environments/production.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/environments/test.rb +28 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/guides/rails_guides/generator.rb +138 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/guides/rails_guides/helpers.rb +34 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/guides/rails_guides/indexer.rb +55 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/guides/rails_guides/textile_extensions.rb +41 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/guides/rails_guides.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/helpers/application_controller.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/helpers/application_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/helpers/performance_test.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/helpers/test_helper.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/code_statistics.rb +107 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/about.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/console.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/dbconsole.rb +83 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/destroy.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/generate.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/performance/benchmarker.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/performance/profiler.rb +50 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/plugin.rb +968 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/runner.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/server.rb +114 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands/update.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/commands.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/console_app.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/console_sandbox.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/console_with_helpers.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/dispatcher.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/fcgi_handler.rb +239 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/initializer.rb +1128 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/performance_test_help.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +54 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/gem_builder.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/gem_dependency.rb +311 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/plugin/loader.rb +191 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/plugin/locator.rb +100 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/plugin.rb +167 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/rack/debugger.rb +21 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/rack/log_tailer.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/rack/metal.rb +51 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/rack/static.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/rack.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +140 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails/version.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/base.rb +266 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/commands.rb +621 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +258 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/git.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +401 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +25 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +30 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +15 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +20 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +11 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +9 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +39 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +76 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +102 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +85 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +45 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +18 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +16 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/lookup.rb +249 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/manifest.rb +53 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/options.rb +150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts/update.rb +12 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/scripts.rb +89 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +24 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/simple_logger.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator/spec.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rails_generator.rb +43 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/railties_path.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/ruby_version_check.rb +17 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/rubyprof_ext.rb +35 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/source_annotation_extractor.rb +102 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/tasks/rails.rb +8 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/test_help.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/lib/webrick_server.rb +156 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/abstract_unit.rb +27 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/backtrace_cleaner_test.rb +61 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/boot_test.rb +178 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/console_app_test.rb +42 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fcgi_dispatcher_test.rb +264 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/eager/zoo/reptile_house.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/eager/zoo.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/environment_with_constant.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_a.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_b.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/singlemetal/app/metal/foo_metal.rb +5 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/init.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/lib/gemlike.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/gemlike/rails/init.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb +4 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +7 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/controllers/engine_controller.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/metal/engine_metal.rb +10 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/models/engine_model.rb +2 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/engines/engine/config/routes.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/fixtures/plugins/engines/engine/init.rb +3 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/gem_dependency_test.rb +219 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generator_lookup_test.rb +40 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/generator_test_helper.rb +303 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_controller_generator_test.rb +44 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_helper_generator_test.rb +36 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_mailer_generator_test.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_model_generator_test.rb +48 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_resource_generator_test.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_scaffold_generator_test.rb +150 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/generators/rails_template_runner_test.rb +216 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/initializer_test.rb +414 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/metal_test.rb +72 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/mocks/routes.rb +6 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/plugin_loader_test.rb +164 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/plugin_locator_test.rb +62 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/plugin_test.rb +162 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/plugin_test_helper.rb +29 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/rack_static_test.rb +46 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/rails_generator_test.rb +145 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/rails_info_controller_test.rb +52 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/rails_info_test.rb +99 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/secret_key_generation_test.rb +38 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-a-0.4.0/lib/dummy-gem-a.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.4.0/lib/dummy-gem-b.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.6.0/lib/dummy-gem-b.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.4.0/lib/dummy-gem-c.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.6.0/lib/dummy-gem-c.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-d-1.0.0/lib/dummy-gem-d.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-e-1.0.0/lib/dummy-gem-e.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-f-1.0.0/lib/dummy-gem-f.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-g-1.0.0/lib/dummy-gem-g.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-h-1.0.0/lib/dummy-gem-h.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-i-1.0.0/lib/dummy-gem-i.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-j-1.0.0/lib/dummy-gem-j.rb +1 -0
- data/spec/rails2_3/vendor/rails/vendor/rails/railties/test/vendor/gems/dummy-gem-k-1.0.0/lib/dummy-gem-k.rb +1 -0
- metadata +4027 -36
- data/spec/private/rails2_2/compat.rb +0 -2
- data/spec/private/rails2_3/compat.rb +0 -2
- data/spec/spec.opts +0 -7
@@ -0,0 +1,2469 @@
|
|
1
|
+
require 'abstract_unit'
|
2
|
+
|
3
|
+
class DateHelperTest < ActionView::TestCase
|
4
|
+
tests ActionView::Helpers::DateHelper
|
5
|
+
|
6
|
+
silence_warnings do
|
7
|
+
Post = Struct.new("Post", :id, :written_on, :updated_at)
|
8
|
+
Post.class_eval do
|
9
|
+
def id
|
10
|
+
123
|
11
|
+
end
|
12
|
+
def id_before_type_cast
|
13
|
+
123
|
14
|
+
end
|
15
|
+
def to_param
|
16
|
+
'123'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def assert_distance_of_time_in_words(from, to=nil)
|
22
|
+
to ||= from
|
23
|
+
|
24
|
+
# 0..1 with include_seconds
|
25
|
+
assert_equal "less than 5 seconds", distance_of_time_in_words(from, to + 0.seconds, true)
|
26
|
+
assert_equal "less than 5 seconds", distance_of_time_in_words(from, to + 4.seconds, true)
|
27
|
+
assert_equal "less than 10 seconds", distance_of_time_in_words(from, to + 5.seconds, true)
|
28
|
+
assert_equal "less than 10 seconds", distance_of_time_in_words(from, to + 9.seconds, true)
|
29
|
+
assert_equal "less than 20 seconds", distance_of_time_in_words(from, to + 10.seconds, true)
|
30
|
+
assert_equal "less than 20 seconds", distance_of_time_in_words(from, to + 19.seconds, true)
|
31
|
+
assert_equal "half a minute", distance_of_time_in_words(from, to + 20.seconds, true)
|
32
|
+
assert_equal "half a minute", distance_of_time_in_words(from, to + 39.seconds, true)
|
33
|
+
assert_equal "less than a minute", distance_of_time_in_words(from, to + 40.seconds, true)
|
34
|
+
assert_equal "less than a minute", distance_of_time_in_words(from, to + 59.seconds, true)
|
35
|
+
assert_equal "1 minute", distance_of_time_in_words(from, to + 60.seconds, true)
|
36
|
+
assert_equal "1 minute", distance_of_time_in_words(from, to + 89.seconds, true)
|
37
|
+
|
38
|
+
# First case 0..1
|
39
|
+
assert_equal "less than a minute", distance_of_time_in_words(from, to + 0.seconds)
|
40
|
+
assert_equal "less than a minute", distance_of_time_in_words(from, to + 29.seconds)
|
41
|
+
assert_equal "1 minute", distance_of_time_in_words(from, to + 30.seconds)
|
42
|
+
assert_equal "1 minute", distance_of_time_in_words(from, to + 1.minutes + 29.seconds)
|
43
|
+
|
44
|
+
# 2..44
|
45
|
+
assert_equal "2 minutes", distance_of_time_in_words(from, to + 1.minutes + 30.seconds)
|
46
|
+
assert_equal "44 minutes", distance_of_time_in_words(from, to + 44.minutes + 29.seconds)
|
47
|
+
|
48
|
+
# 45..89
|
49
|
+
assert_equal "about 1 hour", distance_of_time_in_words(from, to + 44.minutes + 30.seconds)
|
50
|
+
assert_equal "about 1 hour", distance_of_time_in_words(from, to + 89.minutes + 29.seconds)
|
51
|
+
|
52
|
+
# 90..1439
|
53
|
+
assert_equal "about 2 hours", distance_of_time_in_words(from, to + 89.minutes + 30.seconds)
|
54
|
+
assert_equal "about 24 hours", distance_of_time_in_words(from, to + 23.hours + 59.minutes + 29.seconds)
|
55
|
+
|
56
|
+
# 1440..2879
|
57
|
+
assert_equal "1 day", distance_of_time_in_words(from, to + 23.hours + 59.minutes + 30.seconds)
|
58
|
+
assert_equal "1 day", distance_of_time_in_words(from, to + 47.hours + 59.minutes + 29.seconds)
|
59
|
+
|
60
|
+
# 2880..43199
|
61
|
+
assert_equal "2 days", distance_of_time_in_words(from, to + 47.hours + 59.minutes + 30.seconds)
|
62
|
+
assert_equal "29 days", distance_of_time_in_words(from, to + 29.days + 23.hours + 59.minutes + 29.seconds)
|
63
|
+
|
64
|
+
# 43200..86399
|
65
|
+
assert_equal "about 1 month", distance_of_time_in_words(from, to + 29.days + 23.hours + 59.minutes + 30.seconds)
|
66
|
+
assert_equal "about 1 month", distance_of_time_in_words(from, to + 59.days + 23.hours + 59.minutes + 29.seconds)
|
67
|
+
|
68
|
+
# 86400..525599
|
69
|
+
assert_equal "2 months", distance_of_time_in_words(from, to + 59.days + 23.hours + 59.minutes + 30.seconds)
|
70
|
+
assert_equal "12 months", distance_of_time_in_words(from, to + 1.years - 31.seconds)
|
71
|
+
|
72
|
+
# 525600..1051199
|
73
|
+
assert_equal "about 1 year", distance_of_time_in_words(from, to + 1.years - 30.seconds)
|
74
|
+
assert_equal "about 1 year", distance_of_time_in_words(from, to + 2.years - 31.seconds)
|
75
|
+
|
76
|
+
# > 1051199
|
77
|
+
assert_equal "over 2 years", distance_of_time_in_words(from, to + 2.years + 30.seconds)
|
78
|
+
assert_equal "over 10 years", distance_of_time_in_words(from, to + 10.years)
|
79
|
+
|
80
|
+
# test to < from
|
81
|
+
assert_equal "about 4 hours", distance_of_time_in_words(from + 4.hours, to)
|
82
|
+
assert_equal "less than 20 seconds", distance_of_time_in_words(from + 19.seconds, to, true)
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_distance_in_words
|
86
|
+
from = Time.mktime(2004, 6, 6, 21, 45, 0)
|
87
|
+
assert_distance_of_time_in_words(from)
|
88
|
+
end
|
89
|
+
|
90
|
+
def test_distance_in_words_with_time_zones
|
91
|
+
from = Time.mktime(2004, 6, 6, 21, 45, 0)
|
92
|
+
assert_distance_of_time_in_words(from.in_time_zone('Alaska'))
|
93
|
+
assert_distance_of_time_in_words(from.in_time_zone('Hawaii'))
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_distance_in_words_with_different_time_zones
|
97
|
+
from = Time.mktime(2004, 6, 6, 21, 45, 0)
|
98
|
+
assert_distance_of_time_in_words(
|
99
|
+
from.in_time_zone('Alaska'),
|
100
|
+
from.in_time_zone('Hawaii')
|
101
|
+
)
|
102
|
+
end
|
103
|
+
|
104
|
+
def test_distance_in_words_with_dates
|
105
|
+
start_date = Date.new 1975, 1, 31
|
106
|
+
end_date = Date.new 1977, 1, 31
|
107
|
+
assert_equal("over 2 years", distance_of_time_in_words(start_date, end_date))
|
108
|
+
end
|
109
|
+
|
110
|
+
def test_distance_in_words_with_integers
|
111
|
+
assert_equal "less than a minute", distance_of_time_in_words(59)
|
112
|
+
assert_equal "about 1 hour", distance_of_time_in_words(60*60)
|
113
|
+
assert_equal "less than a minute", distance_of_time_in_words(0, 59)
|
114
|
+
assert_equal "about 1 hour", distance_of_time_in_words(60*60, 0)
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_time_ago_in_words
|
118
|
+
assert_equal "about 1 year", time_ago_in_words(1.year.ago - 1.day)
|
119
|
+
end
|
120
|
+
|
121
|
+
def test_select_day
|
122
|
+
expected = %(<select id="date_day" name="date[day]">\n)
|
123
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
124
|
+
expected << "</select>\n"
|
125
|
+
|
126
|
+
assert_dom_equal expected, select_day(Time.mktime(2003, 8, 16))
|
127
|
+
assert_dom_equal expected, select_day(16)
|
128
|
+
end
|
129
|
+
|
130
|
+
def test_select_day_with_blank
|
131
|
+
expected = %(<select id="date_day" name="date[day]">\n)
|
132
|
+
expected << %(<option value=""></option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
133
|
+
expected << "</select>\n"
|
134
|
+
|
135
|
+
assert_dom_equal expected, select_day(Time.mktime(2003, 8, 16), :include_blank => true)
|
136
|
+
assert_dom_equal expected, select_day(16, :include_blank => true)
|
137
|
+
end
|
138
|
+
|
139
|
+
def test_select_day_nil_with_blank
|
140
|
+
expected = %(<select id="date_day" name="date[day]">\n)
|
141
|
+
expected << %(<option value=""></option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
142
|
+
expected << "</select>\n"
|
143
|
+
|
144
|
+
assert_dom_equal expected, select_day(nil, :include_blank => true)
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_select_day_with_html_options
|
148
|
+
expected = %(<select id="date_day" name="date[day]" class="selector">\n)
|
149
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
150
|
+
expected << "</select>\n"
|
151
|
+
|
152
|
+
assert_dom_equal expected, select_day(Time.mktime(2003, 8, 16), {}, :class => 'selector')
|
153
|
+
assert_dom_equal expected, select_day(16, {}, :class => 'selector')
|
154
|
+
end
|
155
|
+
|
156
|
+
def test_select_day_with_default_prompt
|
157
|
+
expected = %(<select id="date_day" name="date[day]">\n)
|
158
|
+
expected << %(<option value="">Day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
159
|
+
expected << "</select>\n"
|
160
|
+
|
161
|
+
assert_dom_equal expected, select_day(16, :prompt => true)
|
162
|
+
end
|
163
|
+
|
164
|
+
def test_select_day_with_custom_prompt
|
165
|
+
expected = %(<select id="date_day" name="date[day]">\n)
|
166
|
+
expected << %(<option value="">Choose day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
167
|
+
expected << "</select>\n"
|
168
|
+
|
169
|
+
assert_dom_equal expected, select_day(16, :prompt => 'Choose day')
|
170
|
+
end
|
171
|
+
|
172
|
+
def test_select_month
|
173
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
174
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
175
|
+
expected << "</select>\n"
|
176
|
+
|
177
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16))
|
178
|
+
assert_dom_equal expected, select_month(8)
|
179
|
+
end
|
180
|
+
|
181
|
+
def test_select_month_with_disabled
|
182
|
+
expected = %(<select id="date_month" name="date[month]" disabled="disabled">\n)
|
183
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
184
|
+
expected << "</select>\n"
|
185
|
+
|
186
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :disabled => true)
|
187
|
+
assert_dom_equal expected, select_month(8, :disabled => true)
|
188
|
+
end
|
189
|
+
|
190
|
+
def test_select_month_with_field_name_override
|
191
|
+
expected = %(<select id="date_mois" name="date[mois]">\n)
|
192
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
193
|
+
expected << "</select>\n"
|
194
|
+
|
195
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :field_name => 'mois')
|
196
|
+
assert_dom_equal expected, select_month(8, :field_name => 'mois')
|
197
|
+
end
|
198
|
+
|
199
|
+
def test_select_month_with_blank
|
200
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
201
|
+
expected << %(<option value=""></option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
202
|
+
expected << "</select>\n"
|
203
|
+
|
204
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :include_blank => true)
|
205
|
+
assert_dom_equal expected, select_month(8, :include_blank => true)
|
206
|
+
end
|
207
|
+
|
208
|
+
def test_select_month_nil_with_blank
|
209
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
210
|
+
expected << %(<option value=""></option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
211
|
+
expected << "</select>\n"
|
212
|
+
|
213
|
+
assert_dom_equal expected, select_month(nil, :include_blank => true)
|
214
|
+
end
|
215
|
+
|
216
|
+
def test_select_month_with_numbers
|
217
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
218
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8" selected="selected">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n)
|
219
|
+
expected << "</select>\n"
|
220
|
+
|
221
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :use_month_numbers => true)
|
222
|
+
assert_dom_equal expected, select_month(8, :use_month_numbers => true)
|
223
|
+
end
|
224
|
+
|
225
|
+
def test_select_month_with_numbers_and_names
|
226
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
227
|
+
expected << %(<option value="1">1 - January</option>\n<option value="2">2 - February</option>\n<option value="3">3 - March</option>\n<option value="4">4 - April</option>\n<option value="5">5 - May</option>\n<option value="6">6 - June</option>\n<option value="7">7 - July</option>\n<option value="8" selected="selected">8 - August</option>\n<option value="9">9 - September</option>\n<option value="10">10 - October</option>\n<option value="11">11 - November</option>\n<option value="12">12 - December</option>\n)
|
228
|
+
expected << "</select>\n"
|
229
|
+
|
230
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :add_month_numbers => true)
|
231
|
+
assert_dom_equal expected, select_month(8, :add_month_numbers => true)
|
232
|
+
end
|
233
|
+
|
234
|
+
def test_select_month_with_numbers_and_names_with_abbv
|
235
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
236
|
+
expected << %(<option value="1">1 - Jan</option>\n<option value="2">2 - Feb</option>\n<option value="3">3 - Mar</option>\n<option value="4">4 - Apr</option>\n<option value="5">5 - May</option>\n<option value="6">6 - Jun</option>\n<option value="7">7 - Jul</option>\n<option value="8" selected="selected">8 - Aug</option>\n<option value="9">9 - Sep</option>\n<option value="10">10 - Oct</option>\n<option value="11">11 - Nov</option>\n<option value="12">12 - Dec</option>\n)
|
237
|
+
expected << "</select>\n"
|
238
|
+
|
239
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :add_month_numbers => true, :use_short_month => true)
|
240
|
+
assert_dom_equal expected, select_month(8, :add_month_numbers => true, :use_short_month => true)
|
241
|
+
end
|
242
|
+
|
243
|
+
def test_select_month_with_abbv
|
244
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
245
|
+
expected << %(<option value="1">Jan</option>\n<option value="2">Feb</option>\n<option value="3">Mar</option>\n<option value="4">Apr</option>\n<option value="5">May</option>\n<option value="6">Jun</option>\n<option value="7">Jul</option>\n<option value="8" selected="selected">Aug</option>\n<option value="9">Sep</option>\n<option value="10">Oct</option>\n<option value="11">Nov</option>\n<option value="12">Dec</option>\n)
|
246
|
+
expected << "</select>\n"
|
247
|
+
|
248
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :use_short_month => true)
|
249
|
+
assert_dom_equal expected, select_month(8, :use_short_month => true)
|
250
|
+
end
|
251
|
+
|
252
|
+
def test_select_month_with_custom_names
|
253
|
+
month_names = %w(nil Januar Februar Marts April Maj Juni Juli August September Oktober November December)
|
254
|
+
|
255
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
256
|
+
1.upto(12) { |month| expected << %(<option value="#{month}"#{' selected="selected"' if month == 8}>#{month_names[month]}</option>\n) }
|
257
|
+
expected << "</select>\n"
|
258
|
+
|
259
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :use_month_names => month_names)
|
260
|
+
assert_dom_equal expected, select_month(8, :use_month_names => month_names)
|
261
|
+
end
|
262
|
+
|
263
|
+
def test_select_month_with_zero_indexed_custom_names
|
264
|
+
month_names = %w(Januar Februar Marts April Maj Juni Juli August September Oktober November December)
|
265
|
+
|
266
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
267
|
+
1.upto(12) { |month| expected << %(<option value="#{month}"#{' selected="selected"' if month == 8}>#{month_names[month-1]}</option>\n) }
|
268
|
+
expected << "</select>\n"
|
269
|
+
|
270
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), :use_month_names => month_names)
|
271
|
+
assert_dom_equal expected, select_month(8, :use_month_names => month_names)
|
272
|
+
end
|
273
|
+
|
274
|
+
def test_select_month_with_hidden
|
275
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_month\" name=\"date[month]\" value=\"8\" />\n", select_month(8, :use_hidden => true)
|
276
|
+
end
|
277
|
+
|
278
|
+
def test_select_month_with_hidden_and_field_name
|
279
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_mois\" name=\"date[mois]\" value=\"8\" />\n", select_month(8, :use_hidden => true, :field_name => 'mois')
|
280
|
+
end
|
281
|
+
|
282
|
+
def test_select_month_with_html_options
|
283
|
+
expected = %(<select id="date_month" name="date[month]" class="selector" accesskey="M">\n)
|
284
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
285
|
+
expected << "</select>\n"
|
286
|
+
|
287
|
+
assert_dom_equal expected, select_month(Time.mktime(2003, 8, 16), {}, :class => 'selector', :accesskey => 'M')
|
288
|
+
#result = select_month(Time.mktime(2003, 8, 16), {}, :class => 'selector', :accesskey => 'M')
|
289
|
+
#assert result.include?('<select id="date_month" name="date[month]"')
|
290
|
+
#assert result.include?('class="selector"')
|
291
|
+
#assert result.include?('accesskey="M"')
|
292
|
+
#assert result.include?('<option value="1">January')
|
293
|
+
end
|
294
|
+
|
295
|
+
def test_select_month_with_default_prompt
|
296
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
297
|
+
expected << %(<option value="">Month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
298
|
+
expected << "</select>\n"
|
299
|
+
|
300
|
+
assert_dom_equal expected, select_month(8, :prompt => true)
|
301
|
+
end
|
302
|
+
|
303
|
+
def test_select_month_with_custom_prompt
|
304
|
+
expected = %(<select id="date_month" name="date[month]">\n)
|
305
|
+
expected << %(<option value="">Choose month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
306
|
+
expected << "</select>\n"
|
307
|
+
|
308
|
+
assert_dom_equal expected, select_month(8, :prompt => 'Choose month')
|
309
|
+
end
|
310
|
+
|
311
|
+
def test_select_year
|
312
|
+
expected = %(<select id="date_year" name="date[year]">\n)
|
313
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
314
|
+
expected << "</select>\n"
|
315
|
+
|
316
|
+
assert_dom_equal expected, select_year(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005)
|
317
|
+
assert_dom_equal expected, select_year(2003, :start_year => 2003, :end_year => 2005)
|
318
|
+
end
|
319
|
+
|
320
|
+
def test_select_year_with_disabled
|
321
|
+
expected = %(<select id="date_year" name="date[year]" disabled="disabled">\n)
|
322
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
323
|
+
expected << "</select>\n"
|
324
|
+
|
325
|
+
assert_dom_equal expected, select_year(Time.mktime(2003, 8, 16), :disabled => true, :start_year => 2003, :end_year => 2005)
|
326
|
+
assert_dom_equal expected, select_year(2003, :disabled => true, :start_year => 2003, :end_year => 2005)
|
327
|
+
end
|
328
|
+
|
329
|
+
def test_select_year_with_field_name_override
|
330
|
+
expected = %(<select id="date_annee" name="date[annee]">\n)
|
331
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
332
|
+
expected << "</select>\n"
|
333
|
+
|
334
|
+
assert_dom_equal expected, select_year(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005, :field_name => 'annee')
|
335
|
+
assert_dom_equal expected, select_year(2003, :start_year => 2003, :end_year => 2005, :field_name => 'annee')
|
336
|
+
end
|
337
|
+
|
338
|
+
def test_select_year_with_type_discarding
|
339
|
+
expected = %(<select id="date_year" name="date_year">\n)
|
340
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
341
|
+
expected << "</select>\n"
|
342
|
+
|
343
|
+
assert_dom_equal expected, select_year(
|
344
|
+
Time.mktime(2003, 8, 16), :prefix => "date_year", :discard_type => true, :start_year => 2003, :end_year => 2005)
|
345
|
+
assert_dom_equal expected, select_year(
|
346
|
+
2003, :prefix => "date_year", :discard_type => true, :start_year => 2003, :end_year => 2005)
|
347
|
+
end
|
348
|
+
|
349
|
+
def test_select_year_descending
|
350
|
+
expected = %(<select id="date_year" name="date[year]">\n)
|
351
|
+
expected << %(<option value="2005" selected="selected">2005</option>\n<option value="2004">2004</option>\n<option value="2003">2003</option>\n)
|
352
|
+
expected << "</select>\n"
|
353
|
+
|
354
|
+
assert_dom_equal expected, select_year(Time.mktime(2005, 8, 16), :start_year => 2005, :end_year => 2003)
|
355
|
+
assert_dom_equal expected, select_year(2005, :start_year => 2005, :end_year => 2003)
|
356
|
+
end
|
357
|
+
|
358
|
+
def test_select_year_with_hidden
|
359
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_year\" name=\"date[year]\" value=\"2007\" />\n", select_year(2007, :use_hidden => true)
|
360
|
+
end
|
361
|
+
|
362
|
+
def test_select_year_with_hidden_and_field_name
|
363
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_anno\" name=\"date[anno]\" value=\"2007\" />\n", select_year(2007, :use_hidden => true, :field_name => 'anno')
|
364
|
+
end
|
365
|
+
|
366
|
+
def test_select_year_with_html_options
|
367
|
+
expected = %(<select id="date_year" name="date[year]" class="selector" accesskey="M">\n)
|
368
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
369
|
+
expected << "</select>\n"
|
370
|
+
|
371
|
+
assert_dom_equal expected, select_year(Time.mktime(2003, 8, 16), {:start_year => 2003, :end_year => 2005}, :class => 'selector', :accesskey => 'M')
|
372
|
+
#result = select_year(Time.mktime(2003, 8, 16), {:start_year => 2003, :end_year => 2005}, :class => 'selector', :accesskey => 'M')
|
373
|
+
#assert result.include?('<select id="date_year" name="date[year]"')
|
374
|
+
#assert result.include?('class="selector"')
|
375
|
+
#assert result.include?('accesskey="M"')
|
376
|
+
#assert result.include?('<option value="2003"')
|
377
|
+
end
|
378
|
+
|
379
|
+
def test_select_year_with_default_prompt
|
380
|
+
expected = %(<select id="date_year" name="date[year]">\n)
|
381
|
+
expected << %(<option value="">Year</option>\n<option value="2003">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
382
|
+
expected << "</select>\n"
|
383
|
+
|
384
|
+
assert_dom_equal expected, select_year(nil, :start_year => 2003, :end_year => 2005, :prompt => true)
|
385
|
+
end
|
386
|
+
|
387
|
+
def test_select_year_with_custom_prompt
|
388
|
+
expected = %(<select id="date_year" name="date[year]">\n)
|
389
|
+
expected << %(<option value="">Choose year</option>\n<option value="2003">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
390
|
+
expected << "</select>\n"
|
391
|
+
|
392
|
+
assert_dom_equal expected, select_year(nil, :start_year => 2003, :end_year => 2005, :prompt => 'Choose year')
|
393
|
+
end
|
394
|
+
|
395
|
+
def test_select_hour
|
396
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
397
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
398
|
+
expected << "</select>\n"
|
399
|
+
|
400
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18))
|
401
|
+
end
|
402
|
+
|
403
|
+
def test_select_hour_with_disabled
|
404
|
+
expected = %(<select id="date_hour" name="date[hour]" disabled="disabled">\n)
|
405
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
406
|
+
expected << "</select>\n"
|
407
|
+
|
408
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), :disabled => true)
|
409
|
+
end
|
410
|
+
|
411
|
+
def test_select_hour_with_field_name_override
|
412
|
+
expected = %(<select id="date_heure" name="date[heure]">\n)
|
413
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
414
|
+
expected << "</select>\n"
|
415
|
+
|
416
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), :field_name => 'heure')
|
417
|
+
end
|
418
|
+
|
419
|
+
def test_select_hour_with_blank
|
420
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
421
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
422
|
+
expected << "</select>\n"
|
423
|
+
|
424
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), :include_blank => true)
|
425
|
+
end
|
426
|
+
|
427
|
+
def test_select_hour_nil_with_blank
|
428
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
429
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
430
|
+
expected << "</select>\n"
|
431
|
+
|
432
|
+
assert_dom_equal expected, select_hour(nil, :include_blank => true)
|
433
|
+
end
|
434
|
+
|
435
|
+
def test_select_hour_with_html_options
|
436
|
+
expected = %(<select id="date_hour" name="date[hour]" class="selector" accesskey="M">\n)
|
437
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
438
|
+
expected << "</select>\n"
|
439
|
+
|
440
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector', :accesskey => 'M')
|
441
|
+
end
|
442
|
+
|
443
|
+
def test_select_hour_with_default_prompt
|
444
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
445
|
+
expected << %(<option value="">Hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
446
|
+
expected << "</select>\n"
|
447
|
+
|
448
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => true)
|
449
|
+
end
|
450
|
+
|
451
|
+
def test_select_hour_with_custom_prompt
|
452
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
453
|
+
expected << %(<option value="">Choose hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
454
|
+
expected << "</select>\n"
|
455
|
+
|
456
|
+
assert_dom_equal expected, select_hour(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => 'Choose hour')
|
457
|
+
end
|
458
|
+
|
459
|
+
def test_select_minute
|
460
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
461
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
462
|
+
expected << "</select>\n"
|
463
|
+
|
464
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18))
|
465
|
+
end
|
466
|
+
|
467
|
+
def test_select_minute_with_disabled
|
468
|
+
expected = %(<select id="date_minute" name="date[minute]" disabled="disabled">\n)
|
469
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
470
|
+
expected << "</select>\n"
|
471
|
+
|
472
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), :disabled => true)
|
473
|
+
end
|
474
|
+
|
475
|
+
def test_select_minute_with_field_name_override
|
476
|
+
expected = %(<select id="date_minuto" name="date[minuto]">\n)
|
477
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
478
|
+
expected << "</select>\n"
|
479
|
+
|
480
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), :field_name => 'minuto')
|
481
|
+
end
|
482
|
+
|
483
|
+
def test_select_minute_with_blank
|
484
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
485
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
486
|
+
expected << "</select>\n"
|
487
|
+
|
488
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), :include_blank => true)
|
489
|
+
end
|
490
|
+
|
491
|
+
def test_select_minute_with_blank_and_step
|
492
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
493
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="15">15</option>\n<option value="30">30</option>\n<option value="45">45</option>\n)
|
494
|
+
expected << "</select>\n"
|
495
|
+
|
496
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), { :include_blank => true , :minute_step => 15 })
|
497
|
+
end
|
498
|
+
|
499
|
+
def test_select_minute_nil_with_blank
|
500
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
501
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
502
|
+
expected << "</select>\n"
|
503
|
+
|
504
|
+
assert_dom_equal expected, select_minute(nil, :include_blank => true)
|
505
|
+
end
|
506
|
+
|
507
|
+
def test_select_minute_nil_with_blank_and_step
|
508
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
509
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="15">15</option>\n<option value="30">30</option>\n<option value="45">45</option>\n)
|
510
|
+
expected << "</select>\n"
|
511
|
+
|
512
|
+
assert_dom_equal expected, select_minute(nil, { :include_blank => true , :minute_step => 15 })
|
513
|
+
end
|
514
|
+
|
515
|
+
def test_select_minute_with_hidden
|
516
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_minute\" name=\"date[minute]\" value=\"8\" />\n", select_minute(8, :use_hidden => true)
|
517
|
+
end
|
518
|
+
|
519
|
+
def test_select_minute_with_hidden_and_field_name
|
520
|
+
assert_dom_equal "<input type=\"hidden\" id=\"date_minuto\" name=\"date[minuto]\" value=\"8\" />\n", select_minute(8, :use_hidden => true, :field_name => 'minuto')
|
521
|
+
end
|
522
|
+
|
523
|
+
def test_select_minute_with_html_options
|
524
|
+
expected = expected = %(<select id="date_minute" name="date[minute]" class="selector" accesskey="M">\n)
|
525
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
526
|
+
expected << "</select>\n"
|
527
|
+
|
528
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector', :accesskey => 'M')
|
529
|
+
|
530
|
+
#result = select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector', :accesskey => 'M')
|
531
|
+
#assert result.include?('<select id="date_minute" name="date[minute]"')
|
532
|
+
#assert result.include?('class="selector"')
|
533
|
+
#assert result.include?('accesskey="M"')
|
534
|
+
#assert result.include?('<option value="00">00')
|
535
|
+
end
|
536
|
+
|
537
|
+
def test_select_minute_with_default_prompt
|
538
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
539
|
+
expected << %(<option value="">Minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
540
|
+
expected << "</select>\n"
|
541
|
+
|
542
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => true)
|
543
|
+
end
|
544
|
+
|
545
|
+
def test_select_minute_with_custom_prompt
|
546
|
+
expected = %(<select id="date_minute" name="date[minute]">\n)
|
547
|
+
expected << %(<option value="">Choose minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
548
|
+
expected << "</select>\n"
|
549
|
+
|
550
|
+
assert_dom_equal expected, select_minute(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => 'Choose minute')
|
551
|
+
end
|
552
|
+
|
553
|
+
def test_select_second
|
554
|
+
expected = %(<select id="date_second" name="date[second]">\n)
|
555
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
556
|
+
expected << "</select>\n"
|
557
|
+
|
558
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18))
|
559
|
+
end
|
560
|
+
|
561
|
+
def test_select_second_with_disabled
|
562
|
+
expected = %(<select id="date_second" name="date[second]" disabled="disabled">\n)
|
563
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
564
|
+
expected << "</select>\n"
|
565
|
+
|
566
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), :disabled => true)
|
567
|
+
end
|
568
|
+
|
569
|
+
def test_select_second_with_field_name_override
|
570
|
+
expected = %(<select id="date_segundo" name="date[segundo]">\n)
|
571
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
572
|
+
expected << "</select>\n"
|
573
|
+
|
574
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), :field_name => 'segundo')
|
575
|
+
end
|
576
|
+
|
577
|
+
def test_select_second_with_blank
|
578
|
+
expected = %(<select id="date_second" name="date[second]">\n)
|
579
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
580
|
+
expected << "</select>\n"
|
581
|
+
|
582
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), :include_blank => true)
|
583
|
+
end
|
584
|
+
|
585
|
+
def test_select_second_nil_with_blank
|
586
|
+
expected = %(<select id="date_second" name="date[second]">\n)
|
587
|
+
expected << %(<option value=""></option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
588
|
+
expected << "</select>\n"
|
589
|
+
|
590
|
+
assert_dom_equal expected, select_second(nil, :include_blank => true)
|
591
|
+
end
|
592
|
+
|
593
|
+
def test_select_second_with_html_options
|
594
|
+
expected = %(<select id="date_second" name="date[second]" class="selector" accesskey="M">\n)
|
595
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
596
|
+
expected << "</select>\n"
|
597
|
+
|
598
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector', :accesskey => 'M')
|
599
|
+
|
600
|
+
#result = select_second(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector', :accesskey => 'M')
|
601
|
+
#assert result.include?('<select id="date_second" name="date[second]"')
|
602
|
+
#assert result.include?('class="selector"')
|
603
|
+
#assert result.include?('accesskey="M"')
|
604
|
+
#assert result.include?('<option value="00">00')
|
605
|
+
end
|
606
|
+
|
607
|
+
def test_select_second_with_default_prompt
|
608
|
+
expected = %(<select id="date_second" name="date[second]">\n)
|
609
|
+
expected << %(<option value="">Seconds</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
610
|
+
expected << "</select>\n"
|
611
|
+
|
612
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => true)
|
613
|
+
end
|
614
|
+
|
615
|
+
def test_select_second_with_custom_prompt
|
616
|
+
expected = %(<select id="date_second" name="date[second]">\n)
|
617
|
+
expected << %(<option value="">Choose seconds</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
618
|
+
expected << "</select>\n"
|
619
|
+
|
620
|
+
assert_dom_equal expected, select_second(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => 'Choose seconds')
|
621
|
+
end
|
622
|
+
|
623
|
+
def test_select_date
|
624
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
625
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
626
|
+
expected << "</select>\n"
|
627
|
+
|
628
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
629
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
630
|
+
expected << "</select>\n"
|
631
|
+
|
632
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
633
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
634
|
+
expected << "</select>\n"
|
635
|
+
|
636
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005, :prefix => "date[first]")
|
637
|
+
end
|
638
|
+
|
639
|
+
def test_select_date_with_order
|
640
|
+
expected = %(<select id="date_first_month" name="date[first][month]">\n)
|
641
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
642
|
+
expected << "</select>\n"
|
643
|
+
|
644
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
645
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
646
|
+
expected << "</select>\n"
|
647
|
+
|
648
|
+
expected << %(<select id="date_first_year" name="date[first][year]">\n)
|
649
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
650
|
+
expected << "</select>\n"
|
651
|
+
|
652
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005, :prefix => "date[first]", :order => [:month, :day, :year])
|
653
|
+
end
|
654
|
+
|
655
|
+
def test_select_date_with_incomplete_order
|
656
|
+
# NOTE: modified this test because of minimal API change
|
657
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
658
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
659
|
+
expected << "</select>\n"
|
660
|
+
|
661
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
662
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
663
|
+
expected << "</select>\n"
|
664
|
+
|
665
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
666
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
667
|
+
expected << "</select>\n"
|
668
|
+
|
669
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005, :prefix => "date[first]", :order => [:day])
|
670
|
+
end
|
671
|
+
|
672
|
+
def test_select_date_with_disabled
|
673
|
+
expected = %(<select id="date_first_year" name="date[first][year]" disabled="disabled">\n)
|
674
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
675
|
+
expected << "</select>\n"
|
676
|
+
|
677
|
+
expected << %(<select id="date_first_month" name="date[first][month]" disabled="disabled">\n)
|
678
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
679
|
+
expected << "</select>\n"
|
680
|
+
|
681
|
+
expected << %(<select id="date_first_day" name="date[first][day]" disabled="disabled">\n)
|
682
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
683
|
+
expected << "</select>\n"
|
684
|
+
|
685
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), :start_year => 2003, :end_year => 2005, :prefix => "date[first]", :disabled => true)
|
686
|
+
end
|
687
|
+
|
688
|
+
def test_select_date_with_no_start_year
|
689
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
690
|
+
(Date.today.year-5).upto(Date.today.year+1) do |y|
|
691
|
+
if y == Date.today.year
|
692
|
+
expected << %(<option value="#{y}" selected="selected">#{y}</option>\n)
|
693
|
+
else
|
694
|
+
expected << %(<option value="#{y}">#{y}</option>\n)
|
695
|
+
end
|
696
|
+
end
|
697
|
+
expected << "</select>\n"
|
698
|
+
|
699
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
700
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
701
|
+
expected << "</select>\n"
|
702
|
+
|
703
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
704
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
705
|
+
expected << "</select>\n"
|
706
|
+
|
707
|
+
assert_dom_equal expected, select_date(
|
708
|
+
Time.mktime(Date.today.year, 8, 16), :end_year => Date.today.year+1, :prefix => "date[first]"
|
709
|
+
)
|
710
|
+
end
|
711
|
+
|
712
|
+
def test_select_date_with_no_end_year
|
713
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
714
|
+
2003.upto(2008) do |y|
|
715
|
+
if y == 2003
|
716
|
+
expected << %(<option value="#{y}" selected="selected">#{y}</option>\n)
|
717
|
+
else
|
718
|
+
expected << %(<option value="#{y}">#{y}</option>\n)
|
719
|
+
end
|
720
|
+
end
|
721
|
+
expected << "</select>\n"
|
722
|
+
|
723
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
724
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
725
|
+
expected << "</select>\n"
|
726
|
+
|
727
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
728
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
729
|
+
expected << "</select>\n"
|
730
|
+
|
731
|
+
assert_dom_equal expected, select_date(
|
732
|
+
Time.mktime(2003, 8, 16), :start_year => 2003, :prefix => "date[first]"
|
733
|
+
)
|
734
|
+
end
|
735
|
+
|
736
|
+
def test_select_date_with_no_start_or_end_year
|
737
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
738
|
+
(Date.today.year-5).upto(Date.today.year+5) do |y|
|
739
|
+
if y == Date.today.year
|
740
|
+
expected << %(<option value="#{y}" selected="selected">#{y}</option>\n)
|
741
|
+
else
|
742
|
+
expected << %(<option value="#{y}">#{y}</option>\n)
|
743
|
+
end
|
744
|
+
end
|
745
|
+
expected << "</select>\n"
|
746
|
+
|
747
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
748
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
749
|
+
expected << "</select>\n"
|
750
|
+
|
751
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
752
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
753
|
+
expected << "</select>\n"
|
754
|
+
|
755
|
+
assert_dom_equal expected, select_date(
|
756
|
+
Time.mktime(Date.today.year, 8, 16), :prefix => "date[first]"
|
757
|
+
)
|
758
|
+
end
|
759
|
+
|
760
|
+
def test_select_date_with_zero_value
|
761
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
762
|
+
expected << %(<option value="2003">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
763
|
+
expected << "</select>\n"
|
764
|
+
|
765
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
766
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
767
|
+
expected << "</select>\n"
|
768
|
+
|
769
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
770
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
771
|
+
expected << "</select>\n"
|
772
|
+
|
773
|
+
assert_dom_equal expected, select_date(0, :start_year => 2003, :end_year => 2005, :prefix => "date[first]")
|
774
|
+
end
|
775
|
+
|
776
|
+
def test_select_date_with_zero_value_and_no_start_year
|
777
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
778
|
+
(Date.today.year-5).upto(Date.today.year+1) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
779
|
+
expected << "</select>\n"
|
780
|
+
|
781
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
782
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
783
|
+
expected << "</select>\n"
|
784
|
+
|
785
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
786
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
787
|
+
expected << "</select>\n"
|
788
|
+
|
789
|
+
assert_dom_equal expected, select_date(0, :end_year => Date.today.year+1, :prefix => "date[first]")
|
790
|
+
end
|
791
|
+
|
792
|
+
def test_select_date_with_zero_value_and_no_end_year
|
793
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
794
|
+
last_year = Time.now.year + 5
|
795
|
+
2003.upto(last_year) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
796
|
+
expected << "</select>\n"
|
797
|
+
|
798
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
799
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
800
|
+
expected << "</select>\n"
|
801
|
+
|
802
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
803
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
804
|
+
expected << "</select>\n"
|
805
|
+
|
806
|
+
assert_dom_equal expected, select_date(0, :start_year => 2003, :prefix => "date[first]")
|
807
|
+
end
|
808
|
+
|
809
|
+
def test_select_date_with_zero_value_and_no_start_and_end_year
|
810
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
811
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
812
|
+
expected << "</select>\n"
|
813
|
+
|
814
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
815
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
816
|
+
expected << "</select>\n"
|
817
|
+
|
818
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
819
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
820
|
+
expected << "</select>\n"
|
821
|
+
|
822
|
+
assert_dom_equal expected, select_date(0, :prefix => "date[first]")
|
823
|
+
end
|
824
|
+
|
825
|
+
def test_select_date_with_nil_value_and_no_start_and_end_year
|
826
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
827
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
828
|
+
expected << "</select>\n"
|
829
|
+
|
830
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
831
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
832
|
+
expected << "</select>\n"
|
833
|
+
|
834
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
835
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
836
|
+
expected << "</select>\n"
|
837
|
+
|
838
|
+
assert_dom_equal expected, select_date(nil, :prefix => "date[first]")
|
839
|
+
end
|
840
|
+
|
841
|
+
def test_select_date_with_html_options
|
842
|
+
expected = %(<select id="date_first_year" name="date[first][year]" class="selector">\n)
|
843
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
844
|
+
expected << "</select>\n"
|
845
|
+
|
846
|
+
expected << %(<select id="date_first_month" name="date[first][month]" class="selector">\n)
|
847
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
848
|
+
expected << "</select>\n"
|
849
|
+
|
850
|
+
expected << %(<select id="date_first_day" name="date[first][day]" class="selector">\n)
|
851
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
852
|
+
expected << "</select>\n"
|
853
|
+
|
854
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), {:start_year => 2003, :end_year => 2005, :prefix => "date[first]"}, :class => "selector")
|
855
|
+
end
|
856
|
+
|
857
|
+
def test_select_date_with_separator
|
858
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
859
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
860
|
+
expected << "</select>\n"
|
861
|
+
|
862
|
+
expected << " / "
|
863
|
+
|
864
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
865
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
866
|
+
expected << "</select>\n"
|
867
|
+
|
868
|
+
expected << " / "
|
869
|
+
|
870
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
871
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
872
|
+
expected << "</select>\n"
|
873
|
+
|
874
|
+
assert_dom_equal expected, select_date(Time.mktime(2003, 8, 16), { :date_separator => " / ", :start_year => 2003, :end_year => 2005, :prefix => "date[first]"})
|
875
|
+
end
|
876
|
+
|
877
|
+
def test_select_datetime
|
878
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
879
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
880
|
+
expected << "</select>\n"
|
881
|
+
|
882
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
883
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
884
|
+
expected << "</select>\n"
|
885
|
+
|
886
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
887
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
888
|
+
expected << "</select>\n"
|
889
|
+
|
890
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
891
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
892
|
+
expected << "</select>\n"
|
893
|
+
|
894
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
895
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
896
|
+
expected << "</select>\n"
|
897
|
+
|
898
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), :start_year => 2003, :end_year => 2005, :prefix => "date[first]")
|
899
|
+
end
|
900
|
+
|
901
|
+
def test_select_datetime_with_separators
|
902
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
903
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
904
|
+
expected << "</select>\n"
|
905
|
+
|
906
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
907
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
908
|
+
expected << "</select>\n"
|
909
|
+
|
910
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
911
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
912
|
+
expected << "</select>\n"
|
913
|
+
|
914
|
+
expected << " — "
|
915
|
+
|
916
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
917
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
918
|
+
expected << "</select>\n"
|
919
|
+
|
920
|
+
expected << " : "
|
921
|
+
|
922
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
923
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
924
|
+
expected << "</select>\n"
|
925
|
+
|
926
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), :start_year => 2003, :end_year => 2005, :prefix => "date[first]", :datetime_separator => ' — ', :time_separator => ' : ')
|
927
|
+
end
|
928
|
+
|
929
|
+
def test_select_datetime_with_nil_value_and_no_start_and_end_year
|
930
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
931
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
932
|
+
expected << "</select>\n"
|
933
|
+
|
934
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
935
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
936
|
+
expected << "</select>\n"
|
937
|
+
|
938
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
939
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
940
|
+
expected << "</select>\n"
|
941
|
+
|
942
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
943
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
944
|
+
expected << "</select>\n"
|
945
|
+
|
946
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
947
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
948
|
+
expected << "</select>\n"
|
949
|
+
|
950
|
+
assert_dom_equal expected, select_datetime(nil, :prefix => "date[first]")
|
951
|
+
end
|
952
|
+
|
953
|
+
def test_select_datetime_with_html_options
|
954
|
+
expected = %(<select id="date_first_year" name="date[first][year]" class="selector">\n)
|
955
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
956
|
+
expected << "</select>\n"
|
957
|
+
|
958
|
+
expected << %(<select id="date_first_month" name="date[first][month]" class="selector">\n)
|
959
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
960
|
+
expected << "</select>\n"
|
961
|
+
|
962
|
+
expected << %(<select id="date_first_day" name="date[first][day]" class="selector">\n)
|
963
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
964
|
+
expected << "</select>\n"
|
965
|
+
|
966
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]" class="selector">\n)
|
967
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
968
|
+
expected << "</select>\n"
|
969
|
+
|
970
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]" class="selector">\n)
|
971
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
972
|
+
expected << "</select>\n"
|
973
|
+
|
974
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), {:start_year => 2003, :end_year => 2005, :prefix => "date[first]"}, :class => 'selector')
|
975
|
+
end
|
976
|
+
|
977
|
+
def test_select_datetime_with_all_separators
|
978
|
+
expected = %(<select id="date_first_year" name="date[first][year]" class="selector">\n)
|
979
|
+
expected << %(<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
980
|
+
expected << "</select>\n"
|
981
|
+
|
982
|
+
expected << "/"
|
983
|
+
|
984
|
+
expected << %(<select id="date_first_month" name="date[first][month]" class="selector">\n)
|
985
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
986
|
+
expected << "</select>\n"
|
987
|
+
|
988
|
+
expected << "/"
|
989
|
+
|
990
|
+
expected << %(<select id="date_first_day" name="date[first][day]" class="selector">\n)
|
991
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
992
|
+
expected << "</select>\n"
|
993
|
+
|
994
|
+
expected << "—"
|
995
|
+
|
996
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]" class="selector">\n)
|
997
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
998
|
+
expected << "</select>\n"
|
999
|
+
|
1000
|
+
expected << ":"
|
1001
|
+
|
1002
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]" class="selector">\n)
|
1003
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1004
|
+
expected << "</select>\n"
|
1005
|
+
|
1006
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), { :datetime_separator => "—", :date_separator => "/", :time_separator => ":", :start_year => 2003, :end_year => 2005, :prefix => "date[first]"}, :class => 'selector')
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def test_select_datetime_should_work_with_date
|
1010
|
+
assert_nothing_raised { select_datetime(Date.today) }
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
def test_select_datetime_with_default_prompt
|
1014
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1015
|
+
expected << %(<option value="">Year</option>\n<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
1016
|
+
expected << "</select>\n"
|
1017
|
+
|
1018
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1019
|
+
expected << %(<option value="">Month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1020
|
+
expected << "</select>\n"
|
1021
|
+
|
1022
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1023
|
+
expected << %(<option value="">Day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1024
|
+
expected << "</select>\n"
|
1025
|
+
|
1026
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
1027
|
+
expected << %(<option value="">Hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1028
|
+
expected << "</select>\n"
|
1029
|
+
|
1030
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
1031
|
+
expected << %(<option value="">Minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1032
|
+
expected << "</select>\n"
|
1033
|
+
|
1034
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), :start_year => 2003, :end_year => 2005,
|
1035
|
+
:prefix => "date[first]", :prompt => true)
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
def test_select_datetime_with_custom_prompt
|
1039
|
+
|
1040
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1041
|
+
expected << %(<option value="">Choose year</option>\n<option value="2003" selected="selected">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n)
|
1042
|
+
expected << "</select>\n"
|
1043
|
+
|
1044
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1045
|
+
expected << %(<option value="">Choose month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8" selected="selected">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1046
|
+
expected << "</select>\n"
|
1047
|
+
|
1048
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1049
|
+
expected << %(<option value="">Choose day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1050
|
+
expected << "</select>\n"
|
1051
|
+
|
1052
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
1053
|
+
expected << %(<option value="">Choose hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1054
|
+
expected << "</select>\n"
|
1055
|
+
|
1056
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
1057
|
+
expected << %(<option value="">Choose minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1058
|
+
expected << "</select>\n"
|
1059
|
+
|
1060
|
+
assert_dom_equal expected, select_datetime(Time.mktime(2003, 8, 16, 8, 4, 18), :start_year => 2003, :end_year => 2005, :prefix => "date[first]",
|
1061
|
+
:prompt => {:day => 'Choose day', :month => 'Choose month', :year => 'Choose year', :hour => 'Choose hour', :minute => 'Choose minute'})
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def test_select_time
|
1065
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1066
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1067
|
+
expected << "</select>\n"
|
1068
|
+
|
1069
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1070
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1071
|
+
expected << "</select>\n"
|
1072
|
+
|
1073
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18))
|
1074
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :include_seconds => false)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
def test_select_time_with_separator
|
1078
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1079
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1080
|
+
expected << "</select>\n"
|
1081
|
+
|
1082
|
+
expected << " : "
|
1083
|
+
|
1084
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1085
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1086
|
+
expected << "</select>\n"
|
1087
|
+
|
1088
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :time_separator => ' : ')
|
1089
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :time_separator => ' : ', :include_seconds => false)
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def test_select_time_with_seconds
|
1093
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1094
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1095
|
+
expected << "</select>\n"
|
1096
|
+
|
1097
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1098
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1099
|
+
expected << "</select>\n"
|
1100
|
+
|
1101
|
+
expected << %(<select id="date_second" name="date[second]">\n)
|
1102
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1103
|
+
expected << "</select>\n"
|
1104
|
+
|
1105
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :include_seconds => true)
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
def test_select_time_with_seconds_and_separator
|
1109
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1110
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1111
|
+
expected << "</select>\n"
|
1112
|
+
|
1113
|
+
expected << " : "
|
1114
|
+
|
1115
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1116
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1117
|
+
expected << "</select>\n"
|
1118
|
+
|
1119
|
+
expected << " : "
|
1120
|
+
|
1121
|
+
expected << %(<select id="date_second" name="date[second]">\n)
|
1122
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1123
|
+
expected << "</select>\n"
|
1124
|
+
|
1125
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :include_seconds => true, :time_separator => ' : ')
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
def test_select_time_with_html_options
|
1129
|
+
expected = %(<select id="date_hour" name="date[hour]" class="selector">\n)
|
1130
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1131
|
+
expected << "</select>\n"
|
1132
|
+
|
1133
|
+
expected << %(<select id="date_minute" name="date[minute]" class="selector">\n)
|
1134
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1135
|
+
expected << "</select>\n"
|
1136
|
+
|
1137
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), {}, :class => 'selector')
|
1138
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), {:include_seconds => false}, :class => 'selector')
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
def test_select_time_should_work_with_date
|
1142
|
+
assert_nothing_raised { select_time(Date.today) }
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def test_select_time_with_default_prompt
|
1146
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1147
|
+
expected << %(<option value="">Hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1148
|
+
expected << "</select>\n"
|
1149
|
+
|
1150
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1151
|
+
expected << %(<option value="">Minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1152
|
+
expected << "</select>\n"
|
1153
|
+
|
1154
|
+
expected << %(<select id="date_second" name="date[second]">\n)
|
1155
|
+
expected << %(<option value="">Seconds</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1156
|
+
expected << "</select>\n"
|
1157
|
+
|
1158
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :include_seconds => true, :prompt => true)
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
def test_select_time_with_custom_prompt
|
1162
|
+
|
1163
|
+
expected = %(<select id="date_hour" name="date[hour]">\n)
|
1164
|
+
expected << %(<option value="">Choose hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08" selected="selected">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1165
|
+
expected << "</select>\n"
|
1166
|
+
|
1167
|
+
expected << %(<select id="date_minute" name="date[minute]">\n)
|
1168
|
+
expected << %(<option value="">Choose minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04" selected="selected">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1169
|
+
expected << "</select>\n"
|
1170
|
+
|
1171
|
+
expected << %(<select id="date_second" name="date[second]">\n)
|
1172
|
+
expected << %(<option value="">Choose seconds</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18" selected="selected">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1173
|
+
expected << "</select>\n"
|
1174
|
+
|
1175
|
+
assert_dom_equal expected, select_time(Time.mktime(2003, 8, 16, 8, 4, 18), :prompt => true, :include_seconds => true,
|
1176
|
+
:prompt => {:hour => 'Choose hour', :minute => 'Choose minute', :second => 'Choose seconds'})
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
def test_date_select
|
1180
|
+
@post = Post.new
|
1181
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1182
|
+
|
1183
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1184
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1185
|
+
expected << "</select>\n"
|
1186
|
+
|
1187
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1188
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1189
|
+
expected << "</select>\n"
|
1190
|
+
|
1191
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1192
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1193
|
+
|
1194
|
+
expected << "</select>\n"
|
1195
|
+
|
1196
|
+
assert_dom_equal expected, date_select("post", "written_on")
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
def test_date_select_without_day
|
1200
|
+
@post = Post.new
|
1201
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1202
|
+
|
1203
|
+
expected = "<input type=\"hidden\" id=\"post_written_on_3i\" name=\"post[written_on(3i)]\" value=\"1\" />\n"
|
1204
|
+
|
1205
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1206
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1207
|
+
expected << "</select>\n"
|
1208
|
+
|
1209
|
+
expected << %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1210
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1211
|
+
expected << "</select>\n"
|
1212
|
+
|
1213
|
+
assert_dom_equal expected, date_select("post", "written_on", :order => [ :month, :year ])
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def test_date_select_within_fields_for
|
1217
|
+
@post = Post.new
|
1218
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1219
|
+
|
1220
|
+
fields_for :post, @post do |f|
|
1221
|
+
concat f.date_select(:written_on)
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
expected = "<select id='post_written_on_1i' name='post[written_on(1i)]'>\n<option value='1999'>1999</option>\n<option value='2000'>2000</option>\n<option value='2001'>2001</option>\n<option value='2002'>2002</option>\n<option value='2003'>2003</option>\n<option selected='selected' value='2004'>2004</option>\n<option value='2005'>2005</option>\n<option value='2006'>2006</option>\n<option value='2007'>2007</option>\n<option value='2008'>2008</option>\n<option value='2009'>2009</option>\n</select>\n"
|
1225
|
+
expected << "<select id='post_written_on_2i' name='post[written_on(2i)]'>\n<option value='1'>January</option>\n<option value='2'>February</option>\n<option value='3'>March</option>\n<option value='4'>April</option>\n<option value='5'>May</option>\n<option selected='selected' value='6'>June</option>\n<option value='7'>July</option>\n<option value='8'>August</option>\n<option value='9'>September</option>\n<option value='10'>October</option>\n<option value='11'>November</option>\n<option value='12'>December</option>\n</select>\n"
|
1226
|
+
expected << "<select id='post_written_on_3i' name='post[written_on(3i)]'>\n<option value='1'>1</option>\n<option value='2'>2</option>\n<option value='3'>3</option>\n<option value='4'>4</option>\n<option value='5'>5</option>\n<option value='6'>6</option>\n<option value='7'>7</option>\n<option value='8'>8</option>\n<option value='9'>9</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option selected='selected' value='15'>15</option>\n<option value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n<option value='24'>24</option>\n<option value='25'>25</option>\n<option value='26'>26</option>\n<option value='27'>27</option>\n<option value='28'>28</option>\n<option value='29'>29</option>\n<option value='30'>30</option>\n<option value='31'>31</option>\n</select>\n"
|
1227
|
+
|
1228
|
+
assert_dom_equal(expected, output_buffer)
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
def test_date_select_within_fields_for_with_index
|
1232
|
+
@post = Post.new
|
1233
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1234
|
+
id = 27
|
1235
|
+
|
1236
|
+
fields_for :post, @post, :index => id do |f|
|
1237
|
+
concat f.date_select(:written_on)
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
expected = "<select id='post_#{id}_written_on_1i' name='post[#{id}][written_on(1i)]'>\n<option value='1999'>1999</option>\n<option value='2000'>2000</option>\n<option value='2001'>2001</option>\n<option value='2002'>2002</option>\n<option value='2003'>2003</option>\n<option selected='selected' value='2004'>2004</option>\n<option value='2005'>2005</option>\n<option value='2006'>2006</option>\n<option value='2007'>2007</option>\n<option value='2008'>2008</option>\n<option value='2009'>2009</option>\n</select>\n"
|
1241
|
+
expected << "<select id='post_#{id}_written_on_2i' name='post[#{id}][written_on(2i)]'>\n<option value='1'>January</option>\n<option value='2'>February</option>\n<option value='3'>March</option>\n<option value='4'>April</option>\n<option value='5'>May</option>\n<option selected='selected' value='6'>June</option>\n<option value='7'>July</option>\n<option value='8'>August</option>\n<option value='9'>September</option>\n<option value='10'>October</option>\n<option value='11'>November</option>\n<option value='12'>December</option>\n</select>\n"
|
1242
|
+
expected << "<select id='post_#{id}_written_on_3i' name='post[#{id}][written_on(3i)]'>\n<option value='1'>1</option>\n<option value='2'>2</option>\n<option value='3'>3</option>\n<option value='4'>4</option>\n<option value='5'>5</option>\n<option value='6'>6</option>\n<option value='7'>7</option>\n<option value='8'>8</option>\n<option value='9'>9</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option selected='selected' value='15'>15</option>\n<option value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n<option value='24'>24</option>\n<option value='25'>25</option>\n<option value='26'>26</option>\n<option value='27'>27</option>\n<option value='28'>28</option>\n<option value='29'>29</option>\n<option value='30'>30</option>\n<option value='31'>31</option>\n</select>\n"
|
1243
|
+
|
1244
|
+
assert_dom_equal(expected, output_buffer)
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
def test_date_select_within_fields_for_with_blank_index
|
1248
|
+
@post = Post.new
|
1249
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1250
|
+
id = nil
|
1251
|
+
|
1252
|
+
fields_for :post, @post, :index => id do |f|
|
1253
|
+
concat f.date_select(:written_on)
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
expected = "<select id='post_#{id}_written_on_1i' name='post[#{id}][written_on(1i)]'>\n<option value='1999'>1999</option>\n<option value='2000'>2000</option>\n<option value='2001'>2001</option>\n<option value='2002'>2002</option>\n<option value='2003'>2003</option>\n<option selected='selected' value='2004'>2004</option>\n<option value='2005'>2005</option>\n<option value='2006'>2006</option>\n<option value='2007'>2007</option>\n<option value='2008'>2008</option>\n<option value='2009'>2009</option>\n</select>\n"
|
1257
|
+
expected << "<select id='post_#{id}_written_on_2i' name='post[#{id}][written_on(2i)]'>\n<option value='1'>January</option>\n<option value='2'>February</option>\n<option value='3'>March</option>\n<option value='4'>April</option>\n<option value='5'>May</option>\n<option selected='selected' value='6'>June</option>\n<option value='7'>July</option>\n<option value='8'>August</option>\n<option value='9'>September</option>\n<option value='10'>October</option>\n<option value='11'>November</option>\n<option value='12'>December</option>\n</select>\n"
|
1258
|
+
expected << "<select id='post_#{id}_written_on_3i' name='post[#{id}][written_on(3i)]'>\n<option value='1'>1</option>\n<option value='2'>2</option>\n<option value='3'>3</option>\n<option value='4'>4</option>\n<option value='5'>5</option>\n<option value='6'>6</option>\n<option value='7'>7</option>\n<option value='8'>8</option>\n<option value='9'>9</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option selected='selected' value='15'>15</option>\n<option value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n<option value='24'>24</option>\n<option value='25'>25</option>\n<option value='26'>26</option>\n<option value='27'>27</option>\n<option value='28'>28</option>\n<option value='29'>29</option>\n<option value='30'>30</option>\n<option value='31'>31</option>\n</select>\n"
|
1259
|
+
|
1260
|
+
assert_dom_equal(expected, output_buffer)
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
def test_date_select_with_index
|
1264
|
+
@post = Post.new
|
1265
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1266
|
+
id = 456
|
1267
|
+
|
1268
|
+
expected = %{<select id="post_456_written_on_1i" name="post[#{id}][written_on(1i)]">\n}
|
1269
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1270
|
+
expected << "</select>\n"
|
1271
|
+
|
1272
|
+
expected << %{<select id="post_456_written_on_2i" name="post[#{id}][written_on(2i)]">\n}
|
1273
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1274
|
+
expected << "</select>\n"
|
1275
|
+
|
1276
|
+
expected << %{<select id="post_456_written_on_3i" name="post[#{id}][written_on(3i)]">\n}
|
1277
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1278
|
+
expected << "</select>\n"
|
1279
|
+
|
1280
|
+
assert_dom_equal expected, date_select("post", "written_on", :index => id)
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
def test_date_select_with_auto_index
|
1284
|
+
@post = Post.new
|
1285
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1286
|
+
id = 123
|
1287
|
+
|
1288
|
+
expected = %{<select id="post_123_written_on_1i" name="post[#{id}][written_on(1i)]">\n}
|
1289
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1290
|
+
expected << "</select>\n"
|
1291
|
+
|
1292
|
+
expected << %{<select id="post_123_written_on_2i" name="post[#{id}][written_on(2i)]">\n}
|
1293
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1294
|
+
expected << "</select>\n"
|
1295
|
+
|
1296
|
+
expected << %{<select id="post_123_written_on_3i" name="post[#{id}][written_on(3i)]">\n}
|
1297
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1298
|
+
expected << "</select>\n"
|
1299
|
+
|
1300
|
+
assert_dom_equal expected, date_select("post[]", "written_on")
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
def test_date_select_with_different_order
|
1304
|
+
@post = Post.new
|
1305
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1306
|
+
|
1307
|
+
expected = %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1308
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 15}>#{i}</option>\n) }
|
1309
|
+
expected << "</select>\n"
|
1310
|
+
|
1311
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1312
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 6}>#{Date::MONTHNAMES[i]}</option>\n) }
|
1313
|
+
expected << "</select>\n"
|
1314
|
+
|
1315
|
+
expected << %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1316
|
+
1999.upto(2009) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 2004}>#{i}</option>\n) }
|
1317
|
+
expected << "</select>\n"
|
1318
|
+
|
1319
|
+
assert_dom_equal expected, date_select("post", "written_on", :order => [:day, :month, :year])
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
def test_date_select_with_nil
|
1323
|
+
@post = Post.new
|
1324
|
+
|
1325
|
+
start_year = Time.now.year-5
|
1326
|
+
end_year = Time.now.year+5
|
1327
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1328
|
+
start_year.upto(end_year) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == Time.now.year}>#{i}</option>\n) }
|
1329
|
+
expected << "</select>\n"
|
1330
|
+
|
1331
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1332
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == Time.now.month}>#{Date::MONTHNAMES[i]}</option>\n) }
|
1333
|
+
expected << "</select>\n"
|
1334
|
+
|
1335
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1336
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == Time.now.day}>#{i}</option>\n) }
|
1337
|
+
expected << "</select>\n"
|
1338
|
+
|
1339
|
+
assert_dom_equal expected, date_select("post", "written_on")
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
def test_date_select_with_nil_and_blank
|
1343
|
+
@post = Post.new
|
1344
|
+
|
1345
|
+
start_year = Time.now.year-5
|
1346
|
+
end_year = Time.now.year+5
|
1347
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1348
|
+
expected << "<option value=\"\"></option>\n"
|
1349
|
+
start_year.upto(end_year) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
1350
|
+
expected << "</select>\n"
|
1351
|
+
|
1352
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1353
|
+
expected << "<option value=\"\"></option>\n"
|
1354
|
+
1.upto(12) { |i| expected << %(<option value="#{i}">#{Date::MONTHNAMES[i]}</option>\n) }
|
1355
|
+
expected << "</select>\n"
|
1356
|
+
|
1357
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1358
|
+
expected << "<option value=\"\"></option>\n"
|
1359
|
+
1.upto(31) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
1360
|
+
expected << "</select>\n"
|
1361
|
+
|
1362
|
+
assert_dom_equal expected, date_select("post", "written_on", :include_blank => true)
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
def test_date_select_with_nil_and_blank_and_order
|
1366
|
+
@post = Post.new
|
1367
|
+
|
1368
|
+
start_year = Time.now.year-5
|
1369
|
+
end_year = Time.now.year+5
|
1370
|
+
|
1371
|
+
expected = '<input name="post[written_on(3i)]" type="hidden" id="post_written_on_3i"/>' + "\n"
|
1372
|
+
expected << %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1373
|
+
expected << "<option value=\"\"></option>\n"
|
1374
|
+
start_year.upto(end_year) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
1375
|
+
expected << "</select>\n"
|
1376
|
+
|
1377
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1378
|
+
expected << "<option value=\"\"></option>\n"
|
1379
|
+
1.upto(12) { |i| expected << %(<option value="#{i}">#{Date::MONTHNAMES[i]}</option>\n) }
|
1380
|
+
expected << "</select>\n"
|
1381
|
+
|
1382
|
+
assert_dom_equal expected, date_select("post", "written_on", :order=>[:year, :month], :include_blank=>true)
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
def test_date_select_with_nil_and_blank_and_order
|
1386
|
+
@post = Post.new
|
1387
|
+
|
1388
|
+
start_year = Time.now.year-5
|
1389
|
+
end_year = Time.now.year+5
|
1390
|
+
|
1391
|
+
expected = '<input name="post[written_on(3i)]" type="hidden" id="post_written_on_3i"/>' + "\n"
|
1392
|
+
expected << %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1393
|
+
expected << "<option value=\"\"></option>\n"
|
1394
|
+
start_year.upto(end_year) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
1395
|
+
expected << "</select>\n"
|
1396
|
+
|
1397
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1398
|
+
expected << "<option value=\"\"></option>\n"
|
1399
|
+
1.upto(12) { |i| expected << %(<option value="#{i}">#{Date::MONTHNAMES[i]}</option>\n) }
|
1400
|
+
expected << "</select>\n"
|
1401
|
+
|
1402
|
+
assert_dom_equal expected, date_select("post", "written_on", :order=>[:year, :month], :include_blank=>true)
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
def test_date_select_cant_override_discard_hour
|
1406
|
+
@post = Post.new
|
1407
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1408
|
+
|
1409
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1410
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1411
|
+
expected << "</select>\n"
|
1412
|
+
|
1413
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1414
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1415
|
+
expected << "</select>\n"
|
1416
|
+
|
1417
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1418
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1419
|
+
expected << "</select>\n"
|
1420
|
+
|
1421
|
+
assert_dom_equal expected, date_select("post", "written_on", :discard_hour => false)
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def test_date_select_with_html_options
|
1425
|
+
@post = Post.new
|
1426
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1427
|
+
|
1428
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]" class="selector">\n}
|
1429
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1430
|
+
expected << "</select>\n"
|
1431
|
+
|
1432
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]" class="selector">\n}
|
1433
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1434
|
+
expected << "</select>\n"
|
1435
|
+
|
1436
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]" class="selector">\n}
|
1437
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1438
|
+
|
1439
|
+
expected << "</select>\n"
|
1440
|
+
|
1441
|
+
assert_dom_equal expected, date_select("post", "written_on", {}, :class => 'selector')
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
def test_date_select_with_html_options_within_fields_for
|
1445
|
+
@post = Post.new
|
1446
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1447
|
+
|
1448
|
+
fields_for :post, @post do |f|
|
1449
|
+
concat f.date_select(:written_on, {}, :class => 'selector')
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]" class="selector">\n}
|
1453
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1454
|
+
expected << "</select>\n"
|
1455
|
+
|
1456
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]" class="selector">\n}
|
1457
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1458
|
+
expected << "</select>\n"
|
1459
|
+
|
1460
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]" class="selector">\n}
|
1461
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1462
|
+
|
1463
|
+
expected << "</select>\n"
|
1464
|
+
|
1465
|
+
assert_dom_equal expected, output_buffer
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
def test_date_select_with_separator
|
1469
|
+
@post = Post.new
|
1470
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1471
|
+
|
1472
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1473
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1474
|
+
expected << "</select>\n"
|
1475
|
+
|
1476
|
+
expected << " / "
|
1477
|
+
|
1478
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1479
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1480
|
+
expected << "</select>\n"
|
1481
|
+
|
1482
|
+
expected << " / "
|
1483
|
+
|
1484
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1485
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1486
|
+
|
1487
|
+
expected << "</select>\n"
|
1488
|
+
|
1489
|
+
assert_dom_equal expected, date_select("post", "written_on", { :date_separator => " / " })
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
def test_date_select_with_default_prompt
|
1493
|
+
@post = Post.new
|
1494
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1495
|
+
|
1496
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1497
|
+
expected << %{<option value="">Year</option>\n<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1498
|
+
expected << "</select>\n"
|
1499
|
+
|
1500
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1501
|
+
expected << %{<option value="">Month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1502
|
+
expected << "</select>\n"
|
1503
|
+
|
1504
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1505
|
+
expected << %{<option value="">Day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1506
|
+
|
1507
|
+
expected << "</select>\n"
|
1508
|
+
|
1509
|
+
assert_dom_equal expected, date_select("post", "written_on", :prompt => true)
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
def test_date_select_with_custom_prompt
|
1513
|
+
@post = Post.new
|
1514
|
+
@post.written_on = Date.new(2004, 6, 15)
|
1515
|
+
|
1516
|
+
expected = %{<select id="post_written_on_1i" name="post[written_on(1i)]">\n}
|
1517
|
+
expected << %{<option value="">Choose year</option>\n<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1518
|
+
expected << "</select>\n"
|
1519
|
+
|
1520
|
+
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
1521
|
+
expected << %{<option value="">Choose month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1522
|
+
expected << "</select>\n"
|
1523
|
+
|
1524
|
+
expected << %{<select id="post_written_on_3i" name="post[written_on(3i)]">\n}
|
1525
|
+
expected << %{<option value="">Choose day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1526
|
+
|
1527
|
+
expected << "</select>\n"
|
1528
|
+
|
1529
|
+
assert_dom_equal expected, date_select("post", "written_on", :prompt => {:year => 'Choose year', :month => 'Choose month', :day => 'Choose day'})
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
def test_time_select
|
1533
|
+
@post = Post.new
|
1534
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1535
|
+
|
1536
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1537
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1538
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1539
|
+
|
1540
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1541
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1542
|
+
expected << "</select>\n"
|
1543
|
+
expected << " : "
|
1544
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1545
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1546
|
+
expected << "</select>\n"
|
1547
|
+
|
1548
|
+
assert_dom_equal expected, time_select("post", "written_on")
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
def test_time_select_without_date_hidden_fields
|
1552
|
+
@post = Post.new
|
1553
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1554
|
+
|
1555
|
+
expected = %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1556
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1557
|
+
expected << "</select>\n"
|
1558
|
+
expected << " : "
|
1559
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1560
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1561
|
+
expected << "</select>\n"
|
1562
|
+
|
1563
|
+
assert_dom_equal expected, time_select("post", "written_on", :ignore_date => true)
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
def test_time_select_with_seconds
|
1567
|
+
@post = Post.new
|
1568
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1569
|
+
|
1570
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1571
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1572
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1573
|
+
|
1574
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1575
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1576
|
+
expected << "</select>\n"
|
1577
|
+
expected << " : "
|
1578
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1579
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1580
|
+
expected << "</select>\n"
|
1581
|
+
expected << " : "
|
1582
|
+
expected << %(<select id="post_written_on_6i" name="post[written_on(6i)]">\n)
|
1583
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 35}>#{sprintf("%02d", i)}</option>\n) }
|
1584
|
+
expected << "</select>\n"
|
1585
|
+
|
1586
|
+
assert_dom_equal expected, time_select("post", "written_on", :include_seconds => true)
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
def test_time_select_with_html_options
|
1590
|
+
@post = Post.new
|
1591
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1592
|
+
|
1593
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1594
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1595
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1596
|
+
|
1597
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]" class="selector">\n)
|
1598
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1599
|
+
expected << "</select>\n"
|
1600
|
+
expected << " : "
|
1601
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]" class="selector">\n)
|
1602
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1603
|
+
expected << "</select>\n"
|
1604
|
+
|
1605
|
+
assert_dom_equal expected, time_select("post", "written_on", {}, :class => 'selector')
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
def test_time_select_with_html_options_within_fields_for
|
1609
|
+
@post = Post.new
|
1610
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1611
|
+
|
1612
|
+
fields_for :post, @post do |f|
|
1613
|
+
concat f.time_select(:written_on, {}, :class => 'selector')
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1617
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1618
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1619
|
+
|
1620
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]" class="selector">\n)
|
1621
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1622
|
+
expected << "</select>\n"
|
1623
|
+
expected << " : "
|
1624
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]" class="selector">\n)
|
1625
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1626
|
+
expected << "</select>\n"
|
1627
|
+
|
1628
|
+
assert_dom_equal expected, output_buffer
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
def test_time_select_with_separator
|
1632
|
+
@post = Post.new
|
1633
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1634
|
+
|
1635
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1636
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1637
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1638
|
+
|
1639
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1640
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1641
|
+
expected << "</select>\n"
|
1642
|
+
|
1643
|
+
expected << " - "
|
1644
|
+
|
1645
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1646
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1647
|
+
expected << "</select>\n"
|
1648
|
+
|
1649
|
+
expected << " - "
|
1650
|
+
|
1651
|
+
expected << %(<select id="post_written_on_6i" name="post[written_on(6i)]">\n)
|
1652
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 35}>#{sprintf("%02d", i)}</option>\n) }
|
1653
|
+
expected << "</select>\n"
|
1654
|
+
|
1655
|
+
assert_dom_equal expected, time_select("post", "written_on", { :time_separator => " - ", :include_seconds => true })
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
def test_time_select_with_default_prompt
|
1659
|
+
@post = Post.new
|
1660
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1661
|
+
|
1662
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1663
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1664
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1665
|
+
|
1666
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1667
|
+
expected << %(<option value="">Hour</option>\n)
|
1668
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1669
|
+
expected << "</select>\n"
|
1670
|
+
expected << " : "
|
1671
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1672
|
+
expected << %(<option value="">Minute</option>\n)
|
1673
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1674
|
+
expected << "</select>\n"
|
1675
|
+
|
1676
|
+
assert_dom_equal expected, time_select("post", "written_on", :prompt => true)
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
def test_time_select_with_custom_prompt
|
1680
|
+
@post = Post.new
|
1681
|
+
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
|
1682
|
+
|
1683
|
+
expected = %{<input type="hidden" id="post_written_on_1i" name="post[written_on(1i)]" value="2004" />\n}
|
1684
|
+
expected << %{<input type="hidden" id="post_written_on_2i" name="post[written_on(2i)]" value="6" />\n}
|
1685
|
+
expected << %{<input type="hidden" id="post_written_on_3i" name="post[written_on(3i)]" value="15" />\n}
|
1686
|
+
|
1687
|
+
expected << %(<select id="post_written_on_4i" name="post[written_on(4i)]">\n)
|
1688
|
+
expected << %(<option value="">Choose hour</option>\n)
|
1689
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1690
|
+
expected << "</select>\n"
|
1691
|
+
expected << " : "
|
1692
|
+
expected << %(<select id="post_written_on_5i" name="post[written_on(5i)]">\n)
|
1693
|
+
expected << %(<option value="">Choose minute</option>\n)
|
1694
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1695
|
+
expected << "</select>\n"
|
1696
|
+
|
1697
|
+
assert_dom_equal expected, time_select("post", "written_on", :prompt => {:hour => 'Choose hour', :minute => 'Choose minute'})
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
def test_datetime_select
|
1701
|
+
@post = Post.new
|
1702
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
1703
|
+
|
1704
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
1705
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1706
|
+
expected << "</select>\n"
|
1707
|
+
|
1708
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
1709
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1710
|
+
expected << "</select>\n"
|
1711
|
+
|
1712
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
1713
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1714
|
+
expected << "</select>\n"
|
1715
|
+
|
1716
|
+
expected << " — "
|
1717
|
+
|
1718
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
1719
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
1720
|
+
expected << "</select>\n"
|
1721
|
+
expected << " : "
|
1722
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
1723
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
1724
|
+
expected << "</select>\n"
|
1725
|
+
|
1726
|
+
assert_dom_equal expected, datetime_select("post", "updated_at")
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
def test_datetime_select_defaults_to_time_zone_now_when_config_time_zone_is_set
|
1730
|
+
time = stub(:year => 2004, :month => 6, :day => 15, :hour => 16, :min => 35, :sec => 0)
|
1731
|
+
time_zone = mock()
|
1732
|
+
time_zone.expects(:now).returns time
|
1733
|
+
Time.zone_default = time_zone
|
1734
|
+
@post = Post.new
|
1735
|
+
|
1736
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
1737
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1738
|
+
expected << "</select>\n"
|
1739
|
+
|
1740
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
1741
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1742
|
+
expected << "</select>\n"
|
1743
|
+
|
1744
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
1745
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1746
|
+
expected << "</select>\n"
|
1747
|
+
|
1748
|
+
expected << " — "
|
1749
|
+
|
1750
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
1751
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
1752
|
+
expected << "</select>\n"
|
1753
|
+
expected << " : "
|
1754
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
1755
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
1756
|
+
expected << "</select>\n"
|
1757
|
+
|
1758
|
+
assert_dom_equal expected, datetime_select("post", "updated_at")
|
1759
|
+
ensure
|
1760
|
+
Time.zone_default = nil
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
def test_datetime_select_with_html_options_within_fields_for
|
1764
|
+
@post = Post.new
|
1765
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
1766
|
+
|
1767
|
+
fields_for :post, @post do |f|
|
1768
|
+
concat f.datetime_select(:updated_at, {}, :class => 'selector')
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
expected = "<select id='post_updated_at_1i' name='post[updated_at(1i)]' class='selector'>\n<option value='1999'>1999</option>\n<option value='2000'>2000</option>\n<option value='2001'>2001</option>\n<option value='2002'>2002</option>\n<option value='2003'>2003</option>\n<option selected='selected' value='2004'>2004</option>\n<option value='2005'>2005</option>\n<option value='2006'>2006</option>\n<option value='2007'>2007</option>\n<option value='2008'>2008</option>\n<option value='2009'>2009</option>\n</select>\n"
|
1772
|
+
expected << "<select id='post_updated_at_2i' name='post[updated_at(2i)]' class='selector'>\n<option value='1'>January</option>\n<option value='2'>February</option>\n<option value='3'>March</option>\n<option value='4'>April</option>\n<option value='5'>May</option>\n<option selected='selected' value='6'>June</option>\n<option value='7'>July</option>\n<option value='8'>August</option>\n<option value='9'>September</option>\n<option value='10'>October</option>\n<option value='11'>November</option>\n<option value='12'>December</option>\n</select>\n"
|
1773
|
+
expected << "<select id='post_updated_at_3i' name='post[updated_at(3i)]' class='selector'>\n<option value='1'>1</option>\n<option value='2'>2</option>\n<option value='3'>3</option>\n<option value='4'>4</option>\n<option value='5'>5</option>\n<option value='6'>6</option>\n<option value='7'>7</option>\n<option value='8'>8</option>\n<option value='9'>9</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option selected='selected' value='15'>15</option>\n<option value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n<option value='24'>24</option>\n<option value='25'>25</option>\n<option value='26'>26</option>\n<option value='27'>27</option>\n<option value='28'>28</option>\n<option value='29'>29</option>\n<option value='30'>30</option>\n<option value='31'>31</option>\n</select>\n"
|
1774
|
+
expected << " — <select id='post_updated_at_4i' name='post[updated_at(4i)]' class='selector'>\n<option value='00'>00</option>\n<option value='01'>01</option>\n<option value='02'>02</option>\n<option value='03'>03</option>\n<option value='04'>04</option>\n<option value='05'>05</option>\n<option value='06'>06</option>\n<option value='07'>07</option>\n<option value='08'>08</option>\n<option value='09'>09</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option value='15'>15</option>\n<option selected='selected' value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n</select>\n"
|
1775
|
+
expected << " : <select id='post_updated_at_5i' name='post[updated_at(5i)]' class='selector'>\n<option value='00'>00</option>\n<option value='01'>01</option>\n<option value='02'>02</option>\n<option value='03'>03</option>\n<option value='04'>04</option>\n<option value='05'>05</option>\n<option value='06'>06</option>\n<option value='07'>07</option>\n<option value='08'>08</option>\n<option value='09'>09</option>\n<option value='10'>10</option>\n<option value='11'>11</option>\n<option value='12'>12</option>\n<option value='13'>13</option>\n<option value='14'>14</option>\n<option value='15'>15</option>\n<option value='16'>16</option>\n<option value='17'>17</option>\n<option value='18'>18</option>\n<option value='19'>19</option>\n<option value='20'>20</option>\n<option value='21'>21</option>\n<option value='22'>22</option>\n<option value='23'>23</option>\n<option value='24'>24</option>\n<option value='25'>25</option>\n<option value='26'>26</option>\n<option value='27'>27</option>\n<option value='28'>28</option>\n<option value='29'>29</option>\n<option value='30'>30</option>\n<option value='31'>31</option>\n<option value='32'>32</option>\n<option value='33'>33</option>\n<option value='34'>34</option>\n<option selected='selected' value='35'>35</option>\n<option value='36'>36</option>\n<option value='37'>37</option>\n<option value='38'>38</option>\n<option value='39'>39</option>\n<option value='40'>40</option>\n<option value='41'>41</option>\n<option value='42'>42</option>\n<option value='43'>43</option>\n<option value='44'>44</option>\n<option value='45'>45</option>\n<option value='46'>46</option>\n<option value='47'>47</option>\n<option value='48'>48</option>\n<option value='49'>49</option>\n<option value='50'>50</option>\n<option value='51'>51</option>\n<option value='52'>52</option>\n<option value='53'>53</option>\n<option value='54'>54</option>\n<option value='55'>55</option>\n<option value='56'>56</option>\n<option value='57'>57</option>\n<option value='58'>58</option>\n<option value='59'>59</option>\n</select>\n"
|
1776
|
+
|
1777
|
+
assert_dom_equal expected, output_buffer
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
def test_datetime_select_with_separators
|
1781
|
+
@post = Post.new
|
1782
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
1783
|
+
|
1784
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
1785
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1786
|
+
expected << "</select>\n"
|
1787
|
+
|
1788
|
+
expected << " / "
|
1789
|
+
|
1790
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
1791
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1792
|
+
expected << "</select>\n"
|
1793
|
+
|
1794
|
+
expected << " / "
|
1795
|
+
|
1796
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
1797
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1798
|
+
expected << "</select>\n"
|
1799
|
+
|
1800
|
+
expected << " , "
|
1801
|
+
|
1802
|
+
expected << %(<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n)
|
1803
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
1804
|
+
expected << "</select>\n"
|
1805
|
+
|
1806
|
+
expected << " - "
|
1807
|
+
|
1808
|
+
expected << %(<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n)
|
1809
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
1810
|
+
expected << "</select>\n"
|
1811
|
+
|
1812
|
+
expected << " - "
|
1813
|
+
|
1814
|
+
expected << %(<select id="post_updated_at_6i" name="post[updated_at(6i)]">\n)
|
1815
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 35}>#{sprintf("%02d", i)}</option>\n) }
|
1816
|
+
expected << "</select>\n"
|
1817
|
+
|
1818
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", { :date_separator => " / ", :datetime_separator => " , ", :time_separator => " - ", :include_seconds => true })
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
def test_datetime_select_with_default_prompt
|
1822
|
+
@post = Post.new
|
1823
|
+
@post.updated_at = nil
|
1824
|
+
|
1825
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
1826
|
+
expected << %{<option value="">Year</option>\n<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1827
|
+
expected << "</select>\n"
|
1828
|
+
|
1829
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
1830
|
+
expected << %{<option value="">Month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1831
|
+
expected << "</select>\n"
|
1832
|
+
|
1833
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
1834
|
+
expected << %{<option value="">Day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1835
|
+
expected << "</select>\n"
|
1836
|
+
|
1837
|
+
expected << " — "
|
1838
|
+
|
1839
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
1840
|
+
expected << %{<option value="">Hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
1841
|
+
expected << "</select>\n"
|
1842
|
+
expected << " : "
|
1843
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
1844
|
+
expected << %{<option value="">Minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
1845
|
+
expected << "</select>\n"
|
1846
|
+
|
1847
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :start_year=>1999, :end_year=>2009, :prompt => true)
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
def test_datetime_select_with_custom_prompt
|
1851
|
+
@post = Post.new
|
1852
|
+
@post.updated_at = nil
|
1853
|
+
|
1854
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
1855
|
+
expected << %{<option value="">Choose year</option>\n<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1856
|
+
expected << "</select>\n"
|
1857
|
+
|
1858
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
1859
|
+
expected << %{<option value="">Choose month</option>\n<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1860
|
+
expected << "</select>\n"
|
1861
|
+
|
1862
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
1863
|
+
expected << %{<option value="">Choose day</option>\n<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1864
|
+
expected << "</select>\n"
|
1865
|
+
|
1866
|
+
expected << " — "
|
1867
|
+
|
1868
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
1869
|
+
expected << %{<option value="">Choose hour</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
1870
|
+
expected << "</select>\n"
|
1871
|
+
expected << " : "
|
1872
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
1873
|
+
expected << %{<option value="">Choose minute</option>\n<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
1874
|
+
expected << "</select>\n"
|
1875
|
+
|
1876
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :start_year=>1999, :end_year=>2009, :prompt => {:year => 'Choose year', :month => 'Choose month', :day => 'Choose day', :hour => 'Choose hour', :minute => 'Choose minute'})
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
def test_date_select_with_zero_value_and_no_start_year
|
1880
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1881
|
+
(Date.today.year-5).upto(Date.today.year+1) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
1882
|
+
expected << "</select>\n"
|
1883
|
+
|
1884
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1885
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1886
|
+
expected << "</select>\n"
|
1887
|
+
|
1888
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1889
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1890
|
+
expected << "</select>\n"
|
1891
|
+
|
1892
|
+
assert_dom_equal expected, select_date(0, :end_year => Date.today.year+1, :prefix => "date[first]")
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
def test_date_select_with_zero_value_and_no_end_year
|
1896
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1897
|
+
last_year = Time.now.year + 5
|
1898
|
+
2003.upto(last_year) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
1899
|
+
expected << "</select>\n"
|
1900
|
+
|
1901
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1902
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1903
|
+
expected << "</select>\n"
|
1904
|
+
|
1905
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1906
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1907
|
+
expected << "</select>\n"
|
1908
|
+
|
1909
|
+
assert_dom_equal expected, select_date(0, :start_year => 2003, :prefix => "date[first]")
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
def test_date_select_with_zero_value_and_no_start_and_end_year
|
1913
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1914
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
1915
|
+
expected << "</select>\n"
|
1916
|
+
|
1917
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1918
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1919
|
+
expected << "</select>\n"
|
1920
|
+
|
1921
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1922
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1923
|
+
expected << "</select>\n"
|
1924
|
+
|
1925
|
+
assert_dom_equal expected, select_date(0, :prefix => "date[first]")
|
1926
|
+
end
|
1927
|
+
|
1928
|
+
def test_date_select_with_nil_value_and_no_start_and_end_year
|
1929
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1930
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
1931
|
+
expected << "</select>\n"
|
1932
|
+
|
1933
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1934
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1935
|
+
expected << "</select>\n"
|
1936
|
+
|
1937
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1938
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1939
|
+
expected << "</select>\n"
|
1940
|
+
|
1941
|
+
assert_dom_equal expected, select_date(nil, :prefix => "date[first]")
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
def test_datetime_select_with_nil_value_and_no_start_and_end_year
|
1945
|
+
expected = %(<select id="date_first_year" name="date[first][year]">\n)
|
1946
|
+
(Date.today.year-5).upto(Date.today.year+5) { |y| expected << %(<option value="#{y}">#{y}</option>\n) }
|
1947
|
+
expected << "</select>\n"
|
1948
|
+
|
1949
|
+
expected << %(<select id="date_first_month" name="date[first][month]">\n)
|
1950
|
+
expected << %(<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n)
|
1951
|
+
expected << "</select>\n"
|
1952
|
+
|
1953
|
+
expected << %(<select id="date_first_day" name="date[first][day]">\n)
|
1954
|
+
expected << %(<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n)
|
1955
|
+
expected << "</select>\n"
|
1956
|
+
|
1957
|
+
expected << %(<select id="date_first_hour" name="date[first][hour]">\n)
|
1958
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n)
|
1959
|
+
expected << "</select>\n"
|
1960
|
+
|
1961
|
+
expected << %(<select id="date_first_minute" name="date[first][minute]">\n)
|
1962
|
+
expected << %(<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n)
|
1963
|
+
expected << "</select>\n"
|
1964
|
+
|
1965
|
+
assert_dom_equal expected, select_datetime(nil, :prefix => "date[first]")
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
def test_datetime_select_with_options_index
|
1969
|
+
@post = Post.new
|
1970
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
1971
|
+
id = 456
|
1972
|
+
|
1973
|
+
expected = %{<select id="post_456_updated_at_1i" name="post[#{id}][updated_at(1i)]">\n}
|
1974
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
1975
|
+
expected << "</select>\n"
|
1976
|
+
|
1977
|
+
expected << %{<select id="post_456_updated_at_2i" name="post[#{id}][updated_at(2i)]">\n}
|
1978
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
1979
|
+
expected << "</select>\n"
|
1980
|
+
|
1981
|
+
expected << %{<select id="post_456_updated_at_3i" name="post[#{id}][updated_at(3i)]">\n}
|
1982
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
1983
|
+
expected << "</select>\n"
|
1984
|
+
|
1985
|
+
expected << " — "
|
1986
|
+
|
1987
|
+
expected << %{<select id="post_456_updated_at_4i" name="post[#{id}][updated_at(4i)]">\n}
|
1988
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
1989
|
+
expected << "</select>\n"
|
1990
|
+
expected << " : "
|
1991
|
+
expected << %{<select id="post_456_updated_at_5i" name="post[#{id}][updated_at(5i)]">\n}
|
1992
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
1993
|
+
expected << "</select>\n"
|
1994
|
+
|
1995
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :index => id)
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
def test_datetime_select_within_fields_for_with_options_index
|
1999
|
+
@post = Post.new
|
2000
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
2001
|
+
id = 456
|
2002
|
+
|
2003
|
+
fields_for :post, @post, :index => id do |f|
|
2004
|
+
concat f.datetime_select(:updated_at)
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
expected = %{<select id="post_456_updated_at_1i" name="post[#{id}][updated_at(1i)]">\n}
|
2008
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
2009
|
+
expected << "</select>\n"
|
2010
|
+
|
2011
|
+
expected << %{<select id="post_456_updated_at_2i" name="post[#{id}][updated_at(2i)]">\n}
|
2012
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
2013
|
+
expected << "</select>\n"
|
2014
|
+
|
2015
|
+
expected << %{<select id="post_456_updated_at_3i" name="post[#{id}][updated_at(3i)]">\n}
|
2016
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
2017
|
+
expected << "</select>\n"
|
2018
|
+
|
2019
|
+
expected << " — "
|
2020
|
+
|
2021
|
+
expected << %{<select id="post_456_updated_at_4i" name="post[#{id}][updated_at(4i)]">\n}
|
2022
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
2023
|
+
expected << "</select>\n"
|
2024
|
+
expected << " : "
|
2025
|
+
expected << %{<select id="post_456_updated_at_5i" name="post[#{id}][updated_at(5i)]">\n}
|
2026
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
2027
|
+
expected << "</select>\n"
|
2028
|
+
|
2029
|
+
assert_dom_equal expected, output_buffer
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
def test_datetime_select_with_auto_index
|
2033
|
+
@post = Post.new
|
2034
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
2035
|
+
id = @post.id
|
2036
|
+
|
2037
|
+
expected = %{<select id="post_123_updated_at_1i" name="post[#{id}][updated_at(1i)]">\n}
|
2038
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
2039
|
+
expected << "</select>\n"
|
2040
|
+
|
2041
|
+
expected << %{<select id="post_123_updated_at_2i" name="post[#{id}][updated_at(2i)]">\n}
|
2042
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
2043
|
+
expected << "</select>\n"
|
2044
|
+
|
2045
|
+
expected << %{<select id="post_123_updated_at_3i" name="post[#{id}][updated_at(3i)]">\n}
|
2046
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
2047
|
+
expected << "</select>\n"
|
2048
|
+
|
2049
|
+
expected << " — "
|
2050
|
+
|
2051
|
+
expected << %{<select id="post_123_updated_at_4i" name="post[#{id}][updated_at(4i)]">\n}
|
2052
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
2053
|
+
expected << "</select>\n"
|
2054
|
+
expected << " : "
|
2055
|
+
expected << %{<select id="post_123_updated_at_5i" name="post[#{id}][updated_at(5i)]">\n}
|
2056
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
2057
|
+
expected << "</select>\n"
|
2058
|
+
|
2059
|
+
assert_dom_equal expected, datetime_select("post[]", "updated_at")
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
def test_datetime_select_with_seconds
|
2063
|
+
@post = Post.new
|
2064
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2065
|
+
|
2066
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2067
|
+
1999.upto(2009) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 2004}>#{i}</option>\n) }
|
2068
|
+
expected << "</select>\n"
|
2069
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2070
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 6}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2071
|
+
expected << "</select>\n"
|
2072
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2073
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 15}>#{i}</option>\n) }
|
2074
|
+
expected << "</select>\n"
|
2075
|
+
|
2076
|
+
expected << " — "
|
2077
|
+
|
2078
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2079
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2080
|
+
expected << "</select>\n"
|
2081
|
+
expected << " : "
|
2082
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2083
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2084
|
+
expected << "</select>\n"
|
2085
|
+
expected << " : "
|
2086
|
+
expected << %{<select id="post_updated_at_6i" name="post[updated_at(6i)]">\n}
|
2087
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 35}>#{sprintf("%02d", i)}</option>\n) }
|
2088
|
+
expected << "</select>\n"
|
2089
|
+
|
2090
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :include_seconds => true)
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
def test_datetime_select_discard_year
|
2094
|
+
@post = Post.new
|
2095
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2096
|
+
|
2097
|
+
expected = %{<input type="hidden" id="post_updated_at_1i" name="post[updated_at(1i)]" value="2004" />\n}
|
2098
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2099
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 6}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2100
|
+
expected << "</select>\n"
|
2101
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2102
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 15}>#{i}</option>\n) }
|
2103
|
+
expected << "</select>\n"
|
2104
|
+
|
2105
|
+
expected << " — "
|
2106
|
+
|
2107
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2108
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2109
|
+
expected << "</select>\n"
|
2110
|
+
expected << " : "
|
2111
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2112
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2113
|
+
expected << "</select>\n"
|
2114
|
+
|
2115
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :discard_year => true)
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
def test_datetime_select_discard_month
|
2119
|
+
@post = Post.new
|
2120
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2121
|
+
|
2122
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2123
|
+
1999.upto(2009) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 2004}>#{i}</option>\n) }
|
2124
|
+
expected << "</select>\n"
|
2125
|
+
expected << %{<input type="hidden" id="post_updated_at_2i" name="post[updated_at(2i)]" value="6" />\n}
|
2126
|
+
expected << %{<input type="hidden" id="post_updated_at_3i" name="post[updated_at(3i)]" value="15" />\n}
|
2127
|
+
|
2128
|
+
expected << " — "
|
2129
|
+
|
2130
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2131
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2132
|
+
expected << "</select>\n"
|
2133
|
+
expected << " : "
|
2134
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2135
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2136
|
+
expected << "</select>\n"
|
2137
|
+
|
2138
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :discard_month => true)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
def test_datetime_select_discard_year_and_month
|
2142
|
+
@post = Post.new
|
2143
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2144
|
+
|
2145
|
+
expected = %{<input type="hidden" id="post_updated_at_1i" name="post[updated_at(1i)]" value="2004" />\n}
|
2146
|
+
expected << %{<input type="hidden" id="post_updated_at_2i" name="post[updated_at(2i)]" value="6" />\n}
|
2147
|
+
expected << %{<input type="hidden" id="post_updated_at_3i" name="post[updated_at(3i)]" value="15" />\n}
|
2148
|
+
|
2149
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2150
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2151
|
+
expected << "</select>\n"
|
2152
|
+
expected << " : "
|
2153
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2154
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2155
|
+
expected << "</select>\n"
|
2156
|
+
|
2157
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :discard_year => true, :discard_month => true)
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
def test_datetime_select_invalid_order
|
2161
|
+
@post = Post.new
|
2162
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2163
|
+
|
2164
|
+
expected = %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2165
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 15}>#{i}</option>\n) }
|
2166
|
+
expected << "</select>\n"
|
2167
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2168
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 6}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2169
|
+
expected << "</select>\n"
|
2170
|
+
expected << %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2171
|
+
1999.upto(2009) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 2004}>#{i}</option>\n) }
|
2172
|
+
expected << "</select>\n"
|
2173
|
+
|
2174
|
+
expected << " — "
|
2175
|
+
|
2176
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2177
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2178
|
+
expected << "</select>\n"
|
2179
|
+
expected << " : "
|
2180
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2181
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2182
|
+
expected << "</select>\n"
|
2183
|
+
|
2184
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :order => [:minute, :day, :hour, :month, :year, :second])
|
2185
|
+
end
|
2186
|
+
|
2187
|
+
def test_datetime_select_discard_with_order
|
2188
|
+
@post = Post.new
|
2189
|
+
@post.updated_at = Time.local(2004, 6, 15, 15, 16, 35)
|
2190
|
+
|
2191
|
+
expected = %{<input type="hidden" id="post_updated_at_1i" name="post[updated_at(1i)]" value="2004" />\n}
|
2192
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2193
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 15}>#{i}</option>\n) }
|
2194
|
+
expected << "</select>\n"
|
2195
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2196
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 6}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2197
|
+
expected << "</select>\n"
|
2198
|
+
|
2199
|
+
expected << " — "
|
2200
|
+
|
2201
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2202
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2203
|
+
expected << "</select>\n"
|
2204
|
+
expected << " : "
|
2205
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2206
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2207
|
+
expected << "</select>\n"
|
2208
|
+
|
2209
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :order => [:day, :month])
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
def test_datetime_select_with_default_value_as_time
|
2213
|
+
@post = Post.new
|
2214
|
+
@post.updated_at = nil
|
2215
|
+
|
2216
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2217
|
+
2001.upto(2011) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 2006}>#{i}</option>\n) }
|
2218
|
+
expected << "</select>\n"
|
2219
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2220
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 9}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2221
|
+
expected << "</select>\n"
|
2222
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2223
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 19}>#{i}</option>\n) }
|
2224
|
+
expected << "</select>\n"
|
2225
|
+
|
2226
|
+
expected << " — "
|
2227
|
+
|
2228
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2229
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 15}>#{sprintf("%02d", i)}</option>\n) }
|
2230
|
+
expected << "</select>\n"
|
2231
|
+
expected << " : "
|
2232
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2233
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 16}>#{sprintf("%02d", i)}</option>\n) }
|
2234
|
+
expected << "</select>\n"
|
2235
|
+
|
2236
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :default => Time.local(2006, 9, 19, 15, 16, 35))
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
def test_include_blank_overrides_default_option
|
2240
|
+
@post = Post.new
|
2241
|
+
@post.updated_at = nil
|
2242
|
+
|
2243
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2244
|
+
expected << %(<option value=""></option>\n)
|
2245
|
+
(Time.now.year - 5).upto(Time.now.year + 5) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
2246
|
+
expected << "</select>\n"
|
2247
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2248
|
+
expected << %(<option value=""></option>\n)
|
2249
|
+
1.upto(12) { |i| expected << %(<option value="#{i}">#{Date::MONTHNAMES[i]}</option>\n) }
|
2250
|
+
expected << "</select>\n"
|
2251
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2252
|
+
expected << %(<option value=""></option>\n)
|
2253
|
+
1.upto(31) { |i| expected << %(<option value="#{i}">#{i}</option>\n) }
|
2254
|
+
expected << "</select>\n"
|
2255
|
+
|
2256
|
+
assert_dom_equal expected, date_select("post", "updated_at", :default => Time.local(2006, 9, 19, 15, 16, 35), :include_blank => true)
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
def test_datetime_select_with_default_value_as_hash
|
2260
|
+
@post = Post.new
|
2261
|
+
@post.updated_at = nil
|
2262
|
+
|
2263
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]">\n}
|
2264
|
+
(Time.now.year - 5).upto(Time.now.year + 5) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == Time.now.year}>#{i}</option>\n) }
|
2265
|
+
expected << "</select>\n"
|
2266
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]">\n}
|
2267
|
+
1.upto(12) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == 10}>#{Date::MONTHNAMES[i]}</option>\n) }
|
2268
|
+
expected << "</select>\n"
|
2269
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]">\n}
|
2270
|
+
1.upto(31) { |i| expected << %(<option value="#{i}"#{' selected="selected"' if i == Time.now.day}>#{i}</option>\n) }
|
2271
|
+
expected << "</select>\n"
|
2272
|
+
|
2273
|
+
expected << " — "
|
2274
|
+
|
2275
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]">\n}
|
2276
|
+
0.upto(23) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 9}>#{sprintf("%02d", i)}</option>\n) }
|
2277
|
+
expected << "</select>\n"
|
2278
|
+
expected << " : "
|
2279
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]">\n}
|
2280
|
+
0.upto(59) { |i| expected << %(<option value="#{sprintf("%02d", i)}"#{' selected="selected"' if i == 42}>#{sprintf("%02d", i)}</option>\n) }
|
2281
|
+
expected << "</select>\n"
|
2282
|
+
|
2283
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", :default => { :month => 10, :minute => 42, :hour => 9 })
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
def test_datetime_select_with_html_options
|
2287
|
+
@post = Post.new
|
2288
|
+
@post.updated_at = Time.local(2004, 6, 15, 16, 35)
|
2289
|
+
|
2290
|
+
expected = %{<select id="post_updated_at_1i" name="post[updated_at(1i)]" class="selector">\n}
|
2291
|
+
expected << %{<option value="1999">1999</option>\n<option value="2000">2000</option>\n<option value="2001">2001</option>\n<option value="2002">2002</option>\n<option value="2003">2003</option>\n<option value="2004" selected="selected">2004</option>\n<option value="2005">2005</option>\n<option value="2006">2006</option>\n<option value="2007">2007</option>\n<option value="2008">2008</option>\n<option value="2009">2009</option>\n}
|
2292
|
+
expected << "</select>\n"
|
2293
|
+
|
2294
|
+
expected << %{<select id="post_updated_at_2i" name="post[updated_at(2i)]" class="selector">\n}
|
2295
|
+
expected << %{<option value="1">January</option>\n<option value="2">February</option>\n<option value="3">March</option>\n<option value="4">April</option>\n<option value="5">May</option>\n<option value="6" selected="selected">June</option>\n<option value="7">July</option>\n<option value="8">August</option>\n<option value="9">September</option>\n<option value="10">October</option>\n<option value="11">November</option>\n<option value="12">December</option>\n}
|
2296
|
+
expected << "</select>\n"
|
2297
|
+
|
2298
|
+
expected << %{<select id="post_updated_at_3i" name="post[updated_at(3i)]" class="selector">\n}
|
2299
|
+
expected << %{<option value="1">1</option>\n<option value="2">2</option>\n<option value="3">3</option>\n<option value="4">4</option>\n<option value="5">5</option>\n<option value="6">6</option>\n<option value="7">7</option>\n<option value="8">8</option>\n<option value="9">9</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15" selected="selected">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n}
|
2300
|
+
expected << "</select>\n"
|
2301
|
+
|
2302
|
+
expected << " — "
|
2303
|
+
|
2304
|
+
expected << %{<select id="post_updated_at_4i" name="post[updated_at(4i)]" class="selector">\n}
|
2305
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16" selected="selected">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n}
|
2306
|
+
expected << "</select>\n"
|
2307
|
+
expected << " : "
|
2308
|
+
expected << %{<select id="post_updated_at_5i" name="post[updated_at(5i)]" class="selector">\n}
|
2309
|
+
expected << %{<option value="00">00</option>\n<option value="01">01</option>\n<option value="02">02</option>\n<option value="03">03</option>\n<option value="04">04</option>\n<option value="05">05</option>\n<option value="06">06</option>\n<option value="07">07</option>\n<option value="08">08</option>\n<option value="09">09</option>\n<option value="10">10</option>\n<option value="11">11</option>\n<option value="12">12</option>\n<option value="13">13</option>\n<option value="14">14</option>\n<option value="15">15</option>\n<option value="16">16</option>\n<option value="17">17</option>\n<option value="18">18</option>\n<option value="19">19</option>\n<option value="20">20</option>\n<option value="21">21</option>\n<option value="22">22</option>\n<option value="23">23</option>\n<option value="24">24</option>\n<option value="25">25</option>\n<option value="26">26</option>\n<option value="27">27</option>\n<option value="28">28</option>\n<option value="29">29</option>\n<option value="30">30</option>\n<option value="31">31</option>\n<option value="32">32</option>\n<option value="33">33</option>\n<option value="34">34</option>\n<option value="35" selected="selected">35</option>\n<option value="36">36</option>\n<option value="37">37</option>\n<option value="38">38</option>\n<option value="39">39</option>\n<option value="40">40</option>\n<option value="41">41</option>\n<option value="42">42</option>\n<option value="43">43</option>\n<option value="44">44</option>\n<option value="45">45</option>\n<option value="46">46</option>\n<option value="47">47</option>\n<option value="48">48</option>\n<option value="49">49</option>\n<option value="50">50</option>\n<option value="51">51</option>\n<option value="52">52</option>\n<option value="53">53</option>\n<option value="54">54</option>\n<option value="55">55</option>\n<option value="56">56</option>\n<option value="57">57</option>\n<option value="58">58</option>\n<option value="59">59</option>\n}
|
2310
|
+
expected << "</select>\n"
|
2311
|
+
|
2312
|
+
assert_dom_equal expected, datetime_select("post", "updated_at", {}, :class => 'selector')
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
def test_date_select_should_not_change_passed_options_hash
|
2316
|
+
@post = Post.new
|
2317
|
+
@post.updated_at = Time.local(2008, 7, 16, 23, 30)
|
2318
|
+
|
2319
|
+
options = {
|
2320
|
+
:order => [ :year, :month, :day ],
|
2321
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2322
|
+
:discard_type => false,
|
2323
|
+
:include_blank => false,
|
2324
|
+
:ignore_date => false,
|
2325
|
+
:include_seconds => true
|
2326
|
+
}
|
2327
|
+
date_select(@post, :updated_at, options)
|
2328
|
+
|
2329
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2330
|
+
# don't change this!
|
2331
|
+
assert_equal({
|
2332
|
+
:order => [ :year, :month, :day ],
|
2333
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2334
|
+
:discard_type => false,
|
2335
|
+
:include_blank => false,
|
2336
|
+
:ignore_date => false,
|
2337
|
+
:include_seconds => true
|
2338
|
+
}, options)
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
def test_datetime_select_should_not_change_passed_options_hash
|
2342
|
+
@post = Post.new
|
2343
|
+
@post.updated_at = Time.local(2008, 7, 16, 23, 30)
|
2344
|
+
|
2345
|
+
options = {
|
2346
|
+
:order => [ :year, :month, :day ],
|
2347
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2348
|
+
:discard_type => false,
|
2349
|
+
:include_blank => false,
|
2350
|
+
:ignore_date => false,
|
2351
|
+
:include_seconds => true
|
2352
|
+
}
|
2353
|
+
datetime_select(@post, :updated_at, options)
|
2354
|
+
|
2355
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2356
|
+
# don't change this!
|
2357
|
+
assert_equal({
|
2358
|
+
:order => [ :year, :month, :day ],
|
2359
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2360
|
+
:discard_type => false,
|
2361
|
+
:include_blank => false,
|
2362
|
+
:ignore_date => false,
|
2363
|
+
:include_seconds => true
|
2364
|
+
}, options)
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
def test_time_select_should_not_change_passed_options_hash
|
2368
|
+
@post = Post.new
|
2369
|
+
@post.updated_at = Time.local(2008, 7, 16, 23, 30)
|
2370
|
+
|
2371
|
+
options = {
|
2372
|
+
:order => [ :year, :month, :day ],
|
2373
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2374
|
+
:discard_type => false,
|
2375
|
+
:include_blank => false,
|
2376
|
+
:ignore_date => false,
|
2377
|
+
:include_seconds => true
|
2378
|
+
}
|
2379
|
+
time_select(@post, :updated_at, options)
|
2380
|
+
|
2381
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2382
|
+
# don't change this!
|
2383
|
+
assert_equal({
|
2384
|
+
:order => [ :year, :month, :day ],
|
2385
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2386
|
+
:discard_type => false,
|
2387
|
+
:include_blank => false,
|
2388
|
+
:ignore_date => false,
|
2389
|
+
:include_seconds => true
|
2390
|
+
}, options)
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
def test_select_date_should_not_change_passed_options_hash
|
2394
|
+
options = {
|
2395
|
+
:order => [ :year, :month, :day ],
|
2396
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2397
|
+
:discard_type => false,
|
2398
|
+
:include_blank => false,
|
2399
|
+
:ignore_date => false,
|
2400
|
+
:include_seconds => true
|
2401
|
+
}
|
2402
|
+
select_date(Date.today, options)
|
2403
|
+
|
2404
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2405
|
+
# don't change this!
|
2406
|
+
assert_equal({
|
2407
|
+
:order => [ :year, :month, :day ],
|
2408
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2409
|
+
:discard_type => false,
|
2410
|
+
:include_blank => false,
|
2411
|
+
:ignore_date => false,
|
2412
|
+
:include_seconds => true
|
2413
|
+
}, options)
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
def test_select_datetime_should_not_change_passed_options_hash
|
2417
|
+
options = {
|
2418
|
+
:order => [ :year, :month, :day ],
|
2419
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2420
|
+
:discard_type => false,
|
2421
|
+
:include_blank => false,
|
2422
|
+
:ignore_date => false,
|
2423
|
+
:include_seconds => true
|
2424
|
+
}
|
2425
|
+
select_datetime(Time.now, options)
|
2426
|
+
|
2427
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2428
|
+
# don't change this!
|
2429
|
+
assert_equal({
|
2430
|
+
:order => [ :year, :month, :day ],
|
2431
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2432
|
+
:discard_type => false,
|
2433
|
+
:include_blank => false,
|
2434
|
+
:ignore_date => false,
|
2435
|
+
:include_seconds => true
|
2436
|
+
}, options)
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
def test_select_time_should_not_change_passed_options_hash
|
2440
|
+
options = {
|
2441
|
+
:order => [ :year, :month, :day ],
|
2442
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2443
|
+
:discard_type => false,
|
2444
|
+
:include_blank => false,
|
2445
|
+
:ignore_date => false,
|
2446
|
+
:include_seconds => true
|
2447
|
+
}
|
2448
|
+
select_time(Time.now, options)
|
2449
|
+
|
2450
|
+
# note: the literal hash is intentional to show that the actual options hash isn't modified
|
2451
|
+
# don't change this!
|
2452
|
+
assert_equal({
|
2453
|
+
:order => [ :year, :month, :day ],
|
2454
|
+
:default => { :year => 2008, :month => 7, :day => 16, :hour => 23, :minute => 30, :second => 1 },
|
2455
|
+
:discard_type => false,
|
2456
|
+
:include_blank => false,
|
2457
|
+
:ignore_date => false,
|
2458
|
+
:include_seconds => true
|
2459
|
+
}, options)
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
protected
|
2463
|
+
def with_env_tz(new_tz = 'US/Eastern')
|
2464
|
+
old_tz, ENV['TZ'] = ENV['TZ'], new_tz
|
2465
|
+
yield
|
2466
|
+
ensure
|
2467
|
+
old_tz ? ENV['TZ'] = old_tz : ENV.delete('TZ')
|
2468
|
+
end
|
2469
|
+
end
|