challah 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +44 -0
- data/app/controllers/challah/sessions_controller.rb +38 -0
- data/app/controllers/challah/test/restrictions_controller.rb +25 -0
- data/app/models/permission.rb +3 -0
- data/app/models/permission_role.rb +3 -0
- data/app/models/permission_user.rb +3 -0
- data/app/models/role.rb +3 -0
- data/app/models/user.rb +3 -0
- data/app/views/challah/sessions/access_denied.html.erb +3 -0
- data/app/views/challah/sessions/new.html.erb +13 -0
- data/config/locales/en.yml +15 -0
- data/db/migrate/20120127150433_create_users.rb +35 -0
- data/db/migrate/20120127150434_create_roles.rb +14 -0
- data/db/migrate/20120127150435_create_permissions.rb +16 -0
- data/db/migrate/20120127150436_create_permission_roles.rb +15 -0
- data/db/migrate/20120127150437_create_permission_users.rb +15 -0
- data/db/seeds.rb +25 -0
- data/lib/challah.rb +70 -0
- data/lib/challah/audit.rb +106 -0
- data/lib/challah/authable/permission.rb +116 -0
- data/lib/challah/authable/permission_role.rb +13 -0
- data/lib/challah/authable/permission_user.rb +13 -0
- data/lib/challah/authable/role.rb +177 -0
- data/lib/challah/authable/user.rb +249 -0
- data/lib/challah/controller.rb +182 -0
- data/lib/challah/cookie_store.rb +124 -0
- data/lib/challah/encrypter.rb +49 -0
- data/lib/challah/railtie.rb +14 -0
- data/lib/challah/random.rb +18 -0
- data/lib/challah/routes.rb +10 -0
- data/lib/challah/session.rb +145 -0
- data/lib/challah/techniques.rb +59 -0
- data/lib/challah/techniques/api_key_technique.rb +23 -0
- data/lib/challah/techniques/password_technique.rb +45 -0
- data/lib/challah/version.rb +3 -0
- data/lib/tasks/setup.rake +48 -0
- data/test/audit_test.rb +107 -0
- data/test/controller_test.rb +33 -0
- data/test/cookie_store_test.rb +92 -0
- data/test/encrypter_test.rb +73 -0
- data/test/factories.rb +72 -0
- data/test/helper.rb +134 -0
- data/test/permission_test.rb +48 -0
- data/test/random_test.rb +22 -0
- data/test/restrictions_controller_test.rb +90 -0
- data/test/role_test.rb +82 -0
- data/test/routes_test.rb +11 -0
- data/test/session_test.rb +168 -0
- data/test/sessions_controller_test.rb +40 -0
- data/test/user_test.rb +219 -0
- data/vendor/bundle/bin/convert_to_should_syntax +19 -0
- data/vendor/bundle/bin/erubis +19 -0
- data/vendor/bundle/bin/rackup +19 -0
- data/vendor/bundle/bin/rails +19 -0
- data/vendor/bundle/bin/rake +19 -0
- data/vendor/bundle/bin/rake2thor +19 -0
- data/vendor/bundle/bin/rdiscount +19 -0
- data/vendor/bundle/bin/rdoc +19 -0
- data/vendor/bundle/bin/ri +19 -0
- data/vendor/bundle/bin/thor +19 -0
- data/vendor/bundle/bin/tilt +19 -0
- data/vendor/bundle/bin/tt +19 -0
- data/vendor/bundle/bin/yard +19 -0
- data/vendor/bundle/bin/yardoc +19 -0
- data/vendor/bundle/bin/yri +19 -0
- data/vendor/bundle/cache/actionmailer-3.2.1.gem +0 -0
- data/vendor/bundle/cache/actionpack-3.2.1.gem +0 -0
- data/vendor/bundle/cache/activemodel-3.2.1.gem +0 -0
- data/vendor/bundle/cache/activerecord-3.2.1.gem +0 -0
- data/vendor/bundle/cache/activeresource-3.2.1.gem +0 -0
- data/vendor/bundle/cache/activesupport-3.2.1.gem +0 -0
- data/vendor/bundle/cache/arel-3.0.0.gem +0 -0
- data/vendor/bundle/cache/bcrypt-ruby-3.0.1.gem +0 -0
- data/vendor/bundle/cache/builder-3.0.0.gem +0 -0
- data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
- data/vendor/bundle/cache/factory_girl-2.5.0.gem +0 -0
- data/vendor/bundle/cache/hike-1.2.1.gem +0 -0
- data/vendor/bundle/cache/i18n-0.6.0.gem +0 -0
- data/vendor/bundle/cache/journey-1.0.1.gem +0 -0
- data/vendor/bundle/cache/json-1.6.5.gem +0 -0
- data/vendor/bundle/cache/mail-2.4.1.gem +0 -0
- data/vendor/bundle/cache/metaclass-0.0.1.gem +0 -0
- data/vendor/bundle/cache/mime-types-1.17.2.gem +0 -0
- data/vendor/bundle/cache/mocha-0.10.3.gem +0 -0
- data/vendor/bundle/cache/multi_json-1.0.4.gem +0 -0
- data/vendor/bundle/cache/polyglot-0.3.3.gem +0 -0
- data/vendor/bundle/cache/rack-1.4.1.gem +0 -0
- data/vendor/bundle/cache/rack-cache-1.1.gem +0 -0
- data/vendor/bundle/cache/rack-ssl-1.3.2.gem +0 -0
- data/vendor/bundle/cache/rack-test-0.6.1.gem +0 -0
- data/vendor/bundle/cache/rails-3.2.1.gem +0 -0
- data/vendor/bundle/cache/railties-3.2.1.gem +0 -0
- data/vendor/bundle/cache/rake-0.9.2.2.gem +0 -0
- data/vendor/bundle/cache/rdiscount-1.6.8.gem +0 -0
- data/vendor/bundle/cache/rdoc-3.12.gem +0 -0
- data/vendor/bundle/cache/shoulda-2.11.3.gem +0 -0
- data/vendor/bundle/cache/simplecov-0.5.4.gem +0 -0
- data/vendor/bundle/cache/simplecov-html-0.5.3.gem +0 -0
- data/vendor/bundle/cache/sprockets-2.1.2.gem +0 -0
- data/vendor/bundle/cache/sqlite3-1.3.5.gem +0 -0
- data/vendor/bundle/cache/thor-0.14.6.gem +0 -0
- data/vendor/bundle/cache/tilt-1.3.3.gem +0 -0
- data/vendor/bundle/cache/treetop-1.4.10.gem +0 -0
- data/vendor/bundle/cache/tzinfo-0.3.31.gem +0 -0
- data/vendor/bundle/cache/yard-0.7.5.gem +0 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/CHANGELOG.md +461 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/README.rdoc +163 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer.rb +49 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/base.rb +736 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/collector.rb +30 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/delivery_methods.rb +86 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/log_subscriber.rb +22 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/mail_helper.rb +56 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/railtie.rb +44 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/test_case.rb +82 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/test_helper.rb +61 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/version.rb +10 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/USAGE +18 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/mailer_generator.rb +16 -0
- data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/templates/mailer.rb +18 -0
- data/vendor/bundle/gems/actionpack-3.2.1/CHANGELOG.md +5835 -0
- data/vendor/bundle/gems/actionpack-3.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/actionpack-3.2.1/README.rdoc +341 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller.rb +28 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/asset_paths.rb +10 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/base.rb +213 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb +198 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/collector.rb +32 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/helpers.rb +167 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/layouts.rb +424 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/logger.rb +13 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/railties/routes_helpers.rb +18 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb +178 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/translation.rb +13 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/url_for.rb +33 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/view_paths.rb +96 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller.rb +65 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/base.rb +236 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching.rb +83 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/actions.rb +183 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/fragments.rb +127 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/pages.rb +187 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/sweeping.rb +97 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated.rb +3 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated/integration_test.rb +2 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated/performance_test.rb +1 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/log_subscriber.rb +66 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal.rb +250 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/compatibility.rb +64 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/conditional_get.rb +131 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/cookies.rb +16 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/data_streaming.rb +157 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/exceptions.rb +46 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/flash.rb +28 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/force_ssl.rb +38 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/head.rb +34 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/helpers.rb +113 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/hide_actions.rb +47 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/http_authentication.rb +466 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb +19 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb +105 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/mime_responds.rb +310 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb +238 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rack_delegation.rb +26 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/redirecting.rb +99 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/renderers.rb +109 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb +65 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/request_forgery_protection.rb +113 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rescue.rb +35 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/responder.rb +278 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/session_management.rb +9 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/streaming.rb +229 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/testing.rb +37 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/url_for.rb +47 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/middleware.rb +39 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/railtie.rb +51 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/railties/paths.rb +25 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/record_identifier.rb +85 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/test_case.rb +548 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner.rb +20 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch.rb +102 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/cache.rb +123 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/filter_parameters.rb +70 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/headers.rb +31 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_negotiation.rb +110 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_type.rb +274 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_types.rb +35 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/parameter_filter.rb +74 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/parameters.rb +79 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/rack_cache.rb +62 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/request.rb +257 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/response.rb +206 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/upload.rb +47 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/url.rb +174 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/body_proxy.rb +30 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb +32 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/cookies.rb +350 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/exception_wrapper.rb +78 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/flash.rb +263 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/head.rb +18 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/params_parser.rb +75 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/reloader.rb +89 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/remote_ip.rb +81 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/request_id.rb +39 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/rescue.rb +26 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/abstract_store.rb +79 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/cache_store.rb +50 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/stack.rb +123 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/static.rb +56 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/railtie.rb +34 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing.rb +293 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/mapper.rb +1507 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/polymorphic_routes.rb +203 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/redirection.rb +114 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb +647 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/routes_proxy.rb +39 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/url_for.rb +167 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions.rb +18 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/dom.rb +37 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/response.rb +96 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/routing.rb +217 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/selector.rb +434 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/tag.rb +138 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/integration.rb +479 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/performance_test.rb +10 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_process.rb +41 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_request.rb +74 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_response.rb +29 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_pack.rb +24 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_pack/version.rb +10 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view.rb +84 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/asset_paths.rb +136 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/base.rb +220 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/buffers.rb +43 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/context.rb +36 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/flows.rb +79 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers.rb +60 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/active_model_helper.rb +50 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_paths.rb +7 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helper.rb +457 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +92 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +192 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/atom_feed_helper.rb +200 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/cache_helper.rb +64 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/capture_helper.rb +203 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/controller_helper.rb +23 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/csrf_helper.rb +32 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/date_helper.rb +1051 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/debug_helper.rb +40 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_helper.rb +1480 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_options_helper.rb +658 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_tag_helper.rb +665 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/javascript_helper.rb +110 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/number_helper.rb +539 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/output_safety_helper.rb +38 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/record_tag_helper.rb +109 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/rendering_helper.rb +90 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/sanitize_helper.rb +259 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/tag_helper.rb +156 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/text_helper.rb +417 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/translation_helper.rb +88 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/url_helper.rb +691 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/locale/en.yml +160 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/log_subscriber.rb +28 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/lookup_context.rb +249 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/path_set.rb +89 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/railtie.rb +47 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/abstract_renderer.rb +41 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/partial_renderer.rb +407 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/renderer.rb +54 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb +88 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template.rb +325 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/error.rb +128 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers.rb +49 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers/builder.rb +26 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers/erb.rb +113 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/resolver.rb +258 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/text.rb +30 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/test_case.rb +244 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/testing/resolvers.rb +50 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/assets.rake +95 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/bootstrap.rb +37 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/compressors.rb +83 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers.rb +6 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers/isolated_helper.rb +13 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers/rails_helper.rb +167 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/railtie.rb +62 -0
- data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/static_compiler.rb +61 -0
- data/vendor/bundle/gems/activemodel-3.2.1/CHANGELOG.md +119 -0
- data/vendor/bundle/gems/activemodel-3.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/activemodel-3.2.1/README.rdoc +211 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model.rb +61 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/attribute_methods.rb +452 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/callbacks.rb +134 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/conversion.rb +73 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/dirty.rb +167 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/errors.rb +370 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/lint.rb +123 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/locale/en.yml +27 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security.rb +235 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/naming.rb +171 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/observer_array.rb +147 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/observing.rb +252 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/railtie.rb +2 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/secure_password.rb +74 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serialization.rb +139 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serializers/json.rb +108 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serializers/xml.rb +195 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/test_case.rb +16 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/translation.rb +70 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations.rb +221 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/acceptance.rb +68 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/callbacks.rb +57 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/confirmation.rb +68 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/exclusion.rb +69 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/format.rb +94 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/inclusion.rb +69 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/length.rb +118 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/numericality.rb +130 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/presence.rb +46 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/validates.rb +138 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/with.rb +145 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validator.rb +184 -0
- data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/version.rb +10 -0
- data/vendor/bundle/gems/activerecord-3.2.1/CHANGELOG.md +6749 -0
- data/vendor/bundle/gems/activerecord-3.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activerecord-3.2.1/README.rdoc +222 -0
- data/vendor/bundle/gems/activerecord-3.2.1/examples/associations.png +0 -0
- data/vendor/bundle/gems/activerecord-3.2.1/examples/performance.rb +177 -0
- data/vendor/bundle/gems/activerecord-3.2.1/examples/simple.rb +14 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record.rb +147 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/aggregations.rb +255 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations.rb +1604 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/alias_tracker.rb +79 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/association.rb +239 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/association_scope.rb +119 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/belongs_to_association.rb +79 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/association.rb +55 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/belongs_to.rb +85 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/collection_association.rb +75 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_and_belongs_to_many.rb +57 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_many.rb +71 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_one.rb +62 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/singular_association.rb +32 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/collection_association.rb +574 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/collection_proxy.rb +132 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_and_belongs_to_many_association.rb +62 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_many_association.rb +108 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_many_through_association.rb +180 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_one_association.rb +73 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_one_through_association.rb +36 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency.rb +214 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_association.rb +154 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_base.rb +24 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_part.rb +78 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_helper.rb +55 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader.rb +177 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/association.rb +127 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/belongs_to.rb +17 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/collection_association.rb +24 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +60 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb +17 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many_through.rb +15 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_one.rb +23 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_one_through.rb +9 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/singular_association.rb +21 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/through_association.rb +67 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/singular_association.rb +64 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/through_association.rb +83 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_assignment.rb +221 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods.rb +250 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/before_type_cast.rb +31 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/deprecated_underscore_read.rb +32 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/dirty.rb +101 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/primary_key.rb +114 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/query.rb +39 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/read.rb +135 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/serialization.rb +93 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb +62 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/write.rb +66 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/autosave_association.rb +422 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/base.rb +716 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/callbacks.rb +275 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/coders/yaml_column.rb +41 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb +452 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb +188 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_limits.rb +58 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb +388 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb +82 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/quoting.rb +115 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb +492 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb +598 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_adapter.rb +296 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +653 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/column.rb +270 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb +288 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql_adapter.rb +426 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb +1261 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/schema_cache.rb +50 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/sqlite3_adapter.rb +55 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/sqlite_adapter.rb +577 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/statement_pool.rb +40 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/counter_cache.rb +119 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_finder_match.rb +56 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_matchers.rb +79 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_scope_match.rb +23 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/errors.rb +195 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/explain.rb +85 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/explain_subscriber.rb +21 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/fixtures.rb +906 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/fixtures/file.rb +65 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/identity_map.rb +156 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/inheritance.rb +167 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/integration.rb +49 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locale/en.yml +40 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locking/optimistic.rb +183 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locking/pessimistic.rb +77 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/log_subscriber.rb +68 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/migration.rb +765 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/migration/command_recorder.rb +105 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb +366 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/nested_attributes.rb +469 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/observer.rb +121 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/persistence.rb +372 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/query_cache.rb +74 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/querying.rb +58 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railtie.rb +119 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/console_sandbox.rb +6 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/controller_runtime.rb +49 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/databases.rake +620 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/jdbcmysql_error.rb +16 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/readonly_attributes.rb +26 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/reflection.rb +534 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation.rb +534 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/batches.rb +90 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/calculations.rb +354 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/delegation.rb +49 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/finder_methods.rb +398 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/predicate_builder.rb +58 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/query_methods.rb +417 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/spawn_methods.rb +148 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/result.rb +34 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/sanitization.rb +194 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/schema.rb +58 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/schema_dumper.rb +204 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping.rb +152 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping/default.rb +142 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping/named.rb +202 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/serialization.rb +18 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/serializers/xml_serializer.rb +202 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/session_store.rb +358 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/store.rb +50 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/test_case.rb +73 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/timestamp.rb +113 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/transactions.rb +360 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/translation.rb +22 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations.rb +83 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations/associated.rb +43 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations/uniqueness.rb +180 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/version.rb +10 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record.rb +25 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration.rb +15 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration/migration_generator.rb +25 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration/templates/migration.rb +31 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/model_generator.rb +43 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/migration.rb +15 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/model.rb +7 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/module.rb +7 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/observer/observer_generator.rb +15 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/observer/templates/observer.rb +4 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/session_migration/session_migration_generator.rb +25 -0
- data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/session_migration/templates/migration.rb +12 -0
- data/vendor/bundle/gems/activeresource-3.2.1/CHANGELOG.md +339 -0
- data/vendor/bundle/gems/activeresource-3.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activeresource-3.2.1/README.rdoc +187 -0
- data/vendor/bundle/gems/activeresource-3.2.1/examples/performance.rb +70 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource.rb +45 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/base.rb +1483 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/connection.rb +287 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/custom_methods.rb +119 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/exceptions.rb +82 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats.rb +22 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats/json_format.rb +25 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats/xml_format.rb +25 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/http_mock.rb +335 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/log_subscriber.rb +15 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/observing.rb +29 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/railtie.rb +14 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/schema.rb +59 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/validations.rb +134 -0
- data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/version.rb +10 -0
- data/vendor/bundle/gems/activesupport-3.2.1/CHANGELOG.md +1617 -0
- data/vendor/bundle/gems/activesupport-3.2.1/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/activesupport-3.2.1/README.rdoc +33 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support.rb +82 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/all.rb +3 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/backtrace_cleaner.rb +99 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/base64.rb +52 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/basic_object.rb +21 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/benchmarkable.rb +55 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/buffered_logger.rb +125 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache.rb +639 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/file_store.rb +178 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/mem_cache_store.rb +206 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/memory_store.rb +159 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/null_store.rb +44 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/strategy/local_cache.rb +169 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/callbacks.rb +626 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/concern.rb +129 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/configurable.rb +90 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext.rb +3 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/access.rb +46 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/conversions.rb +164 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/grouping.rb +100 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/random_access.rb +30 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/uniq_by.rb +16 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/wrap.rb +48 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/benchmark.rb +7 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/attribute.rb +115 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/attribute_accessors.rb +80 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/subclasses.rb +36 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/calculations.rb +276 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/conversions.rb +106 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/freeze.rb +33 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/zones.rb +14 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/calculations.rb +132 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/zones.rb +21 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/enumerable.rb +127 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/exception.rb +3 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file.rb +2 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file/atomic.rb +41 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file/path.rb +5 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/float.rb +1 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/float/rounding.rb +19 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash.rb +9 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/conversions.rb +157 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/deep_dup.rb +11 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/deep_merge.rb +16 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/diff.rb +13 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/except.rb +23 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/keys.rb +47 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/inflections.rb +17 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/multiple.rb +6 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/time.rb +39 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/io.rb +15 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/debugger.rb +10 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/reporting.rb +93 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/load_error.rb +23 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/logger.rb +83 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module.rb +12 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/aliasing.rb +70 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/anonymous.rb +24 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/attr_internal.rb +39 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/delegation.rb +153 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/deprecation.rb +9 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/introspection.rb +88 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/method_names.rb +14 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/qualified_const.rb +64 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/remove_method.rb +16 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/synchronization.rb +45 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric.rb +2 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric/time.rb +79 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object.rb +13 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/blank.rb +121 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/duplicable.rb +106 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/inclusion.rb +25 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/instance_variables.rb +33 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_json.rb +19 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_param.rb +55 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_query.rb +27 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/try.rb +53 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/with_options.rb +43 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/proc.rb +14 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/process.rb +1 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/process/daemon.rb +23 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range.rb +5 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/blockless_step.rb +29 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/conversions.rb +21 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/cover.rb +3 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/include_range.rb +21 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/rexml.rb +46 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string.rb +14 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/access.rb +99 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/conversions.rb +54 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb +11 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/exclude.rb +6 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/filters.rb +49 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/inflections.rb +202 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/interpolation.rb +2 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/multibyte.rb +72 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/output_safety.rb +183 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/strip.rb +26 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/xchar.rb +18 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/calculations.rb +344 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/conversions.rb +85 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/marshal.rb +57 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/zones.rb +86 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/uri.rb +30 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb +703 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/dependencies/autoload.rb +50 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation.rb +18 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/behaviors.rb +49 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/method_wrappers.rb +29 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/reporting.rb +65 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/descendants_tracker.rb +45 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/duration.rb +110 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/file_update_checker.rb +121 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/file_watcher.rb +36 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/gzip.rb +30 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/hash_with_indifferent_access.rb +168 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/i18n.rb +9 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/i18n_railtie.rb +102 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflections.rb +61 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/inflections.rb +172 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb +320 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/transliterate.rb +98 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json.rb +2 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/decoding.rb +65 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb +284 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/variable.rb +9 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb +46 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/locale/en.yml +36 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/log_subscriber.rb +122 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/log_subscriber/test_helper.rb +101 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/memoizable.rb +116 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/message_encryptor.rb +103 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/message_verifier.rb +73 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte.rb +44 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/chars.rb +476 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/unicode.rb +393 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/utils.rb +60 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications.rb +154 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications/fanout.rb +61 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb +53 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ordered_hash.rb +222 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ordered_options.rb +61 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/railtie.rb +59 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/rescuable.rb +115 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ruby/shim.rb +22 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/string_inquirer.rb +21 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/tagged_logging.rb +69 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/test_case.rb +34 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/assertions.rb +97 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/declarative.rb +40 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/deprecation.rb +55 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/isolation.rb +157 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb +7 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/pending.rb +52 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance.rb +317 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/jruby.rb +115 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/rubinius.rb +113 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby.rb +152 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby/mri.rb +57 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/setup_and_teardown.rb +111 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time.rb +35 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time/autoload.rb +5 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time_with_zone.rb +354 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/values/time_zone.rb +395 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/version.rb +10 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/whiny_nil.rb +22 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini.rb +168 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/jdom.rb +175 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/libxml.rb +80 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/libxmlsax.rb +86 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/nokogiri.rb +84 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/nokogirisax.rb +88 -0
- data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/rexml.rb +130 -0
- data/vendor/bundle/gems/arel-3.0.0/Gemfile +11 -0
- data/vendor/bundle/gems/arel-3.0.0/History.txt +205 -0
- data/vendor/bundle/gems/arel-3.0.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/gems/arel-3.0.0/Manifest.txt +119 -0
- data/vendor/bundle/gems/arel-3.0.0/README.markdown +118 -0
- data/vendor/bundle/gems/arel-3.0.0/Rakefile +19 -0
- data/vendor/bundle/gems/arel-3.0.0/arel.gemspec +36 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel.rb +47 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/alias_predication.rb +7 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/attributes.rb +20 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/attributes/attribute.rb +27 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/compatibility/wheres.rb +33 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/crud.rb +72 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/delete_manager.rb +18 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/deprecated.rb +4 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/expression.rb +5 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/expressions.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/factory_methods.rb +43 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/insert_manager.rb +38 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/math.rb +19 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes.rb +46 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/and.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ascending.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/binary.rb +40 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/count.rb +10 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/delete_statement.rb +19 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/descending.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/equality.rb +9 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/false.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/function.rb +30 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/in.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/infix_operation.rb +44 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/inner_join.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/insert_statement.rb +19 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/join_source.rb +18 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/named_function.rb +12 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/node.rb +46 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ordering.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/outer_join.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/select_core.rb +40 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/select_statement.rb +24 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/sql_literal.rb +10 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/string_join.rb +9 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/table_alias.rb +17 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/terminal.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/true.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/unary.rb +29 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/unqualified_column.rb +20 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/update_statement.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/values.rb +14 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/with.rb +10 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/order_predications.rb +13 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/predications.rb +164 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/relation.rb +6 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/select_manager.rb +309 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/sql/engine.rb +10 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/sql_literal.rb +4 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/table.rb +147 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/tree_manager.rb +39 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/update_manager.rb +57 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors.rb +42 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/depth_first.rb +166 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/dot.rb +246 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/ibm_db.rb +12 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/informix.rb +33 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/join_sql.rb +19 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/mssql.rb +73 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/mysql.rb +56 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/oracle.rb +128 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/order_clauses.rb +11 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/postgresql.rb +19 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/sqlite.rb +16 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/to_sql.rb +428 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/visitor.rb +31 -0
- data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/where_sql.rb +9 -0
- data/vendor/bundle/gems/arel-3.0.0/test/attributes/test_attribute.rb +664 -0
- data/vendor/bundle/gems/arel-3.0.0/test/helper.rb +13 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_as.rb +22 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_ascending.rb +34 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_bin.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_count.rb +27 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_delete_statement.rb +14 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_descending.rb +34 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_equality.rb +74 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_infix_operation.rb +30 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_insert_statement.rb +18 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_named_function.rb +30 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_node.rb +38 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_not.rb +17 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_or.rb +22 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_select_core.rb +31 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_select_statement.rb +13 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_sql_literal.rb +51 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_sum.rb +12 -0
- data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_update_statement.rb +18 -0
- data/vendor/bundle/gems/arel-3.0.0/test/support/fake_record.rb +119 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_activerecord_compat.rb +18 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_attributes.rb +54 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_crud.rb +63 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_delete_manager.rb +42 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_factory_methods.rb +44 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_insert_manager.rb +144 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_select_manager.rb +998 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_table.rb +184 -0
- data/vendor/bundle/gems/arel-3.0.0/test/test_update_manager.rb +115 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_depth_first.rb +230 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_dot.rb +76 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_ibm_db.rb +27 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_informix.rb +42 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_join_sql.rb +42 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_mssql.rb +66 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_mysql.rb +55 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_oracle.rb +155 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_postgres.rb +48 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_sqlite.rb +23 -0
- data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_to_sql.rb +347 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/CHANGELOG +47 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/COPYING +28 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Gemfile +2 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Gemfile.lock +29 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/README.md +184 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Rakefile +90 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/bcrypt-ruby.gemspec +28 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/jruby/bcrypt_jruby/BCrypt.java +752 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/Makefile +187 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.bundle +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.c +89 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.o +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.c +57 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.h +13 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.o +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_blowfish.c +786 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_blowfish.o +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_gensalt.c +111 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_gensalt.o +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/extconf.rb +39 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/ow-crypt.h +35 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/wrapper.c +258 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/wrapper.o +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt.rb +196 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt_engine.rb +34 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.bundle +0 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/TestBCrypt.java +194 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/bcrypt/engine_spec.rb +82 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/bcrypt/password_spec.rb +82 -0
- data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/spec_helper.rb +2 -0
- data/vendor/bundle/gems/builder-3.0.0/CHANGES +89 -0
- data/vendor/bundle/gems/builder-3.0.0/README +229 -0
- data/vendor/bundle/gems/builder-3.0.0/README.rdoc +232 -0
- data/vendor/bundle/gems/builder-3.0.0/Rakefile +296 -0
- data/vendor/bundle/gems/builder-3.0.0/TAGS +55364 -0
- data/vendor/bundle/gems/builder-3.0.0/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/gems/builder-3.0.0/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/gems/builder-3.0.0/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/blankslate.rb +109 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder.rb +13 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder/xmlbase.rb +160 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/gems/builder-3.0.0/lib/builder/xmlmarkup.rb +334 -0
- data/vendor/bundle/gems/builder-3.0.0/test/performance.rb +40 -0
- data/vendor/bundle/gems/builder-3.0.0/test/preload.rb +39 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_blankslate.rb +225 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_cssbuilder.rb +125 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_markupbuilder.rb +546 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_namecollision.rb +39 -0
- data/vendor/bundle/gems/builder-3.0.0/test/test_xchar.rb +77 -0
- data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +1 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +24 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +209 -0
- data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +425 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +752 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +45 -0
- data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +111 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/Appraisals +20 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/CONTRIBUTION_GUIDELINES.md +10 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/Changelog +119 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/GETTING_STARTED.md +659 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/Gemfile +5 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/Gemfile.lock +92 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/LICENSE +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/README.md +70 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/Rakefile +50 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/cucumber.yml +1 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/factory_girl_steps.feature +221 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/find_definitions.feature +75 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/step_definitions/database_steps.rb +42 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/step_definitions/factory_girl_steps.rb +43 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/support/env.rb +8 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/features/support/factories.rb +115 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/2.1.gemfile +8 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/2.1.gemfile.lock +74 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/2.3.gemfile +7 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/2.3.gemfile.lock +72 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.0.gemfile +7 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.0.gemfile.lock +82 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.1.gemfile +7 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.1.gemfile.lock +92 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.2.gemfile +7 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/gemfiles/3.2.gemfile.lock +90 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl.rb +85 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/aliases.rb +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute.rb +40 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute/association.rb +23 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute/dynamic.rb +20 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute/sequence.rb +17 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute/static.rb +15 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute_assigner.rb +73 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/attribute_list.rb +54 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/callback.rb +35 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration.rb +27 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration/association.rb +25 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration/dynamic.rb +25 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration/implicit.rb +32 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration/static.rb +25 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/declaration_list.rb +48 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/definition.rb +76 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/definition_proxy.rb +169 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/deprecated.rb +18 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/evaluator.rb +57 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/evaluator_class_definer.rb +34 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/factory.rb +161 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/find_definitions.rb +25 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/null_factory.rb +16 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/null_object.rb +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/proxy.rb +64 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/proxy/attributes_for.rb +9 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/proxy/build.rb +27 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/proxy/create.rb +13 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/proxy/stub.rb +62 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/rails2.rb +8 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/registry.rb +46 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/reload.rb +8 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/sequence.rb +28 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/step_definitions.rb +130 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax.rb +16 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/blueprint.rb +42 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/default.rb +55 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/generate.rb +73 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/make.rb +45 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/methods.rb +152 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/sham.rb +45 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/syntax/vintage.rb +149 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/trait.rb +29 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/lib/factory_girl/version.rb +4 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/aliases_spec.rb +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/attribute_aliases_spec.rb +45 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/attribute_existing_on_object.rb +21 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/attributes_for_spec.rb +89 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/attributes_from_instance_spec.rb +53 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/attributes_ordered_spec.rb +51 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/build_list_spec.rb +41 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/build_spec.rb +89 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/build_stubbed_spec.rb +104 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/callbacks_spec.rb +47 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/create_list_spec.rb +41 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/create_spec.rb +117 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/default_strategy_spec.rb +24 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/define_child_before_parent_spec.rb +21 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/definition_spec.rb +26 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/definition_without_block_spec.rb +15 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/initialize_with_spec.rb +147 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/modify_factories_spec.rb +184 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/modify_inherited_spec.rb +52 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/overrides_spec.rb +64 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/parent_spec.rb +67 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/sequence_spec.rb +33 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/stub_spec.rb +64 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/syntax/blueprint_spec.rb +31 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/syntax/generate_spec.rb +59 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/syntax/make_spec.rb +52 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/syntax/sham_spec.rb +43 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/syntax/vintage_spec.rb +235 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/traits_spec.rb +362 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/acceptance/transient_attributes_spec.rb +110 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/aliases_spec.rb +31 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute/association_spec.rb +29 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute/dynamic_spec.rb +52 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute/sequence_spec.rb +16 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute/static_spec.rb +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute_list_spec.rb +78 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/attribute_spec.rb +17 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/callback_spec.rb +41 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/declaration/implicit_spec.rb +26 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/declaration_list_spec.rb +71 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/definition_proxy_spec.rb +197 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/definition_spec.rb +104 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/deprecated_spec.rb +45 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/evaluator_class_definer_spec.rb +54 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/factory_spec.rb +315 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/find_definitions_spec.rb +110 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/null_factory_spec.rb +14 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/null_object_spec.rb +8 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/proxy/attributes_for_spec.rb +18 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/proxy/build_spec.rb +7 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/proxy/create_spec.rb +13 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/proxy/stub_spec.rb +40 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/proxy_spec.rb +19 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/registry_spec.rb +81 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl/sequence_spec.rb +48 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/factory_girl_spec.rb +22 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/spec_helper.rb +25 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/macros/define_constant.rb +86 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/matchers/callback.rb +9 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/matchers/declaration.rb +71 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/matchers/delegate.rb +44 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/matchers/trait.rb +9 -0
- data/vendor/bundle/gems/factory_girl-2.5.0/spec/support/shared_examples/proxy.rb +90 -0
- data/vendor/bundle/gems/hike-1.2.1/LICENSE +20 -0
- data/vendor/bundle/gems/hike-1.2.1/README.md +52 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike.rb +9 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/extensions.rb +23 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/index.rb +204 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/normalized_array.rb +59 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/paths.rb +27 -0
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/trail.rb +179 -0
- data/vendor/bundle/gems/i18n-0.6.0/CHANGELOG.textile +152 -0
- data/vendor/bundle/gems/i18n-0.6.0/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/i18n-0.6.0/README.textile +103 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.no-rails +5 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.no-rails.lock +14 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.rails-2.3.x +9 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.rails-2.3.x.lock +23 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.rails-3.x +9 -0
- data/vendor/bundle/gems/i18n-0.6.0/ci/Gemfile.rails-3.x.lock +23 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n.rb +331 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/base.rb +175 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/cascade.rb +53 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/chain.rb +78 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/fallbacks.rb +68 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/gettext.rb +71 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/pluralization.rb +55 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/backend/transliterator.rb +98 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/config.rb +86 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/exceptions.rb +106 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/interpolate/ruby.rb +31 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/basics.rb +54 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/localization/date.rb +84 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/localization/date_time.rb +77 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/localization/time.rb +76 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/lookup.rb +74 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/gems/i18n-0.6.0/lib/i18n/version.rb +3 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/all.rb +8 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/chain_test.rb +24 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/key_value_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/memoize_test.rb +60 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/api/simple_test.rb +28 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/cache_test.rb +85 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/cascade_test.rb +85 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/chain_test.rb +72 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/exceptions_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/fallbacks_test.rb +120 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/interpolation_compiler_test.rb +102 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/key_value_test.rb +46 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/metadata_test.rb +67 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/pluralization_test.rb +44 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/simple_test.rb +83 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/backend/transliterator_test.rb +81 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/gettext/api_test.rb +206 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/gettext/backend_test.rb +93 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/i18n/exceptions_test.rb +116 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/i18n/interpolate_test.rb +61 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/i18n/load_path_test.rb +26 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/i18n_test.rb +236 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/locale/fallbacks_test.rb +124 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/run_all.rb +21 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_data/locales/de.po +72 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_data/locales/invalid/empty.yml +1 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/gems/i18n-0.6.0/test/test_helper.rb +56 -0
- data/vendor/bundle/gems/journey-1.0.1/CHANGELOG.rdoc +5 -0
- data/vendor/bundle/gems/journey-1.0.1/Gemfile +14 -0
- data/vendor/bundle/gems/journey-1.0.1/Manifest.txt +51 -0
- data/vendor/bundle/gems/journey-1.0.1/README.rdoc +48 -0
- data/vendor/bundle/gems/journey-1.0.1/Rakefile +32 -0
- data/vendor/bundle/gems/journey-1.0.1/journey.gemspec +48 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey.rb +5 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/backwards.rb +5 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/core-ext/hash.rb +11 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/formatter.rb +129 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/builder.rb +159 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/simulator.rb +44 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/transition_table.rb +152 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/builder.rb +74 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/dot.rb +34 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/simulator.rb +45 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/transition_table.rb +164 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/nodes/node.rb +122 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser.rb +204 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser.y +47 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser_extras.rb +21 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/path/pattern.rb +190 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/route.rb +95 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/router.rb +145 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/router/strexp.rb +22 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/router/utils.rb +57 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/routes.rb +75 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/scanner.rb +58 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visitors.rb +186 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/d3.min.js +2 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/fsm.css +34 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/fsm.js +134 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/index.html.erb +50 -0
- data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/reset.css +48 -0
- data/vendor/bundle/gems/journey-1.0.1/test/gtg/test_builder.rb +77 -0
- data/vendor/bundle/gems/journey-1.0.1/test/gtg/test_transition_table.rb +113 -0
- data/vendor/bundle/gems/journey-1.0.1/test/helper.rb +4 -0
- data/vendor/bundle/gems/journey-1.0.1/test/nfa/test_simulator.rb +96 -0
- data/vendor/bundle/gems/journey-1.0.1/test/nfa/test_transition_table.rb +70 -0
- data/vendor/bundle/gems/journey-1.0.1/test/nodes/test_symbol.rb +15 -0
- data/vendor/bundle/gems/journey-1.0.1/test/path/test_pattern.rb +282 -0
- data/vendor/bundle/gems/journey-1.0.1/test/route/definition/test_parser.rb +108 -0
- data/vendor/bundle/gems/journey-1.0.1/test/route/definition/test_scanner.rb +52 -0
- data/vendor/bundle/gems/journey-1.0.1/test/router/test_strexp.rb +30 -0
- data/vendor/bundle/gems/journey-1.0.1/test/router/test_utils.rb +19 -0
- data/vendor/bundle/gems/journey-1.0.1/test/test_route.rb +109 -0
- data/vendor/bundle/gems/journey-1.0.1/test/test_router.rb +530 -0
- data/vendor/bundle/gems/journey-1.0.1/test/test_routes.rb +51 -0
- data/vendor/bundle/gems/json-1.6.5/CHANGES +232 -0
- data/vendor/bundle/gems/json-1.6.5/COPYING +58 -0
- data/vendor/bundle/gems/json-1.6.5/COPYING-json-jruby +57 -0
- data/vendor/bundle/gems/json-1.6.5/GPL +340 -0
- data/vendor/bundle/gems/json-1.6.5/Gemfile +15 -0
- data/vendor/bundle/gems/json-1.6.5/README-json-jruby.markdown +33 -0
- data/vendor/bundle/gems/json-1.6.5/README.rdoc +358 -0
- data/vendor/bundle/gems/json-1.6.5/Rakefile +408 -0
- data/vendor/bundle/gems/json-1.6.5/TODO +1 -0
- data/vendor/bundle/gems/json-1.6.5/VERSION +1 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/generator2_benchmark.rb +222 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/generator_benchmark.rb +224 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/ohai.json +1216 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/ohai.ruby +1 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/parser2_benchmark.rb +251 -0
- data/vendor/bundle/gems/json-1.6.5/benchmarks/parser_benchmark.rb +259 -0
- data/vendor/bundle/gems/json-1.6.5/data/example.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/data/index.html +38 -0
- data/vendor/bundle/gems/json-1.6.5/data/prototype.js +4184 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/fbuffer/fbuffer.h +156 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/Makefile +187 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/extconf.rb +13 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/generator.c +1384 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/generator.h +161 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/json/ext/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/json/ext/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/Makefile +187 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/extconf.rb +13 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.c +2203 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.h +77 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.rl +926 -0
- data/vendor/bundle/gems/json-1.6.5/install.rb +19 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/ByteListTranscoder.java +167 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/Generator.java +437 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/GeneratorMethods.java +232 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/GeneratorService.java +43 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/GeneratorState.java +522 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/Parser.java +2640 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/Parser.rl +964 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/ParserService.java +35 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/RuntimeInfo.java +121 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/StringEncoder.java +106 -0
- data/vendor/bundle/gems/json-1.6.5/java/src/json/ext/Utils.java +89 -0
- data/vendor/bundle/gems/json-1.6.5/json-java.gemspec +22 -0
- data/vendor/bundle/gems/json-1.6.5/json.gemspec +40 -0
- data/vendor/bundle/gems/json-1.6.5/json_pure.gemspec +42 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json.rb +62 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/bigdecimal.rb +21 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/complex.rb +22 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/core.rb +11 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/date.rb +34 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/range.rb +29 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/rational.rb +22 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/add/time.rb +35 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/common.rb +470 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/ext.rb +21 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/pure.rb +21 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/pure/generator.rb +468 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/pure/parser.rb +359 -0
- data/vendor/bundle/gems/json-1.6.5/lib/json/version.rb +8 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail1.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/gems/json-1.6.5/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/gems/json-1.6.5/tests/setup_variant.rb +11 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json.rb +527 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_addition.rb +188 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_encoding.rb +65 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_fixtures.rb +35 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_generate.rb +249 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_string_matching.rb +40 -0
- data/vendor/bundle/gems/json-1.6.5/tests/test_json_unicode.rb +72 -0
- data/vendor/bundle/gems/json-1.6.5/tools/fuzz.rb +139 -0
- data/vendor/bundle/gems/json-1.6.5/tools/server.rb +62 -0
- data/vendor/bundle/gems/mail-2.4.1/CHANGELOG.rdoc +591 -0
- data/vendor/bundle/gems/mail-2.4.1/CONTRIBUTING.md +45 -0
- data/vendor/bundle/gems/mail-2.4.1/Dependencies.txt +3 -0
- data/vendor/bundle/gems/mail-2.4.1/Gemfile +26 -0
- data/vendor/bundle/gems/mail-2.4.1/Gemfile.lock +42 -0
- data/vendor/bundle/gems/mail-2.4.1/README.md +649 -0
- data/vendor/bundle/gems/mail-2.4.1/Rakefile +40 -0
- data/vendor/bundle/gems/mail-2.4.1/TODO.rdoc +9 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/VERSION +4 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail.rb +91 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/attachments_list.rb +104 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/body.rb +291 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/configuration.rb +75 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/nil.rb +17 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb +13 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/shellwords.rb +57 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/smtp.rb +25 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/string.rb +33 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/string/access.rb +145 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/string/multibyte.rb +78 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements.rb +14 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/address.rb +306 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/address_list.rb +74 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/content_disposition_element.rb +30 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/content_location_element.rb +25 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/content_transfer_encoding_element.rb +24 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/content_type_element.rb +35 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/date_time_element.rb +26 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/envelope_from_element.rb +34 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/message_ids_element.rb +29 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/mime_version_element.rb +26 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/phrase_list.rb +21 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/elements/received_element.rb +30 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings.rb +274 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/7bit.rb +31 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/8bit.rb +31 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/base64.rb +33 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/binary.rb +31 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/quoted_printable.rb +38 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/encodings/transfer_encoding.rb +58 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/envelope.rb +35 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/field.rb +234 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/field_list.rb +33 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields.rb +35 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/bcc_field.rb +56 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/comments_field.rb +41 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/address_container.rb +16 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/common_address.rb +125 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/common_date.rb +42 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/common_field.rb +51 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/common_message_id.rb +44 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/common/parameter_hash.rb +58 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_description_field.rb +19 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_disposition_field.rb +69 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_id_field.rb +63 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_location_field.rb +42 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_transfer_encoding_field.rb +50 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/content_type_field.rb +198 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/date_field.rb +57 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/in_reply_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/keywords_field.rb +44 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/message_id_field.rb +83 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/mime_version_field.rb +53 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/optional_field.rb +13 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/received_field.rb +75 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/references_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/reply_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_bcc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_cc_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_date_field.rb +35 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_from_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_message_id_field.rb +34 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_sender_field.rb +62 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/resent_to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/return_path_field.rb +65 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/sender_field.rb +67 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/structured_field.rb +51 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/subject_field.rb +16 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/to_field.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/fields/unstructured_field.rb +191 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/header.rb +265 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/indifferent_hash.rb +146 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/mail.rb +255 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/matchers/has_sent_mail.rb +124 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/message.rb +2057 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/multibyte.rb +42 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/multibyte/chars.rb +474 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/multibyte/exceptions.rb +8 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/multibyte/unicode.rb +392 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/multibyte/utils.rb +60 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network.rb +14 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/exim.rb +20 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/file_delivery.rb +40 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/sendmail.rb +62 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/smtp.rb +153 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/smtp_connection.rb +74 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/delivery_methods/test_mailer.rb +40 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/retriever_methods/base.rb +63 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/retriever_methods/imap.rb +160 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/retriever_methods/pop3.rb +140 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/network/retriever_methods/test_retriever.rb +47 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/address_lists.rb +64 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/address_lists.treetop +19 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_disposition.rb +535 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_disposition.treetop +46 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_location.rb +139 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_location.treetop +20 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_transfer_encoding.rb +162 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_transfer_encoding.treetop +20 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_type.rb +967 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/content_type.treetop +68 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/date_time.rb +114 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/date_time.treetop +11 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/envelope_from.rb +194 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/envelope_from.treetop +32 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/message_ids.rb +45 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/message_ids.treetop +15 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/mime_version.rb +144 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/mime_version.treetop +19 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/phrase_lists.rb +45 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/phrase_lists.treetop +15 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/received.rb +71 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/received.treetop +11 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2045.rb +464 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2045.treetop +36 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2822.rb +5341 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2822.treetop +410 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2822_obsolete.rb +3768 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parsers/rfc2822_obsolete.treetop +241 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/part.rb +116 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/parts_list.rb +55 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/patterns.rb +35 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/utilities.rb +215 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/version.rb +24 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/version_specific/ruby_1_8.rb +98 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/mail/version_specific/ruby_1_9.rb +113 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/tasks/corpus.rake +125 -0
- data/vendor/bundle/gems/mail-2.4.1/lib/tasks/treetop.rake +10 -0
- data/vendor/bundle/gems/metaclass-0.0.1/Gemfile +3 -0
- data/vendor/bundle/gems/metaclass-0.0.1/README.md +6 -0
- data/vendor/bundle/gems/metaclass-0.0.1/Rakefile +11 -0
- data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass.rb +5 -0
- data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass/object_methods.rb +11 -0
- data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass/version.rb +3 -0
- data/vendor/bundle/gems/metaclass-0.0.1/metaclass.gemspec +19 -0
- data/vendor/bundle/gems/metaclass-0.0.1/test/object_methods_test.rb +31 -0
- data/vendor/bundle/gems/metaclass-0.0.1/test/test_helper.rb +5 -0
- data/vendor/bundle/gems/mime-types-1.17.2/History.rdoc +128 -0
- data/vendor/bundle/gems/mime-types-1.17.2/License.rdoc +10 -0
- data/vendor/bundle/gems/mime-types-1.17.2/Manifest.txt +42 -0
- data/vendor/bundle/gems/mime-types-1.17.2/README.rdoc +19 -0
- data/vendor/bundle/gems/mime-types-1.17.2/Rakefile +199 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types.rb +848 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/application +940 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/application.mac +2 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/application.nonstandard +114 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/application.obsolete +40 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/audio +131 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/audio.nonstandard +10 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/audio.obsolete +1 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/image +43 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/image.nonstandard +17 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/image.obsolete +5 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/message +19 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/message.obsolete +1 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/model +15 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/multipart +14 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/multipart.nonstandard +1 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/multipart.obsolete +7 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/other.nonstandard +8 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/text +54 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/text.nonstandard +5 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/text.obsolete +7 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/text.vms +1 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/video +68 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/video.nonstandard +11 -0
- data/vendor/bundle/gems/mime-types-1.17.2/lib/mime/types/video.obsolete +3 -0
- data/vendor/bundle/gems/mime-types-1.17.2/mime-types.gemspec +57 -0
- data/vendor/bundle/gems/mime-types-1.17.2/test/test_mime_type.rb +318 -0
- data/vendor/bundle/gems/mime-types-1.17.2/test/test_mime_types.rb +99 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/application.txt +951 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/audio.txt +132 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/image.txt +43 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/message.txt +20 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/model.txt +15 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/multipart.txt +14 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/text.txt +57 -0
- data/vendor/bundle/gems/mime-types-1.17.2/type-lists/video.txt +67 -0
- data/vendor/bundle/gems/mocha-0.10.3/COPYING.rdoc +3 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile +3 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.3.0 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.0 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.1 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.2 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.0.0 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.0.1 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.3.0 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.latest +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.0 +8 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.1 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.3 +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.latest +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/MIT-LICENSE.rdoc +7 -0
- data/vendor/bundle/gems/mocha-0.10.3/README.rdoc +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/RELEASE.rdoc +367 -0
- data/vendor/bundle/gems/mocha-0.10.3/Rakefile +157 -0
- data/vendor/bundle/gems/mocha-0.10.3/examples/misc.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/examples/mocha.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/examples/stubba.rb +64 -0
- data/vendor/bundle/gems/mocha-0.10.3/init.rb +3 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha.rb +4 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/any_instance_method.rb +53 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/api.rb +173 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/argument_iterator.rb +21 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/backtrace_filter.rb +17 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/cardinality.rb +95 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/central.rb +33 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb +19 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/class_method.rb +91 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/configuration.rb +79 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/deprecation.rb +22 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/exception_raiser.rb +17 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation.rb +509 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_list.rb +54 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/in_state_ordering_constraint.rb +19 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/inspect.rb +67 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/instance_method.rb +32 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration.rb +38 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test.rb +54 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/assertion_counter.rb +23 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/exception_translation.rb +20 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_13.rb +44 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_140.rb +45 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_141.rb +56 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_142_to_172.rb +56 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_200.rb +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_201_to_222.rb +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_230_to_262.rb +59 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit.rb +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/assertion_counter.rb +23 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_200.rb +52 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_201_to_202.rb +52 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_203_to_220.rb +52 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_230_to_240.rb +58 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb +51 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb +53 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/is_a.rb +9 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/logger.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/method_matcher.rb +21 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/mock.rb +205 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/mockery.rb +181 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/module_method.rb +16 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb +20 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/names.rb +53 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/no_yields.rb +11 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/object.rb +223 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/options.rb +1 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers.rb +28 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/all_of.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/any_of.rb +47 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/any_parameters.rb +40 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/anything.rb +33 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/base.rb +63 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/equals.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_entries.rb +45 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_entry.rb +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_key.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_value.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/includes.rb +41 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/instance_of.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/is_a.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/kind_of.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/not.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/object.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/optionally.rb +55 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/query_string.rb +47 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/regexp_matches.rb +44 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/responds_with.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/yaml_equivalent.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameters_matcher.rb +37 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/pretty_parameters.rb +28 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/return_values.rb +31 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/sequence.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/single_return_value.rb +17 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/single_yield.rb +18 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/standalone.rb +1 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/state_machine.rb +91 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/stubbing_error.rb +16 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/thrower.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/unexpected_invocation.rb +18 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/version.rb +3 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/yield_parameters.rb +31 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/mocha_standalone.rb +2 -0
- data/vendor/bundle/gems/mocha-0.10.3/lib/stubba.rb +4 -0
- data/vendor/bundle/gems/mocha-0.10.3/mocha.gemspec +46 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/acceptance_test_helper.rb +41 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/api_test.rb +139 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_18914_test.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_21465_test.rb +34 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_21563_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/exception_rescue_test.rb +55 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/expectations_on_multiple_methods_test.rb +55 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/expected_invocation_count_test.rb +232 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/failure_messages_test.rb +64 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/minitest_test.rb +162 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocha_example_test.rb +98 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocha_test_result_test.rb +84 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mock_test.rb +100 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mock_with_initializer_block_test.rb +51 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocked_methods_dispatch_test.rb +78 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/multiple_expectations_failure_message_test.rb +68 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/optional_parameters_test.rb +70 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/parameter_matcher_test.rb +300 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/partial_mocks_test.rb +47 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/raise_exception_test.rb +39 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/return_value_test.rb +52 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/sequence_test.rb +186 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/states_test.rb +70 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_any_instance_method_test.rb +199 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb +106 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_class_test.rb +72 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_module_test.rb +75 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_superclass_test.rb +75 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_everything_test.rb +56 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb +93 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb +69 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_class_test.rb +66 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb +75 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_module_test.rb +75 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_object_class_test.rb +75 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb +70 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_superclass_test.rb +72 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_module_method_test.rb +163 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_test.rb +52 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_example_test.rb +102 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_test.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_test_result_test.rb +66 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_error_backtrace_test.rb +64 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_method_unnecessarily_test.rb +65 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_any_instance_method_test.rb +130 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_class_method_test.rb +157 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_instance_method_test.rb +147 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_any_instance_method_test.rb +130 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_class_method_test.rb +163 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_instance_method_test.rb +143 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_on_non_mock_object_test.rb +64 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/throw_test.rb +45 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/unstubbing_test.rb +151 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/deprecation_disabler.rb +15 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/execution_point.rb +36 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/method_definer.rb +24 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/mini_test_result.rb +83 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/simple_counter.rb +13 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/test_helper.rb +11 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/test_runner.rb +50 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/any_instance_method_test.rb +130 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb +16 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/backtrace_filter_test.rb +19 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/cardinality_test.rb +56 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/central_test.rb +95 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/change_state_side_effect_test.rb +41 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/class_method_test.rb +238 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/configuration_test.rb +38 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/date_time_inspect_test.rb +21 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/exception_raiser_test.rb +42 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/expectation_list_test.rb +71 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/expectation_test.rb +480 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/hash_inspect_test.rb +16 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/in_state_ordering_constraint_test.rb +43 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/method_matcher_test.rb +23 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/mock_test.rb +309 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/mockery_test.rb +150 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/multiple_yields_test.rb +18 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/no_yields_test.rb +18 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/object_inspect_test.rb +38 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/object_test.rb +87 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/all_of_test.rb +26 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/any_of_test.rb +26 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/anything_test.rb +21 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/equals_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_entries_test.rb +51 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_entry_test.rb +82 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_key_test.rb +55 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_value_test.rb +57 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/includes_test.rb +44 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/instance_of_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/is_a_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/kind_of_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/not_test.rb +26 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/regexp_matches_test.rb +46 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/responds_with_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/stub_matcher.rb +27 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/yaml_equivalent_test.rb +25 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameters_matcher_test.rb +121 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/return_values_test.rb +63 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/sequence_test.rb +104 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/single_return_value_test.rb +14 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/single_yield_test.rb +18 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/state_machine_test.rb +98 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/string_inspect_test.rb +11 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/thrower_test.rb +20 -0
- data/vendor/bundle/gems/mocha-0.10.3/test/unit/yield_parameters_test.rb +93 -0
- data/vendor/bundle/gems/multi_json-1.0.4/Gemfile +6 -0
- data/vendor/bundle/gems/multi_json-1.0.4/LICENSE.md +20 -0
- data/vendor/bundle/gems/multi_json-1.0.4/README.md +94 -0
- data/vendor/bundle/gems/multi_json-1.0.4/Rakefile +25 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json.rb +85 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_common.rb +27 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_gem.rb +12 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_pure.rb +12 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/ok_json.rb +48 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb +18 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/vendor/ok_json.rb +587 -0
- data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/version.rb +3 -0
- data/vendor/bundle/gems/multi_json-1.0.4/multi_json.gemspec +22 -0
- data/vendor/bundle/gems/multi_json-1.0.4/spec/helper.rb +35 -0
- data/vendor/bundle/gems/multi_json-1.0.4/spec/multi_json_spec.rb +178 -0
- data/vendor/bundle/gems/polyglot-0.3.3/History.txt +72 -0
- data/vendor/bundle/gems/polyglot-0.3.3/License.txt +20 -0
- data/vendor/bundle/gems/polyglot-0.3.3/README.txt +87 -0
- data/vendor/bundle/gems/polyglot-0.3.3/Rakefile +42 -0
- data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot.rb +74 -0
- data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot/version.rb +9 -0
- data/vendor/bundle/gems/rack-1.4.1/COPYING +18 -0
- data/vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES +21 -0
- data/vendor/bundle/gems/rack-1.4.1/README.rdoc +498 -0
- data/vendor/bundle/gems/rack-1.4.1/Rakefile +115 -0
- data/vendor/bundle/gems/rack-1.4.1/SPEC +171 -0
- data/vendor/bundle/gems/rack-1.4.1/bin/rackup +4 -0
- data/vendor/bundle/gems/rack-1.4.1/contrib/rack_logo.svg +111 -0
- data/vendor/bundle/gems/rack-1.4.1/example/lobster.ru +4 -0
- data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.rb +14 -0
- data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.ru +8 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack.rb +83 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_18.rb +70 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb +55 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/body_proxy.rb +29 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/builder.rb +145 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/cascade.rb +41 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/chunked.rb +58 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/commonlogger.rb +51 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/conditionalget.rb +67 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb +15 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_length.rb +33 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/deflater.rb +99 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/directory.rb +161 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/etag.rb +61 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/file.rb +142 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler.rb +94 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/cgi.rb +61 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb +98 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/mongrel.rb +100 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/scgi.rb +67 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/thin.rb +24 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/webrick.rb +80 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/head.rb +19 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/lint.rb +567 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/lobster.rb +65 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/lock.rb +25 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/logger.rb +18 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/methodoverride.rb +33 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/mime.rb +648 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/mock.rb +189 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart.rb +34 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/parser.rb +167 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/nulllogger.rb +18 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/recursive.rb +61 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/reloader.rb +109 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/request.rb +341 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/response.rb +155 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/rewindable_input.rb +104 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/runtime.rb +27 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/sendfile.rb +141 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/server.rb +323 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/abstract/id.rb +372 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/cookie.rb +161 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/pool.rb +79 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/showexceptions.rb +378 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/showstatus.rb +113 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/static.rb +71 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/urlmap.rb +75 -0
- data/vendor/bundle/gems/rack-1.4.1/lib/rack/utils.rb +547 -0
- data/vendor/bundle/gems/rack-1.4.1/rack.gemspec +37 -0
- data/vendor/bundle/gems/rack-1.4.1/test/builder/anything.rb +5 -0
- data/vendor/bundle/gems/rack-1.4.1/test/builder/comment.ru +4 -0
- data/vendor/bundle/gems/rack-1.4.1/test/builder/end.ru +5 -0
- data/vendor/bundle/gems/rack-1.4.1/test/builder/options.ru +2 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/test +9 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.fcgi +8 -0
- data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.ru +5 -0
- data/vendor/bundle/gems/rack-1.4.1/test/gemloader.rb +10 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/bad_robots +259 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/binary +0 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/empty +10 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/file1.txt +1 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/ie +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/mixed_files +21 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/nested +10 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/none +9 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/semicolon +6 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/text +15 -0
- data/vendor/bundle/gems/rack-1.4.1/test/multipart/webkit +32 -0
- data/vendor/bundle/gems/rack-1.4.1/test/rackup/config.ru +31 -0
- data/vendor/bundle/gems/rack-1.4.1/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_basic.rb +73 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_digest.rb +245 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_body_proxy.rb +65 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_builder.rb +201 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_cascade.rb +53 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_cgi.rb +102 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_chunked.rb +87 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_commonlogger.rb +57 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_conditionalget.rb +102 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_config.rb +23 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_content_length.rb +73 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_content_type.rb +35 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_deflater.rb +169 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_directory.rb +69 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_etag.rb +82 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_fastcgi.rb +107 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_file.rb +183 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_handler.rb +59 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_head.rb +30 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_lint.rb +515 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_lobster.rb +43 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_lock.rb +142 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_logger.rb +28 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_methodoverride.rb +73 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_mock.rb +264 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_mongrel.rb +182 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_multipart.rb +363 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_nulllogger.rb +12 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_recursive.rb +69 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_request.rb +938 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_response.rb +283 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_rewindable_input.rb +118 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_runtime.rb +39 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_sendfile.rb +86 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_server.rb +74 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_session_abstract_id.rb +43 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_session_cookie.rb +294 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_session_memcache.rb +319 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_session_pool.rb +206 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_showexceptions.rb +87 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_showstatus.rb +79 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_static.rb +69 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_thin.rb +86 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_urlmap.rb +213 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_utils.rb +524 -0
- data/vendor/bundle/gems/rack-1.4.1/test/spec_webrick.rb +143 -0
- data/vendor/bundle/gems/rack-1.4.1/test/static/index.html +1 -0
- data/vendor/bundle/gems/rack-1.4.1/test/testrequest.rb +78 -0
- data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/gems/rack-cache-1.1/CHANGES +232 -0
- data/vendor/bundle/gems/rack-cache-1.1/COPYING +18 -0
- data/vendor/bundle/gems/rack-cache-1.1/Gemfile +2 -0
- data/vendor/bundle/gems/rack-cache-1.1/Gemfile.lock +22 -0
- data/vendor/bundle/gems/rack-cache-1.1/README +126 -0
- data/vendor/bundle/gems/rack-cache-1.1/Rakefile +139 -0
- data/vendor/bundle/gems/rack-cache-1.1/TODO +27 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/configuration.markdown +127 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/faq.markdown +148 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/index.markdown +121 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/layout.html.erb +34 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/license.markdown +24 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/rack-cache.css +362 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/server.ru +34 -0
- data/vendor/bundle/gems/rack-cache-1.1/doc/storage.markdown +164 -0
- data/vendor/bundle/gems/rack-cache-1.1/example/sinatra/app.rb +21 -0
- data/vendor/bundle/gems/rack-cache-1.1/example/sinatra/views/index.erb +44 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack-cache.rb +1 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache.rb +45 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/appengine.rb +52 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/cachecontrol.rb +194 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/context.rb +275 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/entitystore.rb +341 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/key.rb +52 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/metastore.rb +418 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/options.rb +157 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/request.rb +33 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/response.rb +255 -0
- data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/storage.rb +62 -0
- data/vendor/bundle/gems/rack-cache-1.1/rack-cache.gemspec +76 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/cache_test.rb +38 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/cachecontrol_test.rb +145 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/context_test.rb +881 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/entitystore_test.rb +268 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/key_test.rb +50 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/metastore_test.rb +338 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/options_test.rb +77 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/pony.jpg +0 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/request_test.rb +19 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/response_test.rb +184 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/spec_setup.rb +232 -0
- data/vendor/bundle/gems/rack-cache-1.1/test/storage_test.rb +94 -0
- data/vendor/bundle/gems/rack-ssl-1.3.2/LICENSE +22 -0
- data/vendor/bundle/gems/rack-ssl-1.3.2/README.md +13 -0
- data/vendor/bundle/gems/rack-ssl-1.3.2/lib/rack/ssl.rb +88 -0
- data/vendor/bundle/gems/rack-test-0.6.1/Gemfile +6 -0
- data/vendor/bundle/gems/rack-test-0.6.1/Gemfile.lock +28 -0
- data/vendor/bundle/gems/rack-test-0.6.1/History.txt +153 -0
- data/vendor/bundle/gems/rack-test-0.6.1/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/gems/rack-test-0.6.1/README.rdoc +57 -0
- data/vendor/bundle/gems/rack-test-0.6.1/Rakefile +33 -0
- data/vendor/bundle/gems/rack-test-0.6.1/Thorfile +114 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/mock_session.rb +66 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test.rb +293 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test/cookie_jar.rb +176 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test/methods.rb +81 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test/mock_digest_request.rb +29 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test/uploaded_file.rb +50 -0
- data/vendor/bundle/gems/rack-test-0.6.1/lib/rack/test/utils.rb +136 -0
- data/vendor/bundle/gems/rack-test-0.6.1/rack-test.gemspec +80 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/fixtures/bar.txt +1 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/fixtures/config.ru +3 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/fixtures/fake_app.rb +128 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/fixtures/foo.txt +1 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test/cookie_spec.rb +201 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test/digest_auth_spec.rb +40 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test/multipart_spec.rb +145 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test/uploaded_file_spec.rb +22 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test/utils_spec.rb +122 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/rack/test_spec.rb +476 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/spec_helper.rb +66 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/body.rb +9 -0
- data/vendor/bundle/gems/rack-test-0.6.1/spec/support/matchers/challenge.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/CHANGELOG.md +2429 -0
- data/vendor/bundle/gems/railties-3.2.1/README.rdoc +35 -0
- data/vendor/bundle/gems/railties-3.2.1/bin/rails +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/belongs_to.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/book_icon.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/challenge.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/chapters_icon.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/check_bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/credits_pic_blank.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/csrf.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/customized_error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/edge_badge.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/feature_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/footer_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/fxn.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/grey_bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/habtm.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_many.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_many_through.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_one.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_one_through.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/header_backdrop.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/header_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_html_safe.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translated_en.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translation_missing.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_untranslated.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/README +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/1.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/10.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/11.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/12.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/13.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/14.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/15.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/2.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/3.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/4.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/5.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/6.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/7.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/8.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/9.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/caution.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/example.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/home.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/important.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/next.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/note.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/prev.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/tip.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/up.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/warning.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/jaimeiniesta.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/nav_arrow.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/polymorphic.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/posts_index.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/radar.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_guides_logo.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_logo_remix.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_welcome.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/session_fixation.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_grey.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_info.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_note.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_red.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_yellow.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_yellow.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/validation_error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/vijaydev.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/guides.js +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/fixes.css +16 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/kindle.css +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/main.css +453 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/print.css +52 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/reset.css +43 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/style.css +13 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/Gemfile +38 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/README.rdoc +261 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/Rakefile +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/images/rails.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/comment.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/post.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/tag.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/home/index.html.erb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config.ru +4 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/application.rb +59 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/boot.rb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/database.yml +25 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environment.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/development.rb +37 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/production.rb +67 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/test.rb +37 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/inflections.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/session_store.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/locales/en.yml +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/routes.rb +64 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/schema.rb +43 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/seeds.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/doc/README_FOR_APP +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/404.html +26 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/422.html +26 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/500.html +25 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/favicon.ico +0 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/robots.txt +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/script/rails +6 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/comments.yml +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/posts.yml +11 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/tags.yml +9 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/test_helper.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/comment_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/post_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/tag_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides.rb +50 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/generator.rb +310 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/helpers.rb +45 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/indexer.rb +69 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/levenshtein.rb +31 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/textile_extensions.rb +63 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/2_2_release_notes.textile +422 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/2_3_release_notes.textile +610 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/3_0_release_notes.textile +595 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/3_1_release_notes.textile +431 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/3_2_release_notes.textile +540 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/_license.html.erb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/_welcome.html.erb +19 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/action_controller_overview.textile +819 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/action_mailer_basics.textile +516 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/action_view_overview.textile +1497 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_model_basics.textile +205 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_basics.textile +218 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_querying.textile +1431 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_validations_callbacks.textile +1283 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_resource_basics.textile +120 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/active_support_core_extensions.textile +3713 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/ajax_on_rails.textile +267 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/api_documentation_guidelines.textile +185 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/asset_pipeline.textile +707 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/association_basics.textile +1860 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/caching_with_rails.textile +435 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/command_line.textile +574 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/configuring.textile +641 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/contributing_to_ruby_on_rails.textile +391 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/credits.html.erb +72 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/debugging_rails_applications.textile +714 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/documents.yaml +157 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/engines.textile +618 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/form_helpers.textile +798 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/generators.textile +621 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/getting_started.textile +1914 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/i18n.textile +931 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/index.html.erb +30 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/initialization.textile +1116 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/KINDLE.md +26 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/copyright.html.erb +1 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/layout.html.erb +27 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/rails_guides.opf.erb +52 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/toc.html.erb +24 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/toc.ncx.erb +64 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/welcome.html.erb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/layout.html.erb +124 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/layouts_and_rendering.textile +1237 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/migrations.textile +900 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/nested_model_forms.textile +222 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/performance_testing.textile +597 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/plugins.textile +464 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/rails_application_templates.textile +240 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/rails_on_rack.textile +236 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/routing.textile +885 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/security.textile +1004 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/source/testing.textile +947 -0
- data/vendor/bundle/gems/railties-3.2.1/guides/w3c_validator.rb +91 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails.rb +126 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/all.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application.rb +315 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/bootstrap.rb +73 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/configuration.rb +151 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/finisher.rb +98 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/railties.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/route_inspector.rb +84 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/routes_reloader.rb +56 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/backtrace_cleaner.rb +42 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/cli.rb +16 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/code_statistics.rb +118 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb +100 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/application.rb +38 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/benchmarker.rb +34 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/console.rb +55 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/dbconsole.rb +123 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/destroy.rb +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/generate.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/plugin.rb +544 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/plugin_new.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/profiler.rb +32 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/runner.rb +54 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/server.rb +100 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/update.rb +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/configuration.rb +89 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/console/app.rb +36 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/console/helpers.rb +11 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine.rb +657 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/commands.rb +39 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/configuration.rb +84 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/railties.rb +33 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators.rb +337 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/actions.rb +325 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/active_model.rb +78 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/app_base.rb +281 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/base.rb +376 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/assets/assets_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb.rb +21 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/generated_attribute.rb +107 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/js/assets/assets_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/js/assets/templates/javascript.js +2 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/migration.rb +68 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/named_base.rb +198 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/USAGE +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/app_generator.rb +303 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/Gemfile +26 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/README +261 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/Rakefile +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config.ru +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/application.rb +71 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/gitignore +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/404.html +26 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/422.html +26 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/500.html +25 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/index.html +241 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/script/rails +5 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/USAGE +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/USAGE +18 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/templates/controller.rb +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/USAGE +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/USAGE +17 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/integration_test/USAGE +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/migration/USAGE +29 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/model/USAGE +45 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/model/model_generator.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/observer/USAGE +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/performance_test/USAGE +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/USAGE +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +27 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +10 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/resource/USAGE +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/resource/resource_generator.rb +26 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/USAGE +35 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/USAGE +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +85 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/session_migration/USAGE +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/USAGE +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/task_generator.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/templates/task.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/resource_helpers.rb +80 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_case.rb +247 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit.rb +8 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +17 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/info.rb +116 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/info_controller.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/initializable.rb +89 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/paths.rb +182 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/performance_test_help.rb +3 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/plugin.rb +92 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack.rb +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/debugger.rb +24 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb +30 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/logger.rb +47 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie.rb +202 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie/configurable.rb +35 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie/configuration.rb +90 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/ruby_version_check.rb +23 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/rubyprof_ext.rb +35 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/script_rails_loader.rb +29 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/source_annotation_extractor.rb +104 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks.rb +16 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/annotations.rake +20 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/documentation.rake +155 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/engine.rake +72 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/framework.rake +76 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/log.rake +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/middleware.rake +7 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/misc.rake +67 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/routes.rake +9 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/statistics.rake +16 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/tmp.rake +37 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_help.rb +56 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/railtie.rb +15 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/sub_test_task.rb +36 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/testing.rake +132 -0
- data/vendor/bundle/gems/railties-3.2.1/lib/rails/version.rb +10 -0
- data/vendor/bundle/gems/rake-0.9.2.2/CHANGES +522 -0
- data/vendor/bundle/gems/rake-0.9.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/README.rdoc +197 -0
- data/vendor/bundle/gems/rake-0.9.2.2/Rakefile +369 -0
- data/vendor/bundle/gems/rake-0.9.2.2/TODO +20 -0
- data/vendor/bundle/gems/rake-0.9.2.2/bin/rake +33 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/command_line_usage.rdoc +114 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/example/a.c +6 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/example/b.c +6 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/example/main.c +11 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/glossary.rdoc +51 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/rake.1.gz +0 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/rakefile.rdoc +557 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/gems/rake-0.9.2.2/install.rb +90 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake.rb +69 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/application.rb +595 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/classic_namespace.rb +11 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/clean.rb +32 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/cloneable.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/ftptools.rb +150 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/sys.rb +191 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb +176 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/module.rb +39 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/string.rb +167 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb +14 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_list.rb +403 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/gempackagetask.rb +15 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/multi_task.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb +29 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rdoctask.rb +234 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/runtest.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task.rb +327 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/testtask.rb +191 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/version.rb +8 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/win32.rb +55 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/helper.rb +492 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_application.rb +489 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_application_options.rb +335 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_directory_task.rb +46 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_dsl.rb +77 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_task.rb +102 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_functional.rb +450 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_multi_task.rb +51 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rdoc_task.rb +83 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task.rb +267 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_with_arguments.rb +173 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_top_level_functions.rb +111 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb +20 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/BUILDING +34 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/COPYING +52 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/README.markdown +71 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/Rakefile +181 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/bin/rdiscount +13 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/Csio.c +61 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/Csio.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/Makefile +187 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/amalloc.h +29 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/basename.c +43 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/basename.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/config.h +21 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/css.c +76 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/css.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/cstring.h +77 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/docheader.c +43 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/docheader.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/dumptree.c +152 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/dumptree.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/emmatch.c +188 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/emmatch.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/extconf.rb +10 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/generate.c +1557 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/generate.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/html5.c +24 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/html5.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.c +1102 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.h +160 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.c +337 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.h +90 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkmf.log +64 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.bundle +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.c +129 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/resource.c +155 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/resource.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.c +110 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.h +18 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/toc.c +90 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/toc.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/xml.c +82 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/ext/xml.o +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/lib/markdown.rb +1 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/lib/rdiscount.bundle +0 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/lib/rdiscount.rb +96 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/man/markdown.7 +1020 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/man/rdiscount.1 +22 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/man/rdiscount.1.ronn +24 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/rdiscount.gemspec +58 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/test/benchmark.rb +56 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/test/benchmark.txt +306 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/test/markdown_test.rb +158 -0
- data/vendor/bundle/gems/rdiscount-1.6.8/test/rdiscount_test.rb +111 -0
- data/vendor/bundle/gems/rdoc-3.12/DEVELOPERS.rdoc +141 -0
- data/vendor/bundle/gems/rdoc-3.12/History.rdoc +962 -0
- data/vendor/bundle/gems/rdoc-3.12/LEGAL.rdoc +27 -0
- data/vendor/bundle/gems/rdoc-3.12/LICENSE.rdoc +57 -0
- data/vendor/bundle/gems/rdoc-3.12/Manifest.txt +228 -0
- data/vendor/bundle/gems/rdoc-3.12/README.rdoc +61 -0
- data/vendor/bundle/gems/rdoc-3.12/RI.rdoc +57 -0
- data/vendor/bundle/gems/rdoc-3.12/Rakefile +135 -0
- data/vendor/bundle/gems/rdoc-3.12/TODO.rdoc +40 -0
- data/vendor/bundle/gems/rdoc-3.12/bin/rdoc +40 -0
- data/vendor/bundle/gems/rdoc-3.12/bin/ri +12 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/gauntlet_rdoc.rb +84 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc.rb +221 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/alias.rb +111 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/anon_class.rb +10 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/any_method.rb +208 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/attr.rb +134 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/class_module.rb +619 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_object.rb +305 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_objects.rb +5 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/comment.rb +225 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/constant.rb +84 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context.rb +1136 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context/section.rb +123 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/cross_reference.rb +175 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/encoding.rb +90 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/erbio.rb +37 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator.rb +45 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/darkfish.rb +532 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/json_index.rb +240 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/markup.rb +171 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/ri.rb +83 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_head.rhtml +16 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +18 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +8 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +16 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +7 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +10 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +10 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +10 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/class.rhtml +165 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/index.rhtml +19 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/darkfish.js +153 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/jquery.js +18 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/search.js +94 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/page.rhtml +16 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/rdoc.css +543 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +55 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/navigation.js +142 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/searcher.js +228 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ghost_method.rb +6 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/include.rb +110 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/known_classes.rb +72 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup.rb +813 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_changer.rb +25 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_span.rb +29 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute.rb +51 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute_manager.rb +335 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/blank_line.rb +27 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/document.rb +148 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter.rb +173 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter_test_case.rb +698 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/heading.rb +64 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/include.rb +42 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/indented_paragraph.rb +33 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/inline.rb +1 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list.rb +82 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list_item.rb +86 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/paragraph.rb +14 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/parser.rb +504 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/pre_process.rb +293 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/raw.rb +69 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/rule.rb +20 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/special.rb +40 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/text_formatter_test_case.rb +114 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_ansi.rb +87 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_bs.rb +78 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html.rb +394 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_crossref.rb +156 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_snippet.rb +268 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_label.rb +55 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_rdoc.rb +302 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_table_of_contents.rb +56 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_test.rb +69 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_tt_only.rb +111 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/verbatim.rb +64 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/meta_method.rb +6 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/method_attr.rb +384 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_class.rb +69 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_module.rb +64 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/options.rb +1040 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser.rb +242 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/c.rb +1024 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/rd.rb +22 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby.rb +1816 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby_tools.rb +162 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/simple.rb +61 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/text.rb +11 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd.rb +95 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/block_parser.ry +638 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline.rb +71 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline_parser.ry +593 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rdoc.rb +532 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/require.rb +51 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri.rb +20 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/driver.rb +1174 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/formatter.rb +5 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/paths.rb +128 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/store.rb +357 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_lex.rb +1334 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_token.rb +458 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rubygems_hook.rb +220 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/single_class.rb +21 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats.rb +436 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/normal.rb +48 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/quiet.rb +59 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/verbose.rb +45 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/task.rb +329 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/test_case.rb +76 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/text.rb +314 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/token_stream.rb +95 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/tom_doc.rb +232 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/top_level.rb +523 -0
- data/vendor/bundle/gems/rdoc-3.12/test/README +1 -0
- data/vendor/bundle/gems/rdoc-3.12/test/binary.dat +0 -0
- data/vendor/bundle/gems/rdoc-3.12/test/hidden.zip.txt +1 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.large.rdoc +3 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.rdoc +10 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.txt +8 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test.txt +1 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_attribute_manager.rb +117 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_alias.rb +13 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_any_method.rb +248 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_attr.rb +136 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_class_module.rb +814 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_code_object.rb +297 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_comment.rb +504 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_constant.rb +15 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context.rb +791 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context_section.rb +53 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_cross_reference.rb +176 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_encoding.rb +188 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_darkfish.rb +151 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_json_index.rb +255 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_markup.rb +56 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_ri.rb +84 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_include.rb +96 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup.rb +95 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_attribute_manager.rb +237 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_document.rb +180 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_formatter.rb +55 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_heading.rb +20 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_include.rb +19 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_indented_paragraph.rb +39 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_paragraph.rb +18 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_parser.rb +1624 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_pre_process.rb +461 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_raw.rb +29 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_ansi.rb +348 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_bs.rb +342 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html.rb +515 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_crossref.rb +200 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_snippet.rb +668 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_label.rb +50 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_rdoc.rb +357 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_table_of_contents.rb +90 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_tt_only.rb +226 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_verbatim.rb +16 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_method_attr.rb +150 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_class.rb +23 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_module.rb +37 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_options.rb +579 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser.rb +162 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_c.rb +1438 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_rd.rb +52 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_ruby.rb +2490 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_simple.rb +115 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb +30 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_block_parser.rb +527 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline.rb +63 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline_parser.rb +173 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rdoc.rb +280 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_require.rb +25 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_driver.rb +1059 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_paths.rb +46 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_store.rb +466 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ruby_lex.rb +137 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rubygems_hook.rb +202 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_single_class.rb +12 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_stats.rb +588 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_task.rb +120 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_text.rb +542 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_token_stream.rb +42 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_tom_doc.rb +458 -0
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_top_level.rb +313 -0
- data/vendor/bundle/gems/rdoc-3.12/test/xref_data.rb +76 -0
- data/vendor/bundle/gems/rdoc-3.12/test/xref_test_case.rb +67 -0
- data/vendor/bundle/gems/shoulda-2.11.3/CONTRIBUTION_GUIDELINES.rdoc +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/MIT-LICENSE +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/README.rdoc +154 -0
- data/vendor/bundle/gems/shoulda-2.11.3/Rakefile +70 -0
- data/vendor/bundle/gems/shoulda-2.11.3/bin/convert_to_should_syntax +42 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda.rb +9 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller.rb +34 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/macros.rb +221 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers.rb +39 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/assign_to_matcher.rb +112 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/filter_param_matcher.rb +74 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/redirect_to_matcher.rb +62 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/render_template_matcher.rb +54 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/render_with_layout_matcher.rb +99 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/respond_with_content_type_matcher.rb +74 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/respond_with_matcher.rb +85 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/route_matcher.rb +93 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/set_session_matcher.rb +98 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_controller/matchers/set_the_flash_matcher.rb +100 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_mailer.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_mailer/assertions.rb +42 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_mailer/matchers.rb +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/action_mailer/matchers/have_sent_email.rb +110 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record.rb +16 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/assertions.rb +69 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/helpers.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/macros.rb +457 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers.rb +42 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/allow_mass_assignment_of_matcher.rb +83 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/allow_value_matcher.rb +110 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/association_matcher.rb +226 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/ensure_inclusion_of_matcher.rb +87 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/ensure_length_of_matcher.rb +141 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_db_column_matcher.rb +169 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_db_index_matcher.rb +112 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/have_readonly_attribute_matcher.rb +59 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_acceptance_of_matcher.rb +41 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb +65 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_numericality_of_matcher.rb +39 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_presence_of_matcher.rb +60 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validate_uniqueness_of_matcher.rb +148 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/active_record/matchers/validation_matcher.rb +56 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/assertions.rb +79 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/autoload_macros.rb +46 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/context.rb +433 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/helpers.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/integrations/rspec.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/integrations/rspec2.rb +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/integrations/test_unit.rb +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/macros.rb +161 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/private_helpers.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/proc_extensions.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/rails.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/tasks.rb +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/tasks/list_tests.rake +29 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/tasks/yaml_to_shoulda.rake +28 -0
- data/vendor/bundle/gems/shoulda-2.11.3/lib/shoulda/version.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/rails/init.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/README +36 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fail_macros.rb +55 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/addresses.yml +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/friendships.yml +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/posts.yml +5 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/products.yml +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/taggings.yml +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/tags.yml +9 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/fixtures/users.yml +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/functional/posts_controller_test.rb +121 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/functional/users_controller_test.rb +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/action_mailer/have_sent_email_test.rb +70 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/allow_mass_assignment_of_matcher_test.rb +74 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/allow_value_matcher_test.rb +64 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/association_matcher_test.rb +263 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/ensure_inclusion_of_matcher_test.rb +81 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/ensure_length_of_matcher_test.rb +158 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/have_db_column_matcher_test.rb +169 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/have_db_index_matcher_test.rb +91 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/have_readonly_attributes_matcher_test.rb +29 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/validate_acceptance_of_matcher_test.rb +44 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/validate_format_of_matcher_test.rb +39 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/validate_numericality_of_matcher_test.rb +52 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/validate_presence_of_matcher_test.rb +86 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/active_record/validate_uniqueness_of_matcher_test.rb +147 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/assign_to_matcher_test.rb +45 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/filter_param_matcher_test.rb +40 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/redirect_to_matcher_test.rb +37 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/render_template_matcher_test.rb +37 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/render_with_layout_matcher_test.rb +47 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/respond_with_content_type_matcher_test.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/respond_with_matcher_test.rb +96 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/route_matcher_test.rb +75 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/set_session_matcher_test.rb +48 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/matchers/controller/set_the_flash_matcher.rb +95 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/autoload_macro_test.rb +18 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/context_test.rb +372 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/convert_to_should_syntax_test.rb +63 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/helpers_test.rb +317 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/private_helpers_test.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/other/should_test.rb +271 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_model_builder.rb +130 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/controllers/application_controller.rb +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/controllers/posts_controller.rb +87 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/controllers/users_controller.rb +84 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/helpers/application_helper.rb +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/helpers/posts_helper.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/helpers/users_helper.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/address.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/flea.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/friendship.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/notifier.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/cat.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/pets/dog.rb +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/post.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/product.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/profile.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/registration.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/tag.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/tagging.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/treat.rb +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/models/user.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/posts.rhtml +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/users.rhtml +17 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/layouts/wide.html.erb +1 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/notifier/the_email.html.erb +1 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/edit.rhtml +27 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/index.rhtml +25 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/new.rhtml +26 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/posts/show.rhtml +18 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/users/edit.rhtml +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/users/index.rhtml +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/users/new.rhtml +21 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/app/views/users/show.rhtml +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/boot.rb +110 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/database.yml +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/environment.rb +17 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/environments/test.rb +23 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb +15 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/initializers/shoulda.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/config/routes.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/001_create_users.rb +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/002_create_posts.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/003_create_taggings.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/004_create_tags.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/005_create_dogs.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/006_create_addresses.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/007_create_fleas.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/008_create_dogs_fleas.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/009_create_products.rb +17 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/010_create_friendships.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/011_create_treats.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090506203502_create_profiles.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090506203536_create_registrations.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/migrate/20090513104502_create_cats.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/db/schema.rb +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/log/test.log +50381 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/public/404.html +30 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/public/422.html +30 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/public/500.html +30 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/script/console +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/script/generate +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/test/shoulda_macros/custom_macro.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/vendor/gems/gem_with_macro-0.0.1/shoulda_macros/gem_macro.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_root/vendor/plugins/plugin_with_macro/shoulda_macros/plugin_macro.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails2_test_helper.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_model_builder.rb +118 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/Gemfile +28 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/README +244 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/Rakefile +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/controllers/application_controller.rb +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/controllers/posts_controller.rb +87 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/controllers/users_controller.rb +82 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/helpers/application_helper.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/address.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/flea.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/friendship.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/notifier.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/cat.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/pets/dog.rb +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/post.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/product.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/profile.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/registration.rb +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/tag.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/tagging.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/treat.rb +3 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/models/user.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/application.html.erb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/posts.rhtml +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/users.rhtml +17 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/layouts/wide.html.erb +1 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/notifier/the_email.html.erb +1 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/edit.rhtml +27 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/index.rhtml +25 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/new.rhtml +24 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/posts/show.rhtml +18 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/users/edit.rhtml +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/users/index.rhtml +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/users/new.rhtml +21 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/app/views/users/show.rhtml +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config.ru +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/application.rb +46 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/boot.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/database.yml +22 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/environment.rb +5 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/environments/development.rb +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/environments/production.rb +42 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/environments/test.rb +32 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/initializers/inflections.rb +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/initializers/mime_types.rb +5 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/initializers/secret_token.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/initializers/session_store.rb +8 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/locales/en.yml +5 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/config/routes.rb +4 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/001_create_users.rb +19 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/002_create_posts.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/003_create_taggings.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/004_create_tags.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/005_create_dogs.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/006_create_addresses.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/007_create_fleas.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/008_create_dogs_fleas.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/009_create_products.rb +17 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/010_create_friendships.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/011_create_treats.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090506203502_create_profiles.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090506203536_create_registrations.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/migrate/20090513104502_create_cats.rb +12 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/seeds.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/db/test.sqlite3 +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/log/test.log +10834 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/404.html +26 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/422.html +26 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/500.html +26 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/favicon.ico +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/images/rails.png +0 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/index.html +279 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/application.js +2 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/controls.js +965 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/dragdrop.js +974 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/effects.js +1123 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/prototype.js +4874 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/javascripts/rails.js +118 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/public/robots.txt +5 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/script/rails +9 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/test/performance/browsing_test.rb +9 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_root/test/test_helper.rb +13 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rails3_test_helper.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/rspec_test.rb +207 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/test_helper.rb +36 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/address_test.rb +10 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/cat_test.rb +7 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/dog_test.rb +9 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/flea_test.rb +14 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/friendship_test.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/post_test.rb +15 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/product_test.rb +23 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/tag_test.rb +11 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/tagging_test.rb +6 -0
- data/vendor/bundle/gems/shoulda-2.11.3/test/unit/user_test.rb +46 -0
- data/vendor/bundle/gems/simplecov-0.5.4/CHANGELOG.md +92 -0
- data/vendor/bundle/gems/simplecov-0.5.4/Gemfile +9 -0
- data/vendor/bundle/gems/simplecov-0.5.4/LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-0.5.4/README.md +414 -0
- data/vendor/bundle/gems/simplecov-0.5.4/Rakefile +14 -0
- data/vendor/bundle/gems/simplecov-0.5.4/cucumber.yml +13 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_adapters.feature +44 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_autoload.feature +46 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_command_name.feature +33 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_coverage_dir.feature +20 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_deactivate_merging.feature +42 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature +38 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_nocov_token.feature +79 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_project_name.feature +27 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/config_styles.feature +93 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/cucumber_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/merging_test_unit_and_rspec.feature +44 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_basic.feature +31 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_fails_on_initialization.feature +14 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_and_filters_complex.feature +35 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_using_filter_class.feature +40 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_without_simplecov.feature +20 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/skipping_code_blocks_manually.feature +70 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/html_steps.rb +45 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/simplecov_steps.rb +61 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/transformers.rb +13 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/web_steps.rb +64 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/support/env.rb +26 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_basic.feature +34 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_and_filters_complex.feature +35 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_using_filter_class.feature +40 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_without_simplecov.feature +20 -0
- data/vendor/bundle/gems/simplecov-0.5.4/features/unicode_compatiblity.feature +67 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov.rb +120 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/adapters.rb +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/command_guesser.rb +21 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/configuration.rb +213 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/defaults.rb +53 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/file_list.rb +44 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/filter.rb +44 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/formatter.rb +7 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/formatter/simple_formatter.rb +19 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/merge_helpers.rb +39 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/result.rb +125 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/result_merger.rb +80 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/source_file.rb +173 -0
- data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/version.rb +3 -0
- data/vendor/bundle/gems/simplecov-0.5.4/simplecov.gemspec +28 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/Gemfile +6 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/Rakefile +8 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/cucumber.yml +13 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/step_definitions/my_steps.rb +23 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/support/env.rb +12 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/test_stuff.feature +6 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/framework_specific.rb +18 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/meta_magic.rb +24 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/some_class.rb +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/faked_spec.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/meta_magic_spec.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/some_class_spec.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/spec_helper.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/faked_test.rb +11 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/meta_magic_test.rb +13 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/some_class_test.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/test_helper.rb +16 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/app/controllers/sample_controller.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/app/models/user.rb +10 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/deleted_source_sample.rb +15 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/rspec_bad.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/rspec_good.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/testunit_bad.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/testunit_good.rb +9 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/resultset1.rb +4 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/resultset2.rb +5 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/sample.rb +16 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/helper.rb +35 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/shoulda_macros.rb +29 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_1_8_fallbacks.rb +33 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_command_guesser.rb +20 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_deleted_source.rb +16 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_file_list.rb +24 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_filters.rb +80 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_merge_helpers.rb +107 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_result.rb +147 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_return_codes.rb +39 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_source_file.rb +75 -0
- data/vendor/bundle/gems/simplecov-0.5.4/test/test_source_file_line.rb +110 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/Gemfile +12 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/LICENSE +20 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/README.rdoc +20 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/Rakefile +18 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/app.js +88 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/blank.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_close.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_loading.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_nav_left.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_nav_right.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_e.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_n.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_ne.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_nw.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_s.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_se.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_sw.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_shadow_w.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_title_left.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_title_main.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_title_over.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancy_title_right.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancybox-x.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancybox-y.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/fancybox.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/jquery.fancybox-1.3.1.css +363 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/fancybox/jquery.fancybox-1.3.1.pack.js +44 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/favicon_green.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/favicon_red.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/favicon_yellow.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/highlight.css +129 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/highlight.pack.js +1 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/jquery.timeago.js +141 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/jquery.url.js +174 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/loading.gif +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/magnify.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/smoothness/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/assets/stylesheet.css +383 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/lib/simplecov-html.rb +95 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/lib/simplecov-html/version.rb +7 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/simplecov-html.gemspec +23 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/test/helper.rb +9 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/views/file_list.erb +45 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/views/layout.erb +50 -0
- data/vendor/bundle/gems/simplecov-html-0.5.3/views/source_file.erb +23 -0
- data/vendor/bundle/gems/sprockets-2.1.2/LICENSE +21 -0
- data/vendor/bundle/gems/sprockets-2.1.2/README.md +397 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets.rb +63 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/asset.rb +258 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/asset_attributes.rb +126 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/base.rb +267 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/bundled_asset.rb +79 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/cache/file_store.rb +32 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/caching.rb +96 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/charset_normalizer.rb +41 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/context.rb +219 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/directive_processor.rb +394 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/eco_template.rb +38 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/ejs_template.rb +37 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/engines.rb +74 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/environment.rb +87 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/errors.rb +19 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/index.rb +95 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/jst_processor.rb +33 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/mime.rb +38 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/processed_asset.rb +148 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/processing.rb +280 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/processor.rb +32 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/safety_colons.rb +28 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/server.rb +247 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/static_asset.rb +55 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/trail.rb +90 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/utils.rb +67 -0
- data/vendor/bundle/gems/sprockets-2.1.2/lib/sprockets/version.rb +3 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/API_CHANGES.rdoc +50 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/CHANGELOG.rdoc +208 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ChangeLog.cvs +88 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/LICENSE +27 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/Manifest.txt +50 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/README.rdoc +95 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/Rakefile +10 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/Makefile +187 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/backup.c +168 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/backup.h +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/backup.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/database.c +784 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/database.h +15 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/database.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/exception.c +94 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/exception.h +8 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/exception.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/extconf.rb +47 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/mkmf.log +217 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/sqlite3.c +40 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/sqlite3.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/sqlite3_native.bundle +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/sqlite3_ruby.h +44 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/statement.c +436 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/statement.h +16 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/statement.o +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/faq/faq.rb +145 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/faq/faq.yml +426 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3.rb +10 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/constants.rb +49 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/database.rb +579 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/errors.rb +44 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/pragmas.rb +280 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/resultset.rb +126 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/sqlite3_native.bundle +0 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/statement.rb +148 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/translator.rb +118 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/value.rb +57 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/version.rb +25 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/setup.rb +1333 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/tasks/faq.rake +9 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/tasks/gem.rake +32 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/tasks/native.rake +37 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/tasks/vendor_sqlite3.rake +48 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/helper.rb +3 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_backup.rb +33 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_collation.rb +82 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_database.rb +335 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_database_readonly.rb +29 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_deprecated.rb +37 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_encoding.rb +121 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_integration.rb +555 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_integration_open_close.rb +30 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_integration_pending.rb +115 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_integration_resultset.rb +156 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_integration_statement.rb +194 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_sqlite3.rb +9 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_statement.rb +238 -0
- data/vendor/bundle/gems/sqlite3-1.3.5/test/test_statement_execute.rb +35 -0
- data/vendor/bundle/gems/thor-0.14.6/CHANGELOG.rdoc +103 -0
- data/vendor/bundle/gems/thor-0.14.6/LICENSE +20 -0
- data/vendor/bundle/gems/thor-0.14.6/README.md +307 -0
- data/vendor/bundle/gems/thor-0.14.6/Thorfile +24 -0
- data/vendor/bundle/gems/thor-0.14.6/bin/rake2thor +86 -0
- data/vendor/bundle/gems/thor-0.14.6/bin/thor +6 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor.rb +334 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions.rb +314 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/create_file.rb +105 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/create_link.rb +57 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/directory.rb +93 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb +134 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb +270 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/actions/inject_into_file.rb +109 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/base.rb +579 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb +9 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb +100 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/error.rb +30 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/group.rb +273 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/invocation.rb +168 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/parser.rb +4 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/parser/argument.rb +67 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/parser/arguments.rb +161 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/parser/option.rb +120 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/parser/options.rb +173 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/rake_compat.rb +66 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/runner.rb +309 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/shell.rb +88 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/shell/basic.rb +290 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/shell/color.rb +108 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/shell/html.rb +121 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/task.rb +114 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/util.rb +229 -0
- data/vendor/bundle/gems/thor-0.14.6/lib/thor/version.rb +3 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions/create_file_spec.rb +170 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions/directory_spec.rb +136 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions/empty_directory_spec.rb +98 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions/file_manipulation_spec.rb +310 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/actions_spec.rb +322 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/base_spec.rb +269 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/application.rb +2 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/doc/README +3 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/doc/block_helper.rb +3 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/doc/config.rb +1 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/group.thor +114 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/invoke.thor +112 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/path with spaces b/data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/script.thor +184 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/fixtures/task.thor +10 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/group_spec.rb +178 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/invocation_spec.rb +100 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/parser/argument_spec.rb +47 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/parser/arguments_spec.rb +64 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/parser/option_spec.rb +202 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/parser/options_spec.rb +319 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/rake_compat_spec.rb +68 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/register_spec.rb +92 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/runner_spec.rb +210 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/shell/basic_spec.rb +223 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/shell/color_spec.rb +41 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/shell/html_spec.rb +27 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/shell_spec.rb +47 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/spec_helper.rb +54 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/task_spec.rb +69 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/thor_spec.rb +334 -0
- data/vendor/bundle/gems/thor-0.14.6/spec/util_spec.rb +163 -0
- data/vendor/bundle/gems/tilt-1.3.3/COPYING +18 -0
- data/vendor/bundle/gems/tilt-1.3.3/Gemfile +2 -0
- data/vendor/bundle/gems/tilt-1.3.3/README.md +208 -0
- data/vendor/bundle/gems/tilt-1.3.3/Rakefile +80 -0
- data/vendor/bundle/gems/tilt-1.3.3/TEMPLATES.md +516 -0
- data/vendor/bundle/gems/tilt-1.3.3/bin/tilt +110 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt.rb +190 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/builder.rb +40 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/coffee.rb +50 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/css.rb +72 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/erb.rb +110 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/haml.rb +64 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/liquid.rb +41 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markaby.rb +52 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markdown.rb +190 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/nokogiri.rb +43 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/radius.rb +51 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/rdoc.rb +32 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/string.rb +21 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/template.rb +285 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/textile.rb +25 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/wiki.rb +50 -0
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/yajl.rb +94 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/contest.rb +68 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/locals.mab +1 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby.mab +1 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby_other_static.mab +1 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/render_twice.mab +1 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/scope.mab +1 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/yielding.mab +2 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_blueclothtemplate_test.rb +45 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_buildertemplate_test.rb +59 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_cache_test.rb +32 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_coffeescripttemplate_test.rb +61 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_compilesite_test.rb +51 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_creoletemplate_test.rb +28 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erbtemplate_test.rb +234 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erubistemplate_test.rb +151 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_fallback_test.rb +122 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_hamltemplate_test.rb +144 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_kramdown_test.rb +42 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_lesstemplate_test.rb +26 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_liquidtemplate_test.rb +78 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markaby_test.rb +88 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markdown_test.rb +161 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_marukutemplate_test.rb +48 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_nokogiritemplate_test.rb +87 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_radiustemplate_test.rb +75 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdiscounttemplate_test.rb +55 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdoctemplate_test.rb +24 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redcarpettemplate_test.rb +59 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redclothtemplate_test.rb +24 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_sasstemplate_test.rb +41 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_stringtemplate_test.rb +170 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_template_test.rb +154 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_test.rb +65 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_wikiclothtemplate_test.rb +32 -0
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_yajltemplate_test.rb +92 -0
- data/vendor/bundle/gems/tilt-1.3.3/tilt.gemspec +109 -0
- data/vendor/bundle/gems/treetop-1.4.10/LICENSE +19 -0
- data/vendor/bundle/gems/treetop-1.4.10/README.md +188 -0
- data/vendor/bundle/gems/treetop-1.4.10/Rakefile +60 -0
- data/vendor/bundle/gems/treetop-1.4.10/bin/tt +112 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/contributing_and_planned_features.markdown +102 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/grammar_composition.markdown +65 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/index.markdown +88 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/pitfalls_and_advanced_techniques.markdown +51 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/semantic_interpretation.markdown +218 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site.rb +112 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/contribute.html +124 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/bottom_background.png +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/middle_background.png +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/paren_language_output.png +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/pivotal.gif +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/images/top_background.png +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/index.html +102 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/pitfalls_and_advanced_techniques.html +68 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/robots.txt +5 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/screen.css +134 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/semantic_interpretation.html +245 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/syntactic_recognition.html +278 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/site/using_in_ruby.html +123 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/sitegen.rb +65 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/syntactic_recognition.markdown +215 -0
- data/vendor/bundle/gems/treetop-1.4.10/doc/using_in_ruby.markdown +105 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic.rb +551 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic.treetop +98 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic_node_classes.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/arithmetic_test.rb +58 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus +0 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus.rb +718 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus.treetop +132 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus_node_classes.rb +5 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/lambda_calculus_test.rb +89 -0
- data/vendor/bundle/gems/treetop-1.4.10/examples/lambda_calculus/test_helper.rb +18 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop.rb +3 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/bootstrap_gen_1_metagrammar.rb +42 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler.rb +7 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/grammar_compiler.rb +44 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/lexical_address_space.rb +17 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/metagrammar.rb +3550 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/metagrammar.treetop +448 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes.rb +19 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/anything_symbol.rb +18 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/atomic_expression.rb +14 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/character_class.rb +28 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/choice.rb +31 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/declaration_sequence.rb +24 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/grammar.rb +28 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/inline_module.rb +27 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/nonterminal.rb +13 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/optional.rb +19 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parenthesized_expression.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parsing_expression.rb +146 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/parsing_rule.rb +58 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/predicate.rb +45 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/predicate_block.rb +16 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/repetition.rb +89 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/sequence.rb +71 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/terminal.rb +20 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/transient_prefix.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/treetop_file.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/ruby_builder.rb +115 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/polyglot.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/ruby_extensions.rb +1 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/ruby_extensions/string.rb +42 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime.rb +6 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/compiled_parser.rb +115 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list.rb +3 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/head_node.rb +15 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb +200 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/interval_skip_list/node.rb +164 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/syntax_node.rb +114 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/terminal_parse_failure.rb +16 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/runtime/terminal_syntax_node.rb +17 -0
- data/vendor/bundle/gems/treetop-1.4.10/lib/treetop/version.rb +9 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/and_predicate_spec.rb +36 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/anything_symbol_spec.rb +44 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/character_class_spec.rb +276 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/choice_spec.rb +80 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/circular_compilation_spec.rb +30 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/failure_propagation_functional_spec.rb +21 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/grammar_compiler_spec.rb +91 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/grammar_spec.rb +41 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/multibyte_chars_spec.rb +39 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/namespace_spec.rb +42 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/nonterminal_symbol_spec.rb +40 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/not_predicate_spec.rb +38 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/occurrence_range_spec.rb +189 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/one_or_more_spec.rb +35 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/optional_spec.rb +37 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/parenthesized_expression_spec.rb +19 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/parsing_rule_spec.rb +61 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/repeated_subrule_spec.rb +29 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/semantic_predicate_spec.rb +175 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/sequence_spec.rb +115 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/terminal_spec.rb +81 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/terminal_symbol_spec.rb +37 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar.treetop +7 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar.tt +7 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/test_grammar_do.treetop +7 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/tt_compiler_spec.rb +217 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/compiler/zero_or_more_spec.rb +56 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/a.treetop +11 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/b.treetop +11 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/c.treetop +10 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/d.treetop +10 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/f.treetop +17 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/grammar_composition_spec.rb +40 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/composition/subfolder/e_includes_c.treetop +15 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/ruby_extensions/string_spec.rb +32 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/compiled_parser_spec.rb +123 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/delete_spec.rb +147 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/expire_range_spec.rb +349 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb +385 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/insert_spec.rb +660 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle +6175 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/interval_skip_list_spec.rb +58 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/palindromic_fixture.rb +35 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb +163 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/interval_skip_list/spec_helper.rb +91 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/runtime/syntax_node_spec.rb +77 -0
- data/vendor/bundle/gems/treetop-1.4.10/spec/spec_helper.rb +114 -0
- data/vendor/bundle/gems/treetop-1.4.10/treetop.gemspec +186 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/CHANGES +453 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/LICENSE +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/README +101 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/Rakefile +241 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo.rb +55 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country.rb +176 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_index_definition.rb +48 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_info.rb +80 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_timezone.rb +101 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/data_timezone.rb +45 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/data_timezone_info.rb +222 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Abidjan.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Accra.rb +31 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Algiers.rb +53 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Asmara.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Asmera.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bamako.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bangui.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Banjul.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bissau.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Blantyre.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Brazzaville.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bujumbura.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Cairo.rb +139 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Casablanca.rb +44 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ceuta.rb +170 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Conakry.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Dakar.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Djibouti.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Douala.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/El_Aaiun.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Freetown.rb +51 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Gaborone.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Harare.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Johannesburg.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Juba.rb +51 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kampala.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Khartoum.rb +51 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kigali.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kinshasa.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lagos.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Libreville.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lome.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Luanda.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lubumbashi.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lusaka.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Malabo.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Maputo.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Maseru.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Mbabane.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Mogadishu.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Monrovia.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Nairobi.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ndjamena.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Niamey.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Nouakchott.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ouagadougou.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Sao_Tome.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Timbuktu.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Tripoli.rb +46 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Tunis.rb +51 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Windhoek.rb +138 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Adak.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Anchorage.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Anguilla.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Antigua.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Araguaina.rb +65 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +82 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +13 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +82 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +84 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +84 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Salta.rb +81 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +84 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/San_Luis.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Aruba.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Asuncion.rb +172 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Atikokan.rb +26 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Atka.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bahia.rb +153 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bahia_Banderas.rb +138 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Barbados.rb +27 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Belem.rb +45 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Belize.rb +72 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb +24 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Boa_Vista.rb +49 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bogota.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Boise.rb +197 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Buenos_Aires.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cambridge_Bay.rb +171 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Campo_Grande.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cancun.rb +131 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Caracas.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Catamarca.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cayenne.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cayman.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Chicago.rb +281 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Chihuahua.rb +134 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Coral_Harbour.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cordoba.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Costa_Rica.rb +27 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cuiaba.rb +167 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Curacao.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Danmarkshavn.rb +51 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dawson.rb +174 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dawson_Creek.rb +77 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Denver.rb +202 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Detroit.rb +184 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dominica.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Edmonton.rb +198 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Eirunepe.rb +49 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/El_Salvador.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Ensenada.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Fort_Wayne.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Fortaleza.rb +55 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Glace_Bay.rb +184 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Godthab.rb +159 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Goose_Bay.rb +253 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Grand_Turk.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Grenada.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guadeloupe.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guatemala.rb +25 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guayaquil.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guyana.rb +22 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Halifax.rb +272 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Havana.rb +199 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Hermosillo.rb +33 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +147 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Knox.rb +201 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Marengo.rb +151 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +164 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Tell_City.rb +149 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Vevay.rb +129 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +149 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Winamac.rb +155 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indianapolis.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Inuvik.rb +164 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Iqaluit.rb +168 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Jamaica.rb +39 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Jujuy.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Juneau.rb +193 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +226 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +196 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Knox_IN.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kralendijk.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/La_Paz.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Lima.rb +33 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Los_Angeles.rb +230 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Louisville.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Lower_Princes.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Maceio.rb +57 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Managua.rb +34 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Manaus.rb +47 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Marigot.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Martinique.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Matamoros.rb +129 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mazatlan.rb +137 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mendoza.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Menominee.rb +188 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Merida.rb +130 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Metlakatla.rb +55 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mexico_City.rb +142 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Miquelon.rb +147 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Moncton.rb +252 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Monterrey.rb +129 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montevideo.rb +177 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montreal.rb +277 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montserrat.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nassau.rb +191 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/New_York.rb +280 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nipigon.rb +179 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nome.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Noronha.rb +55 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/Beulah.rb +198 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/Center.rb +198 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +198 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Ojinaga.rb +134 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Panama.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Pangnirtung.rb +171 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Paramaribo.rb +24 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Phoenix.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +53 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Port_of_Spain.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Porto_Acre.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Porto_Velho.rb +45 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Puerto_Rico.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rainy_River.rb +179 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rankin_Inlet.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Recife.rb +55 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Regina.rb +72 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Resolute.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rio_Branco.rb +47 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rosario.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santa_Isabel.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santarem.rb +47 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santiago.rb +203 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santo_Domingo.rb +36 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Sao_Paulo.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Scoresbysund.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Shiprock.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Sitka.rb +192 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Barthelemy.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Johns.rb +286 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Kitts.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Lucia.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Thomas.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Vincent.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Swift_Current.rb +42 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tegucigalpa.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Thule.rb +137 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Thunder_Bay.rb +184 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tijuana.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Toronto.rb +277 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tortola.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Vancouver.rb +234 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Virgin.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Whitehorse.rb +174 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Winnipeg.rb +230 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Yakutat.rb +191 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Yellowknife.rb +167 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Casey.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Davis.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Macquarie.rb +112 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Mawson.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/McMurdo.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Palmer.rb +170 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Rothera.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/South_Pole.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Syowa.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Vostok.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aden.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Almaty.rb +65 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Amman.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Anadyr.rb +84 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aqtau.rb +73 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aqtobe.rb +69 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ashgabat.rb +46 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ashkhabad.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Baghdad.rb +71 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bahrain.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Baku.rb +159 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bangkok.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Beirut.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bishkek.rb +73 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Brunei.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Calcutta.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Choibalsan.rb +66 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Chongqing.rb +31 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Chungking.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Colombo.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dacca.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Damascus.rb +193 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dhaka.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dili.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dubai.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dushanbe.rb +43 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Gaza.rb +111 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Harbin.rb +35 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hebron.rb +113 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hong_Kong.rb +86 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hovd.rb +63 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Irkutsk.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Istanbul.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jakarta.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jayapura.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jerusalem.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kabul.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kamchatka.rb +82 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kashgar.rb +33 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kathmandu.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Katmandu.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kolkata.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +29 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuching.rb +38 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuwait.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Macao.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Macau.rb +59 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Magadan.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Makassar.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Manila.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Muscat.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Nicosia.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Novosibirsk.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Omsk.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Oral.rb +72 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Pontianak.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Pyongyang.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Qatar.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Qyzylorda.rb +71 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Rangoon.rb +22 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh87.rb +590 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh88.rb +580 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh89.rb +580 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Saigon.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Sakhalin.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Samarkand.rb +45 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Seoul.rb +32 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Shanghai.rb +33 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Singapore.rb +31 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Taipei.rb +57 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tashkent.rb +45 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tbilisi.rb +76 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tehran.rb +119 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Thimbu.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Thimphu.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tokyo.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +63 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Urumqi.rb +31 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Vientiane.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Vladivostok.rb +84 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yakutsk.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yerevan.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Azores.rb +268 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Bermuda.rb +171 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Canary.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Faeroe.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Faroe.rb +157 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Madeira.rb +267 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/St_Helena.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Stanley.rb +166 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/ACT.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Adelaide.rb +185 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Brisbane.rb +33 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Broken_Hill.rb +187 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Canberra.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Currie.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Darwin.rb +27 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Eucla.rb +35 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Hobart.rb +191 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/LHI.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Lindeman.rb +37 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Lord_Howe.rb +158 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Melbourne.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/NSW.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/North.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Perth.rb +35 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Queensland.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/South.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Sydney.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Tasmania.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Victoria.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/West.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Yancowinna.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/Acre.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/DeNoronha.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/East.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/West.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/CET.rb +175 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/CST6CDT.rb +190 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Atlantic.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Central.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Eastern.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Mountain.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Newfoundland.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Pacific.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Saskatchewan.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Yukon.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Chile/Continental.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Chile/EasterIsland.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Cuba.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EET.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EST.rb +12 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EST5EDT.rb +190 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Egypt.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Eire.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT0.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__0.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__1.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__10.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__11.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__12.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__13.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__14.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__2.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__3.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__4.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__5.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__6.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__7.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__8.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__9.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__0.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__1.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__10.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__11.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__12.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__2.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__3.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__4.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__5.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__6.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__7.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__8.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__9.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Greenwich.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/UCT.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/UTC.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Universal.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Zulu.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Amsterdam.rb +226 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Andorra.rb +151 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Athens.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Belfast.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Belgrade.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Berlin.rb +186 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Bratislava.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Brussels.rb +230 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Bucharest.rb +179 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Budapest.rb +195 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Chisinau.rb +187 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Copenhagen.rb +177 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Dublin.rb +274 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Gibraltar.rb +243 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Guernsey.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Helsinki.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Isle_of_Man.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Istanbul.rb +216 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Jersey.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Kaliningrad.rb +101 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Kiev.rb +166 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Lisbon.rb +266 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Ljubljana.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/London.rb +286 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Luxembourg.rb +229 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Madrid.rb +209 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Malta.rb +211 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Mariehamn.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Minsk.rb +90 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Monaco.rb +231 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Moscow.rb +101 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Nicosia.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Oslo.rb +183 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Paris.rb +230 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Podgorica.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Prague.rb +185 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Riga.rb +174 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Rome.rb +213 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Samara.rb +88 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/San_Marino.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Sarajevo.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Simferopol.rb +168 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Skopje.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Sofia.rb +171 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Stockholm.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tallinn.rb +170 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tirane.rb +175 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tiraspol.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Uzhgorod.rb +166 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vaduz.rb +157 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vatican.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vienna.rb +181 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vilnius.rb +168 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Volgograd.rb +85 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Warsaw.rb +210 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zagreb.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zaporozhye.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zurich.rb +163 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GB.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GB__m__Eire.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT0.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT__m__0.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT__p__0.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Greenwich.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/HST.rb +12 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Hongkong.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Iceland.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Antananarivo.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Chagos.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Christmas.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Cocos.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Comoro.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Kerguelen.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mahe.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Maldives.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mauritius.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mayotte.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Reunion.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Iran.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Israel.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Jamaica.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Japan.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Kwajalein.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Libya.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MET.rb +175 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MST.rb +12 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MST7MDT.rb +190 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/BajaNorte.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/BajaSur.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/General.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh87.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh88.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh89.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/NZ.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/NZ__m__CHAT.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Navajo.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/PRC.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/PST8PDT.rb +190 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Apia.rb +28 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Auckland.rb +200 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Chatham.rb +169 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Chuuk.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Easter.rb +188 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Efate.rb +37 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Enderbury.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Fakaofo.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Fiji.rb +27 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Funafuti.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Galapagos.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Gambier.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Guam.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Honolulu.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Johnston.rb +14 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kiritimati.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kosrae.rb +19 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kwajalein.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Majuro.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Marquesas.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Midway.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Nauru.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Niue.rb +20 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Norfolk.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Noumea.rb +23 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +24 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Palau.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pitcairn.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pohnpei.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Ponape.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Rarotonga.rb +44 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Saipan.rb +22 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Samoa.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tahiti.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tarawa.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tongatapu.rb +25 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Truk.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Wake.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Wallis.rb +16 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Yap.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Poland.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Portugal.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/ROC.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/ROK.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Singapore.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Turkey.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/UCT.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Alaska.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Aleutian.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Arizona.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Central.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/East__m__Indiana.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Eastern.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Hawaii.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Michigan.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Mountain.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Pacific.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Pacific__m__New.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Samoa.rb +11 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/UTC.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Universal.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/WET.rb +161 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/W__m__SU.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Zulu.rb +9 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/indexes/countries.rb +918 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/indexes/timezones.rb +588 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/info_timezone.rb +50 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/linked_timezone.rb +49 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/linked_timezone_info.rb +42 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/offset_rationals.rb +97 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/ruby_core_support.rb +80 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/time_or_datetime.rb +291 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone.rb +535 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_definition.rb +53 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_index_definition.rb +70 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_info.rb +40 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_offset_info.rb +94 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_period.rb +195 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_proxy.rb +83 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_transition_info.rb +128 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/tzdataparser.rb +1168 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country.rb +156 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_index_definition.rb +70 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_info.rb +72 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_timezone.rb +121 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_data_timezone.rb +68 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_data_timezone_info.rb +282 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_info_timezone.rb +36 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_linked_timezone.rb +102 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_linked_timezone_info.rb +18 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_offset_rationals.rb +25 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_ruby_core_support.rb +31 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_time_or_datetime.rb +422 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone.rb +964 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_definition.rb +115 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_index_definition.rb +75 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_info.rb +13 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_london.rb +114 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_melbourne.rb +114 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_new_york.rb +114 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_offset_info.rb +116 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_period.rb +509 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_proxy.rb +87 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_transition_info.rb +194 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_utc.rb +29 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/test_utils.rb +21 -0
- data/vendor/bundle/gems/tzinfo-0.3.31/test/ts_all.rb +9 -0
- data/vendor/bundle/gems/yard-0.7.5/ChangeLog +10695 -0
- data/vendor/bundle/gems/yard-0.7.5/LEGAL +74 -0
- data/vendor/bundle/gems/yard-0.7.5/LICENSE +22 -0
- data/vendor/bundle/gems/yard-0.7.5/README.md +531 -0
- data/vendor/bundle/gems/yard-0.7.5/Rakefile +99 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/format_args.rb +46 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/generation.rb +37 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/parsing.rb +46 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/ripper_parser.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/template_erb.rb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/template_format.rb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/template_profile.rb +17 -0
- data/vendor/bundle/gems/yard-0.7.5/benchmarks/yri_cache.rb +19 -0
- data/vendor/bundle/gems/yard-0.7.5/bin/yard +4 -0
- data/vendor/bundle/gems/yard-0.7.5/bin/yard-graph +4 -0
- data/vendor/bundle/gems/yard-0.7.5/bin/yard-server +4 -0
- data/vendor/bundle/gems/yard-0.7.5/bin/yardoc +4 -0
- data/vendor/bundle/gems/yard-0.7.5/bin/yri +4 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/CodeObjects.md +115 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/GettingStarted.md +590 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Glossary.md +12 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Handlers.md +152 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Overview.md +61 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Parser.md +191 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Tags.md +586 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/Templates.md +518 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/WhatsNew.md +887 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.7.5/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/rubygems_plugin.rb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard.rb +57 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/autoload.rb +233 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/command.rb +73 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/command_parser.rb +89 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/config.rb +136 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/diff.rb +201 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/gems.rb +83 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/graph.rb +103 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/help.rb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/list.rb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/server.rb +160 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/stats.rb +210 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/yardoc.rb +697 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/cli/yri.rb +193 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/base.rb +520 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/class_object.rb +143 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/class_variable_object.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/constant_object.rb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/extra_file_object.rb +89 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/macro_object.rb +215 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/method_object.rb +153 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/module_object.rb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/proxy.rb +252 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/code_objects/root_object.rb +16 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/config.rb +259 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/array.rb +15 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/file.rb +65 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/module.rb +19 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/string.rb +67 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/docstring.rb +331 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/globals.rb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/base.rb +569 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/processor.rb +187 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/alias_handler.rb +43 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/attribute_handler.rb +83 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/base.rb +160 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/class_condition_handler.rb +84 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/class_handler.rb +122 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/constant_handler.rb +45 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/alias_handler.rb +37 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/attribute_handler.rb +61 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/base.rb +228 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +81 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/class_handler.rb +110 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/macro_handler.rb +39 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/method_handler.rb +80 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/mixin_handler.rb +41 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/macro_handler.rb +40 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/macro_handler_methods.rb +131 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/method_handler.rb +96 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/struct_handler_methods.rb +140 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/logging.rb +77 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/base.rb +56 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/c_parser.rb +497 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/ast_node.rb +399 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/legacy/ruby_lex.rb +1376 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/legacy/ruby_parser.rb +30 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/legacy/statement.rb +60 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/legacy/statement_list.rb +390 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/legacy/token_list.rb +66 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/ruby/ruby_parser.rb +554 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/parser/source_parser.rb +517 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rake/yardoc_task.rb +75 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/registry.rb +400 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/registry_store.rb +252 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/backports/gem.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/backports/source_index.rb +353 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/doc_manager.rb +75 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/serializers/base.rb +80 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/serializers/file_system_serializer.rb +92 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/serializers/yardoc_serializer.rb +122 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/base.rb +192 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/display_file_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/display_object_command.rb +51 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/frames_command.rb +32 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/library_command.rb +101 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/list_command.rb +48 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/search_command.rb +72 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/commands/static_file_command.rb +50 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/doc_server_helper.rb +40 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/doc_server_serializer.rb +31 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/library_version.rb +227 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/rack_adapter.rb +84 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/router.rb +182 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/static_caching.rb +45 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/fulldoc/html/js/live.js +32 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/layout/html/headers.erb +16 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/frames/html/frames.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/frames/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/full_list/html/full_list.erb +34 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/full_list/html/setup.rb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/default_factory.rb +141 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/default_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/library.rb +201 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/option_tag.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/overload_tag.rb +65 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/ref_tag.rb +7 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/ref_tag_list.rb +27 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/tag.rb +57 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/tags/tag_format_error.rb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/engine.rb +173 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/base_helper.rb +206 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/html_helper.rb +546 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +59 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/markup/rdoc_markup.rb +85 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/markup_helper.rb +164 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/method_helper.rb +72 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/module_helper.rb +19 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/text_helper.rb +95 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/section.rb +106 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/templates/template.rb +366 -0
- data/vendor/bundle/gems/yard-0.7.5/lib/yard/verifier.rb +148 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/command_spec.rb +36 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/config_spec.rb +92 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/diff_spec.rb +172 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/help_spec.rb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/list_spec.rb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/server_spec.rb +171 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/stats_spec.rb +90 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/yardoc_spec.rb +645 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/cli/yri_spec.rb +87 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/base_spec.rb +334 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/code_object_list_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/constants_spec.rb +81 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/extra_file_object_spec.rb +132 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/macro_object_spec.rb +154 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/method_object_spec.rb +152 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/proxy_spec.rb +124 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/config_spec.rb +167 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/array_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/core_ext/symbol_hash_spec.rb +86 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/docstring_spec.rb +400 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/alias_handler_spec.rb +80 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/base_spec.rb +197 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/class_condition_handler_spec.rb +62 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/constant_handler_spec.rb +64 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/alias_handler_001.rb.txt +44 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt +61 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/macro_handler_001.rb.txt +83 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/mixin_handler_001.rb.txt +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/visibility_handler_001.rb.txt +27 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/yield_handler_001.rb.txt +55 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/macro_handler_spec.rb +166 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/mixin_handler_spec.rb +50 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/processor_spec.rb +23 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/ruby/base_spec.rb +90 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/ruby/legacy/base_spec.rb +78 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/spec_helper.rb +34 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/visibility_handler_spec.rb +34 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/base_spec.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/c_parser_spec.rb +356 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/multifile.c.txt +6 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/ruby/legacy/token_list_spec.rb +69 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/ruby/ruby_parser_spec.rb +273 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/source_parser_spec.rb +595 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/parser/tag_parsing_spec.rb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/rake/yardoc_task_spec.rb +90 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/registry_spec.rb +304 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/registry_store_spec.rb +255 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/file_system_serializer_spec.rb +124 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/adapter_spec.rb +38 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/commands/base_spec.rb +87 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/commands/static_file_command_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/doc_server_helper_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/doc_server_serializer_spec.rb +45 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/router_spec.rb +122 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/spec_helper.rb +17 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/static_caching_spec.rb +39 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server/webrick_servlet_spec.rb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/server_spec.rb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/spec_helper.rb +105 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/tags/default_factory_spec.rb +138 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/tags/library_spec.rb +23 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/class_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/constant_spec.rb +40 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/engine_spec.rb +129 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/class001.html +280 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/class002.html +35 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method001.html +130 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method002.html +86 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method003.html +159 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method004.html +44 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method005.html +99 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/module001.html +795 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/module002.html +319 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/module003.html +186 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/base_helper_spec.rb +175 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/html_helper_spec.rb +567 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +48 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/markup/rdoc_markup_spec.rb +84 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/markup_helper_spec.rb +132 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/method_helper_spec.rb +75 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/shared_signature_examples.rb +121 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/helpers/text_helper_spec.rb +44 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/method_spec.rb +102 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/module_spec.rb +131 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/onefile_spec.rb +47 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/section_spec.rb +146 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/spec_helper.rb +42 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/tag_spec.rb +51 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/templates/template_spec.rb +401 -0
- data/vendor/bundle/gems/yard-0.7.5/spec/verifier_spec.rb +86 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/dot/setup.rb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/text/setup.rb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/constant/text/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/setup.rb +49 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/css/full_list.css +55 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/css/style.css +322 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/frames.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/full_list.erb +37 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/full_list_files.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/full_list_methods.erb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/js/app.js +205 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/js/full_list.js +173 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/js/jquery.js +16 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/fulldoc/html/setup.rb +198 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/breadcrumb.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/headers.erb +17 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/layout.erb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/search.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/layout/html/setup.rb +71 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method/html/header.erb +16 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method/setup.rb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/html/method_signature.erb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/setup.rb +9 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/attribute_details.erb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/box_info.erb +37 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/constant_summary.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/item_summary.erb +30 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/setup.rb +151 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/module/text/setup.rb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/onefile/html/layout.erb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/onefile/html/setup.rb +43 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/root/dot/setup.rb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/root/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/example.erb +9 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/option.erb +22 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/setup.rb +54 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/class/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/fulldoc/html/css/style.css +93 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/fulldoc/html/setup.rb +54 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/layout/html/setup.rb +24 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/method/html/setup.rb +21 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/module/html/setup.rb +26 -0
- data/vendor/bundle/gems/yard-0.7.5/templates/guide/tags/html/setup.rb +8 -0
- data/vendor/bundle/specifications/actionmailer-3.2.1.gemspec +33 -0
- data/vendor/bundle/specifications/actionpack-3.2.1.gemspec +57 -0
- data/vendor/bundle/specifications/activemodel-3.2.1.gemspec +32 -0
- data/vendor/bundle/specifications/activerecord-3.2.1.gemspec +41 -0
- data/vendor/bundle/specifications/activeresource-3.2.1.gemspec +35 -0
- data/vendor/bundle/specifications/activesupport-3.2.1.gemspec +33 -0
- data/vendor/bundle/specifications/arel-3.0.0.gemspec +35 -0
- data/vendor/bundle/specifications/bcrypt-ruby-3.0.1.gemspec +36 -0
- data/vendor/bundle/specifications/builder-3.0.0.gemspec +29 -0
- data/vendor/bundle/specifications/erubis-2.7.0.gemspec +28 -0
- data/vendor/bundle/specifications/factory_girl-2.5.0.gemspec +62 -0
- data/vendor/bundle/specifications/hike-1.2.1.gemspec +25 -0
- data/vendor/bundle/specifications/i18n-0.6.0.gemspec +38 -0
- data/vendor/bundle/specifications/journey-1.0.1.gemspec +47 -0
- data/vendor/bundle/specifications/json-1.6.5.gemspec +39 -0
- data/vendor/bundle/specifications/mail-2.4.1.gemspec +36 -0
- data/vendor/bundle/specifications/metaclass-0.0.1.gemspec +25 -0
- data/vendor/bundle/specifications/mime-types-1.17.2.gemspec +56 -0
- data/vendor/bundle/specifications/mocha-0.10.3.gemspec +44 -0
- data/vendor/bundle/specifications/multi_json-1.0.4.gemspec +40 -0
- data/vendor/bundle/specifications/polyglot-0.3.3.gemspec +28 -0
- data/vendor/bundle/specifications/rack-1.4.1.gemspec +47 -0
- data/vendor/bundle/specifications/rack-cache-1.1.gemspec +40 -0
- data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +29 -0
- data/vendor/bundle/specifications/rack-test-0.6.1.gemspec +31 -0
- data/vendor/bundle/specifications/rails-3.2.1.gemspec +47 -0
- data/vendor/bundle/specifications/railties-3.2.1.gemspec +47 -0
- data/vendor/bundle/specifications/rake-0.9.2.2.gemspec +34 -0
- data/vendor/bundle/specifications/rdiscount-1.6.8.gemspec +29 -0
- data/vendor/bundle/specifications/rdoc-3.12.gemspec +51 -0
- data/vendor/bundle/specifications/shoulda-2.11.3.gemspec +30 -0
- data/vendor/bundle/specifications/simplecov-0.5.4.gemspec +49 -0
- data/vendor/bundle/specifications/simplecov-html-0.5.3.gemspec +29 -0
- data/vendor/bundle/specifications/sprockets-2.1.2.gemspec +56 -0
- data/vendor/bundle/specifications/sqlite3-1.3.5.gemspec +43 -0
- data/vendor/bundle/specifications/thor-0.14.6.gemspec +47 -0
- data/vendor/bundle/specifications/tilt-1.3.3.gemspec +97 -0
- data/vendor/bundle/specifications/treetop-1.4.10.gemspec +53 -0
- data/vendor/bundle/specifications/tzinfo-0.3.31.gemspec +29 -0
- data/vendor/bundle/specifications/yard-0.7.5.gemspec +28 -0
- metadata +5185 -0
@@ -0,0 +1,4874 @@
|
|
1
|
+
/* Prototype JavaScript framework, version 1.6.1
|
2
|
+
* (c) 2005-2009 Sam Stephenson
|
3
|
+
*
|
4
|
+
* Prototype is freely distributable under the terms of an MIT-style license.
|
5
|
+
* For details, see the Prototype web site: http://www.prototypejs.org/
|
6
|
+
*
|
7
|
+
*--------------------------------------------------------------------------*/
|
8
|
+
|
9
|
+
var Prototype = {
|
10
|
+
Version: '1.6.1',
|
11
|
+
|
12
|
+
Browser: (function(){
|
13
|
+
var ua = navigator.userAgent;
|
14
|
+
var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]';
|
15
|
+
return {
|
16
|
+
IE: !!window.attachEvent && !isOpera,
|
17
|
+
Opera: isOpera,
|
18
|
+
WebKit: ua.indexOf('AppleWebKit/') > -1,
|
19
|
+
Gecko: ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1,
|
20
|
+
MobileSafari: /Apple.*Mobile.*Safari/.test(ua)
|
21
|
+
}
|
22
|
+
})(),
|
23
|
+
|
24
|
+
BrowserFeatures: {
|
25
|
+
XPath: !!document.evaluate,
|
26
|
+
SelectorsAPI: !!document.querySelector,
|
27
|
+
ElementExtensions: (function() {
|
28
|
+
var constructor = window.Element || window.HTMLElement;
|
29
|
+
return !!(constructor && constructor.prototype);
|
30
|
+
})(),
|
31
|
+
SpecificElementExtensions: (function() {
|
32
|
+
if (typeof window.HTMLDivElement !== 'undefined')
|
33
|
+
return true;
|
34
|
+
|
35
|
+
var div = document.createElement('div');
|
36
|
+
var form = document.createElement('form');
|
37
|
+
var isSupported = false;
|
38
|
+
|
39
|
+
if (div['__proto__'] && (div['__proto__'] !== form['__proto__'])) {
|
40
|
+
isSupported = true;
|
41
|
+
}
|
42
|
+
|
43
|
+
div = form = null;
|
44
|
+
|
45
|
+
return isSupported;
|
46
|
+
})()
|
47
|
+
},
|
48
|
+
|
49
|
+
ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>',
|
50
|
+
JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,
|
51
|
+
|
52
|
+
emptyFunction: function() { },
|
53
|
+
K: function(x) { return x }
|
54
|
+
};
|
55
|
+
|
56
|
+
if (Prototype.Browser.MobileSafari)
|
57
|
+
Prototype.BrowserFeatures.SpecificElementExtensions = false;
|
58
|
+
|
59
|
+
|
60
|
+
var Abstract = { };
|
61
|
+
|
62
|
+
|
63
|
+
var Try = {
|
64
|
+
these: function() {
|
65
|
+
var returnValue;
|
66
|
+
|
67
|
+
for (var i = 0, length = arguments.length; i < length; i++) {
|
68
|
+
var lambda = arguments[i];
|
69
|
+
try {
|
70
|
+
returnValue = lambda();
|
71
|
+
break;
|
72
|
+
} catch (e) { }
|
73
|
+
}
|
74
|
+
|
75
|
+
return returnValue;
|
76
|
+
}
|
77
|
+
};
|
78
|
+
|
79
|
+
/* Based on Alex Arnell's inheritance implementation. */
|
80
|
+
|
81
|
+
var Class = (function() {
|
82
|
+
function subclass() {};
|
83
|
+
function create() {
|
84
|
+
var parent = null, properties = $A(arguments);
|
85
|
+
if (Object.isFunction(properties[0]))
|
86
|
+
parent = properties.shift();
|
87
|
+
|
88
|
+
function klass() {
|
89
|
+
this.initialize.apply(this, arguments);
|
90
|
+
}
|
91
|
+
|
92
|
+
Object.extend(klass, Class.Methods);
|
93
|
+
klass.superclass = parent;
|
94
|
+
klass.subclasses = [];
|
95
|
+
|
96
|
+
if (parent) {
|
97
|
+
subclass.prototype = parent.prototype;
|
98
|
+
klass.prototype = new subclass;
|
99
|
+
parent.subclasses.push(klass);
|
100
|
+
}
|
101
|
+
|
102
|
+
for (var i = 0; i < properties.length; i++)
|
103
|
+
klass.addMethods(properties[i]);
|
104
|
+
|
105
|
+
if (!klass.prototype.initialize)
|
106
|
+
klass.prototype.initialize = Prototype.emptyFunction;
|
107
|
+
|
108
|
+
klass.prototype.constructor = klass;
|
109
|
+
return klass;
|
110
|
+
}
|
111
|
+
|
112
|
+
function addMethods(source) {
|
113
|
+
var ancestor = this.superclass && this.superclass.prototype;
|
114
|
+
var properties = Object.keys(source);
|
115
|
+
|
116
|
+
if (!Object.keys({ toString: true }).length) {
|
117
|
+
if (source.toString != Object.prototype.toString)
|
118
|
+
properties.push("toString");
|
119
|
+
if (source.valueOf != Object.prototype.valueOf)
|
120
|
+
properties.push("valueOf");
|
121
|
+
}
|
122
|
+
|
123
|
+
for (var i = 0, length = properties.length; i < length; i++) {
|
124
|
+
var property = properties[i], value = source[property];
|
125
|
+
if (ancestor && Object.isFunction(value) &&
|
126
|
+
value.argumentNames().first() == "$super") {
|
127
|
+
var method = value;
|
128
|
+
value = (function(m) {
|
129
|
+
return function() { return ancestor[m].apply(this, arguments); };
|
130
|
+
})(property).wrap(method);
|
131
|
+
|
132
|
+
value.valueOf = method.valueOf.bind(method);
|
133
|
+
value.toString = method.toString.bind(method);
|
134
|
+
}
|
135
|
+
this.prototype[property] = value;
|
136
|
+
}
|
137
|
+
|
138
|
+
return this;
|
139
|
+
}
|
140
|
+
|
141
|
+
return {
|
142
|
+
create: create,
|
143
|
+
Methods: {
|
144
|
+
addMethods: addMethods
|
145
|
+
}
|
146
|
+
};
|
147
|
+
})();
|
148
|
+
(function() {
|
149
|
+
|
150
|
+
var _toString = Object.prototype.toString;
|
151
|
+
|
152
|
+
function extend(destination, source) {
|
153
|
+
for (var property in source)
|
154
|
+
destination[property] = source[property];
|
155
|
+
return destination;
|
156
|
+
}
|
157
|
+
|
158
|
+
function inspect(object) {
|
159
|
+
try {
|
160
|
+
if (isUndefined(object)) return 'undefined';
|
161
|
+
if (object === null) return 'null';
|
162
|
+
return object.inspect ? object.inspect() : String(object);
|
163
|
+
} catch (e) {
|
164
|
+
if (e instanceof RangeError) return '...';
|
165
|
+
throw e;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
function toJSON(object) {
|
170
|
+
var type = typeof object;
|
171
|
+
switch (type) {
|
172
|
+
case 'undefined':
|
173
|
+
case 'function':
|
174
|
+
case 'unknown': return;
|
175
|
+
case 'boolean': return object.toString();
|
176
|
+
}
|
177
|
+
|
178
|
+
if (object === null) return 'null';
|
179
|
+
if (object.toJSON) return object.toJSON();
|
180
|
+
if (isElement(object)) return;
|
181
|
+
|
182
|
+
var results = [];
|
183
|
+
for (var property in object) {
|
184
|
+
var value = toJSON(object[property]);
|
185
|
+
if (!isUndefined(value))
|
186
|
+
results.push(property.toJSON() + ': ' + value);
|
187
|
+
}
|
188
|
+
|
189
|
+
return '{' + results.join(', ') + '}';
|
190
|
+
}
|
191
|
+
|
192
|
+
function toQueryString(object) {
|
193
|
+
return $H(object).toQueryString();
|
194
|
+
}
|
195
|
+
|
196
|
+
function toHTML(object) {
|
197
|
+
return object && object.toHTML ? object.toHTML() : String.interpret(object);
|
198
|
+
}
|
199
|
+
|
200
|
+
function keys(object) {
|
201
|
+
var results = [];
|
202
|
+
for (var property in object)
|
203
|
+
results.push(property);
|
204
|
+
return results;
|
205
|
+
}
|
206
|
+
|
207
|
+
function values(object) {
|
208
|
+
var results = [];
|
209
|
+
for (var property in object)
|
210
|
+
results.push(object[property]);
|
211
|
+
return results;
|
212
|
+
}
|
213
|
+
|
214
|
+
function clone(object) {
|
215
|
+
return extend({ }, object);
|
216
|
+
}
|
217
|
+
|
218
|
+
function isElement(object) {
|
219
|
+
return !!(object && object.nodeType == 1);
|
220
|
+
}
|
221
|
+
|
222
|
+
function isArray(object) {
|
223
|
+
return _toString.call(object) == "[object Array]";
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
function isHash(object) {
|
228
|
+
return object instanceof Hash;
|
229
|
+
}
|
230
|
+
|
231
|
+
function isFunction(object) {
|
232
|
+
return typeof object === "function";
|
233
|
+
}
|
234
|
+
|
235
|
+
function isString(object) {
|
236
|
+
return _toString.call(object) == "[object String]";
|
237
|
+
}
|
238
|
+
|
239
|
+
function isNumber(object) {
|
240
|
+
return _toString.call(object) == "[object Number]";
|
241
|
+
}
|
242
|
+
|
243
|
+
function isUndefined(object) {
|
244
|
+
return typeof object === "undefined";
|
245
|
+
}
|
246
|
+
|
247
|
+
extend(Object, {
|
248
|
+
extend: extend,
|
249
|
+
inspect: inspect,
|
250
|
+
toJSON: toJSON,
|
251
|
+
toQueryString: toQueryString,
|
252
|
+
toHTML: toHTML,
|
253
|
+
keys: keys,
|
254
|
+
values: values,
|
255
|
+
clone: clone,
|
256
|
+
isElement: isElement,
|
257
|
+
isArray: isArray,
|
258
|
+
isHash: isHash,
|
259
|
+
isFunction: isFunction,
|
260
|
+
isString: isString,
|
261
|
+
isNumber: isNumber,
|
262
|
+
isUndefined: isUndefined
|
263
|
+
});
|
264
|
+
})();
|
265
|
+
Object.extend(Function.prototype, (function() {
|
266
|
+
var slice = Array.prototype.slice;
|
267
|
+
|
268
|
+
function update(array, args) {
|
269
|
+
var arrayLength = array.length, length = args.length;
|
270
|
+
while (length--) array[arrayLength + length] = args[length];
|
271
|
+
return array;
|
272
|
+
}
|
273
|
+
|
274
|
+
function merge(array, args) {
|
275
|
+
array = slice.call(array, 0);
|
276
|
+
return update(array, args);
|
277
|
+
}
|
278
|
+
|
279
|
+
function argumentNames() {
|
280
|
+
var names = this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1]
|
281
|
+
.replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g, '')
|
282
|
+
.replace(/\s+/g, '').split(',');
|
283
|
+
return names.length == 1 && !names[0] ? [] : names;
|
284
|
+
}
|
285
|
+
|
286
|
+
function bind(context) {
|
287
|
+
if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this;
|
288
|
+
var __method = this, args = slice.call(arguments, 1);
|
289
|
+
return function() {
|
290
|
+
var a = merge(args, arguments);
|
291
|
+
return __method.apply(context, a);
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
function bindAsEventListener(context) {
|
296
|
+
var __method = this, args = slice.call(arguments, 1);
|
297
|
+
return function(event) {
|
298
|
+
var a = update([event || window.event], args);
|
299
|
+
return __method.apply(context, a);
|
300
|
+
}
|
301
|
+
}
|
302
|
+
|
303
|
+
function curry() {
|
304
|
+
if (!arguments.length) return this;
|
305
|
+
var __method = this, args = slice.call(arguments, 0);
|
306
|
+
return function() {
|
307
|
+
var a = merge(args, arguments);
|
308
|
+
return __method.apply(this, a);
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
312
|
+
function delay(timeout) {
|
313
|
+
var __method = this, args = slice.call(arguments, 1);
|
314
|
+
timeout = timeout * 1000
|
315
|
+
return window.setTimeout(function() {
|
316
|
+
return __method.apply(__method, args);
|
317
|
+
}, timeout);
|
318
|
+
}
|
319
|
+
|
320
|
+
function defer() {
|
321
|
+
var args = update([0.01], arguments);
|
322
|
+
return this.delay.apply(this, args);
|
323
|
+
}
|
324
|
+
|
325
|
+
function wrap(wrapper) {
|
326
|
+
var __method = this;
|
327
|
+
return function() {
|
328
|
+
var a = update([__method.bind(this)], arguments);
|
329
|
+
return wrapper.apply(this, a);
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
function methodize() {
|
334
|
+
if (this._methodized) return this._methodized;
|
335
|
+
var __method = this;
|
336
|
+
return this._methodized = function() {
|
337
|
+
var a = update([this], arguments);
|
338
|
+
return __method.apply(null, a);
|
339
|
+
};
|
340
|
+
}
|
341
|
+
|
342
|
+
return {
|
343
|
+
argumentNames: argumentNames,
|
344
|
+
bind: bind,
|
345
|
+
bindAsEventListener: bindAsEventListener,
|
346
|
+
curry: curry,
|
347
|
+
delay: delay,
|
348
|
+
defer: defer,
|
349
|
+
wrap: wrap,
|
350
|
+
methodize: methodize
|
351
|
+
}
|
352
|
+
})());
|
353
|
+
|
354
|
+
|
355
|
+
Date.prototype.toJSON = function() {
|
356
|
+
return '"' + this.getUTCFullYear() + '-' +
|
357
|
+
(this.getUTCMonth() + 1).toPaddedString(2) + '-' +
|
358
|
+
this.getUTCDate().toPaddedString(2) + 'T' +
|
359
|
+
this.getUTCHours().toPaddedString(2) + ':' +
|
360
|
+
this.getUTCMinutes().toPaddedString(2) + ':' +
|
361
|
+
this.getUTCSeconds().toPaddedString(2) + 'Z"';
|
362
|
+
};
|
363
|
+
|
364
|
+
|
365
|
+
RegExp.prototype.match = RegExp.prototype.test;
|
366
|
+
|
367
|
+
RegExp.escape = function(str) {
|
368
|
+
return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
|
369
|
+
};
|
370
|
+
var PeriodicalExecuter = Class.create({
|
371
|
+
initialize: function(callback, frequency) {
|
372
|
+
this.callback = callback;
|
373
|
+
this.frequency = frequency;
|
374
|
+
this.currentlyExecuting = false;
|
375
|
+
|
376
|
+
this.registerCallback();
|
377
|
+
},
|
378
|
+
|
379
|
+
registerCallback: function() {
|
380
|
+
this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
|
381
|
+
},
|
382
|
+
|
383
|
+
execute: function() {
|
384
|
+
this.callback(this);
|
385
|
+
},
|
386
|
+
|
387
|
+
stop: function() {
|
388
|
+
if (!this.timer) return;
|
389
|
+
clearInterval(this.timer);
|
390
|
+
this.timer = null;
|
391
|
+
},
|
392
|
+
|
393
|
+
onTimerEvent: function() {
|
394
|
+
if (!this.currentlyExecuting) {
|
395
|
+
try {
|
396
|
+
this.currentlyExecuting = true;
|
397
|
+
this.execute();
|
398
|
+
this.currentlyExecuting = false;
|
399
|
+
} catch(e) {
|
400
|
+
this.currentlyExecuting = false;
|
401
|
+
throw e;
|
402
|
+
}
|
403
|
+
}
|
404
|
+
}
|
405
|
+
});
|
406
|
+
Object.extend(String, {
|
407
|
+
interpret: function(value) {
|
408
|
+
return value == null ? '' : String(value);
|
409
|
+
},
|
410
|
+
specialChar: {
|
411
|
+
'\b': '\\b',
|
412
|
+
'\t': '\\t',
|
413
|
+
'\n': '\\n',
|
414
|
+
'\f': '\\f',
|
415
|
+
'\r': '\\r',
|
416
|
+
'\\': '\\\\'
|
417
|
+
}
|
418
|
+
});
|
419
|
+
|
420
|
+
Object.extend(String.prototype, (function() {
|
421
|
+
|
422
|
+
function prepareReplacement(replacement) {
|
423
|
+
if (Object.isFunction(replacement)) return replacement;
|
424
|
+
var template = new Template(replacement);
|
425
|
+
return function(match) { return template.evaluate(match) };
|
426
|
+
}
|
427
|
+
|
428
|
+
function gsub(pattern, replacement) {
|
429
|
+
var result = '', source = this, match;
|
430
|
+
replacement = prepareReplacement(replacement);
|
431
|
+
|
432
|
+
if (Object.isString(pattern))
|
433
|
+
pattern = RegExp.escape(pattern);
|
434
|
+
|
435
|
+
if (!(pattern.length || pattern.source)) {
|
436
|
+
replacement = replacement('');
|
437
|
+
return replacement + source.split('').join(replacement) + replacement;
|
438
|
+
}
|
439
|
+
|
440
|
+
while (source.length > 0) {
|
441
|
+
if (match = source.match(pattern)) {
|
442
|
+
result += source.slice(0, match.index);
|
443
|
+
result += String.interpret(replacement(match));
|
444
|
+
source = source.slice(match.index + match[0].length);
|
445
|
+
} else {
|
446
|
+
result += source, source = '';
|
447
|
+
}
|
448
|
+
}
|
449
|
+
return result;
|
450
|
+
}
|
451
|
+
|
452
|
+
function sub(pattern, replacement, count) {
|
453
|
+
replacement = prepareReplacement(replacement);
|
454
|
+
count = Object.isUndefined(count) ? 1 : count;
|
455
|
+
|
456
|
+
return this.gsub(pattern, function(match) {
|
457
|
+
if (--count < 0) return match[0];
|
458
|
+
return replacement(match);
|
459
|
+
});
|
460
|
+
}
|
461
|
+
|
462
|
+
function scan(pattern, iterator) {
|
463
|
+
this.gsub(pattern, iterator);
|
464
|
+
return String(this);
|
465
|
+
}
|
466
|
+
|
467
|
+
function truncate(length, truncation) {
|
468
|
+
length = length || 30;
|
469
|
+
truncation = Object.isUndefined(truncation) ? '...' : truncation;
|
470
|
+
return this.length > length ?
|
471
|
+
this.slice(0, length - truncation.length) + truncation : String(this);
|
472
|
+
}
|
473
|
+
|
474
|
+
function strip() {
|
475
|
+
return this.replace(/^\s+/, '').replace(/\s+$/, '');
|
476
|
+
}
|
477
|
+
|
478
|
+
function stripTags() {
|
479
|
+
return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, '');
|
480
|
+
}
|
481
|
+
|
482
|
+
function stripScripts() {
|
483
|
+
return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
|
484
|
+
}
|
485
|
+
|
486
|
+
function extractScripts() {
|
487
|
+
var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
|
488
|
+
var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
|
489
|
+
return (this.match(matchAll) || []).map(function(scriptTag) {
|
490
|
+
return (scriptTag.match(matchOne) || ['', ''])[1];
|
491
|
+
});
|
492
|
+
}
|
493
|
+
|
494
|
+
function evalScripts() {
|
495
|
+
return this.extractScripts().map(function(script) { return eval(script) });
|
496
|
+
}
|
497
|
+
|
498
|
+
function escapeHTML() {
|
499
|
+
return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');
|
500
|
+
}
|
501
|
+
|
502
|
+
function unescapeHTML() {
|
503
|
+
return this.stripTags().replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&');
|
504
|
+
}
|
505
|
+
|
506
|
+
|
507
|
+
function toQueryParams(separator) {
|
508
|
+
var match = this.strip().match(/([^?#]*)(#.*)?$/);
|
509
|
+
if (!match) return { };
|
510
|
+
|
511
|
+
return match[1].split(separator || '&').inject({ }, function(hash, pair) {
|
512
|
+
if ((pair = pair.split('='))[0]) {
|
513
|
+
var key = decodeURIComponent(pair.shift());
|
514
|
+
var value = pair.length > 1 ? pair.join('=') : pair[0];
|
515
|
+
if (value != undefined) value = decodeURIComponent(value);
|
516
|
+
|
517
|
+
if (key in hash) {
|
518
|
+
if (!Object.isArray(hash[key])) hash[key] = [hash[key]];
|
519
|
+
hash[key].push(value);
|
520
|
+
}
|
521
|
+
else hash[key] = value;
|
522
|
+
}
|
523
|
+
return hash;
|
524
|
+
});
|
525
|
+
}
|
526
|
+
|
527
|
+
function toArray() {
|
528
|
+
return this.split('');
|
529
|
+
}
|
530
|
+
|
531
|
+
function succ() {
|
532
|
+
return this.slice(0, this.length - 1) +
|
533
|
+
String.fromCharCode(this.charCodeAt(this.length - 1) + 1);
|
534
|
+
}
|
535
|
+
|
536
|
+
function times(count) {
|
537
|
+
return count < 1 ? '' : new Array(count + 1).join(this);
|
538
|
+
}
|
539
|
+
|
540
|
+
function camelize() {
|
541
|
+
var parts = this.split('-'), len = parts.length;
|
542
|
+
if (len == 1) return parts[0];
|
543
|
+
|
544
|
+
var camelized = this.charAt(0) == '-'
|
545
|
+
? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)
|
546
|
+
: parts[0];
|
547
|
+
|
548
|
+
for (var i = 1; i < len; i++)
|
549
|
+
camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
|
550
|
+
|
551
|
+
return camelized;
|
552
|
+
}
|
553
|
+
|
554
|
+
function capitalize() {
|
555
|
+
return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();
|
556
|
+
}
|
557
|
+
|
558
|
+
function underscore() {
|
559
|
+
return this.replace(/::/g, '/')
|
560
|
+
.replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2')
|
561
|
+
.replace(/([a-z\d])([A-Z])/g, '$1_$2')
|
562
|
+
.replace(/-/g, '_')
|
563
|
+
.toLowerCase();
|
564
|
+
}
|
565
|
+
|
566
|
+
function dasherize() {
|
567
|
+
return this.replace(/_/g, '-');
|
568
|
+
}
|
569
|
+
|
570
|
+
function inspect(useDoubleQuotes) {
|
571
|
+
var escapedString = this.replace(/[\x00-\x1f\\]/g, function(character) {
|
572
|
+
if (character in String.specialChar) {
|
573
|
+
return String.specialChar[character];
|
574
|
+
}
|
575
|
+
return '\\u00' + character.charCodeAt().toPaddedString(2, 16);
|
576
|
+
});
|
577
|
+
if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"';
|
578
|
+
return "'" + escapedString.replace(/'/g, '\\\'') + "'";
|
579
|
+
}
|
580
|
+
|
581
|
+
function toJSON() {
|
582
|
+
return this.inspect(true);
|
583
|
+
}
|
584
|
+
|
585
|
+
function unfilterJSON(filter) {
|
586
|
+
return this.replace(filter || Prototype.JSONFilter, '$1');
|
587
|
+
}
|
588
|
+
|
589
|
+
function isJSON() {
|
590
|
+
var str = this;
|
591
|
+
if (str.blank()) return false;
|
592
|
+
str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');
|
593
|
+
return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);
|
594
|
+
}
|
595
|
+
|
596
|
+
function evalJSON(sanitize) {
|
597
|
+
var json = this.unfilterJSON();
|
598
|
+
try {
|
599
|
+
if (!sanitize || json.isJSON()) return eval('(' + json + ')');
|
600
|
+
} catch (e) { }
|
601
|
+
throw new SyntaxError('Badly formed JSON string: ' + this.inspect());
|
602
|
+
}
|
603
|
+
|
604
|
+
function include(pattern) {
|
605
|
+
return this.indexOf(pattern) > -1;
|
606
|
+
}
|
607
|
+
|
608
|
+
function startsWith(pattern) {
|
609
|
+
return this.indexOf(pattern) === 0;
|
610
|
+
}
|
611
|
+
|
612
|
+
function endsWith(pattern) {
|
613
|
+
var d = this.length - pattern.length;
|
614
|
+
return d >= 0 && this.lastIndexOf(pattern) === d;
|
615
|
+
}
|
616
|
+
|
617
|
+
function empty() {
|
618
|
+
return this == '';
|
619
|
+
}
|
620
|
+
|
621
|
+
function blank() {
|
622
|
+
return /^\s*$/.test(this);
|
623
|
+
}
|
624
|
+
|
625
|
+
function interpolate(object, pattern) {
|
626
|
+
return new Template(this, pattern).evaluate(object);
|
627
|
+
}
|
628
|
+
|
629
|
+
return {
|
630
|
+
gsub: gsub,
|
631
|
+
sub: sub,
|
632
|
+
scan: scan,
|
633
|
+
truncate: truncate,
|
634
|
+
strip: String.prototype.trim ? String.prototype.trim : strip,
|
635
|
+
stripTags: stripTags,
|
636
|
+
stripScripts: stripScripts,
|
637
|
+
extractScripts: extractScripts,
|
638
|
+
evalScripts: evalScripts,
|
639
|
+
escapeHTML: escapeHTML,
|
640
|
+
unescapeHTML: unescapeHTML,
|
641
|
+
toQueryParams: toQueryParams,
|
642
|
+
parseQuery: toQueryParams,
|
643
|
+
toArray: toArray,
|
644
|
+
succ: succ,
|
645
|
+
times: times,
|
646
|
+
camelize: camelize,
|
647
|
+
capitalize: capitalize,
|
648
|
+
underscore: underscore,
|
649
|
+
dasherize: dasherize,
|
650
|
+
inspect: inspect,
|
651
|
+
toJSON: toJSON,
|
652
|
+
unfilterJSON: unfilterJSON,
|
653
|
+
isJSON: isJSON,
|
654
|
+
evalJSON: evalJSON,
|
655
|
+
include: include,
|
656
|
+
startsWith: startsWith,
|
657
|
+
endsWith: endsWith,
|
658
|
+
empty: empty,
|
659
|
+
blank: blank,
|
660
|
+
interpolate: interpolate
|
661
|
+
};
|
662
|
+
})());
|
663
|
+
|
664
|
+
var Template = Class.create({
|
665
|
+
initialize: function(template, pattern) {
|
666
|
+
this.template = template.toString();
|
667
|
+
this.pattern = pattern || Template.Pattern;
|
668
|
+
},
|
669
|
+
|
670
|
+
evaluate: function(object) {
|
671
|
+
if (object && Object.isFunction(object.toTemplateReplacements))
|
672
|
+
object = object.toTemplateReplacements();
|
673
|
+
|
674
|
+
return this.template.gsub(this.pattern, function(match) {
|
675
|
+
if (object == null) return (match[1] + '');
|
676
|
+
|
677
|
+
var before = match[1] || '';
|
678
|
+
if (before == '\\') return match[2];
|
679
|
+
|
680
|
+
var ctx = object, expr = match[3];
|
681
|
+
var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;
|
682
|
+
match = pattern.exec(expr);
|
683
|
+
if (match == null) return before;
|
684
|
+
|
685
|
+
while (match != null) {
|
686
|
+
var comp = match[1].startsWith('[') ? match[2].replace(/\\\\]/g, ']') : match[1];
|
687
|
+
ctx = ctx[comp];
|
688
|
+
if (null == ctx || '' == match[3]) break;
|
689
|
+
expr = expr.substring('[' == match[3] ? match[1].length : match[0].length);
|
690
|
+
match = pattern.exec(expr);
|
691
|
+
}
|
692
|
+
|
693
|
+
return before + String.interpret(ctx);
|
694
|
+
});
|
695
|
+
}
|
696
|
+
});
|
697
|
+
Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;
|
698
|
+
|
699
|
+
var $break = { };
|
700
|
+
|
701
|
+
var Enumerable = (function() {
|
702
|
+
function each(iterator, context) {
|
703
|
+
var index = 0;
|
704
|
+
try {
|
705
|
+
this._each(function(value) {
|
706
|
+
iterator.call(context, value, index++);
|
707
|
+
});
|
708
|
+
} catch (e) {
|
709
|
+
if (e != $break) throw e;
|
710
|
+
}
|
711
|
+
return this;
|
712
|
+
}
|
713
|
+
|
714
|
+
function eachSlice(number, iterator, context) {
|
715
|
+
var index = -number, slices = [], array = this.toArray();
|
716
|
+
if (number < 1) return array;
|
717
|
+
while ((index += number) < array.length)
|
718
|
+
slices.push(array.slice(index, index+number));
|
719
|
+
return slices.collect(iterator, context);
|
720
|
+
}
|
721
|
+
|
722
|
+
function all(iterator, context) {
|
723
|
+
iterator = iterator || Prototype.K;
|
724
|
+
var result = true;
|
725
|
+
this.each(function(value, index) {
|
726
|
+
result = result && !!iterator.call(context, value, index);
|
727
|
+
if (!result) throw $break;
|
728
|
+
});
|
729
|
+
return result;
|
730
|
+
}
|
731
|
+
|
732
|
+
function any(iterator, context) {
|
733
|
+
iterator = iterator || Prototype.K;
|
734
|
+
var result = false;
|
735
|
+
this.each(function(value, index) {
|
736
|
+
if (result = !!iterator.call(context, value, index))
|
737
|
+
throw $break;
|
738
|
+
});
|
739
|
+
return result;
|
740
|
+
}
|
741
|
+
|
742
|
+
function collect(iterator, context) {
|
743
|
+
iterator = iterator || Prototype.K;
|
744
|
+
var results = [];
|
745
|
+
this.each(function(value, index) {
|
746
|
+
results.push(iterator.call(context, value, index));
|
747
|
+
});
|
748
|
+
return results;
|
749
|
+
}
|
750
|
+
|
751
|
+
function detect(iterator, context) {
|
752
|
+
var result;
|
753
|
+
this.each(function(value, index) {
|
754
|
+
if (iterator.call(context, value, index)) {
|
755
|
+
result = value;
|
756
|
+
throw $break;
|
757
|
+
}
|
758
|
+
});
|
759
|
+
return result;
|
760
|
+
}
|
761
|
+
|
762
|
+
function findAll(iterator, context) {
|
763
|
+
var results = [];
|
764
|
+
this.each(function(value, index) {
|
765
|
+
if (iterator.call(context, value, index))
|
766
|
+
results.push(value);
|
767
|
+
});
|
768
|
+
return results;
|
769
|
+
}
|
770
|
+
|
771
|
+
function grep(filter, iterator, context) {
|
772
|
+
iterator = iterator || Prototype.K;
|
773
|
+
var results = [];
|
774
|
+
|
775
|
+
if (Object.isString(filter))
|
776
|
+
filter = new RegExp(RegExp.escape(filter));
|
777
|
+
|
778
|
+
this.each(function(value, index) {
|
779
|
+
if (filter.match(value))
|
780
|
+
results.push(iterator.call(context, value, index));
|
781
|
+
});
|
782
|
+
return results;
|
783
|
+
}
|
784
|
+
|
785
|
+
function include(object) {
|
786
|
+
if (Object.isFunction(this.indexOf))
|
787
|
+
if (this.indexOf(object) != -1) return true;
|
788
|
+
|
789
|
+
var found = false;
|
790
|
+
this.each(function(value) {
|
791
|
+
if (value == object) {
|
792
|
+
found = true;
|
793
|
+
throw $break;
|
794
|
+
}
|
795
|
+
});
|
796
|
+
return found;
|
797
|
+
}
|
798
|
+
|
799
|
+
function inGroupsOf(number, fillWith) {
|
800
|
+
fillWith = Object.isUndefined(fillWith) ? null : fillWith;
|
801
|
+
return this.eachSlice(number, function(slice) {
|
802
|
+
while(slice.length < number) slice.push(fillWith);
|
803
|
+
return slice;
|
804
|
+
});
|
805
|
+
}
|
806
|
+
|
807
|
+
function inject(memo, iterator, context) {
|
808
|
+
this.each(function(value, index) {
|
809
|
+
memo = iterator.call(context, memo, value, index);
|
810
|
+
});
|
811
|
+
return memo;
|
812
|
+
}
|
813
|
+
|
814
|
+
function invoke(method) {
|
815
|
+
var args = $A(arguments).slice(1);
|
816
|
+
return this.map(function(value) {
|
817
|
+
return value[method].apply(value, args);
|
818
|
+
});
|
819
|
+
}
|
820
|
+
|
821
|
+
function max(iterator, context) {
|
822
|
+
iterator = iterator || Prototype.K;
|
823
|
+
var result;
|
824
|
+
this.each(function(value, index) {
|
825
|
+
value = iterator.call(context, value, index);
|
826
|
+
if (result == null || value >= result)
|
827
|
+
result = value;
|
828
|
+
});
|
829
|
+
return result;
|
830
|
+
}
|
831
|
+
|
832
|
+
function min(iterator, context) {
|
833
|
+
iterator = iterator || Prototype.K;
|
834
|
+
var result;
|
835
|
+
this.each(function(value, index) {
|
836
|
+
value = iterator.call(context, value, index);
|
837
|
+
if (result == null || value < result)
|
838
|
+
result = value;
|
839
|
+
});
|
840
|
+
return result;
|
841
|
+
}
|
842
|
+
|
843
|
+
function partition(iterator, context) {
|
844
|
+
iterator = iterator || Prototype.K;
|
845
|
+
var trues = [], falses = [];
|
846
|
+
this.each(function(value, index) {
|
847
|
+
(iterator.call(context, value, index) ?
|
848
|
+
trues : falses).push(value);
|
849
|
+
});
|
850
|
+
return [trues, falses];
|
851
|
+
}
|
852
|
+
|
853
|
+
function pluck(property) {
|
854
|
+
var results = [];
|
855
|
+
this.each(function(value) {
|
856
|
+
results.push(value[property]);
|
857
|
+
});
|
858
|
+
return results;
|
859
|
+
}
|
860
|
+
|
861
|
+
function reject(iterator, context) {
|
862
|
+
var results = [];
|
863
|
+
this.each(function(value, index) {
|
864
|
+
if (!iterator.call(context, value, index))
|
865
|
+
results.push(value);
|
866
|
+
});
|
867
|
+
return results;
|
868
|
+
}
|
869
|
+
|
870
|
+
function sortBy(iterator, context) {
|
871
|
+
return this.map(function(value, index) {
|
872
|
+
return {
|
873
|
+
value: value,
|
874
|
+
criteria: iterator.call(context, value, index)
|
875
|
+
};
|
876
|
+
}).sort(function(left, right) {
|
877
|
+
var a = left.criteria, b = right.criteria;
|
878
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
879
|
+
}).pluck('value');
|
880
|
+
}
|
881
|
+
|
882
|
+
function toArray() {
|
883
|
+
return this.map();
|
884
|
+
}
|
885
|
+
|
886
|
+
function zip() {
|
887
|
+
var iterator = Prototype.K, args = $A(arguments);
|
888
|
+
if (Object.isFunction(args.last()))
|
889
|
+
iterator = args.pop();
|
890
|
+
|
891
|
+
var collections = [this].concat(args).map($A);
|
892
|
+
return this.map(function(value, index) {
|
893
|
+
return iterator(collections.pluck(index));
|
894
|
+
});
|
895
|
+
}
|
896
|
+
|
897
|
+
function size() {
|
898
|
+
return this.toArray().length;
|
899
|
+
}
|
900
|
+
|
901
|
+
function inspect() {
|
902
|
+
return '#<Enumerable:' + this.toArray().inspect() + '>';
|
903
|
+
}
|
904
|
+
|
905
|
+
|
906
|
+
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
|
913
|
+
return {
|
914
|
+
each: each,
|
915
|
+
eachSlice: eachSlice,
|
916
|
+
all: all,
|
917
|
+
every: all,
|
918
|
+
any: any,
|
919
|
+
some: any,
|
920
|
+
collect: collect,
|
921
|
+
map: collect,
|
922
|
+
detect: detect,
|
923
|
+
findAll: findAll,
|
924
|
+
select: findAll,
|
925
|
+
filter: findAll,
|
926
|
+
grep: grep,
|
927
|
+
include: include,
|
928
|
+
member: include,
|
929
|
+
inGroupsOf: inGroupsOf,
|
930
|
+
inject: inject,
|
931
|
+
invoke: invoke,
|
932
|
+
max: max,
|
933
|
+
min: min,
|
934
|
+
partition: partition,
|
935
|
+
pluck: pluck,
|
936
|
+
reject: reject,
|
937
|
+
sortBy: sortBy,
|
938
|
+
toArray: toArray,
|
939
|
+
entries: toArray,
|
940
|
+
zip: zip,
|
941
|
+
size: size,
|
942
|
+
inspect: inspect,
|
943
|
+
find: detect
|
944
|
+
};
|
945
|
+
})();
|
946
|
+
function $A(iterable) {
|
947
|
+
if (!iterable) return [];
|
948
|
+
if ('toArray' in Object(iterable)) return iterable.toArray();
|
949
|
+
var length = iterable.length || 0, results = new Array(length);
|
950
|
+
while (length--) results[length] = iterable[length];
|
951
|
+
return results;
|
952
|
+
}
|
953
|
+
|
954
|
+
function $w(string) {
|
955
|
+
if (!Object.isString(string)) return [];
|
956
|
+
string = string.strip();
|
957
|
+
return string ? string.split(/\s+/) : [];
|
958
|
+
}
|
959
|
+
|
960
|
+
Array.from = $A;
|
961
|
+
|
962
|
+
|
963
|
+
(function() {
|
964
|
+
var arrayProto = Array.prototype,
|
965
|
+
slice = arrayProto.slice,
|
966
|
+
_each = arrayProto.forEach; // use native browser JS 1.6 implementation if available
|
967
|
+
|
968
|
+
function each(iterator) {
|
969
|
+
for (var i = 0, length = this.length; i < length; i++)
|
970
|
+
iterator(this[i]);
|
971
|
+
}
|
972
|
+
if (!_each) _each = each;
|
973
|
+
|
974
|
+
function clear() {
|
975
|
+
this.length = 0;
|
976
|
+
return this;
|
977
|
+
}
|
978
|
+
|
979
|
+
function first() {
|
980
|
+
return this[0];
|
981
|
+
}
|
982
|
+
|
983
|
+
function last() {
|
984
|
+
return this[this.length - 1];
|
985
|
+
}
|
986
|
+
|
987
|
+
function compact() {
|
988
|
+
return this.select(function(value) {
|
989
|
+
return value != null;
|
990
|
+
});
|
991
|
+
}
|
992
|
+
|
993
|
+
function flatten() {
|
994
|
+
return this.inject([], function(array, value) {
|
995
|
+
if (Object.isArray(value))
|
996
|
+
return array.concat(value.flatten());
|
997
|
+
array.push(value);
|
998
|
+
return array;
|
999
|
+
});
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
function without() {
|
1003
|
+
var values = slice.call(arguments, 0);
|
1004
|
+
return this.select(function(value) {
|
1005
|
+
return !values.include(value);
|
1006
|
+
});
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
function reverse(inline) {
|
1010
|
+
return (inline !== false ? this : this.toArray())._reverse();
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
function uniq(sorted) {
|
1014
|
+
return this.inject([], function(array, value, index) {
|
1015
|
+
if (0 == index || (sorted ? array.last() != value : !array.include(value)))
|
1016
|
+
array.push(value);
|
1017
|
+
return array;
|
1018
|
+
});
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
function intersect(array) {
|
1022
|
+
return this.uniq().findAll(function(item) {
|
1023
|
+
return array.detect(function(value) { return item === value });
|
1024
|
+
});
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
|
1028
|
+
function clone() {
|
1029
|
+
return slice.call(this, 0);
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
function size() {
|
1033
|
+
return this.length;
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
function inspect() {
|
1037
|
+
return '[' + this.map(Object.inspect).join(', ') + ']';
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
function toJSON() {
|
1041
|
+
var results = [];
|
1042
|
+
this.each(function(object) {
|
1043
|
+
var value = Object.toJSON(object);
|
1044
|
+
if (!Object.isUndefined(value)) results.push(value);
|
1045
|
+
});
|
1046
|
+
return '[' + results.join(', ') + ']';
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
function indexOf(item, i) {
|
1050
|
+
i || (i = 0);
|
1051
|
+
var length = this.length;
|
1052
|
+
if (i < 0) i = length + i;
|
1053
|
+
for (; i < length; i++)
|
1054
|
+
if (this[i] === item) return i;
|
1055
|
+
return -1;
|
1056
|
+
}
|
1057
|
+
|
1058
|
+
function lastIndexOf(item, i) {
|
1059
|
+
i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1;
|
1060
|
+
var n = this.slice(0, i).reverse().indexOf(item);
|
1061
|
+
return (n < 0) ? n : i - n - 1;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
function concat() {
|
1065
|
+
var array = slice.call(this, 0), item;
|
1066
|
+
for (var i = 0, length = arguments.length; i < length; i++) {
|
1067
|
+
item = arguments[i];
|
1068
|
+
if (Object.isArray(item) && !('callee' in item)) {
|
1069
|
+
for (var j = 0, arrayLength = item.length; j < arrayLength; j++)
|
1070
|
+
array.push(item[j]);
|
1071
|
+
} else {
|
1072
|
+
array.push(item);
|
1073
|
+
}
|
1074
|
+
}
|
1075
|
+
return array;
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
Object.extend(arrayProto, Enumerable);
|
1079
|
+
|
1080
|
+
if (!arrayProto._reverse)
|
1081
|
+
arrayProto._reverse = arrayProto.reverse;
|
1082
|
+
|
1083
|
+
Object.extend(arrayProto, {
|
1084
|
+
_each: _each,
|
1085
|
+
clear: clear,
|
1086
|
+
first: first,
|
1087
|
+
last: last,
|
1088
|
+
compact: compact,
|
1089
|
+
flatten: flatten,
|
1090
|
+
without: without,
|
1091
|
+
reverse: reverse,
|
1092
|
+
uniq: uniq,
|
1093
|
+
intersect: intersect,
|
1094
|
+
clone: clone,
|
1095
|
+
toArray: clone,
|
1096
|
+
size: size,
|
1097
|
+
inspect: inspect,
|
1098
|
+
toJSON: toJSON
|
1099
|
+
});
|
1100
|
+
|
1101
|
+
var CONCAT_ARGUMENTS_BUGGY = (function() {
|
1102
|
+
return [].concat(arguments)[0][0] !== 1;
|
1103
|
+
})(1,2)
|
1104
|
+
|
1105
|
+
if (CONCAT_ARGUMENTS_BUGGY) arrayProto.concat = concat;
|
1106
|
+
|
1107
|
+
if (!arrayProto.indexOf) arrayProto.indexOf = indexOf;
|
1108
|
+
if (!arrayProto.lastIndexOf) arrayProto.lastIndexOf = lastIndexOf;
|
1109
|
+
})();
|
1110
|
+
function $H(object) {
|
1111
|
+
return new Hash(object);
|
1112
|
+
};
|
1113
|
+
|
1114
|
+
var Hash = Class.create(Enumerable, (function() {
|
1115
|
+
function initialize(object) {
|
1116
|
+
this._object = Object.isHash(object) ? object.toObject() : Object.clone(object);
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
function _each(iterator) {
|
1120
|
+
for (var key in this._object) {
|
1121
|
+
var value = this._object[key], pair = [key, value];
|
1122
|
+
pair.key = key;
|
1123
|
+
pair.value = value;
|
1124
|
+
iterator(pair);
|
1125
|
+
}
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
function set(key, value) {
|
1129
|
+
return this._object[key] = value;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
function get(key) {
|
1133
|
+
if (this._object[key] !== Object.prototype[key])
|
1134
|
+
return this._object[key];
|
1135
|
+
}
|
1136
|
+
|
1137
|
+
function unset(key) {
|
1138
|
+
var value = this._object[key];
|
1139
|
+
delete this._object[key];
|
1140
|
+
return value;
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
function toObject() {
|
1144
|
+
return Object.clone(this._object);
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
function keys() {
|
1148
|
+
return this.pluck('key');
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
function values() {
|
1152
|
+
return this.pluck('value');
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
function index(value) {
|
1156
|
+
var match = this.detect(function(pair) {
|
1157
|
+
return pair.value === value;
|
1158
|
+
});
|
1159
|
+
return match && match.key;
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
function merge(object) {
|
1163
|
+
return this.clone().update(object);
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
function update(object) {
|
1167
|
+
return new Hash(object).inject(this, function(result, pair) {
|
1168
|
+
result.set(pair.key, pair.value);
|
1169
|
+
return result;
|
1170
|
+
});
|
1171
|
+
}
|
1172
|
+
|
1173
|
+
function toQueryPair(key, value) {
|
1174
|
+
if (Object.isUndefined(value)) return key;
|
1175
|
+
return key + '=' + encodeURIComponent(String.interpret(value));
|
1176
|
+
}
|
1177
|
+
|
1178
|
+
function toQueryString() {
|
1179
|
+
return this.inject([], function(results, pair) {
|
1180
|
+
var key = encodeURIComponent(pair.key), values = pair.value;
|
1181
|
+
|
1182
|
+
if (values && typeof values == 'object') {
|
1183
|
+
if (Object.isArray(values))
|
1184
|
+
return results.concat(values.map(toQueryPair.curry(key)));
|
1185
|
+
} else results.push(toQueryPair(key, values));
|
1186
|
+
return results;
|
1187
|
+
}).join('&');
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
function inspect() {
|
1191
|
+
return '#<Hash:{' + this.map(function(pair) {
|
1192
|
+
return pair.map(Object.inspect).join(': ');
|
1193
|
+
}).join(', ') + '}>';
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
function toJSON() {
|
1197
|
+
return Object.toJSON(this.toObject());
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
function clone() {
|
1201
|
+
return new Hash(this);
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
return {
|
1205
|
+
initialize: initialize,
|
1206
|
+
_each: _each,
|
1207
|
+
set: set,
|
1208
|
+
get: get,
|
1209
|
+
unset: unset,
|
1210
|
+
toObject: toObject,
|
1211
|
+
toTemplateReplacements: toObject,
|
1212
|
+
keys: keys,
|
1213
|
+
values: values,
|
1214
|
+
index: index,
|
1215
|
+
merge: merge,
|
1216
|
+
update: update,
|
1217
|
+
toQueryString: toQueryString,
|
1218
|
+
inspect: inspect,
|
1219
|
+
toJSON: toJSON,
|
1220
|
+
clone: clone
|
1221
|
+
};
|
1222
|
+
})());
|
1223
|
+
|
1224
|
+
Hash.from = $H;
|
1225
|
+
Object.extend(Number.prototype, (function() {
|
1226
|
+
function toColorPart() {
|
1227
|
+
return this.toPaddedString(2, 16);
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
function succ() {
|
1231
|
+
return this + 1;
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
function times(iterator, context) {
|
1235
|
+
$R(0, this, true).each(iterator, context);
|
1236
|
+
return this;
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
function toPaddedString(length, radix) {
|
1240
|
+
var string = this.toString(radix || 10);
|
1241
|
+
return '0'.times(length - string.length) + string;
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
function toJSON() {
|
1245
|
+
return isFinite(this) ? this.toString() : 'null';
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
function abs() {
|
1249
|
+
return Math.abs(this);
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
function round() {
|
1253
|
+
return Math.round(this);
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
function ceil() {
|
1257
|
+
return Math.ceil(this);
|
1258
|
+
}
|
1259
|
+
|
1260
|
+
function floor() {
|
1261
|
+
return Math.floor(this);
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
return {
|
1265
|
+
toColorPart: toColorPart,
|
1266
|
+
succ: succ,
|
1267
|
+
times: times,
|
1268
|
+
toPaddedString: toPaddedString,
|
1269
|
+
toJSON: toJSON,
|
1270
|
+
abs: abs,
|
1271
|
+
round: round,
|
1272
|
+
ceil: ceil,
|
1273
|
+
floor: floor
|
1274
|
+
};
|
1275
|
+
})());
|
1276
|
+
|
1277
|
+
function $R(start, end, exclusive) {
|
1278
|
+
return new ObjectRange(start, end, exclusive);
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
var ObjectRange = Class.create(Enumerable, (function() {
|
1282
|
+
function initialize(start, end, exclusive) {
|
1283
|
+
this.start = start;
|
1284
|
+
this.end = end;
|
1285
|
+
this.exclusive = exclusive;
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
function _each(iterator) {
|
1289
|
+
var value = this.start;
|
1290
|
+
while (this.include(value)) {
|
1291
|
+
iterator(value);
|
1292
|
+
value = value.succ();
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
function include(value) {
|
1297
|
+
if (value < this.start)
|
1298
|
+
return false;
|
1299
|
+
if (this.exclusive)
|
1300
|
+
return value < this.end;
|
1301
|
+
return value <= this.end;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
return {
|
1305
|
+
initialize: initialize,
|
1306
|
+
_each: _each,
|
1307
|
+
include: include
|
1308
|
+
};
|
1309
|
+
})());
|
1310
|
+
|
1311
|
+
|
1312
|
+
|
1313
|
+
var Ajax = {
|
1314
|
+
getTransport: function() {
|
1315
|
+
return Try.these(
|
1316
|
+
function() {return new XMLHttpRequest()},
|
1317
|
+
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
|
1318
|
+
function() {return new ActiveXObject('Microsoft.XMLHTTP')}
|
1319
|
+
) || false;
|
1320
|
+
},
|
1321
|
+
|
1322
|
+
activeRequestCount: 0
|
1323
|
+
};
|
1324
|
+
|
1325
|
+
Ajax.Responders = {
|
1326
|
+
responders: [],
|
1327
|
+
|
1328
|
+
_each: function(iterator) {
|
1329
|
+
this.responders._each(iterator);
|
1330
|
+
},
|
1331
|
+
|
1332
|
+
register: function(responder) {
|
1333
|
+
if (!this.include(responder))
|
1334
|
+
this.responders.push(responder);
|
1335
|
+
},
|
1336
|
+
|
1337
|
+
unregister: function(responder) {
|
1338
|
+
this.responders = this.responders.without(responder);
|
1339
|
+
},
|
1340
|
+
|
1341
|
+
dispatch: function(callback, request, transport, json) {
|
1342
|
+
this.each(function(responder) {
|
1343
|
+
if (Object.isFunction(responder[callback])) {
|
1344
|
+
try {
|
1345
|
+
responder[callback].apply(responder, [request, transport, json]);
|
1346
|
+
} catch (e) { }
|
1347
|
+
}
|
1348
|
+
});
|
1349
|
+
}
|
1350
|
+
};
|
1351
|
+
|
1352
|
+
Object.extend(Ajax.Responders, Enumerable);
|
1353
|
+
|
1354
|
+
Ajax.Responders.register({
|
1355
|
+
onCreate: function() { Ajax.activeRequestCount++ },
|
1356
|
+
onComplete: function() { Ajax.activeRequestCount-- }
|
1357
|
+
});
|
1358
|
+
Ajax.Base = Class.create({
|
1359
|
+
initialize: function(options) {
|
1360
|
+
this.options = {
|
1361
|
+
method: 'post',
|
1362
|
+
asynchronous: true,
|
1363
|
+
contentType: 'application/x-www-form-urlencoded',
|
1364
|
+
encoding: 'UTF-8',
|
1365
|
+
parameters: '',
|
1366
|
+
evalJSON: true,
|
1367
|
+
evalJS: true
|
1368
|
+
};
|
1369
|
+
Object.extend(this.options, options || { });
|
1370
|
+
|
1371
|
+
this.options.method = this.options.method.toLowerCase();
|
1372
|
+
|
1373
|
+
if (Object.isString(this.options.parameters))
|
1374
|
+
this.options.parameters = this.options.parameters.toQueryParams();
|
1375
|
+
else if (Object.isHash(this.options.parameters))
|
1376
|
+
this.options.parameters = this.options.parameters.toObject();
|
1377
|
+
}
|
1378
|
+
});
|
1379
|
+
Ajax.Request = Class.create(Ajax.Base, {
|
1380
|
+
_complete: false,
|
1381
|
+
|
1382
|
+
initialize: function($super, url, options) {
|
1383
|
+
$super(options);
|
1384
|
+
this.transport = Ajax.getTransport();
|
1385
|
+
this.request(url);
|
1386
|
+
},
|
1387
|
+
|
1388
|
+
request: function(url) {
|
1389
|
+
this.url = url;
|
1390
|
+
this.method = this.options.method;
|
1391
|
+
var params = Object.clone(this.options.parameters);
|
1392
|
+
|
1393
|
+
if (!['get', 'post'].include(this.method)) {
|
1394
|
+
params['_method'] = this.method;
|
1395
|
+
this.method = 'post';
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
this.parameters = params;
|
1399
|
+
|
1400
|
+
if (params = Object.toQueryString(params)) {
|
1401
|
+
if (this.method == 'get')
|
1402
|
+
this.url += (this.url.include('?') ? '&' : '?') + params;
|
1403
|
+
else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))
|
1404
|
+
params += '&_=';
|
1405
|
+
}
|
1406
|
+
|
1407
|
+
try {
|
1408
|
+
var response = new Ajax.Response(this);
|
1409
|
+
if (this.options.onCreate) this.options.onCreate(response);
|
1410
|
+
Ajax.Responders.dispatch('onCreate', this, response);
|
1411
|
+
|
1412
|
+
this.transport.open(this.method.toUpperCase(), this.url,
|
1413
|
+
this.options.asynchronous);
|
1414
|
+
|
1415
|
+
if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1);
|
1416
|
+
|
1417
|
+
this.transport.onreadystatechange = this.onStateChange.bind(this);
|
1418
|
+
this.setRequestHeaders();
|
1419
|
+
|
1420
|
+
this.body = this.method == 'post' ? (this.options.postBody || params) : null;
|
1421
|
+
this.transport.send(this.body);
|
1422
|
+
|
1423
|
+
/* Force Firefox to handle ready state 4 for synchronous requests */
|
1424
|
+
if (!this.options.asynchronous && this.transport.overrideMimeType)
|
1425
|
+
this.onStateChange();
|
1426
|
+
|
1427
|
+
}
|
1428
|
+
catch (e) {
|
1429
|
+
this.dispatchException(e);
|
1430
|
+
}
|
1431
|
+
},
|
1432
|
+
|
1433
|
+
onStateChange: function() {
|
1434
|
+
var readyState = this.transport.readyState;
|
1435
|
+
if (readyState > 1 && !((readyState == 4) && this._complete))
|
1436
|
+
this.respondToReadyState(this.transport.readyState);
|
1437
|
+
},
|
1438
|
+
|
1439
|
+
setRequestHeaders: function() {
|
1440
|
+
var headers = {
|
1441
|
+
'X-Requested-With': 'XMLHttpRequest',
|
1442
|
+
'X-Prototype-Version': Prototype.Version,
|
1443
|
+
'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
|
1444
|
+
};
|
1445
|
+
|
1446
|
+
if (this.method == 'post') {
|
1447
|
+
headers['Content-type'] = this.options.contentType +
|
1448
|
+
(this.options.encoding ? '; charset=' + this.options.encoding : '');
|
1449
|
+
|
1450
|
+
/* Force "Connection: close" for older Mozilla browsers to work
|
1451
|
+
* around a bug where XMLHttpRequest sends an incorrect
|
1452
|
+
* Content-length header. See Mozilla Bugzilla #246651.
|
1453
|
+
*/
|
1454
|
+
if (this.transport.overrideMimeType &&
|
1455
|
+
(navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005)
|
1456
|
+
headers['Connection'] = 'close';
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
if (typeof this.options.requestHeaders == 'object') {
|
1460
|
+
var extras = this.options.requestHeaders;
|
1461
|
+
|
1462
|
+
if (Object.isFunction(extras.push))
|
1463
|
+
for (var i = 0, length = extras.length; i < length; i += 2)
|
1464
|
+
headers[extras[i]] = extras[i+1];
|
1465
|
+
else
|
1466
|
+
$H(extras).each(function(pair) { headers[pair.key] = pair.value });
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
for (var name in headers)
|
1470
|
+
this.transport.setRequestHeader(name, headers[name]);
|
1471
|
+
},
|
1472
|
+
|
1473
|
+
success: function() {
|
1474
|
+
var status = this.getStatus();
|
1475
|
+
return !status || (status >= 200 && status < 300);
|
1476
|
+
},
|
1477
|
+
|
1478
|
+
getStatus: function() {
|
1479
|
+
try {
|
1480
|
+
return this.transport.status || 0;
|
1481
|
+
} catch (e) { return 0 }
|
1482
|
+
},
|
1483
|
+
|
1484
|
+
respondToReadyState: function(readyState) {
|
1485
|
+
var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this);
|
1486
|
+
|
1487
|
+
if (state == 'Complete') {
|
1488
|
+
try {
|
1489
|
+
this._complete = true;
|
1490
|
+
(this.options['on' + response.status]
|
1491
|
+
|| this.options['on' + (this.success() ? 'Success' : 'Failure')]
|
1492
|
+
|| Prototype.emptyFunction)(response, response.headerJSON);
|
1493
|
+
} catch (e) {
|
1494
|
+
this.dispatchException(e);
|
1495
|
+
}
|
1496
|
+
|
1497
|
+
var contentType = response.getHeader('Content-type');
|
1498
|
+
if (this.options.evalJS == 'force'
|
1499
|
+
|| (this.options.evalJS && this.isSameOrigin() && contentType
|
1500
|
+
&& contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))
|
1501
|
+
this.evalResponse();
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
try {
|
1505
|
+
(this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON);
|
1506
|
+
Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON);
|
1507
|
+
} catch (e) {
|
1508
|
+
this.dispatchException(e);
|
1509
|
+
}
|
1510
|
+
|
1511
|
+
if (state == 'Complete') {
|
1512
|
+
this.transport.onreadystatechange = Prototype.emptyFunction;
|
1513
|
+
}
|
1514
|
+
},
|
1515
|
+
|
1516
|
+
isSameOrigin: function() {
|
1517
|
+
var m = this.url.match(/^\s*https?:\/\/[^\/]*/);
|
1518
|
+
return !m || (m[0] == '#{protocol}//#{domain}#{port}'.interpolate({
|
1519
|
+
protocol: location.protocol,
|
1520
|
+
domain: document.domain,
|
1521
|
+
port: location.port ? ':' + location.port : ''
|
1522
|
+
}));
|
1523
|
+
},
|
1524
|
+
|
1525
|
+
getHeader: function(name) {
|
1526
|
+
try {
|
1527
|
+
return this.transport.getResponseHeader(name) || null;
|
1528
|
+
} catch (e) { return null; }
|
1529
|
+
},
|
1530
|
+
|
1531
|
+
evalResponse: function() {
|
1532
|
+
try {
|
1533
|
+
return eval((this.transport.responseText || '').unfilterJSON());
|
1534
|
+
} catch (e) {
|
1535
|
+
this.dispatchException(e);
|
1536
|
+
}
|
1537
|
+
},
|
1538
|
+
|
1539
|
+
dispatchException: function(exception) {
|
1540
|
+
(this.options.onException || Prototype.emptyFunction)(this, exception);
|
1541
|
+
Ajax.Responders.dispatch('onException', this, exception);
|
1542
|
+
}
|
1543
|
+
});
|
1544
|
+
|
1545
|
+
Ajax.Request.Events =
|
1546
|
+
['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
|
1547
|
+
|
1548
|
+
|
1549
|
+
|
1550
|
+
|
1551
|
+
|
1552
|
+
|
1553
|
+
|
1554
|
+
|
1555
|
+
Ajax.Response = Class.create({
|
1556
|
+
initialize: function(request){
|
1557
|
+
this.request = request;
|
1558
|
+
var transport = this.transport = request.transport,
|
1559
|
+
readyState = this.readyState = transport.readyState;
|
1560
|
+
|
1561
|
+
if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) {
|
1562
|
+
this.status = this.getStatus();
|
1563
|
+
this.statusText = this.getStatusText();
|
1564
|
+
this.responseText = String.interpret(transport.responseText);
|
1565
|
+
this.headerJSON = this._getHeaderJSON();
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
if(readyState == 4) {
|
1569
|
+
var xml = transport.responseXML;
|
1570
|
+
this.responseXML = Object.isUndefined(xml) ? null : xml;
|
1571
|
+
this.responseJSON = this._getResponseJSON();
|
1572
|
+
}
|
1573
|
+
},
|
1574
|
+
|
1575
|
+
status: 0,
|
1576
|
+
|
1577
|
+
statusText: '',
|
1578
|
+
|
1579
|
+
getStatus: Ajax.Request.prototype.getStatus,
|
1580
|
+
|
1581
|
+
getStatusText: function() {
|
1582
|
+
try {
|
1583
|
+
return this.transport.statusText || '';
|
1584
|
+
} catch (e) { return '' }
|
1585
|
+
},
|
1586
|
+
|
1587
|
+
getHeader: Ajax.Request.prototype.getHeader,
|
1588
|
+
|
1589
|
+
getAllHeaders: function() {
|
1590
|
+
try {
|
1591
|
+
return this.getAllResponseHeaders();
|
1592
|
+
} catch (e) { return null }
|
1593
|
+
},
|
1594
|
+
|
1595
|
+
getResponseHeader: function(name) {
|
1596
|
+
return this.transport.getResponseHeader(name);
|
1597
|
+
},
|
1598
|
+
|
1599
|
+
getAllResponseHeaders: function() {
|
1600
|
+
return this.transport.getAllResponseHeaders();
|
1601
|
+
},
|
1602
|
+
|
1603
|
+
_getHeaderJSON: function() {
|
1604
|
+
var json = this.getHeader('X-JSON');
|
1605
|
+
if (!json) return null;
|
1606
|
+
json = decodeURIComponent(escape(json));
|
1607
|
+
try {
|
1608
|
+
return json.evalJSON(this.request.options.sanitizeJSON ||
|
1609
|
+
!this.request.isSameOrigin());
|
1610
|
+
} catch (e) {
|
1611
|
+
this.request.dispatchException(e);
|
1612
|
+
}
|
1613
|
+
},
|
1614
|
+
|
1615
|
+
_getResponseJSON: function() {
|
1616
|
+
var options = this.request.options;
|
1617
|
+
if (!options.evalJSON || (options.evalJSON != 'force' &&
|
1618
|
+
!(this.getHeader('Content-type') || '').include('application/json')) ||
|
1619
|
+
this.responseText.blank())
|
1620
|
+
return null;
|
1621
|
+
try {
|
1622
|
+
return this.responseText.evalJSON(options.sanitizeJSON ||
|
1623
|
+
!this.request.isSameOrigin());
|
1624
|
+
} catch (e) {
|
1625
|
+
this.request.dispatchException(e);
|
1626
|
+
}
|
1627
|
+
}
|
1628
|
+
});
|
1629
|
+
|
1630
|
+
Ajax.Updater = Class.create(Ajax.Request, {
|
1631
|
+
initialize: function($super, container, url, options) {
|
1632
|
+
this.container = {
|
1633
|
+
success: (container.success || container),
|
1634
|
+
failure: (container.failure || (container.success ? null : container))
|
1635
|
+
};
|
1636
|
+
|
1637
|
+
options = Object.clone(options);
|
1638
|
+
var onComplete = options.onComplete;
|
1639
|
+
options.onComplete = (function(response, json) {
|
1640
|
+
this.updateContent(response.responseText);
|
1641
|
+
if (Object.isFunction(onComplete)) onComplete(response, json);
|
1642
|
+
}).bind(this);
|
1643
|
+
|
1644
|
+
$super(url, options);
|
1645
|
+
},
|
1646
|
+
|
1647
|
+
updateContent: function(responseText) {
|
1648
|
+
var receiver = this.container[this.success() ? 'success' : 'failure'],
|
1649
|
+
options = this.options;
|
1650
|
+
|
1651
|
+
if (!options.evalScripts) responseText = responseText.stripScripts();
|
1652
|
+
|
1653
|
+
if (receiver = $(receiver)) {
|
1654
|
+
if (options.insertion) {
|
1655
|
+
if (Object.isString(options.insertion)) {
|
1656
|
+
var insertion = { }; insertion[options.insertion] = responseText;
|
1657
|
+
receiver.insert(insertion);
|
1658
|
+
}
|
1659
|
+
else options.insertion(receiver, responseText);
|
1660
|
+
}
|
1661
|
+
else receiver.update(responseText);
|
1662
|
+
}
|
1663
|
+
}
|
1664
|
+
});
|
1665
|
+
|
1666
|
+
Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
|
1667
|
+
initialize: function($super, container, url, options) {
|
1668
|
+
$super(options);
|
1669
|
+
this.onComplete = this.options.onComplete;
|
1670
|
+
|
1671
|
+
this.frequency = (this.options.frequency || 2);
|
1672
|
+
this.decay = (this.options.decay || 1);
|
1673
|
+
|
1674
|
+
this.updater = { };
|
1675
|
+
this.container = container;
|
1676
|
+
this.url = url;
|
1677
|
+
|
1678
|
+
this.start();
|
1679
|
+
},
|
1680
|
+
|
1681
|
+
start: function() {
|
1682
|
+
this.options.onComplete = this.updateComplete.bind(this);
|
1683
|
+
this.onTimerEvent();
|
1684
|
+
},
|
1685
|
+
|
1686
|
+
stop: function() {
|
1687
|
+
this.updater.options.onComplete = undefined;
|
1688
|
+
clearTimeout(this.timer);
|
1689
|
+
(this.onComplete || Prototype.emptyFunction).apply(this, arguments);
|
1690
|
+
},
|
1691
|
+
|
1692
|
+
updateComplete: function(response) {
|
1693
|
+
if (this.options.decay) {
|
1694
|
+
this.decay = (response.responseText == this.lastText ?
|
1695
|
+
this.decay * this.options.decay : 1);
|
1696
|
+
|
1697
|
+
this.lastText = response.responseText;
|
1698
|
+
}
|
1699
|
+
this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency);
|
1700
|
+
},
|
1701
|
+
|
1702
|
+
onTimerEvent: function() {
|
1703
|
+
this.updater = new Ajax.Updater(this.container, this.url, this.options);
|
1704
|
+
}
|
1705
|
+
});
|
1706
|
+
|
1707
|
+
|
1708
|
+
|
1709
|
+
function $(element) {
|
1710
|
+
if (arguments.length > 1) {
|
1711
|
+
for (var i = 0, elements = [], length = arguments.length; i < length; i++)
|
1712
|
+
elements.push($(arguments[i]));
|
1713
|
+
return elements;
|
1714
|
+
}
|
1715
|
+
if (Object.isString(element))
|
1716
|
+
element = document.getElementById(element);
|
1717
|
+
return Element.extend(element);
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
if (Prototype.BrowserFeatures.XPath) {
|
1721
|
+
document._getElementsByXPath = function(expression, parentElement) {
|
1722
|
+
var results = [];
|
1723
|
+
var query = document.evaluate(expression, $(parentElement) || document,
|
1724
|
+
null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
|
1725
|
+
for (var i = 0, length = query.snapshotLength; i < length; i++)
|
1726
|
+
results.push(Element.extend(query.snapshotItem(i)));
|
1727
|
+
return results;
|
1728
|
+
};
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
/*--------------------------------------------------------------------------*/
|
1732
|
+
|
1733
|
+
if (!window.Node) var Node = { };
|
1734
|
+
|
1735
|
+
if (!Node.ELEMENT_NODE) {
|
1736
|
+
Object.extend(Node, {
|
1737
|
+
ELEMENT_NODE: 1,
|
1738
|
+
ATTRIBUTE_NODE: 2,
|
1739
|
+
TEXT_NODE: 3,
|
1740
|
+
CDATA_SECTION_NODE: 4,
|
1741
|
+
ENTITY_REFERENCE_NODE: 5,
|
1742
|
+
ENTITY_NODE: 6,
|
1743
|
+
PROCESSING_INSTRUCTION_NODE: 7,
|
1744
|
+
COMMENT_NODE: 8,
|
1745
|
+
DOCUMENT_NODE: 9,
|
1746
|
+
DOCUMENT_TYPE_NODE: 10,
|
1747
|
+
DOCUMENT_FRAGMENT_NODE: 11,
|
1748
|
+
NOTATION_NODE: 12
|
1749
|
+
});
|
1750
|
+
}
|
1751
|
+
|
1752
|
+
|
1753
|
+
(function(global) {
|
1754
|
+
|
1755
|
+
var SETATTRIBUTE_IGNORES_NAME = (function(){
|
1756
|
+
var elForm = document.createElement("form");
|
1757
|
+
var elInput = document.createElement("input");
|
1758
|
+
var root = document.documentElement;
|
1759
|
+
elInput.setAttribute("name", "test");
|
1760
|
+
elForm.appendChild(elInput);
|
1761
|
+
root.appendChild(elForm);
|
1762
|
+
var isBuggy = elForm.elements
|
1763
|
+
? (typeof elForm.elements.test == "undefined")
|
1764
|
+
: null;
|
1765
|
+
root.removeChild(elForm);
|
1766
|
+
elForm = elInput = null;
|
1767
|
+
return isBuggy;
|
1768
|
+
})();
|
1769
|
+
|
1770
|
+
var element = global.Element;
|
1771
|
+
global.Element = function(tagName, attributes) {
|
1772
|
+
attributes = attributes || { };
|
1773
|
+
tagName = tagName.toLowerCase();
|
1774
|
+
var cache = Element.cache;
|
1775
|
+
if (SETATTRIBUTE_IGNORES_NAME && attributes.name) {
|
1776
|
+
tagName = '<' + tagName + ' name="' + attributes.name + '">';
|
1777
|
+
delete attributes.name;
|
1778
|
+
return Element.writeAttribute(document.createElement(tagName), attributes);
|
1779
|
+
}
|
1780
|
+
if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName));
|
1781
|
+
return Element.writeAttribute(cache[tagName].cloneNode(false), attributes);
|
1782
|
+
};
|
1783
|
+
Object.extend(global.Element, element || { });
|
1784
|
+
if (element) global.Element.prototype = element.prototype;
|
1785
|
+
})(this);
|
1786
|
+
|
1787
|
+
Element.cache = { };
|
1788
|
+
Element.idCounter = 1;
|
1789
|
+
|
1790
|
+
Element.Methods = {
|
1791
|
+
visible: function(element) {
|
1792
|
+
return $(element).style.display != 'none';
|
1793
|
+
},
|
1794
|
+
|
1795
|
+
toggle: function(element) {
|
1796
|
+
element = $(element);
|
1797
|
+
Element[Element.visible(element) ? 'hide' : 'show'](element);
|
1798
|
+
return element;
|
1799
|
+
},
|
1800
|
+
|
1801
|
+
|
1802
|
+
hide: function(element) {
|
1803
|
+
element = $(element);
|
1804
|
+
element.style.display = 'none';
|
1805
|
+
return element;
|
1806
|
+
},
|
1807
|
+
|
1808
|
+
show: function(element) {
|
1809
|
+
element = $(element);
|
1810
|
+
element.style.display = '';
|
1811
|
+
return element;
|
1812
|
+
},
|
1813
|
+
|
1814
|
+
remove: function(element) {
|
1815
|
+
element = $(element);
|
1816
|
+
element.parentNode.removeChild(element);
|
1817
|
+
return element;
|
1818
|
+
},
|
1819
|
+
|
1820
|
+
update: (function(){
|
1821
|
+
|
1822
|
+
var SELECT_ELEMENT_INNERHTML_BUGGY = (function(){
|
1823
|
+
var el = document.createElement("select"),
|
1824
|
+
isBuggy = true;
|
1825
|
+
el.innerHTML = "<option value=\"test\">test</option>";
|
1826
|
+
if (el.options && el.options[0]) {
|
1827
|
+
isBuggy = el.options[0].nodeName.toUpperCase() !== "OPTION";
|
1828
|
+
}
|
1829
|
+
el = null;
|
1830
|
+
return isBuggy;
|
1831
|
+
})();
|
1832
|
+
|
1833
|
+
var TABLE_ELEMENT_INNERHTML_BUGGY = (function(){
|
1834
|
+
try {
|
1835
|
+
var el = document.createElement("table");
|
1836
|
+
if (el && el.tBodies) {
|
1837
|
+
el.innerHTML = "<tbody><tr><td>test</td></tr></tbody>";
|
1838
|
+
var isBuggy = typeof el.tBodies[0] == "undefined";
|
1839
|
+
el = null;
|
1840
|
+
return isBuggy;
|
1841
|
+
}
|
1842
|
+
} catch (e) {
|
1843
|
+
return true;
|
1844
|
+
}
|
1845
|
+
})();
|
1846
|
+
|
1847
|
+
var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING = (function () {
|
1848
|
+
var s = document.createElement("script"),
|
1849
|
+
isBuggy = false;
|
1850
|
+
try {
|
1851
|
+
s.appendChild(document.createTextNode(""));
|
1852
|
+
isBuggy = !s.firstChild ||
|
1853
|
+
s.firstChild && s.firstChild.nodeType !== 3;
|
1854
|
+
} catch (e) {
|
1855
|
+
isBuggy = true;
|
1856
|
+
}
|
1857
|
+
s = null;
|
1858
|
+
return isBuggy;
|
1859
|
+
})();
|
1860
|
+
|
1861
|
+
function update(element, content) {
|
1862
|
+
element = $(element);
|
1863
|
+
|
1864
|
+
if (content && content.toElement)
|
1865
|
+
content = content.toElement();
|
1866
|
+
|
1867
|
+
if (Object.isElement(content))
|
1868
|
+
return element.update().insert(content);
|
1869
|
+
|
1870
|
+
content = Object.toHTML(content);
|
1871
|
+
|
1872
|
+
var tagName = element.tagName.toUpperCase();
|
1873
|
+
|
1874
|
+
if (tagName === 'SCRIPT' && SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING) {
|
1875
|
+
element.text = content;
|
1876
|
+
return element;
|
1877
|
+
}
|
1878
|
+
|
1879
|
+
if (SELECT_ELEMENT_INNERHTML_BUGGY || TABLE_ELEMENT_INNERHTML_BUGGY) {
|
1880
|
+
if (tagName in Element._insertionTranslations.tags) {
|
1881
|
+
while (element.firstChild) {
|
1882
|
+
element.removeChild(element.firstChild);
|
1883
|
+
}
|
1884
|
+
Element._getContentFromAnonymousElement(tagName, content.stripScripts())
|
1885
|
+
.each(function(node) {
|
1886
|
+
element.appendChild(node)
|
1887
|
+
});
|
1888
|
+
}
|
1889
|
+
else {
|
1890
|
+
element.innerHTML = content.stripScripts();
|
1891
|
+
}
|
1892
|
+
}
|
1893
|
+
else {
|
1894
|
+
element.innerHTML = content.stripScripts();
|
1895
|
+
}
|
1896
|
+
|
1897
|
+
content.evalScripts.bind(content).defer();
|
1898
|
+
return element;
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
return update;
|
1902
|
+
})(),
|
1903
|
+
|
1904
|
+
replace: function(element, content) {
|
1905
|
+
element = $(element);
|
1906
|
+
if (content && content.toElement) content = content.toElement();
|
1907
|
+
else if (!Object.isElement(content)) {
|
1908
|
+
content = Object.toHTML(content);
|
1909
|
+
var range = element.ownerDocument.createRange();
|
1910
|
+
range.selectNode(element);
|
1911
|
+
content.evalScripts.bind(content).defer();
|
1912
|
+
content = range.createContextualFragment(content.stripScripts());
|
1913
|
+
}
|
1914
|
+
element.parentNode.replaceChild(content, element);
|
1915
|
+
return element;
|
1916
|
+
},
|
1917
|
+
|
1918
|
+
insert: function(element, insertions) {
|
1919
|
+
element = $(element);
|
1920
|
+
|
1921
|
+
if (Object.isString(insertions) || Object.isNumber(insertions) ||
|
1922
|
+
Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
|
1923
|
+
insertions = {bottom:insertions};
|
1924
|
+
|
1925
|
+
var content, insert, tagName, childNodes;
|
1926
|
+
|
1927
|
+
for (var position in insertions) {
|
1928
|
+
content = insertions[position];
|
1929
|
+
position = position.toLowerCase();
|
1930
|
+
insert = Element._insertionTranslations[position];
|
1931
|
+
|
1932
|
+
if (content && content.toElement) content = content.toElement();
|
1933
|
+
if (Object.isElement(content)) {
|
1934
|
+
insert(element, content);
|
1935
|
+
continue;
|
1936
|
+
}
|
1937
|
+
|
1938
|
+
content = Object.toHTML(content);
|
1939
|
+
|
1940
|
+
tagName = ((position == 'before' || position == 'after')
|
1941
|
+
? element.parentNode : element).tagName.toUpperCase();
|
1942
|
+
|
1943
|
+
childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
1944
|
+
|
1945
|
+
if (position == 'top' || position == 'after') childNodes.reverse();
|
1946
|
+
childNodes.each(insert.curry(element));
|
1947
|
+
|
1948
|
+
content.evalScripts.bind(content).defer();
|
1949
|
+
}
|
1950
|
+
|
1951
|
+
return element;
|
1952
|
+
},
|
1953
|
+
|
1954
|
+
wrap: function(element, wrapper, attributes) {
|
1955
|
+
element = $(element);
|
1956
|
+
if (Object.isElement(wrapper))
|
1957
|
+
$(wrapper).writeAttribute(attributes || { });
|
1958
|
+
else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes);
|
1959
|
+
else wrapper = new Element('div', wrapper);
|
1960
|
+
if (element.parentNode)
|
1961
|
+
element.parentNode.replaceChild(wrapper, element);
|
1962
|
+
wrapper.appendChild(element);
|
1963
|
+
return wrapper;
|
1964
|
+
},
|
1965
|
+
|
1966
|
+
inspect: function(element) {
|
1967
|
+
element = $(element);
|
1968
|
+
var result = '<' + element.tagName.toLowerCase();
|
1969
|
+
$H({'id': 'id', 'className': 'class'}).each(function(pair) {
|
1970
|
+
var property = pair.first(), attribute = pair.last();
|
1971
|
+
var value = (element[property] || '').toString();
|
1972
|
+
if (value) result += ' ' + attribute + '=' + value.inspect(true);
|
1973
|
+
});
|
1974
|
+
return result + '>';
|
1975
|
+
},
|
1976
|
+
|
1977
|
+
recursivelyCollect: function(element, property) {
|
1978
|
+
element = $(element);
|
1979
|
+
var elements = [];
|
1980
|
+
while (element = element[property])
|
1981
|
+
if (element.nodeType == 1)
|
1982
|
+
elements.push(Element.extend(element));
|
1983
|
+
return elements;
|
1984
|
+
},
|
1985
|
+
|
1986
|
+
ancestors: function(element) {
|
1987
|
+
return Element.recursivelyCollect(element, 'parentNode');
|
1988
|
+
},
|
1989
|
+
|
1990
|
+
descendants: function(element) {
|
1991
|
+
return Element.select(element, "*");
|
1992
|
+
},
|
1993
|
+
|
1994
|
+
firstDescendant: function(element) {
|
1995
|
+
element = $(element).firstChild;
|
1996
|
+
while (element && element.nodeType != 1) element = element.nextSibling;
|
1997
|
+
return $(element);
|
1998
|
+
},
|
1999
|
+
|
2000
|
+
immediateDescendants: function(element) {
|
2001
|
+
if (!(element = $(element).firstChild)) return [];
|
2002
|
+
while (element && element.nodeType != 1) element = element.nextSibling;
|
2003
|
+
if (element) return [element].concat($(element).nextSiblings());
|
2004
|
+
return [];
|
2005
|
+
},
|
2006
|
+
|
2007
|
+
previousSiblings: function(element) {
|
2008
|
+
return Element.recursivelyCollect(element, 'previousSibling');
|
2009
|
+
},
|
2010
|
+
|
2011
|
+
nextSiblings: function(element) {
|
2012
|
+
return Element.recursivelyCollect(element, 'nextSibling');
|
2013
|
+
},
|
2014
|
+
|
2015
|
+
siblings: function(element) {
|
2016
|
+
element = $(element);
|
2017
|
+
return Element.previousSiblings(element).reverse()
|
2018
|
+
.concat(Element.nextSiblings(element));
|
2019
|
+
},
|
2020
|
+
|
2021
|
+
match: function(element, selector) {
|
2022
|
+
if (Object.isString(selector))
|
2023
|
+
selector = new Selector(selector);
|
2024
|
+
return selector.match($(element));
|
2025
|
+
},
|
2026
|
+
|
2027
|
+
up: function(element, expression, index) {
|
2028
|
+
element = $(element);
|
2029
|
+
if (arguments.length == 1) return $(element.parentNode);
|
2030
|
+
var ancestors = Element.ancestors(element);
|
2031
|
+
return Object.isNumber(expression) ? ancestors[expression] :
|
2032
|
+
Selector.findElement(ancestors, expression, index);
|
2033
|
+
},
|
2034
|
+
|
2035
|
+
down: function(element, expression, index) {
|
2036
|
+
element = $(element);
|
2037
|
+
if (arguments.length == 1) return Element.firstDescendant(element);
|
2038
|
+
return Object.isNumber(expression) ? Element.descendants(element)[expression] :
|
2039
|
+
Element.select(element, expression)[index || 0];
|
2040
|
+
},
|
2041
|
+
|
2042
|
+
previous: function(element, expression, index) {
|
2043
|
+
element = $(element);
|
2044
|
+
if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element));
|
2045
|
+
var previousSiblings = Element.previousSiblings(element);
|
2046
|
+
return Object.isNumber(expression) ? previousSiblings[expression] :
|
2047
|
+
Selector.findElement(previousSiblings, expression, index);
|
2048
|
+
},
|
2049
|
+
|
2050
|
+
next: function(element, expression, index) {
|
2051
|
+
element = $(element);
|
2052
|
+
if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element));
|
2053
|
+
var nextSiblings = Element.nextSiblings(element);
|
2054
|
+
return Object.isNumber(expression) ? nextSiblings[expression] :
|
2055
|
+
Selector.findElement(nextSiblings, expression, index);
|
2056
|
+
},
|
2057
|
+
|
2058
|
+
|
2059
|
+
select: function(element) {
|
2060
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
2061
|
+
return Selector.findChildElements(element, args);
|
2062
|
+
},
|
2063
|
+
|
2064
|
+
adjacent: function(element) {
|
2065
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
2066
|
+
return Selector.findChildElements(element.parentNode, args).without(element);
|
2067
|
+
},
|
2068
|
+
|
2069
|
+
identify: function(element) {
|
2070
|
+
element = $(element);
|
2071
|
+
var id = Element.readAttribute(element, 'id');
|
2072
|
+
if (id) return id;
|
2073
|
+
do { id = 'anonymous_element_' + Element.idCounter++ } while ($(id));
|
2074
|
+
Element.writeAttribute(element, 'id', id);
|
2075
|
+
return id;
|
2076
|
+
},
|
2077
|
+
|
2078
|
+
readAttribute: function(element, name) {
|
2079
|
+
element = $(element);
|
2080
|
+
if (Prototype.Browser.IE) {
|
2081
|
+
var t = Element._attributeTranslations.read;
|
2082
|
+
if (t.values[name]) return t.values[name](element, name);
|
2083
|
+
if (t.names[name]) name = t.names[name];
|
2084
|
+
if (name.include(':')) {
|
2085
|
+
return (!element.attributes || !element.attributes[name]) ? null :
|
2086
|
+
element.attributes[name].value;
|
2087
|
+
}
|
2088
|
+
}
|
2089
|
+
return element.getAttribute(name);
|
2090
|
+
},
|
2091
|
+
|
2092
|
+
writeAttribute: function(element, name, value) {
|
2093
|
+
element = $(element);
|
2094
|
+
var attributes = { }, t = Element._attributeTranslations.write;
|
2095
|
+
|
2096
|
+
if (typeof name == 'object') attributes = name;
|
2097
|
+
else attributes[name] = Object.isUndefined(value) ? true : value;
|
2098
|
+
|
2099
|
+
for (var attr in attributes) {
|
2100
|
+
name = t.names[attr] || attr;
|
2101
|
+
value = attributes[attr];
|
2102
|
+
if (t.values[attr]) name = t.values[attr](element, value);
|
2103
|
+
if (value === false || value === null)
|
2104
|
+
element.removeAttribute(name);
|
2105
|
+
else if (value === true)
|
2106
|
+
element.setAttribute(name, name);
|
2107
|
+
else element.setAttribute(name, value);
|
2108
|
+
}
|
2109
|
+
return element;
|
2110
|
+
},
|
2111
|
+
|
2112
|
+
getHeight: function(element) {
|
2113
|
+
return Element.getDimensions(element).height;
|
2114
|
+
},
|
2115
|
+
|
2116
|
+
getWidth: function(element) {
|
2117
|
+
return Element.getDimensions(element).width;
|
2118
|
+
},
|
2119
|
+
|
2120
|
+
classNames: function(element) {
|
2121
|
+
return new Element.ClassNames(element);
|
2122
|
+
},
|
2123
|
+
|
2124
|
+
hasClassName: function(element, className) {
|
2125
|
+
if (!(element = $(element))) return;
|
2126
|
+
var elementClassName = element.className;
|
2127
|
+
return (elementClassName.length > 0 && (elementClassName == className ||
|
2128
|
+
new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName)));
|
2129
|
+
},
|
2130
|
+
|
2131
|
+
addClassName: function(element, className) {
|
2132
|
+
if (!(element = $(element))) return;
|
2133
|
+
if (!Element.hasClassName(element, className))
|
2134
|
+
element.className += (element.className ? ' ' : '') + className;
|
2135
|
+
return element;
|
2136
|
+
},
|
2137
|
+
|
2138
|
+
removeClassName: function(element, className) {
|
2139
|
+
if (!(element = $(element))) return;
|
2140
|
+
element.className = element.className.replace(
|
2141
|
+
new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip();
|
2142
|
+
return element;
|
2143
|
+
},
|
2144
|
+
|
2145
|
+
toggleClassName: function(element, className) {
|
2146
|
+
if (!(element = $(element))) return;
|
2147
|
+
return Element[Element.hasClassName(element, className) ?
|
2148
|
+
'removeClassName' : 'addClassName'](element, className);
|
2149
|
+
},
|
2150
|
+
|
2151
|
+
cleanWhitespace: function(element) {
|
2152
|
+
element = $(element);
|
2153
|
+
var node = element.firstChild;
|
2154
|
+
while (node) {
|
2155
|
+
var nextNode = node.nextSibling;
|
2156
|
+
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
|
2157
|
+
element.removeChild(node);
|
2158
|
+
node = nextNode;
|
2159
|
+
}
|
2160
|
+
return element;
|
2161
|
+
},
|
2162
|
+
|
2163
|
+
empty: function(element) {
|
2164
|
+
return $(element).innerHTML.blank();
|
2165
|
+
},
|
2166
|
+
|
2167
|
+
descendantOf: function(element, ancestor) {
|
2168
|
+
element = $(element), ancestor = $(ancestor);
|
2169
|
+
|
2170
|
+
if (element.compareDocumentPosition)
|
2171
|
+
return (element.compareDocumentPosition(ancestor) & 8) === 8;
|
2172
|
+
|
2173
|
+
if (ancestor.contains)
|
2174
|
+
return ancestor.contains(element) && ancestor !== element;
|
2175
|
+
|
2176
|
+
while (element = element.parentNode)
|
2177
|
+
if (element == ancestor) return true;
|
2178
|
+
|
2179
|
+
return false;
|
2180
|
+
},
|
2181
|
+
|
2182
|
+
scrollTo: function(element) {
|
2183
|
+
element = $(element);
|
2184
|
+
var pos = Element.cumulativeOffset(element);
|
2185
|
+
window.scrollTo(pos[0], pos[1]);
|
2186
|
+
return element;
|
2187
|
+
},
|
2188
|
+
|
2189
|
+
getStyle: function(element, style) {
|
2190
|
+
element = $(element);
|
2191
|
+
style = style == 'float' ? 'cssFloat' : style.camelize();
|
2192
|
+
var value = element.style[style];
|
2193
|
+
if (!value || value == 'auto') {
|
2194
|
+
var css = document.defaultView.getComputedStyle(element, null);
|
2195
|
+
value = css ? css[style] : null;
|
2196
|
+
}
|
2197
|
+
if (style == 'opacity') return value ? parseFloat(value) : 1.0;
|
2198
|
+
return value == 'auto' ? null : value;
|
2199
|
+
},
|
2200
|
+
|
2201
|
+
getOpacity: function(element) {
|
2202
|
+
return $(element).getStyle('opacity');
|
2203
|
+
},
|
2204
|
+
|
2205
|
+
setStyle: function(element, styles) {
|
2206
|
+
element = $(element);
|
2207
|
+
var elementStyle = element.style, match;
|
2208
|
+
if (Object.isString(styles)) {
|
2209
|
+
element.style.cssText += ';' + styles;
|
2210
|
+
return styles.include('opacity') ?
|
2211
|
+
element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element;
|
2212
|
+
}
|
2213
|
+
for (var property in styles)
|
2214
|
+
if (property == 'opacity') element.setOpacity(styles[property]);
|
2215
|
+
else
|
2216
|
+
elementStyle[(property == 'float' || property == 'cssFloat') ?
|
2217
|
+
(Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 'styleFloat') :
|
2218
|
+
property] = styles[property];
|
2219
|
+
|
2220
|
+
return element;
|
2221
|
+
},
|
2222
|
+
|
2223
|
+
setOpacity: function(element, value) {
|
2224
|
+
element = $(element);
|
2225
|
+
element.style.opacity = (value == 1 || value === '') ? '' :
|
2226
|
+
(value < 0.00001) ? 0 : value;
|
2227
|
+
return element;
|
2228
|
+
},
|
2229
|
+
|
2230
|
+
getDimensions: function(element) {
|
2231
|
+
element = $(element);
|
2232
|
+
var display = Element.getStyle(element, 'display');
|
2233
|
+
if (display != 'none' && display != null) // Safari bug
|
2234
|
+
return {width: element.offsetWidth, height: element.offsetHeight};
|
2235
|
+
|
2236
|
+
var els = element.style;
|
2237
|
+
var originalVisibility = els.visibility;
|
2238
|
+
var originalPosition = els.position;
|
2239
|
+
var originalDisplay = els.display;
|
2240
|
+
els.visibility = 'hidden';
|
2241
|
+
if (originalPosition != 'fixed') // Switching fixed to absolute causes issues in Safari
|
2242
|
+
els.position = 'absolute';
|
2243
|
+
els.display = 'block';
|
2244
|
+
var originalWidth = element.clientWidth;
|
2245
|
+
var originalHeight = element.clientHeight;
|
2246
|
+
els.display = originalDisplay;
|
2247
|
+
els.position = originalPosition;
|
2248
|
+
els.visibility = originalVisibility;
|
2249
|
+
return {width: originalWidth, height: originalHeight};
|
2250
|
+
},
|
2251
|
+
|
2252
|
+
makePositioned: function(element) {
|
2253
|
+
element = $(element);
|
2254
|
+
var pos = Element.getStyle(element, 'position');
|
2255
|
+
if (pos == 'static' || !pos) {
|
2256
|
+
element._madePositioned = true;
|
2257
|
+
element.style.position = 'relative';
|
2258
|
+
if (Prototype.Browser.Opera) {
|
2259
|
+
element.style.top = 0;
|
2260
|
+
element.style.left = 0;
|
2261
|
+
}
|
2262
|
+
}
|
2263
|
+
return element;
|
2264
|
+
},
|
2265
|
+
|
2266
|
+
undoPositioned: function(element) {
|
2267
|
+
element = $(element);
|
2268
|
+
if (element._madePositioned) {
|
2269
|
+
element._madePositioned = undefined;
|
2270
|
+
element.style.position =
|
2271
|
+
element.style.top =
|
2272
|
+
element.style.left =
|
2273
|
+
element.style.bottom =
|
2274
|
+
element.style.right = '';
|
2275
|
+
}
|
2276
|
+
return element;
|
2277
|
+
},
|
2278
|
+
|
2279
|
+
makeClipping: function(element) {
|
2280
|
+
element = $(element);
|
2281
|
+
if (element._overflow) return element;
|
2282
|
+
element._overflow = Element.getStyle(element, 'overflow') || 'auto';
|
2283
|
+
if (element._overflow !== 'hidden')
|
2284
|
+
element.style.overflow = 'hidden';
|
2285
|
+
return element;
|
2286
|
+
},
|
2287
|
+
|
2288
|
+
undoClipping: function(element) {
|
2289
|
+
element = $(element);
|
2290
|
+
if (!element._overflow) return element;
|
2291
|
+
element.style.overflow = element._overflow == 'auto' ? '' : element._overflow;
|
2292
|
+
element._overflow = null;
|
2293
|
+
return element;
|
2294
|
+
},
|
2295
|
+
|
2296
|
+
cumulativeOffset: function(element) {
|
2297
|
+
var valueT = 0, valueL = 0;
|
2298
|
+
do {
|
2299
|
+
valueT += element.offsetTop || 0;
|
2300
|
+
valueL += element.offsetLeft || 0;
|
2301
|
+
element = element.offsetParent;
|
2302
|
+
} while (element);
|
2303
|
+
return Element._returnOffset(valueL, valueT);
|
2304
|
+
},
|
2305
|
+
|
2306
|
+
positionedOffset: function(element) {
|
2307
|
+
var valueT = 0, valueL = 0;
|
2308
|
+
do {
|
2309
|
+
valueT += element.offsetTop || 0;
|
2310
|
+
valueL += element.offsetLeft || 0;
|
2311
|
+
element = element.offsetParent;
|
2312
|
+
if (element) {
|
2313
|
+
if (element.tagName.toUpperCase() == 'BODY') break;
|
2314
|
+
var p = Element.getStyle(element, 'position');
|
2315
|
+
if (p !== 'static') break;
|
2316
|
+
}
|
2317
|
+
} while (element);
|
2318
|
+
return Element._returnOffset(valueL, valueT);
|
2319
|
+
},
|
2320
|
+
|
2321
|
+
absolutize: function(element) {
|
2322
|
+
element = $(element);
|
2323
|
+
if (Element.getStyle(element, 'position') == 'absolute') return element;
|
2324
|
+
|
2325
|
+
var offsets = Element.positionedOffset(element);
|
2326
|
+
var top = offsets[1];
|
2327
|
+
var left = offsets[0];
|
2328
|
+
var width = element.clientWidth;
|
2329
|
+
var height = element.clientHeight;
|
2330
|
+
|
2331
|
+
element._originalLeft = left - parseFloat(element.style.left || 0);
|
2332
|
+
element._originalTop = top - parseFloat(element.style.top || 0);
|
2333
|
+
element._originalWidth = element.style.width;
|
2334
|
+
element._originalHeight = element.style.height;
|
2335
|
+
|
2336
|
+
element.style.position = 'absolute';
|
2337
|
+
element.style.top = top + 'px';
|
2338
|
+
element.style.left = left + 'px';
|
2339
|
+
element.style.width = width + 'px';
|
2340
|
+
element.style.height = height + 'px';
|
2341
|
+
return element;
|
2342
|
+
},
|
2343
|
+
|
2344
|
+
relativize: function(element) {
|
2345
|
+
element = $(element);
|
2346
|
+
if (Element.getStyle(element, 'position') == 'relative') return element;
|
2347
|
+
|
2348
|
+
element.style.position = 'relative';
|
2349
|
+
var top = parseFloat(element.style.top || 0) - (element._originalTop || 0);
|
2350
|
+
var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
|
2351
|
+
|
2352
|
+
element.style.top = top + 'px';
|
2353
|
+
element.style.left = left + 'px';
|
2354
|
+
element.style.height = element._originalHeight;
|
2355
|
+
element.style.width = element._originalWidth;
|
2356
|
+
return element;
|
2357
|
+
},
|
2358
|
+
|
2359
|
+
cumulativeScrollOffset: function(element) {
|
2360
|
+
var valueT = 0, valueL = 0;
|
2361
|
+
do {
|
2362
|
+
valueT += element.scrollTop || 0;
|
2363
|
+
valueL += element.scrollLeft || 0;
|
2364
|
+
element = element.parentNode;
|
2365
|
+
} while (element);
|
2366
|
+
return Element._returnOffset(valueL, valueT);
|
2367
|
+
},
|
2368
|
+
|
2369
|
+
getOffsetParent: function(element) {
|
2370
|
+
if (element.offsetParent) return $(element.offsetParent);
|
2371
|
+
if (element == document.body) return $(element);
|
2372
|
+
|
2373
|
+
while ((element = element.parentNode) && element != document.body)
|
2374
|
+
if (Element.getStyle(element, 'position') != 'static')
|
2375
|
+
return $(element);
|
2376
|
+
|
2377
|
+
return $(document.body);
|
2378
|
+
},
|
2379
|
+
|
2380
|
+
viewportOffset: function(forElement) {
|
2381
|
+
var valueT = 0, valueL = 0;
|
2382
|
+
|
2383
|
+
var element = forElement;
|
2384
|
+
do {
|
2385
|
+
valueT += element.offsetTop || 0;
|
2386
|
+
valueL += element.offsetLeft || 0;
|
2387
|
+
|
2388
|
+
if (element.offsetParent == document.body &&
|
2389
|
+
Element.getStyle(element, 'position') == 'absolute') break;
|
2390
|
+
|
2391
|
+
} while (element = element.offsetParent);
|
2392
|
+
|
2393
|
+
element = forElement;
|
2394
|
+
do {
|
2395
|
+
if (!Prototype.Browser.Opera || (element.tagName && (element.tagName.toUpperCase() == 'BODY'))) {
|
2396
|
+
valueT -= element.scrollTop || 0;
|
2397
|
+
valueL -= element.scrollLeft || 0;
|
2398
|
+
}
|
2399
|
+
} while (element = element.parentNode);
|
2400
|
+
|
2401
|
+
return Element._returnOffset(valueL, valueT);
|
2402
|
+
},
|
2403
|
+
|
2404
|
+
clonePosition: function(element, source) {
|
2405
|
+
var options = Object.extend({
|
2406
|
+
setLeft: true,
|
2407
|
+
setTop: true,
|
2408
|
+
setWidth: true,
|
2409
|
+
setHeight: true,
|
2410
|
+
offsetTop: 0,
|
2411
|
+
offsetLeft: 0
|
2412
|
+
}, arguments[2] || { });
|
2413
|
+
|
2414
|
+
source = $(source);
|
2415
|
+
var p = Element.viewportOffset(source);
|
2416
|
+
|
2417
|
+
element = $(element);
|
2418
|
+
var delta = [0, 0];
|
2419
|
+
var parent = null;
|
2420
|
+
if (Element.getStyle(element, 'position') == 'absolute') {
|
2421
|
+
parent = Element.getOffsetParent(element);
|
2422
|
+
delta = Element.viewportOffset(parent);
|
2423
|
+
}
|
2424
|
+
|
2425
|
+
if (parent == document.body) {
|
2426
|
+
delta[0] -= document.body.offsetLeft;
|
2427
|
+
delta[1] -= document.body.offsetTop;
|
2428
|
+
}
|
2429
|
+
|
2430
|
+
if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px';
|
2431
|
+
if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';
|
2432
|
+
if (options.setWidth) element.style.width = source.offsetWidth + 'px';
|
2433
|
+
if (options.setHeight) element.style.height = source.offsetHeight + 'px';
|
2434
|
+
return element;
|
2435
|
+
}
|
2436
|
+
};
|
2437
|
+
|
2438
|
+
Object.extend(Element.Methods, {
|
2439
|
+
getElementsBySelector: Element.Methods.select,
|
2440
|
+
|
2441
|
+
childElements: Element.Methods.immediateDescendants
|
2442
|
+
});
|
2443
|
+
|
2444
|
+
Element._attributeTranslations = {
|
2445
|
+
write: {
|
2446
|
+
names: {
|
2447
|
+
className: 'class',
|
2448
|
+
htmlFor: 'for'
|
2449
|
+
},
|
2450
|
+
values: { }
|
2451
|
+
}
|
2452
|
+
};
|
2453
|
+
|
2454
|
+
if (Prototype.Browser.Opera) {
|
2455
|
+
Element.Methods.getStyle = Element.Methods.getStyle.wrap(
|
2456
|
+
function(proceed, element, style) {
|
2457
|
+
switch (style) {
|
2458
|
+
case 'left': case 'top': case 'right': case 'bottom':
|
2459
|
+
if (proceed(element, 'position') === 'static') return null;
|
2460
|
+
case 'height': case 'width':
|
2461
|
+
if (!Element.visible(element)) return null;
|
2462
|
+
|
2463
|
+
var dim = parseInt(proceed(element, style), 10);
|
2464
|
+
|
2465
|
+
if (dim !== element['offset' + style.capitalize()])
|
2466
|
+
return dim + 'px';
|
2467
|
+
|
2468
|
+
var properties;
|
2469
|
+
if (style === 'height') {
|
2470
|
+
properties = ['border-top-width', 'padding-top',
|
2471
|
+
'padding-bottom', 'border-bottom-width'];
|
2472
|
+
}
|
2473
|
+
else {
|
2474
|
+
properties = ['border-left-width', 'padding-left',
|
2475
|
+
'padding-right', 'border-right-width'];
|
2476
|
+
}
|
2477
|
+
return properties.inject(dim, function(memo, property) {
|
2478
|
+
var val = proceed(element, property);
|
2479
|
+
return val === null ? memo : memo - parseInt(val, 10);
|
2480
|
+
}) + 'px';
|
2481
|
+
default: return proceed(element, style);
|
2482
|
+
}
|
2483
|
+
}
|
2484
|
+
);
|
2485
|
+
|
2486
|
+
Element.Methods.readAttribute = Element.Methods.readAttribute.wrap(
|
2487
|
+
function(proceed, element, attribute) {
|
2488
|
+
if (attribute === 'title') return element.title;
|
2489
|
+
return proceed(element, attribute);
|
2490
|
+
}
|
2491
|
+
);
|
2492
|
+
}
|
2493
|
+
|
2494
|
+
else if (Prototype.Browser.IE) {
|
2495
|
+
Element.Methods.getOffsetParent = Element.Methods.getOffsetParent.wrap(
|
2496
|
+
function(proceed, element) {
|
2497
|
+
element = $(element);
|
2498
|
+
try { element.offsetParent }
|
2499
|
+
catch(e) { return $(document.body) }
|
2500
|
+
var position = element.getStyle('position');
|
2501
|
+
if (position !== 'static') return proceed(element);
|
2502
|
+
element.setStyle({ position: 'relative' });
|
2503
|
+
var value = proceed(element);
|
2504
|
+
element.setStyle({ position: position });
|
2505
|
+
return value;
|
2506
|
+
}
|
2507
|
+
);
|
2508
|
+
|
2509
|
+
$w('positionedOffset viewportOffset').each(function(method) {
|
2510
|
+
Element.Methods[method] = Element.Methods[method].wrap(
|
2511
|
+
function(proceed, element) {
|
2512
|
+
element = $(element);
|
2513
|
+
try { element.offsetParent }
|
2514
|
+
catch(e) { return Element._returnOffset(0,0) }
|
2515
|
+
var position = element.getStyle('position');
|
2516
|
+
if (position !== 'static') return proceed(element);
|
2517
|
+
var offsetParent = element.getOffsetParent();
|
2518
|
+
if (offsetParent && offsetParent.getStyle('position') === 'fixed')
|
2519
|
+
offsetParent.setStyle({ zoom: 1 });
|
2520
|
+
element.setStyle({ position: 'relative' });
|
2521
|
+
var value = proceed(element);
|
2522
|
+
element.setStyle({ position: position });
|
2523
|
+
return value;
|
2524
|
+
}
|
2525
|
+
);
|
2526
|
+
});
|
2527
|
+
|
2528
|
+
Element.Methods.cumulativeOffset = Element.Methods.cumulativeOffset.wrap(
|
2529
|
+
function(proceed, element) {
|
2530
|
+
try { element.offsetParent }
|
2531
|
+
catch(e) { return Element._returnOffset(0,0) }
|
2532
|
+
return proceed(element);
|
2533
|
+
}
|
2534
|
+
);
|
2535
|
+
|
2536
|
+
Element.Methods.getStyle = function(element, style) {
|
2537
|
+
element = $(element);
|
2538
|
+
style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize();
|
2539
|
+
var value = element.style[style];
|
2540
|
+
if (!value && element.currentStyle) value = element.currentStyle[style];
|
2541
|
+
|
2542
|
+
if (style == 'opacity') {
|
2543
|
+
if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/))
|
2544
|
+
if (value[1]) return parseFloat(value[1]) / 100;
|
2545
|
+
return 1.0;
|
2546
|
+
}
|
2547
|
+
|
2548
|
+
if (value == 'auto') {
|
2549
|
+
if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none'))
|
2550
|
+
return element['offset' + style.capitalize()] + 'px';
|
2551
|
+
return null;
|
2552
|
+
}
|
2553
|
+
return value;
|
2554
|
+
};
|
2555
|
+
|
2556
|
+
Element.Methods.setOpacity = function(element, value) {
|
2557
|
+
function stripAlpha(filter){
|
2558
|
+
return filter.replace(/alpha\([^\)]*\)/gi,'');
|
2559
|
+
}
|
2560
|
+
element = $(element);
|
2561
|
+
var currentStyle = element.currentStyle;
|
2562
|
+
if ((currentStyle && !currentStyle.hasLayout) ||
|
2563
|
+
(!currentStyle && element.style.zoom == 'normal'))
|
2564
|
+
element.style.zoom = 1;
|
2565
|
+
|
2566
|
+
var filter = element.getStyle('filter'), style = element.style;
|
2567
|
+
if (value == 1 || value === '') {
|
2568
|
+
(filter = stripAlpha(filter)) ?
|
2569
|
+
style.filter = filter : style.removeAttribute('filter');
|
2570
|
+
return element;
|
2571
|
+
} else if (value < 0.00001) value = 0;
|
2572
|
+
style.filter = stripAlpha(filter) +
|
2573
|
+
'alpha(opacity=' + (value * 100) + ')';
|
2574
|
+
return element;
|
2575
|
+
};
|
2576
|
+
|
2577
|
+
Element._attributeTranslations = (function(){
|
2578
|
+
|
2579
|
+
var classProp = 'className';
|
2580
|
+
var forProp = 'for';
|
2581
|
+
|
2582
|
+
var el = document.createElement('div');
|
2583
|
+
|
2584
|
+
el.setAttribute(classProp, 'x');
|
2585
|
+
|
2586
|
+
if (el.className !== 'x') {
|
2587
|
+
el.setAttribute('class', 'x');
|
2588
|
+
if (el.className === 'x') {
|
2589
|
+
classProp = 'class';
|
2590
|
+
}
|
2591
|
+
}
|
2592
|
+
el = null;
|
2593
|
+
|
2594
|
+
el = document.createElement('label');
|
2595
|
+
el.setAttribute(forProp, 'x');
|
2596
|
+
if (el.htmlFor !== 'x') {
|
2597
|
+
el.setAttribute('htmlFor', 'x');
|
2598
|
+
if (el.htmlFor === 'x') {
|
2599
|
+
forProp = 'htmlFor';
|
2600
|
+
}
|
2601
|
+
}
|
2602
|
+
el = null;
|
2603
|
+
|
2604
|
+
return {
|
2605
|
+
read: {
|
2606
|
+
names: {
|
2607
|
+
'class': classProp,
|
2608
|
+
'className': classProp,
|
2609
|
+
'for': forProp,
|
2610
|
+
'htmlFor': forProp
|
2611
|
+
},
|
2612
|
+
values: {
|
2613
|
+
_getAttr: function(element, attribute) {
|
2614
|
+
return element.getAttribute(attribute);
|
2615
|
+
},
|
2616
|
+
_getAttr2: function(element, attribute) {
|
2617
|
+
return element.getAttribute(attribute, 2);
|
2618
|
+
},
|
2619
|
+
_getAttrNode: function(element, attribute) {
|
2620
|
+
var node = element.getAttributeNode(attribute);
|
2621
|
+
return node ? node.value : "";
|
2622
|
+
},
|
2623
|
+
_getEv: (function(){
|
2624
|
+
|
2625
|
+
var el = document.createElement('div');
|
2626
|
+
el.onclick = Prototype.emptyFunction;
|
2627
|
+
var value = el.getAttribute('onclick');
|
2628
|
+
var f;
|
2629
|
+
|
2630
|
+
if (String(value).indexOf('{') > -1) {
|
2631
|
+
f = function(element, attribute) {
|
2632
|
+
attribute = element.getAttribute(attribute);
|
2633
|
+
if (!attribute) return null;
|
2634
|
+
attribute = attribute.toString();
|
2635
|
+
attribute = attribute.split('{')[1];
|
2636
|
+
attribute = attribute.split('}')[0];
|
2637
|
+
return attribute.strip();
|
2638
|
+
};
|
2639
|
+
}
|
2640
|
+
else if (value === '') {
|
2641
|
+
f = function(element, attribute) {
|
2642
|
+
attribute = element.getAttribute(attribute);
|
2643
|
+
if (!attribute) return null;
|
2644
|
+
return attribute.strip();
|
2645
|
+
};
|
2646
|
+
}
|
2647
|
+
el = null;
|
2648
|
+
return f;
|
2649
|
+
})(),
|
2650
|
+
_flag: function(element, attribute) {
|
2651
|
+
return $(element).hasAttribute(attribute) ? attribute : null;
|
2652
|
+
},
|
2653
|
+
style: function(element) {
|
2654
|
+
return element.style.cssText.toLowerCase();
|
2655
|
+
},
|
2656
|
+
title: function(element) {
|
2657
|
+
return element.title;
|
2658
|
+
}
|
2659
|
+
}
|
2660
|
+
}
|
2661
|
+
}
|
2662
|
+
})();
|
2663
|
+
|
2664
|
+
Element._attributeTranslations.write = {
|
2665
|
+
names: Object.extend({
|
2666
|
+
cellpadding: 'cellPadding',
|
2667
|
+
cellspacing: 'cellSpacing'
|
2668
|
+
}, Element._attributeTranslations.read.names),
|
2669
|
+
values: {
|
2670
|
+
checked: function(element, value) {
|
2671
|
+
element.checked = !!value;
|
2672
|
+
},
|
2673
|
+
|
2674
|
+
style: function(element, value) {
|
2675
|
+
element.style.cssText = value ? value : '';
|
2676
|
+
}
|
2677
|
+
}
|
2678
|
+
};
|
2679
|
+
|
2680
|
+
Element._attributeTranslations.has = {};
|
2681
|
+
|
2682
|
+
$w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' +
|
2683
|
+
'encType maxLength readOnly longDesc frameBorder').each(function(attr) {
|
2684
|
+
Element._attributeTranslations.write.names[attr.toLowerCase()] = attr;
|
2685
|
+
Element._attributeTranslations.has[attr.toLowerCase()] = attr;
|
2686
|
+
});
|
2687
|
+
|
2688
|
+
(function(v) {
|
2689
|
+
Object.extend(v, {
|
2690
|
+
href: v._getAttr2,
|
2691
|
+
src: v._getAttr2,
|
2692
|
+
type: v._getAttr,
|
2693
|
+
action: v._getAttrNode,
|
2694
|
+
disabled: v._flag,
|
2695
|
+
checked: v._flag,
|
2696
|
+
readonly: v._flag,
|
2697
|
+
multiple: v._flag,
|
2698
|
+
onload: v._getEv,
|
2699
|
+
onunload: v._getEv,
|
2700
|
+
onclick: v._getEv,
|
2701
|
+
ondblclick: v._getEv,
|
2702
|
+
onmousedown: v._getEv,
|
2703
|
+
onmouseup: v._getEv,
|
2704
|
+
onmouseover: v._getEv,
|
2705
|
+
onmousemove: v._getEv,
|
2706
|
+
onmouseout: v._getEv,
|
2707
|
+
onfocus: v._getEv,
|
2708
|
+
onblur: v._getEv,
|
2709
|
+
onkeypress: v._getEv,
|
2710
|
+
onkeydown: v._getEv,
|
2711
|
+
onkeyup: v._getEv,
|
2712
|
+
onsubmit: v._getEv,
|
2713
|
+
onreset: v._getEv,
|
2714
|
+
onselect: v._getEv,
|
2715
|
+
onchange: v._getEv
|
2716
|
+
});
|
2717
|
+
})(Element._attributeTranslations.read.values);
|
2718
|
+
|
2719
|
+
if (Prototype.BrowserFeatures.ElementExtensions) {
|
2720
|
+
(function() {
|
2721
|
+
function _descendants(element) {
|
2722
|
+
var nodes = element.getElementsByTagName('*'), results = [];
|
2723
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
2724
|
+
if (node.tagName !== "!") // Filter out comment nodes.
|
2725
|
+
results.push(node);
|
2726
|
+
return results;
|
2727
|
+
}
|
2728
|
+
|
2729
|
+
Element.Methods.down = function(element, expression, index) {
|
2730
|
+
element = $(element);
|
2731
|
+
if (arguments.length == 1) return element.firstDescendant();
|
2732
|
+
return Object.isNumber(expression) ? _descendants(element)[expression] :
|
2733
|
+
Element.select(element, expression)[index || 0];
|
2734
|
+
}
|
2735
|
+
})();
|
2736
|
+
}
|
2737
|
+
|
2738
|
+
}
|
2739
|
+
|
2740
|
+
else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) {
|
2741
|
+
Element.Methods.setOpacity = function(element, value) {
|
2742
|
+
element = $(element);
|
2743
|
+
element.style.opacity = (value == 1) ? 0.999999 :
|
2744
|
+
(value === '') ? '' : (value < 0.00001) ? 0 : value;
|
2745
|
+
return element;
|
2746
|
+
};
|
2747
|
+
}
|
2748
|
+
|
2749
|
+
else if (Prototype.Browser.WebKit) {
|
2750
|
+
Element.Methods.setOpacity = function(element, value) {
|
2751
|
+
element = $(element);
|
2752
|
+
element.style.opacity = (value == 1 || value === '') ? '' :
|
2753
|
+
(value < 0.00001) ? 0 : value;
|
2754
|
+
|
2755
|
+
if (value == 1)
|
2756
|
+
if(element.tagName.toUpperCase() == 'IMG' && element.width) {
|
2757
|
+
element.width++; element.width--;
|
2758
|
+
} else try {
|
2759
|
+
var n = document.createTextNode(' ');
|
2760
|
+
element.appendChild(n);
|
2761
|
+
element.removeChild(n);
|
2762
|
+
} catch (e) { }
|
2763
|
+
|
2764
|
+
return element;
|
2765
|
+
};
|
2766
|
+
|
2767
|
+
Element.Methods.cumulativeOffset = function(element) {
|
2768
|
+
var valueT = 0, valueL = 0;
|
2769
|
+
do {
|
2770
|
+
valueT += element.offsetTop || 0;
|
2771
|
+
valueL += element.offsetLeft || 0;
|
2772
|
+
if (element.offsetParent == document.body)
|
2773
|
+
if (Element.getStyle(element, 'position') == 'absolute') break;
|
2774
|
+
|
2775
|
+
element = element.offsetParent;
|
2776
|
+
} while (element);
|
2777
|
+
|
2778
|
+
return Element._returnOffset(valueL, valueT);
|
2779
|
+
};
|
2780
|
+
}
|
2781
|
+
|
2782
|
+
if ('outerHTML' in document.documentElement) {
|
2783
|
+
Element.Methods.replace = function(element, content) {
|
2784
|
+
element = $(element);
|
2785
|
+
|
2786
|
+
if (content && content.toElement) content = content.toElement();
|
2787
|
+
if (Object.isElement(content)) {
|
2788
|
+
element.parentNode.replaceChild(content, element);
|
2789
|
+
return element;
|
2790
|
+
}
|
2791
|
+
|
2792
|
+
content = Object.toHTML(content);
|
2793
|
+
var parent = element.parentNode, tagName = parent.tagName.toUpperCase();
|
2794
|
+
|
2795
|
+
if (Element._insertionTranslations.tags[tagName]) {
|
2796
|
+
var nextSibling = element.next();
|
2797
|
+
var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
2798
|
+
parent.removeChild(element);
|
2799
|
+
if (nextSibling)
|
2800
|
+
fragments.each(function(node) { parent.insertBefore(node, nextSibling) });
|
2801
|
+
else
|
2802
|
+
fragments.each(function(node) { parent.appendChild(node) });
|
2803
|
+
}
|
2804
|
+
else element.outerHTML = content.stripScripts();
|
2805
|
+
|
2806
|
+
content.evalScripts.bind(content).defer();
|
2807
|
+
return element;
|
2808
|
+
};
|
2809
|
+
}
|
2810
|
+
|
2811
|
+
Element._returnOffset = function(l, t) {
|
2812
|
+
var result = [l, t];
|
2813
|
+
result.left = l;
|
2814
|
+
result.top = t;
|
2815
|
+
return result;
|
2816
|
+
};
|
2817
|
+
|
2818
|
+
Element._getContentFromAnonymousElement = function(tagName, html) {
|
2819
|
+
var div = new Element('div'), t = Element._insertionTranslations.tags[tagName];
|
2820
|
+
if (t) {
|
2821
|
+
div.innerHTML = t[0] + html + t[1];
|
2822
|
+
t[2].times(function() { div = div.firstChild });
|
2823
|
+
} else div.innerHTML = html;
|
2824
|
+
return $A(div.childNodes);
|
2825
|
+
};
|
2826
|
+
|
2827
|
+
Element._insertionTranslations = {
|
2828
|
+
before: function(element, node) {
|
2829
|
+
element.parentNode.insertBefore(node, element);
|
2830
|
+
},
|
2831
|
+
top: function(element, node) {
|
2832
|
+
element.insertBefore(node, element.firstChild);
|
2833
|
+
},
|
2834
|
+
bottom: function(element, node) {
|
2835
|
+
element.appendChild(node);
|
2836
|
+
},
|
2837
|
+
after: function(element, node) {
|
2838
|
+
element.parentNode.insertBefore(node, element.nextSibling);
|
2839
|
+
},
|
2840
|
+
tags: {
|
2841
|
+
TABLE: ['<table>', '</table>', 1],
|
2842
|
+
TBODY: ['<table><tbody>', '</tbody></table>', 2],
|
2843
|
+
TR: ['<table><tbody><tr>', '</tr></tbody></table>', 3],
|
2844
|
+
TD: ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4],
|
2845
|
+
SELECT: ['<select>', '</select>', 1]
|
2846
|
+
}
|
2847
|
+
};
|
2848
|
+
|
2849
|
+
(function() {
|
2850
|
+
var tags = Element._insertionTranslations.tags;
|
2851
|
+
Object.extend(tags, {
|
2852
|
+
THEAD: tags.TBODY,
|
2853
|
+
TFOOT: tags.TBODY,
|
2854
|
+
TH: tags.TD
|
2855
|
+
});
|
2856
|
+
})();
|
2857
|
+
|
2858
|
+
Element.Methods.Simulated = {
|
2859
|
+
hasAttribute: function(element, attribute) {
|
2860
|
+
attribute = Element._attributeTranslations.has[attribute] || attribute;
|
2861
|
+
var node = $(element).getAttributeNode(attribute);
|
2862
|
+
return !!(node && node.specified);
|
2863
|
+
}
|
2864
|
+
};
|
2865
|
+
|
2866
|
+
Element.Methods.ByTag = { };
|
2867
|
+
|
2868
|
+
Object.extend(Element, Element.Methods);
|
2869
|
+
|
2870
|
+
(function(div) {
|
2871
|
+
|
2872
|
+
if (!Prototype.BrowserFeatures.ElementExtensions && div['__proto__']) {
|
2873
|
+
window.HTMLElement = { };
|
2874
|
+
window.HTMLElement.prototype = div['__proto__'];
|
2875
|
+
Prototype.BrowserFeatures.ElementExtensions = true;
|
2876
|
+
}
|
2877
|
+
|
2878
|
+
div = null;
|
2879
|
+
|
2880
|
+
})(document.createElement('div'))
|
2881
|
+
|
2882
|
+
Element.extend = (function() {
|
2883
|
+
|
2884
|
+
function checkDeficiency(tagName) {
|
2885
|
+
if (typeof window.Element != 'undefined') {
|
2886
|
+
var proto = window.Element.prototype;
|
2887
|
+
if (proto) {
|
2888
|
+
var id = '_' + (Math.random()+'').slice(2);
|
2889
|
+
var el = document.createElement(tagName);
|
2890
|
+
proto[id] = 'x';
|
2891
|
+
var isBuggy = (el[id] !== 'x');
|
2892
|
+
delete proto[id];
|
2893
|
+
el = null;
|
2894
|
+
return isBuggy;
|
2895
|
+
}
|
2896
|
+
}
|
2897
|
+
return false;
|
2898
|
+
}
|
2899
|
+
|
2900
|
+
function extendElementWith(element, methods) {
|
2901
|
+
for (var property in methods) {
|
2902
|
+
var value = methods[property];
|
2903
|
+
if (Object.isFunction(value) && !(property in element))
|
2904
|
+
element[property] = value.methodize();
|
2905
|
+
}
|
2906
|
+
}
|
2907
|
+
|
2908
|
+
var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object');
|
2909
|
+
|
2910
|
+
if (Prototype.BrowserFeatures.SpecificElementExtensions) {
|
2911
|
+
if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY) {
|
2912
|
+
return function(element) {
|
2913
|
+
if (element && typeof element._extendedByPrototype == 'undefined') {
|
2914
|
+
var t = element.tagName;
|
2915
|
+
if (t && (/^(?:object|applet|embed)$/i.test(t))) {
|
2916
|
+
extendElementWith(element, Element.Methods);
|
2917
|
+
extendElementWith(element, Element.Methods.Simulated);
|
2918
|
+
extendElementWith(element, Element.Methods.ByTag[t.toUpperCase()]);
|
2919
|
+
}
|
2920
|
+
}
|
2921
|
+
return element;
|
2922
|
+
}
|
2923
|
+
}
|
2924
|
+
return Prototype.K;
|
2925
|
+
}
|
2926
|
+
|
2927
|
+
var Methods = { }, ByTag = Element.Methods.ByTag;
|
2928
|
+
|
2929
|
+
var extend = Object.extend(function(element) {
|
2930
|
+
if (!element || typeof element._extendedByPrototype != 'undefined' ||
|
2931
|
+
element.nodeType != 1 || element == window) return element;
|
2932
|
+
|
2933
|
+
var methods = Object.clone(Methods),
|
2934
|
+
tagName = element.tagName.toUpperCase();
|
2935
|
+
|
2936
|
+
if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]);
|
2937
|
+
|
2938
|
+
extendElementWith(element, methods);
|
2939
|
+
|
2940
|
+
element._extendedByPrototype = Prototype.emptyFunction;
|
2941
|
+
return element;
|
2942
|
+
|
2943
|
+
}, {
|
2944
|
+
refresh: function() {
|
2945
|
+
if (!Prototype.BrowserFeatures.ElementExtensions) {
|
2946
|
+
Object.extend(Methods, Element.Methods);
|
2947
|
+
Object.extend(Methods, Element.Methods.Simulated);
|
2948
|
+
}
|
2949
|
+
}
|
2950
|
+
});
|
2951
|
+
|
2952
|
+
extend.refresh();
|
2953
|
+
return extend;
|
2954
|
+
})();
|
2955
|
+
|
2956
|
+
Element.hasAttribute = function(element, attribute) {
|
2957
|
+
if (element.hasAttribute) return element.hasAttribute(attribute);
|
2958
|
+
return Element.Methods.Simulated.hasAttribute(element, attribute);
|
2959
|
+
};
|
2960
|
+
|
2961
|
+
Element.addMethods = function(methods) {
|
2962
|
+
var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag;
|
2963
|
+
|
2964
|
+
if (!methods) {
|
2965
|
+
Object.extend(Form, Form.Methods);
|
2966
|
+
Object.extend(Form.Element, Form.Element.Methods);
|
2967
|
+
Object.extend(Element.Methods.ByTag, {
|
2968
|
+
"FORM": Object.clone(Form.Methods),
|
2969
|
+
"INPUT": Object.clone(Form.Element.Methods),
|
2970
|
+
"SELECT": Object.clone(Form.Element.Methods),
|
2971
|
+
"TEXTAREA": Object.clone(Form.Element.Methods)
|
2972
|
+
});
|
2973
|
+
}
|
2974
|
+
|
2975
|
+
if (arguments.length == 2) {
|
2976
|
+
var tagName = methods;
|
2977
|
+
methods = arguments[1];
|
2978
|
+
}
|
2979
|
+
|
2980
|
+
if (!tagName) Object.extend(Element.Methods, methods || { });
|
2981
|
+
else {
|
2982
|
+
if (Object.isArray(tagName)) tagName.each(extend);
|
2983
|
+
else extend(tagName);
|
2984
|
+
}
|
2985
|
+
|
2986
|
+
function extend(tagName) {
|
2987
|
+
tagName = tagName.toUpperCase();
|
2988
|
+
if (!Element.Methods.ByTag[tagName])
|
2989
|
+
Element.Methods.ByTag[tagName] = { };
|
2990
|
+
Object.extend(Element.Methods.ByTag[tagName], methods);
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
function copy(methods, destination, onlyIfAbsent) {
|
2994
|
+
onlyIfAbsent = onlyIfAbsent || false;
|
2995
|
+
for (var property in methods) {
|
2996
|
+
var value = methods[property];
|
2997
|
+
if (!Object.isFunction(value)) continue;
|
2998
|
+
if (!onlyIfAbsent || !(property in destination))
|
2999
|
+
destination[property] = value.methodize();
|
3000
|
+
}
|
3001
|
+
}
|
3002
|
+
|
3003
|
+
function findDOMClass(tagName) {
|
3004
|
+
var klass;
|
3005
|
+
var trans = {
|
3006
|
+
"OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph",
|
3007
|
+
"FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList",
|
3008
|
+
"DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading",
|
3009
|
+
"H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote",
|
3010
|
+
"INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION":
|
3011
|
+
"TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD":
|
3012
|
+
"TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR":
|
3013
|
+
"TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET":
|
3014
|
+
"FrameSet", "IFRAME": "IFrame"
|
3015
|
+
};
|
3016
|
+
if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element';
|
3017
|
+
if (window[klass]) return window[klass];
|
3018
|
+
klass = 'HTML' + tagName + 'Element';
|
3019
|
+
if (window[klass]) return window[klass];
|
3020
|
+
klass = 'HTML' + tagName.capitalize() + 'Element';
|
3021
|
+
if (window[klass]) return window[klass];
|
3022
|
+
|
3023
|
+
var element = document.createElement(tagName);
|
3024
|
+
var proto = element['__proto__'] || element.constructor.prototype;
|
3025
|
+
element = null;
|
3026
|
+
return proto;
|
3027
|
+
}
|
3028
|
+
|
3029
|
+
var elementPrototype = window.HTMLElement ? HTMLElement.prototype :
|
3030
|
+
Element.prototype;
|
3031
|
+
|
3032
|
+
if (F.ElementExtensions) {
|
3033
|
+
copy(Element.Methods, elementPrototype);
|
3034
|
+
copy(Element.Methods.Simulated, elementPrototype, true);
|
3035
|
+
}
|
3036
|
+
|
3037
|
+
if (F.SpecificElementExtensions) {
|
3038
|
+
for (var tag in Element.Methods.ByTag) {
|
3039
|
+
var klass = findDOMClass(tag);
|
3040
|
+
if (Object.isUndefined(klass)) continue;
|
3041
|
+
copy(T[tag], klass.prototype);
|
3042
|
+
}
|
3043
|
+
}
|
3044
|
+
|
3045
|
+
Object.extend(Element, Element.Methods);
|
3046
|
+
delete Element.ByTag;
|
3047
|
+
|
3048
|
+
if (Element.extend.refresh) Element.extend.refresh();
|
3049
|
+
Element.cache = { };
|
3050
|
+
};
|
3051
|
+
|
3052
|
+
|
3053
|
+
document.viewport = {
|
3054
|
+
|
3055
|
+
getDimensions: function() {
|
3056
|
+
return { width: this.getWidth(), height: this.getHeight() };
|
3057
|
+
},
|
3058
|
+
|
3059
|
+
getScrollOffsets: function() {
|
3060
|
+
return Element._returnOffset(
|
3061
|
+
window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft,
|
3062
|
+
window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop);
|
3063
|
+
}
|
3064
|
+
};
|
3065
|
+
|
3066
|
+
(function(viewport) {
|
3067
|
+
var B = Prototype.Browser, doc = document, element, property = {};
|
3068
|
+
|
3069
|
+
function getRootElement() {
|
3070
|
+
if (B.WebKit && !doc.evaluate)
|
3071
|
+
return document;
|
3072
|
+
|
3073
|
+
if (B.Opera && window.parseFloat(window.opera.version()) < 9.5)
|
3074
|
+
return document.body;
|
3075
|
+
|
3076
|
+
return document.documentElement;
|
3077
|
+
}
|
3078
|
+
|
3079
|
+
function define(D) {
|
3080
|
+
if (!element) element = getRootElement();
|
3081
|
+
|
3082
|
+
property[D] = 'client' + D;
|
3083
|
+
|
3084
|
+
viewport['get' + D] = function() { return element[property[D]] };
|
3085
|
+
return viewport['get' + D]();
|
3086
|
+
}
|
3087
|
+
|
3088
|
+
viewport.getWidth = define.curry('Width');
|
3089
|
+
|
3090
|
+
viewport.getHeight = define.curry('Height');
|
3091
|
+
})(document.viewport);
|
3092
|
+
|
3093
|
+
|
3094
|
+
Element.Storage = {
|
3095
|
+
UID: 1
|
3096
|
+
};
|
3097
|
+
|
3098
|
+
Element.addMethods({
|
3099
|
+
getStorage: function(element) {
|
3100
|
+
if (!(element = $(element))) return;
|
3101
|
+
|
3102
|
+
var uid;
|
3103
|
+
if (element === window) {
|
3104
|
+
uid = 0;
|
3105
|
+
} else {
|
3106
|
+
if (typeof element._prototypeUID === "undefined")
|
3107
|
+
element._prototypeUID = [Element.Storage.UID++];
|
3108
|
+
uid = element._prototypeUID[0];
|
3109
|
+
}
|
3110
|
+
|
3111
|
+
if (!Element.Storage[uid])
|
3112
|
+
Element.Storage[uid] = $H();
|
3113
|
+
|
3114
|
+
return Element.Storage[uid];
|
3115
|
+
},
|
3116
|
+
|
3117
|
+
store: function(element, key, value) {
|
3118
|
+
if (!(element = $(element))) return;
|
3119
|
+
|
3120
|
+
if (arguments.length === 2) {
|
3121
|
+
Element.getStorage(element).update(key);
|
3122
|
+
} else {
|
3123
|
+
Element.getStorage(element).set(key, value);
|
3124
|
+
}
|
3125
|
+
|
3126
|
+
return element;
|
3127
|
+
},
|
3128
|
+
|
3129
|
+
retrieve: function(element, key, defaultValue) {
|
3130
|
+
if (!(element = $(element))) return;
|
3131
|
+
var hash = Element.getStorage(element), value = hash.get(key);
|
3132
|
+
|
3133
|
+
if (Object.isUndefined(value)) {
|
3134
|
+
hash.set(key, defaultValue);
|
3135
|
+
value = defaultValue;
|
3136
|
+
}
|
3137
|
+
|
3138
|
+
return value;
|
3139
|
+
},
|
3140
|
+
|
3141
|
+
clone: function(element, deep) {
|
3142
|
+
if (!(element = $(element))) return;
|
3143
|
+
var clone = element.cloneNode(deep);
|
3144
|
+
clone._prototypeUID = void 0;
|
3145
|
+
if (deep) {
|
3146
|
+
var descendants = Element.select(clone, '*'),
|
3147
|
+
i = descendants.length;
|
3148
|
+
while (i--) {
|
3149
|
+
descendants[i]._prototypeUID = void 0;
|
3150
|
+
}
|
3151
|
+
}
|
3152
|
+
return Element.extend(clone);
|
3153
|
+
}
|
3154
|
+
});
|
3155
|
+
/* Portions of the Selector class are derived from Jack Slocum's DomQuery,
|
3156
|
+
* part of YUI-Ext version 0.40, distributed under the terms of an MIT-style
|
3157
|
+
* license. Please see http://www.yui-ext.com/ for more information. */
|
3158
|
+
|
3159
|
+
var Selector = Class.create({
|
3160
|
+
initialize: function(expression) {
|
3161
|
+
this.expression = expression.strip();
|
3162
|
+
|
3163
|
+
if (this.shouldUseSelectorsAPI()) {
|
3164
|
+
this.mode = 'selectorsAPI';
|
3165
|
+
} else if (this.shouldUseXPath()) {
|
3166
|
+
this.mode = 'xpath';
|
3167
|
+
this.compileXPathMatcher();
|
3168
|
+
} else {
|
3169
|
+
this.mode = "normal";
|
3170
|
+
this.compileMatcher();
|
3171
|
+
}
|
3172
|
+
|
3173
|
+
},
|
3174
|
+
|
3175
|
+
shouldUseXPath: (function() {
|
3176
|
+
|
3177
|
+
var IS_DESCENDANT_SELECTOR_BUGGY = (function(){
|
3178
|
+
var isBuggy = false;
|
3179
|
+
if (document.evaluate && window.XPathResult) {
|
3180
|
+
var el = document.createElement('div');
|
3181
|
+
el.innerHTML = '<ul><li></li></ul><div><ul><li></li></ul></div>';
|
3182
|
+
|
3183
|
+
var xpath = ".//*[local-name()='ul' or local-name()='UL']" +
|
3184
|
+
"//*[local-name()='li' or local-name()='LI']";
|
3185
|
+
|
3186
|
+
var result = document.evaluate(xpath, el, null,
|
3187
|
+
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
|
3188
|
+
|
3189
|
+
isBuggy = (result.snapshotLength !== 2);
|
3190
|
+
el = null;
|
3191
|
+
}
|
3192
|
+
return isBuggy;
|
3193
|
+
})();
|
3194
|
+
|
3195
|
+
return function() {
|
3196
|
+
if (!Prototype.BrowserFeatures.XPath) return false;
|
3197
|
+
|
3198
|
+
var e = this.expression;
|
3199
|
+
|
3200
|
+
if (Prototype.Browser.WebKit &&
|
3201
|
+
(e.include("-of-type") || e.include(":empty")))
|
3202
|
+
return false;
|
3203
|
+
|
3204
|
+
if ((/(\[[\w-]*?:|:checked)/).test(e))
|
3205
|
+
return false;
|
3206
|
+
|
3207
|
+
if (IS_DESCENDANT_SELECTOR_BUGGY) return false;
|
3208
|
+
|
3209
|
+
return true;
|
3210
|
+
}
|
3211
|
+
|
3212
|
+
})(),
|
3213
|
+
|
3214
|
+
shouldUseSelectorsAPI: function() {
|
3215
|
+
if (!Prototype.BrowserFeatures.SelectorsAPI) return false;
|
3216
|
+
|
3217
|
+
if (Selector.CASE_INSENSITIVE_CLASS_NAMES) return false;
|
3218
|
+
|
3219
|
+
if (!Selector._div) Selector._div = new Element('div');
|
3220
|
+
|
3221
|
+
try {
|
3222
|
+
Selector._div.querySelector(this.expression);
|
3223
|
+
} catch(e) {
|
3224
|
+
return false;
|
3225
|
+
}
|
3226
|
+
|
3227
|
+
return true;
|
3228
|
+
},
|
3229
|
+
|
3230
|
+
compileMatcher: function() {
|
3231
|
+
var e = this.expression, ps = Selector.patterns, h = Selector.handlers,
|
3232
|
+
c = Selector.criteria, le, p, m, len = ps.length, name;
|
3233
|
+
|
3234
|
+
if (Selector._cache[e]) {
|
3235
|
+
this.matcher = Selector._cache[e];
|
3236
|
+
return;
|
3237
|
+
}
|
3238
|
+
|
3239
|
+
this.matcher = ["this.matcher = function(root) {",
|
3240
|
+
"var r = root, h = Selector.handlers, c = false, n;"];
|
3241
|
+
|
3242
|
+
while (e && le != e && (/\S/).test(e)) {
|
3243
|
+
le = e;
|
3244
|
+
for (var i = 0; i<len; i++) {
|
3245
|
+
p = ps[i].re;
|
3246
|
+
name = ps[i].name;
|
3247
|
+
if (m = e.match(p)) {
|
3248
|
+
this.matcher.push(Object.isFunction(c[name]) ? c[name](m) :
|
3249
|
+
new Template(c[name]).evaluate(m));
|
3250
|
+
e = e.replace(m[0], '');
|
3251
|
+
break;
|
3252
|
+
}
|
3253
|
+
}
|
3254
|
+
}
|
3255
|
+
|
3256
|
+
this.matcher.push("return h.unique(n);\n}");
|
3257
|
+
eval(this.matcher.join('\n'));
|
3258
|
+
Selector._cache[this.expression] = this.matcher;
|
3259
|
+
},
|
3260
|
+
|
3261
|
+
compileXPathMatcher: function() {
|
3262
|
+
var e = this.expression, ps = Selector.patterns,
|
3263
|
+
x = Selector.xpath, le, m, len = ps.length, name;
|
3264
|
+
|
3265
|
+
if (Selector._cache[e]) {
|
3266
|
+
this.xpath = Selector._cache[e]; return;
|
3267
|
+
}
|
3268
|
+
|
3269
|
+
this.matcher = ['.//*'];
|
3270
|
+
while (e && le != e && (/\S/).test(e)) {
|
3271
|
+
le = e;
|
3272
|
+
for (var i = 0; i<len; i++) {
|
3273
|
+
name = ps[i].name;
|
3274
|
+
if (m = e.match(ps[i].re)) {
|
3275
|
+
this.matcher.push(Object.isFunction(x[name]) ? x[name](m) :
|
3276
|
+
new Template(x[name]).evaluate(m));
|
3277
|
+
e = e.replace(m[0], '');
|
3278
|
+
break;
|
3279
|
+
}
|
3280
|
+
}
|
3281
|
+
}
|
3282
|
+
|
3283
|
+
this.xpath = this.matcher.join('');
|
3284
|
+
Selector._cache[this.expression] = this.xpath;
|
3285
|
+
},
|
3286
|
+
|
3287
|
+
findElements: function(root) {
|
3288
|
+
root = root || document;
|
3289
|
+
var e = this.expression, results;
|
3290
|
+
|
3291
|
+
switch (this.mode) {
|
3292
|
+
case 'selectorsAPI':
|
3293
|
+
if (root !== document) {
|
3294
|
+
var oldId = root.id, id = $(root).identify();
|
3295
|
+
id = id.replace(/([\.:])/g, "\\$1");
|
3296
|
+
e = "#" + id + " " + e;
|
3297
|
+
}
|
3298
|
+
|
3299
|
+
results = $A(root.querySelectorAll(e)).map(Element.extend);
|
3300
|
+
root.id = oldId;
|
3301
|
+
|
3302
|
+
return results;
|
3303
|
+
case 'xpath':
|
3304
|
+
return document._getElementsByXPath(this.xpath, root);
|
3305
|
+
default:
|
3306
|
+
return this.matcher(root);
|
3307
|
+
}
|
3308
|
+
},
|
3309
|
+
|
3310
|
+
match: function(element) {
|
3311
|
+
this.tokens = [];
|
3312
|
+
|
3313
|
+
var e = this.expression, ps = Selector.patterns, as = Selector.assertions;
|
3314
|
+
var le, p, m, len = ps.length, name;
|
3315
|
+
|
3316
|
+
while (e && le !== e && (/\S/).test(e)) {
|
3317
|
+
le = e;
|
3318
|
+
for (var i = 0; i<len; i++) {
|
3319
|
+
p = ps[i].re;
|
3320
|
+
name = ps[i].name;
|
3321
|
+
if (m = e.match(p)) {
|
3322
|
+
if (as[name]) {
|
3323
|
+
this.tokens.push([name, Object.clone(m)]);
|
3324
|
+
e = e.replace(m[0], '');
|
3325
|
+
} else {
|
3326
|
+
return this.findElements(document).include(element);
|
3327
|
+
}
|
3328
|
+
}
|
3329
|
+
}
|
3330
|
+
}
|
3331
|
+
|
3332
|
+
var match = true, name, matches;
|
3333
|
+
for (var i = 0, token; token = this.tokens[i]; i++) {
|
3334
|
+
name = token[0], matches = token[1];
|
3335
|
+
if (!Selector.assertions[name](element, matches)) {
|
3336
|
+
match = false; break;
|
3337
|
+
}
|
3338
|
+
}
|
3339
|
+
|
3340
|
+
return match;
|
3341
|
+
},
|
3342
|
+
|
3343
|
+
toString: function() {
|
3344
|
+
return this.expression;
|
3345
|
+
},
|
3346
|
+
|
3347
|
+
inspect: function() {
|
3348
|
+
return "#<Selector:" + this.expression.inspect() + ">";
|
3349
|
+
}
|
3350
|
+
});
|
3351
|
+
|
3352
|
+
if (Prototype.BrowserFeatures.SelectorsAPI &&
|
3353
|
+
document.compatMode === 'BackCompat') {
|
3354
|
+
Selector.CASE_INSENSITIVE_CLASS_NAMES = (function(){
|
3355
|
+
var div = document.createElement('div'),
|
3356
|
+
span = document.createElement('span');
|
3357
|
+
|
3358
|
+
div.id = "prototype_test_id";
|
3359
|
+
span.className = 'Test';
|
3360
|
+
div.appendChild(span);
|
3361
|
+
var isIgnored = (div.querySelector('#prototype_test_id .test') !== null);
|
3362
|
+
div = span = null;
|
3363
|
+
return isIgnored;
|
3364
|
+
})();
|
3365
|
+
}
|
3366
|
+
|
3367
|
+
Object.extend(Selector, {
|
3368
|
+
_cache: { },
|
3369
|
+
|
3370
|
+
xpath: {
|
3371
|
+
descendant: "//*",
|
3372
|
+
child: "/*",
|
3373
|
+
adjacent: "/following-sibling::*[1]",
|
3374
|
+
laterSibling: '/following-sibling::*',
|
3375
|
+
tagName: function(m) {
|
3376
|
+
if (m[1] == '*') return '';
|
3377
|
+
return "[local-name()='" + m[1].toLowerCase() +
|
3378
|
+
"' or local-name()='" + m[1].toUpperCase() + "']";
|
3379
|
+
},
|
3380
|
+
className: "[contains(concat(' ', @class, ' '), ' #{1} ')]",
|
3381
|
+
id: "[@id='#{1}']",
|
3382
|
+
attrPresence: function(m) {
|
3383
|
+
m[1] = m[1].toLowerCase();
|
3384
|
+
return new Template("[@#{1}]").evaluate(m);
|
3385
|
+
},
|
3386
|
+
attr: function(m) {
|
3387
|
+
m[1] = m[1].toLowerCase();
|
3388
|
+
m[3] = m[5] || m[6];
|
3389
|
+
return new Template(Selector.xpath.operators[m[2]]).evaluate(m);
|
3390
|
+
},
|
3391
|
+
pseudo: function(m) {
|
3392
|
+
var h = Selector.xpath.pseudos[m[1]];
|
3393
|
+
if (!h) return '';
|
3394
|
+
if (Object.isFunction(h)) return h(m);
|
3395
|
+
return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);
|
3396
|
+
},
|
3397
|
+
operators: {
|
3398
|
+
'=': "[@#{1}='#{3}']",
|
3399
|
+
'!=': "[@#{1}!='#{3}']",
|
3400
|
+
'^=': "[starts-with(@#{1}, '#{3}')]",
|
3401
|
+
'$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",
|
3402
|
+
'*=': "[contains(@#{1}, '#{3}')]",
|
3403
|
+
'~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",
|
3404
|
+
'|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]"
|
3405
|
+
},
|
3406
|
+
pseudos: {
|
3407
|
+
'first-child': '[not(preceding-sibling::*)]',
|
3408
|
+
'last-child': '[not(following-sibling::*)]',
|
3409
|
+
'only-child': '[not(preceding-sibling::* or following-sibling::*)]',
|
3410
|
+
'empty': "[count(*) = 0 and (count(text()) = 0)]",
|
3411
|
+
'checked': "[@checked]",
|
3412
|
+
'disabled': "[(@disabled) and (@type!='hidden')]",
|
3413
|
+
'enabled': "[not(@disabled) and (@type!='hidden')]",
|
3414
|
+
'not': function(m) {
|
3415
|
+
var e = m[6], p = Selector.patterns,
|
3416
|
+
x = Selector.xpath, le, v, len = p.length, name;
|
3417
|
+
|
3418
|
+
var exclusion = [];
|
3419
|
+
while (e && le != e && (/\S/).test(e)) {
|
3420
|
+
le = e;
|
3421
|
+
for (var i = 0; i<len; i++) {
|
3422
|
+
name = p[i].name
|
3423
|
+
if (m = e.match(p[i].re)) {
|
3424
|
+
v = Object.isFunction(x[name]) ? x[name](m) : new Template(x[name]).evaluate(m);
|
3425
|
+
exclusion.push("(" + v.substring(1, v.length - 1) + ")");
|
3426
|
+
e = e.replace(m[0], '');
|
3427
|
+
break;
|
3428
|
+
}
|
3429
|
+
}
|
3430
|
+
}
|
3431
|
+
return "[not(" + exclusion.join(" and ") + ")]";
|
3432
|
+
},
|
3433
|
+
'nth-child': function(m) {
|
3434
|
+
return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);
|
3435
|
+
},
|
3436
|
+
'nth-last-child': function(m) {
|
3437
|
+
return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);
|
3438
|
+
},
|
3439
|
+
'nth-of-type': function(m) {
|
3440
|
+
return Selector.xpath.pseudos.nth("position() ", m);
|
3441
|
+
},
|
3442
|
+
'nth-last-of-type': function(m) {
|
3443
|
+
return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m);
|
3444
|
+
},
|
3445
|
+
'first-of-type': function(m) {
|
3446
|
+
m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m);
|
3447
|
+
},
|
3448
|
+
'last-of-type': function(m) {
|
3449
|
+
m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m);
|
3450
|
+
},
|
3451
|
+
'only-of-type': function(m) {
|
3452
|
+
var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);
|
3453
|
+
},
|
3454
|
+
nth: function(fragment, m) {
|
3455
|
+
var mm, formula = m[6], predicate;
|
3456
|
+
if (formula == 'even') formula = '2n+0';
|
3457
|
+
if (formula == 'odd') formula = '2n+1';
|
3458
|
+
if (mm = formula.match(/^(\d+)$/)) // digit only
|
3459
|
+
return '[' + fragment + "= " + mm[1] + ']';
|
3460
|
+
if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
|
3461
|
+
if (mm[1] == "-") mm[1] = -1;
|
3462
|
+
var a = mm[1] ? Number(mm[1]) : 1;
|
3463
|
+
var b = mm[2] ? Number(mm[2]) : 0;
|
3464
|
+
predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " +
|
3465
|
+
"((#{fragment} - #{b}) div #{a} >= 0)]";
|
3466
|
+
return new Template(predicate).evaluate({
|
3467
|
+
fragment: fragment, a: a, b: b });
|
3468
|
+
}
|
3469
|
+
}
|
3470
|
+
}
|
3471
|
+
},
|
3472
|
+
|
3473
|
+
criteria: {
|
3474
|
+
tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;',
|
3475
|
+
className: 'n = h.className(n, r, "#{1}", c); c = false;',
|
3476
|
+
id: 'n = h.id(n, r, "#{1}", c); c = false;',
|
3477
|
+
attrPresence: 'n = h.attrPresence(n, r, "#{1}", c); c = false;',
|
3478
|
+
attr: function(m) {
|
3479
|
+
m[3] = (m[5] || m[6]);
|
3480
|
+
return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m);
|
3481
|
+
},
|
3482
|
+
pseudo: function(m) {
|
3483
|
+
if (m[6]) m[6] = m[6].replace(/"/g, '\\"');
|
3484
|
+
return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m);
|
3485
|
+
},
|
3486
|
+
descendant: 'c = "descendant";',
|
3487
|
+
child: 'c = "child";',
|
3488
|
+
adjacent: 'c = "adjacent";',
|
3489
|
+
laterSibling: 'c = "laterSibling";'
|
3490
|
+
},
|
3491
|
+
|
3492
|
+
patterns: [
|
3493
|
+
{ name: 'laterSibling', re: /^\s*~\s*/ },
|
3494
|
+
{ name: 'child', re: /^\s*>\s*/ },
|
3495
|
+
{ name: 'adjacent', re: /^\s*\+\s*/ },
|
3496
|
+
{ name: 'descendant', re: /^\s/ },
|
3497
|
+
|
3498
|
+
{ name: 'tagName', re: /^\s*(\*|[\w\-]+)(\b|$)?/ },
|
3499
|
+
{ name: 'id', re: /^#([\w\-\*]+)(\b|$)/ },
|
3500
|
+
{ name: 'className', re: /^\.([\w\-\*]+)(\b|$)/ },
|
3501
|
+
{ name: 'pseudo', re: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/ },
|
3502
|
+
{ name: 'attrPresence', re: /^\[((?:[\w-]+:)?[\w-]+)\]/ },
|
3503
|
+
{ name: 'attr', re: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ }
|
3504
|
+
],
|
3505
|
+
|
3506
|
+
assertions: {
|
3507
|
+
tagName: function(element, matches) {
|
3508
|
+
return matches[1].toUpperCase() == element.tagName.toUpperCase();
|
3509
|
+
},
|
3510
|
+
|
3511
|
+
className: function(element, matches) {
|
3512
|
+
return Element.hasClassName(element, matches[1]);
|
3513
|
+
},
|
3514
|
+
|
3515
|
+
id: function(element, matches) {
|
3516
|
+
return element.id === matches[1];
|
3517
|
+
},
|
3518
|
+
|
3519
|
+
attrPresence: function(element, matches) {
|
3520
|
+
return Element.hasAttribute(element, matches[1]);
|
3521
|
+
},
|
3522
|
+
|
3523
|
+
attr: function(element, matches) {
|
3524
|
+
var nodeValue = Element.readAttribute(element, matches[1]);
|
3525
|
+
return nodeValue && Selector.operators[matches[2]](nodeValue, matches[5] || matches[6]);
|
3526
|
+
}
|
3527
|
+
},
|
3528
|
+
|
3529
|
+
handlers: {
|
3530
|
+
concat: function(a, b) {
|
3531
|
+
for (var i = 0, node; node = b[i]; i++)
|
3532
|
+
a.push(node);
|
3533
|
+
return a;
|
3534
|
+
},
|
3535
|
+
|
3536
|
+
mark: function(nodes) {
|
3537
|
+
var _true = Prototype.emptyFunction;
|
3538
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3539
|
+
node._countedByPrototype = _true;
|
3540
|
+
return nodes;
|
3541
|
+
},
|
3542
|
+
|
3543
|
+
unmark: (function(){
|
3544
|
+
|
3545
|
+
var PROPERTIES_ATTRIBUTES_MAP = (function(){
|
3546
|
+
var el = document.createElement('div'),
|
3547
|
+
isBuggy = false,
|
3548
|
+
propName = '_countedByPrototype',
|
3549
|
+
value = 'x'
|
3550
|
+
el[propName] = value;
|
3551
|
+
isBuggy = (el.getAttribute(propName) === value);
|
3552
|
+
el = null;
|
3553
|
+
return isBuggy;
|
3554
|
+
})();
|
3555
|
+
|
3556
|
+
return PROPERTIES_ATTRIBUTES_MAP ?
|
3557
|
+
function(nodes) {
|
3558
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3559
|
+
node.removeAttribute('_countedByPrototype');
|
3560
|
+
return nodes;
|
3561
|
+
} :
|
3562
|
+
function(nodes) {
|
3563
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3564
|
+
node._countedByPrototype = void 0;
|
3565
|
+
return nodes;
|
3566
|
+
}
|
3567
|
+
})(),
|
3568
|
+
|
3569
|
+
index: function(parentNode, reverse, ofType) {
|
3570
|
+
parentNode._countedByPrototype = Prototype.emptyFunction;
|
3571
|
+
if (reverse) {
|
3572
|
+
for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {
|
3573
|
+
var node = nodes[i];
|
3574
|
+
if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++;
|
3575
|
+
}
|
3576
|
+
} else {
|
3577
|
+
for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++)
|
3578
|
+
if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++;
|
3579
|
+
}
|
3580
|
+
},
|
3581
|
+
|
3582
|
+
unique: function(nodes) {
|
3583
|
+
if (nodes.length == 0) return nodes;
|
3584
|
+
var results = [], n;
|
3585
|
+
for (var i = 0, l = nodes.length; i < l; i++)
|
3586
|
+
if (typeof (n = nodes[i])._countedByPrototype == 'undefined') {
|
3587
|
+
n._countedByPrototype = Prototype.emptyFunction;
|
3588
|
+
results.push(Element.extend(n));
|
3589
|
+
}
|
3590
|
+
return Selector.handlers.unmark(results);
|
3591
|
+
},
|
3592
|
+
|
3593
|
+
descendant: function(nodes) {
|
3594
|
+
var h = Selector.handlers;
|
3595
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3596
|
+
h.concat(results, node.getElementsByTagName('*'));
|
3597
|
+
return results;
|
3598
|
+
},
|
3599
|
+
|
3600
|
+
child: function(nodes) {
|
3601
|
+
var h = Selector.handlers;
|
3602
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3603
|
+
for (var j = 0, child; child = node.childNodes[j]; j++)
|
3604
|
+
if (child.nodeType == 1 && child.tagName != '!') results.push(child);
|
3605
|
+
}
|
3606
|
+
return results;
|
3607
|
+
},
|
3608
|
+
|
3609
|
+
adjacent: function(nodes) {
|
3610
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3611
|
+
var next = this.nextElementSibling(node);
|
3612
|
+
if (next) results.push(next);
|
3613
|
+
}
|
3614
|
+
return results;
|
3615
|
+
},
|
3616
|
+
|
3617
|
+
laterSibling: function(nodes) {
|
3618
|
+
var h = Selector.handlers;
|
3619
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3620
|
+
h.concat(results, Element.nextSiblings(node));
|
3621
|
+
return results;
|
3622
|
+
},
|
3623
|
+
|
3624
|
+
nextElementSibling: function(node) {
|
3625
|
+
while (node = node.nextSibling)
|
3626
|
+
if (node.nodeType == 1) return node;
|
3627
|
+
return null;
|
3628
|
+
},
|
3629
|
+
|
3630
|
+
previousElementSibling: function(node) {
|
3631
|
+
while (node = node.previousSibling)
|
3632
|
+
if (node.nodeType == 1) return node;
|
3633
|
+
return null;
|
3634
|
+
},
|
3635
|
+
|
3636
|
+
tagName: function(nodes, root, tagName, combinator) {
|
3637
|
+
var uTagName = tagName.toUpperCase();
|
3638
|
+
var results = [], h = Selector.handlers;
|
3639
|
+
if (nodes) {
|
3640
|
+
if (combinator) {
|
3641
|
+
if (combinator == "descendant") {
|
3642
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3643
|
+
h.concat(results, node.getElementsByTagName(tagName));
|
3644
|
+
return results;
|
3645
|
+
} else nodes = this[combinator](nodes);
|
3646
|
+
if (tagName == "*") return nodes;
|
3647
|
+
}
|
3648
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3649
|
+
if (node.tagName.toUpperCase() === uTagName) results.push(node);
|
3650
|
+
return results;
|
3651
|
+
} else return root.getElementsByTagName(tagName);
|
3652
|
+
},
|
3653
|
+
|
3654
|
+
id: function(nodes, root, id, combinator) {
|
3655
|
+
var targetNode = $(id), h = Selector.handlers;
|
3656
|
+
|
3657
|
+
if (root == document) {
|
3658
|
+
if (!targetNode) return [];
|
3659
|
+
if (!nodes) return [targetNode];
|
3660
|
+
} else {
|
3661
|
+
if (!root.sourceIndex || root.sourceIndex < 1) {
|
3662
|
+
var nodes = root.getElementsByTagName('*');
|
3663
|
+
for (var j = 0, node; node = nodes[j]; j++) {
|
3664
|
+
if (node.id === id) return [node];
|
3665
|
+
}
|
3666
|
+
}
|
3667
|
+
}
|
3668
|
+
|
3669
|
+
if (nodes) {
|
3670
|
+
if (combinator) {
|
3671
|
+
if (combinator == 'child') {
|
3672
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3673
|
+
if (targetNode.parentNode == node) return [targetNode];
|
3674
|
+
} else if (combinator == 'descendant') {
|
3675
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3676
|
+
if (Element.descendantOf(targetNode, node)) return [targetNode];
|
3677
|
+
} else if (combinator == 'adjacent') {
|
3678
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3679
|
+
if (Selector.handlers.previousElementSibling(targetNode) == node)
|
3680
|
+
return [targetNode];
|
3681
|
+
} else nodes = h[combinator](nodes);
|
3682
|
+
}
|
3683
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3684
|
+
if (node == targetNode) return [targetNode];
|
3685
|
+
return [];
|
3686
|
+
}
|
3687
|
+
return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : [];
|
3688
|
+
},
|
3689
|
+
|
3690
|
+
className: function(nodes, root, className, combinator) {
|
3691
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3692
|
+
return Selector.handlers.byClassName(nodes, root, className);
|
3693
|
+
},
|
3694
|
+
|
3695
|
+
byClassName: function(nodes, root, className) {
|
3696
|
+
if (!nodes) nodes = Selector.handlers.descendant([root]);
|
3697
|
+
var needle = ' ' + className + ' ';
|
3698
|
+
for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) {
|
3699
|
+
nodeClassName = node.className;
|
3700
|
+
if (nodeClassName.length == 0) continue;
|
3701
|
+
if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle))
|
3702
|
+
results.push(node);
|
3703
|
+
}
|
3704
|
+
return results;
|
3705
|
+
},
|
3706
|
+
|
3707
|
+
attrPresence: function(nodes, root, attr, combinator) {
|
3708
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3709
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3710
|
+
var results = [];
|
3711
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3712
|
+
if (Element.hasAttribute(node, attr)) results.push(node);
|
3713
|
+
return results;
|
3714
|
+
},
|
3715
|
+
|
3716
|
+
attr: function(nodes, root, attr, value, operator, combinator) {
|
3717
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3718
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3719
|
+
var handler = Selector.operators[operator], results = [];
|
3720
|
+
for (var i = 0, node; node = nodes[i]; i++) {
|
3721
|
+
var nodeValue = Element.readAttribute(node, attr);
|
3722
|
+
if (nodeValue === null) continue;
|
3723
|
+
if (handler(nodeValue, value)) results.push(node);
|
3724
|
+
}
|
3725
|
+
return results;
|
3726
|
+
},
|
3727
|
+
|
3728
|
+
pseudo: function(nodes, name, value, root, combinator) {
|
3729
|
+
if (nodes && combinator) nodes = this[combinator](nodes);
|
3730
|
+
if (!nodes) nodes = root.getElementsByTagName("*");
|
3731
|
+
return Selector.pseudos[name](nodes, value, root);
|
3732
|
+
}
|
3733
|
+
},
|
3734
|
+
|
3735
|
+
pseudos: {
|
3736
|
+
'first-child': function(nodes, value, root) {
|
3737
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3738
|
+
if (Selector.handlers.previousElementSibling(node)) continue;
|
3739
|
+
results.push(node);
|
3740
|
+
}
|
3741
|
+
return results;
|
3742
|
+
},
|
3743
|
+
'last-child': function(nodes, value, root) {
|
3744
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3745
|
+
if (Selector.handlers.nextElementSibling(node)) continue;
|
3746
|
+
results.push(node);
|
3747
|
+
}
|
3748
|
+
return results;
|
3749
|
+
},
|
3750
|
+
'only-child': function(nodes, value, root) {
|
3751
|
+
var h = Selector.handlers;
|
3752
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3753
|
+
if (!h.previousElementSibling(node) && !h.nextElementSibling(node))
|
3754
|
+
results.push(node);
|
3755
|
+
return results;
|
3756
|
+
},
|
3757
|
+
'nth-child': function(nodes, formula, root) {
|
3758
|
+
return Selector.pseudos.nth(nodes, formula, root);
|
3759
|
+
},
|
3760
|
+
'nth-last-child': function(nodes, formula, root) {
|
3761
|
+
return Selector.pseudos.nth(nodes, formula, root, true);
|
3762
|
+
},
|
3763
|
+
'nth-of-type': function(nodes, formula, root) {
|
3764
|
+
return Selector.pseudos.nth(nodes, formula, root, false, true);
|
3765
|
+
},
|
3766
|
+
'nth-last-of-type': function(nodes, formula, root) {
|
3767
|
+
return Selector.pseudos.nth(nodes, formula, root, true, true);
|
3768
|
+
},
|
3769
|
+
'first-of-type': function(nodes, formula, root) {
|
3770
|
+
return Selector.pseudos.nth(nodes, "1", root, false, true);
|
3771
|
+
},
|
3772
|
+
'last-of-type': function(nodes, formula, root) {
|
3773
|
+
return Selector.pseudos.nth(nodes, "1", root, true, true);
|
3774
|
+
},
|
3775
|
+
'only-of-type': function(nodes, formula, root) {
|
3776
|
+
var p = Selector.pseudos;
|
3777
|
+
return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);
|
3778
|
+
},
|
3779
|
+
|
3780
|
+
getIndices: function(a, b, total) {
|
3781
|
+
if (a == 0) return b > 0 ? [b] : [];
|
3782
|
+
return $R(1, total).inject([], function(memo, i) {
|
3783
|
+
if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i);
|
3784
|
+
return memo;
|
3785
|
+
});
|
3786
|
+
},
|
3787
|
+
|
3788
|
+
nth: function(nodes, formula, root, reverse, ofType) {
|
3789
|
+
if (nodes.length == 0) return [];
|
3790
|
+
if (formula == 'even') formula = '2n+0';
|
3791
|
+
if (formula == 'odd') formula = '2n+1';
|
3792
|
+
var h = Selector.handlers, results = [], indexed = [], m;
|
3793
|
+
h.mark(nodes);
|
3794
|
+
for (var i = 0, node; node = nodes[i]; i++) {
|
3795
|
+
if (!node.parentNode._countedByPrototype) {
|
3796
|
+
h.index(node.parentNode, reverse, ofType);
|
3797
|
+
indexed.push(node.parentNode);
|
3798
|
+
}
|
3799
|
+
}
|
3800
|
+
if (formula.match(/^\d+$/)) { // just a number
|
3801
|
+
formula = Number(formula);
|
3802
|
+
for (var i = 0, node; node = nodes[i]; i++)
|
3803
|
+
if (node.nodeIndex == formula) results.push(node);
|
3804
|
+
} else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
|
3805
|
+
if (m[1] == "-") m[1] = -1;
|
3806
|
+
var a = m[1] ? Number(m[1]) : 1;
|
3807
|
+
var b = m[2] ? Number(m[2]) : 0;
|
3808
|
+
var indices = Selector.pseudos.getIndices(a, b, nodes.length);
|
3809
|
+
for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {
|
3810
|
+
for (var j = 0; j < l; j++)
|
3811
|
+
if (node.nodeIndex == indices[j]) results.push(node);
|
3812
|
+
}
|
3813
|
+
}
|
3814
|
+
h.unmark(nodes);
|
3815
|
+
h.unmark(indexed);
|
3816
|
+
return results;
|
3817
|
+
},
|
3818
|
+
|
3819
|
+
'empty': function(nodes, value, root) {
|
3820
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++) {
|
3821
|
+
if (node.tagName == '!' || node.firstChild) continue;
|
3822
|
+
results.push(node);
|
3823
|
+
}
|
3824
|
+
return results;
|
3825
|
+
},
|
3826
|
+
|
3827
|
+
'not': function(nodes, selector, root) {
|
3828
|
+
var h = Selector.handlers, selectorType, m;
|
3829
|
+
var exclusions = new Selector(selector).findElements(root);
|
3830
|
+
h.mark(exclusions);
|
3831
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3832
|
+
if (!node._countedByPrototype) results.push(node);
|
3833
|
+
h.unmark(exclusions);
|
3834
|
+
return results;
|
3835
|
+
},
|
3836
|
+
|
3837
|
+
'enabled': function(nodes, value, root) {
|
3838
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3839
|
+
if (!node.disabled && (!node.type || node.type !== 'hidden'))
|
3840
|
+
results.push(node);
|
3841
|
+
return results;
|
3842
|
+
},
|
3843
|
+
|
3844
|
+
'disabled': function(nodes, value, root) {
|
3845
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3846
|
+
if (node.disabled) results.push(node);
|
3847
|
+
return results;
|
3848
|
+
},
|
3849
|
+
|
3850
|
+
'checked': function(nodes, value, root) {
|
3851
|
+
for (var i = 0, results = [], node; node = nodes[i]; i++)
|
3852
|
+
if (node.checked) results.push(node);
|
3853
|
+
return results;
|
3854
|
+
}
|
3855
|
+
},
|
3856
|
+
|
3857
|
+
operators: {
|
3858
|
+
'=': function(nv, v) { return nv == v; },
|
3859
|
+
'!=': function(nv, v) { return nv != v; },
|
3860
|
+
'^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); },
|
3861
|
+
'$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); },
|
3862
|
+
'*=': function(nv, v) { return nv == v || nv && nv.include(v); },
|
3863
|
+
'~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); },
|
3864
|
+
'|=': function(nv, v) { return ('-' + (nv || "").toUpperCase() +
|
3865
|
+
'-').include('-' + (v || "").toUpperCase() + '-'); }
|
3866
|
+
},
|
3867
|
+
|
3868
|
+
split: function(expression) {
|
3869
|
+
var expressions = [];
|
3870
|
+
expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {
|
3871
|
+
expressions.push(m[1].strip());
|
3872
|
+
});
|
3873
|
+
return expressions;
|
3874
|
+
},
|
3875
|
+
|
3876
|
+
matchElements: function(elements, expression) {
|
3877
|
+
var matches = $$(expression), h = Selector.handlers;
|
3878
|
+
h.mark(matches);
|
3879
|
+
for (var i = 0, results = [], element; element = elements[i]; i++)
|
3880
|
+
if (element._countedByPrototype) results.push(element);
|
3881
|
+
h.unmark(matches);
|
3882
|
+
return results;
|
3883
|
+
},
|
3884
|
+
|
3885
|
+
findElement: function(elements, expression, index) {
|
3886
|
+
if (Object.isNumber(expression)) {
|
3887
|
+
index = expression; expression = false;
|
3888
|
+
}
|
3889
|
+
return Selector.matchElements(elements, expression || '*')[index || 0];
|
3890
|
+
},
|
3891
|
+
|
3892
|
+
findChildElements: function(element, expressions) {
|
3893
|
+
expressions = Selector.split(expressions.join(','));
|
3894
|
+
var results = [], h = Selector.handlers;
|
3895
|
+
for (var i = 0, l = expressions.length, selector; i < l; i++) {
|
3896
|
+
selector = new Selector(expressions[i].strip());
|
3897
|
+
h.concat(results, selector.findElements(element));
|
3898
|
+
}
|
3899
|
+
return (l > 1) ? h.unique(results) : results;
|
3900
|
+
}
|
3901
|
+
});
|
3902
|
+
|
3903
|
+
if (Prototype.Browser.IE) {
|
3904
|
+
Object.extend(Selector.handlers, {
|
3905
|
+
concat: function(a, b) {
|
3906
|
+
for (var i = 0, node; node = b[i]; i++)
|
3907
|
+
if (node.tagName !== "!") a.push(node);
|
3908
|
+
return a;
|
3909
|
+
}
|
3910
|
+
});
|
3911
|
+
}
|
3912
|
+
|
3913
|
+
function $$() {
|
3914
|
+
return Selector.findChildElements(document, $A(arguments));
|
3915
|
+
}
|
3916
|
+
|
3917
|
+
var Form = {
|
3918
|
+
reset: function(form) {
|
3919
|
+
form = $(form);
|
3920
|
+
form.reset();
|
3921
|
+
return form;
|
3922
|
+
},
|
3923
|
+
|
3924
|
+
serializeElements: function(elements, options) {
|
3925
|
+
if (typeof options != 'object') options = { hash: !!options };
|
3926
|
+
else if (Object.isUndefined(options.hash)) options.hash = true;
|
3927
|
+
var key, value, submitted = false, submit = options.submit;
|
3928
|
+
|
3929
|
+
var data = elements.inject({ }, function(result, element) {
|
3930
|
+
if (!element.disabled && element.name) {
|
3931
|
+
key = element.name; value = $(element).getValue();
|
3932
|
+
if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted &&
|
3933
|
+
submit !== false && (!submit || key == submit) && (submitted = true)))) {
|
3934
|
+
if (key in result) {
|
3935
|
+
if (!Object.isArray(result[key])) result[key] = [result[key]];
|
3936
|
+
result[key].push(value);
|
3937
|
+
}
|
3938
|
+
else result[key] = value;
|
3939
|
+
}
|
3940
|
+
}
|
3941
|
+
return result;
|
3942
|
+
});
|
3943
|
+
|
3944
|
+
return options.hash ? data : Object.toQueryString(data);
|
3945
|
+
}
|
3946
|
+
};
|
3947
|
+
|
3948
|
+
Form.Methods = {
|
3949
|
+
serialize: function(form, options) {
|
3950
|
+
return Form.serializeElements(Form.getElements(form), options);
|
3951
|
+
},
|
3952
|
+
|
3953
|
+
getElements: function(form) {
|
3954
|
+
var elements = $(form).getElementsByTagName('*'),
|
3955
|
+
element,
|
3956
|
+
arr = [ ],
|
3957
|
+
serializers = Form.Element.Serializers;
|
3958
|
+
for (var i = 0; element = elements[i]; i++) {
|
3959
|
+
arr.push(element);
|
3960
|
+
}
|
3961
|
+
return arr.inject([], function(elements, child) {
|
3962
|
+
if (serializers[child.tagName.toLowerCase()])
|
3963
|
+
elements.push(Element.extend(child));
|
3964
|
+
return elements;
|
3965
|
+
})
|
3966
|
+
},
|
3967
|
+
|
3968
|
+
getInputs: function(form, typeName, name) {
|
3969
|
+
form = $(form);
|
3970
|
+
var inputs = form.getElementsByTagName('input');
|
3971
|
+
|
3972
|
+
if (!typeName && !name) return $A(inputs).map(Element.extend);
|
3973
|
+
|
3974
|
+
for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) {
|
3975
|
+
var input = inputs[i];
|
3976
|
+
if ((typeName && input.type != typeName) || (name && input.name != name))
|
3977
|
+
continue;
|
3978
|
+
matchingInputs.push(Element.extend(input));
|
3979
|
+
}
|
3980
|
+
|
3981
|
+
return matchingInputs;
|
3982
|
+
},
|
3983
|
+
|
3984
|
+
disable: function(form) {
|
3985
|
+
form = $(form);
|
3986
|
+
Form.getElements(form).invoke('disable');
|
3987
|
+
return form;
|
3988
|
+
},
|
3989
|
+
|
3990
|
+
enable: function(form) {
|
3991
|
+
form = $(form);
|
3992
|
+
Form.getElements(form).invoke('enable');
|
3993
|
+
return form;
|
3994
|
+
},
|
3995
|
+
|
3996
|
+
findFirstElement: function(form) {
|
3997
|
+
var elements = $(form).getElements().findAll(function(element) {
|
3998
|
+
return 'hidden' != element.type && !element.disabled;
|
3999
|
+
});
|
4000
|
+
var firstByIndex = elements.findAll(function(element) {
|
4001
|
+
return element.hasAttribute('tabIndex') && element.tabIndex >= 0;
|
4002
|
+
}).sortBy(function(element) { return element.tabIndex }).first();
|
4003
|
+
|
4004
|
+
return firstByIndex ? firstByIndex : elements.find(function(element) {
|
4005
|
+
return /^(?:input|select|textarea)$/i.test(element.tagName);
|
4006
|
+
});
|
4007
|
+
},
|
4008
|
+
|
4009
|
+
focusFirstElement: function(form) {
|
4010
|
+
form = $(form);
|
4011
|
+
form.findFirstElement().activate();
|
4012
|
+
return form;
|
4013
|
+
},
|
4014
|
+
|
4015
|
+
request: function(form, options) {
|
4016
|
+
form = $(form), options = Object.clone(options || { });
|
4017
|
+
|
4018
|
+
var params = options.parameters, action = form.readAttribute('action') || '';
|
4019
|
+
if (action.blank()) action = window.location.href;
|
4020
|
+
options.parameters = form.serialize(true);
|
4021
|
+
|
4022
|
+
if (params) {
|
4023
|
+
if (Object.isString(params)) params = params.toQueryParams();
|
4024
|
+
Object.extend(options.parameters, params);
|
4025
|
+
}
|
4026
|
+
|
4027
|
+
if (form.hasAttribute('method') && !options.method)
|
4028
|
+
options.method = form.method;
|
4029
|
+
|
4030
|
+
return new Ajax.Request(action, options);
|
4031
|
+
}
|
4032
|
+
};
|
4033
|
+
|
4034
|
+
/*--------------------------------------------------------------------------*/
|
4035
|
+
|
4036
|
+
|
4037
|
+
Form.Element = {
|
4038
|
+
focus: function(element) {
|
4039
|
+
$(element).focus();
|
4040
|
+
return element;
|
4041
|
+
},
|
4042
|
+
|
4043
|
+
select: function(element) {
|
4044
|
+
$(element).select();
|
4045
|
+
return element;
|
4046
|
+
}
|
4047
|
+
};
|
4048
|
+
|
4049
|
+
Form.Element.Methods = {
|
4050
|
+
|
4051
|
+
serialize: function(element) {
|
4052
|
+
element = $(element);
|
4053
|
+
if (!element.disabled && element.name) {
|
4054
|
+
var value = element.getValue();
|
4055
|
+
if (value != undefined) {
|
4056
|
+
var pair = { };
|
4057
|
+
pair[element.name] = value;
|
4058
|
+
return Object.toQueryString(pair);
|
4059
|
+
}
|
4060
|
+
}
|
4061
|
+
return '';
|
4062
|
+
},
|
4063
|
+
|
4064
|
+
getValue: function(element) {
|
4065
|
+
element = $(element);
|
4066
|
+
var method = element.tagName.toLowerCase();
|
4067
|
+
return Form.Element.Serializers[method](element);
|
4068
|
+
},
|
4069
|
+
|
4070
|
+
setValue: function(element, value) {
|
4071
|
+
element = $(element);
|
4072
|
+
var method = element.tagName.toLowerCase();
|
4073
|
+
Form.Element.Serializers[method](element, value);
|
4074
|
+
return element;
|
4075
|
+
},
|
4076
|
+
|
4077
|
+
clear: function(element) {
|
4078
|
+
$(element).value = '';
|
4079
|
+
return element;
|
4080
|
+
},
|
4081
|
+
|
4082
|
+
present: function(element) {
|
4083
|
+
return $(element).value != '';
|
4084
|
+
},
|
4085
|
+
|
4086
|
+
activate: function(element) {
|
4087
|
+
element = $(element);
|
4088
|
+
try {
|
4089
|
+
element.focus();
|
4090
|
+
if (element.select && (element.tagName.toLowerCase() != 'input' ||
|
4091
|
+
!(/^(?:button|reset|submit)$/i.test(element.type))))
|
4092
|
+
element.select();
|
4093
|
+
} catch (e) { }
|
4094
|
+
return element;
|
4095
|
+
},
|
4096
|
+
|
4097
|
+
disable: function(element) {
|
4098
|
+
element = $(element);
|
4099
|
+
element.disabled = true;
|
4100
|
+
return element;
|
4101
|
+
},
|
4102
|
+
|
4103
|
+
enable: function(element) {
|
4104
|
+
element = $(element);
|
4105
|
+
element.disabled = false;
|
4106
|
+
return element;
|
4107
|
+
}
|
4108
|
+
};
|
4109
|
+
|
4110
|
+
/*--------------------------------------------------------------------------*/
|
4111
|
+
|
4112
|
+
var Field = Form.Element;
|
4113
|
+
|
4114
|
+
var $F = Form.Element.Methods.getValue;
|
4115
|
+
|
4116
|
+
/*--------------------------------------------------------------------------*/
|
4117
|
+
|
4118
|
+
Form.Element.Serializers = {
|
4119
|
+
input: function(element, value) {
|
4120
|
+
switch (element.type.toLowerCase()) {
|
4121
|
+
case 'checkbox':
|
4122
|
+
case 'radio':
|
4123
|
+
return Form.Element.Serializers.inputSelector(element, value);
|
4124
|
+
default:
|
4125
|
+
return Form.Element.Serializers.textarea(element, value);
|
4126
|
+
}
|
4127
|
+
},
|
4128
|
+
|
4129
|
+
inputSelector: function(element, value) {
|
4130
|
+
if (Object.isUndefined(value)) return element.checked ? element.value : null;
|
4131
|
+
else element.checked = !!value;
|
4132
|
+
},
|
4133
|
+
|
4134
|
+
textarea: function(element, value) {
|
4135
|
+
if (Object.isUndefined(value)) return element.value;
|
4136
|
+
else element.value = value;
|
4137
|
+
},
|
4138
|
+
|
4139
|
+
select: function(element, value) {
|
4140
|
+
if (Object.isUndefined(value))
|
4141
|
+
return this[element.type == 'select-one' ?
|
4142
|
+
'selectOne' : 'selectMany'](element);
|
4143
|
+
else {
|
4144
|
+
var opt, currentValue, single = !Object.isArray(value);
|
4145
|
+
for (var i = 0, length = element.length; i < length; i++) {
|
4146
|
+
opt = element.options[i];
|
4147
|
+
currentValue = this.optionValue(opt);
|
4148
|
+
if (single) {
|
4149
|
+
if (currentValue == value) {
|
4150
|
+
opt.selected = true;
|
4151
|
+
return;
|
4152
|
+
}
|
4153
|
+
}
|
4154
|
+
else opt.selected = value.include(currentValue);
|
4155
|
+
}
|
4156
|
+
}
|
4157
|
+
},
|
4158
|
+
|
4159
|
+
selectOne: function(element) {
|
4160
|
+
var index = element.selectedIndex;
|
4161
|
+
return index >= 0 ? this.optionValue(element.options[index]) : null;
|
4162
|
+
},
|
4163
|
+
|
4164
|
+
selectMany: function(element) {
|
4165
|
+
var values, length = element.length;
|
4166
|
+
if (!length) return null;
|
4167
|
+
|
4168
|
+
for (var i = 0, values = []; i < length; i++) {
|
4169
|
+
var opt = element.options[i];
|
4170
|
+
if (opt.selected) values.push(this.optionValue(opt));
|
4171
|
+
}
|
4172
|
+
return values;
|
4173
|
+
},
|
4174
|
+
|
4175
|
+
optionValue: function(opt) {
|
4176
|
+
return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text;
|
4177
|
+
}
|
4178
|
+
};
|
4179
|
+
|
4180
|
+
/*--------------------------------------------------------------------------*/
|
4181
|
+
|
4182
|
+
|
4183
|
+
Abstract.TimedObserver = Class.create(PeriodicalExecuter, {
|
4184
|
+
initialize: function($super, element, frequency, callback) {
|
4185
|
+
$super(callback, frequency);
|
4186
|
+
this.element = $(element);
|
4187
|
+
this.lastValue = this.getValue();
|
4188
|
+
},
|
4189
|
+
|
4190
|
+
execute: function() {
|
4191
|
+
var value = this.getValue();
|
4192
|
+
if (Object.isString(this.lastValue) && Object.isString(value) ?
|
4193
|
+
this.lastValue != value : String(this.lastValue) != String(value)) {
|
4194
|
+
this.callback(this.element, value);
|
4195
|
+
this.lastValue = value;
|
4196
|
+
}
|
4197
|
+
}
|
4198
|
+
});
|
4199
|
+
|
4200
|
+
Form.Element.Observer = Class.create(Abstract.TimedObserver, {
|
4201
|
+
getValue: function() {
|
4202
|
+
return Form.Element.getValue(this.element);
|
4203
|
+
}
|
4204
|
+
});
|
4205
|
+
|
4206
|
+
Form.Observer = Class.create(Abstract.TimedObserver, {
|
4207
|
+
getValue: function() {
|
4208
|
+
return Form.serialize(this.element);
|
4209
|
+
}
|
4210
|
+
});
|
4211
|
+
|
4212
|
+
/*--------------------------------------------------------------------------*/
|
4213
|
+
|
4214
|
+
Abstract.EventObserver = Class.create({
|
4215
|
+
initialize: function(element, callback) {
|
4216
|
+
this.element = $(element);
|
4217
|
+
this.callback = callback;
|
4218
|
+
|
4219
|
+
this.lastValue = this.getValue();
|
4220
|
+
if (this.element.tagName.toLowerCase() == 'form')
|
4221
|
+
this.registerFormCallbacks();
|
4222
|
+
else
|
4223
|
+
this.registerCallback(this.element);
|
4224
|
+
},
|
4225
|
+
|
4226
|
+
onElementEvent: function() {
|
4227
|
+
var value = this.getValue();
|
4228
|
+
if (this.lastValue != value) {
|
4229
|
+
this.callback(this.element, value);
|
4230
|
+
this.lastValue = value;
|
4231
|
+
}
|
4232
|
+
},
|
4233
|
+
|
4234
|
+
registerFormCallbacks: function() {
|
4235
|
+
Form.getElements(this.element).each(this.registerCallback, this);
|
4236
|
+
},
|
4237
|
+
|
4238
|
+
registerCallback: function(element) {
|
4239
|
+
if (element.type) {
|
4240
|
+
switch (element.type.toLowerCase()) {
|
4241
|
+
case 'checkbox':
|
4242
|
+
case 'radio':
|
4243
|
+
Event.observe(element, 'click', this.onElementEvent.bind(this));
|
4244
|
+
break;
|
4245
|
+
default:
|
4246
|
+
Event.observe(element, 'change', this.onElementEvent.bind(this));
|
4247
|
+
break;
|
4248
|
+
}
|
4249
|
+
}
|
4250
|
+
}
|
4251
|
+
});
|
4252
|
+
|
4253
|
+
Form.Element.EventObserver = Class.create(Abstract.EventObserver, {
|
4254
|
+
getValue: function() {
|
4255
|
+
return Form.Element.getValue(this.element);
|
4256
|
+
}
|
4257
|
+
});
|
4258
|
+
|
4259
|
+
Form.EventObserver = Class.create(Abstract.EventObserver, {
|
4260
|
+
getValue: function() {
|
4261
|
+
return Form.serialize(this.element);
|
4262
|
+
}
|
4263
|
+
});
|
4264
|
+
(function() {
|
4265
|
+
|
4266
|
+
var Event = {
|
4267
|
+
KEY_BACKSPACE: 8,
|
4268
|
+
KEY_TAB: 9,
|
4269
|
+
KEY_RETURN: 13,
|
4270
|
+
KEY_ESC: 27,
|
4271
|
+
KEY_LEFT: 37,
|
4272
|
+
KEY_UP: 38,
|
4273
|
+
KEY_RIGHT: 39,
|
4274
|
+
KEY_DOWN: 40,
|
4275
|
+
KEY_DELETE: 46,
|
4276
|
+
KEY_HOME: 36,
|
4277
|
+
KEY_END: 35,
|
4278
|
+
KEY_PAGEUP: 33,
|
4279
|
+
KEY_PAGEDOWN: 34,
|
4280
|
+
KEY_INSERT: 45,
|
4281
|
+
|
4282
|
+
cache: {}
|
4283
|
+
};
|
4284
|
+
|
4285
|
+
var docEl = document.documentElement;
|
4286
|
+
var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED = 'onmouseenter' in docEl
|
4287
|
+
&& 'onmouseleave' in docEl;
|
4288
|
+
|
4289
|
+
var _isButton;
|
4290
|
+
if (Prototype.Browser.IE) {
|
4291
|
+
var buttonMap = { 0: 1, 1: 4, 2: 2 };
|
4292
|
+
_isButton = function(event, code) {
|
4293
|
+
return event.button === buttonMap[code];
|
4294
|
+
};
|
4295
|
+
} else if (Prototype.Browser.WebKit) {
|
4296
|
+
_isButton = function(event, code) {
|
4297
|
+
switch (code) {
|
4298
|
+
case 0: return event.which == 1 && !event.metaKey;
|
4299
|
+
case 1: return event.which == 1 && event.metaKey;
|
4300
|
+
default: return false;
|
4301
|
+
}
|
4302
|
+
};
|
4303
|
+
} else {
|
4304
|
+
_isButton = function(event, code) {
|
4305
|
+
return event.which ? (event.which === code + 1) : (event.button === code);
|
4306
|
+
};
|
4307
|
+
}
|
4308
|
+
|
4309
|
+
function isLeftClick(event) { return _isButton(event, 0) }
|
4310
|
+
|
4311
|
+
function isMiddleClick(event) { return _isButton(event, 1) }
|
4312
|
+
|
4313
|
+
function isRightClick(event) { return _isButton(event, 2) }
|
4314
|
+
|
4315
|
+
function element(event) {
|
4316
|
+
event = Event.extend(event);
|
4317
|
+
|
4318
|
+
var node = event.target, type = event.type,
|
4319
|
+
currentTarget = event.currentTarget;
|
4320
|
+
|
4321
|
+
if (currentTarget && currentTarget.tagName) {
|
4322
|
+
if (type === 'load' || type === 'error' ||
|
4323
|
+
(type === 'click' && currentTarget.tagName.toLowerCase() === 'input'
|
4324
|
+
&& currentTarget.type === 'radio'))
|
4325
|
+
node = currentTarget;
|
4326
|
+
}
|
4327
|
+
|
4328
|
+
if (node.nodeType == Node.TEXT_NODE)
|
4329
|
+
node = node.parentNode;
|
4330
|
+
|
4331
|
+
return Element.extend(node);
|
4332
|
+
}
|
4333
|
+
|
4334
|
+
function findElement(event, expression) {
|
4335
|
+
var element = Event.element(event);
|
4336
|
+
if (!expression) return element;
|
4337
|
+
var elements = [element].concat(element.ancestors());
|
4338
|
+
return Selector.findElement(elements, expression, 0);
|
4339
|
+
}
|
4340
|
+
|
4341
|
+
function pointer(event) {
|
4342
|
+
return { x: pointerX(event), y: pointerY(event) };
|
4343
|
+
}
|
4344
|
+
|
4345
|
+
function pointerX(event) {
|
4346
|
+
var docElement = document.documentElement,
|
4347
|
+
body = document.body || { scrollLeft: 0 };
|
4348
|
+
|
4349
|
+
return event.pageX || (event.clientX +
|
4350
|
+
(docElement.scrollLeft || body.scrollLeft) -
|
4351
|
+
(docElement.clientLeft || 0));
|
4352
|
+
}
|
4353
|
+
|
4354
|
+
function pointerY(event) {
|
4355
|
+
var docElement = document.documentElement,
|
4356
|
+
body = document.body || { scrollTop: 0 };
|
4357
|
+
|
4358
|
+
return event.pageY || (event.clientY +
|
4359
|
+
(docElement.scrollTop || body.scrollTop) -
|
4360
|
+
(docElement.clientTop || 0));
|
4361
|
+
}
|
4362
|
+
|
4363
|
+
|
4364
|
+
function stop(event) {
|
4365
|
+
Event.extend(event);
|
4366
|
+
event.preventDefault();
|
4367
|
+
event.stopPropagation();
|
4368
|
+
|
4369
|
+
event.stopped = true;
|
4370
|
+
}
|
4371
|
+
|
4372
|
+
Event.Methods = {
|
4373
|
+
isLeftClick: isLeftClick,
|
4374
|
+
isMiddleClick: isMiddleClick,
|
4375
|
+
isRightClick: isRightClick,
|
4376
|
+
|
4377
|
+
element: element,
|
4378
|
+
findElement: findElement,
|
4379
|
+
|
4380
|
+
pointer: pointer,
|
4381
|
+
pointerX: pointerX,
|
4382
|
+
pointerY: pointerY,
|
4383
|
+
|
4384
|
+
stop: stop
|
4385
|
+
};
|
4386
|
+
|
4387
|
+
|
4388
|
+
var methods = Object.keys(Event.Methods).inject({ }, function(m, name) {
|
4389
|
+
m[name] = Event.Methods[name].methodize();
|
4390
|
+
return m;
|
4391
|
+
});
|
4392
|
+
|
4393
|
+
if (Prototype.Browser.IE) {
|
4394
|
+
function _relatedTarget(event) {
|
4395
|
+
var element;
|
4396
|
+
switch (event.type) {
|
4397
|
+
case 'mouseover': element = event.fromElement; break;
|
4398
|
+
case 'mouseout': element = event.toElement; break;
|
4399
|
+
default: return null;
|
4400
|
+
}
|
4401
|
+
return Element.extend(element);
|
4402
|
+
}
|
4403
|
+
|
4404
|
+
Object.extend(methods, {
|
4405
|
+
stopPropagation: function() { this.cancelBubble = true },
|
4406
|
+
preventDefault: function() { this.returnValue = false },
|
4407
|
+
inspect: function() { return '[object Event]' }
|
4408
|
+
});
|
4409
|
+
|
4410
|
+
Event.extend = function(event, element) {
|
4411
|
+
if (!event) return false;
|
4412
|
+
if (event._extendedByPrototype) return event;
|
4413
|
+
|
4414
|
+
event._extendedByPrototype = Prototype.emptyFunction;
|
4415
|
+
var pointer = Event.pointer(event);
|
4416
|
+
|
4417
|
+
Object.extend(event, {
|
4418
|
+
target: event.srcElement || element,
|
4419
|
+
relatedTarget: _relatedTarget(event),
|
4420
|
+
pageX: pointer.x,
|
4421
|
+
pageY: pointer.y
|
4422
|
+
});
|
4423
|
+
|
4424
|
+
return Object.extend(event, methods);
|
4425
|
+
};
|
4426
|
+
} else {
|
4427
|
+
Event.prototype = window.Event.prototype || document.createEvent('HTMLEvents').__proto__;
|
4428
|
+
Object.extend(Event.prototype, methods);
|
4429
|
+
Event.extend = Prototype.K;
|
4430
|
+
}
|
4431
|
+
|
4432
|
+
function _createResponder(element, eventName, handler) {
|
4433
|
+
var registry = Element.retrieve(element, 'prototype_event_registry');
|
4434
|
+
|
4435
|
+
if (Object.isUndefined(registry)) {
|
4436
|
+
CACHE.push(element);
|
4437
|
+
registry = Element.retrieve(element, 'prototype_event_registry', $H());
|
4438
|
+
}
|
4439
|
+
|
4440
|
+
var respondersForEvent = registry.get(eventName);
|
4441
|
+
if (Object.isUndefined(respondersForEvent)) {
|
4442
|
+
respondersForEvent = [];
|
4443
|
+
registry.set(eventName, respondersForEvent);
|
4444
|
+
}
|
4445
|
+
|
4446
|
+
if (respondersForEvent.pluck('handler').include(handler)) return false;
|
4447
|
+
|
4448
|
+
var responder;
|
4449
|
+
if (eventName.include(":")) {
|
4450
|
+
responder = function(event) {
|
4451
|
+
if (Object.isUndefined(event.eventName))
|
4452
|
+
return false;
|
4453
|
+
|
4454
|
+
if (event.eventName !== eventName)
|
4455
|
+
return false;
|
4456
|
+
|
4457
|
+
Event.extend(event, element);
|
4458
|
+
handler.call(element, event);
|
4459
|
+
};
|
4460
|
+
} else {
|
4461
|
+
if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED &&
|
4462
|
+
(eventName === "mouseenter" || eventName === "mouseleave")) {
|
4463
|
+
if (eventName === "mouseenter" || eventName === "mouseleave") {
|
4464
|
+
responder = function(event) {
|
4465
|
+
Event.extend(event, element);
|
4466
|
+
|
4467
|
+
var parent = event.relatedTarget;
|
4468
|
+
while (parent && parent !== element) {
|
4469
|
+
try { parent = parent.parentNode; }
|
4470
|
+
catch(e) { parent = element; }
|
4471
|
+
}
|
4472
|
+
|
4473
|
+
if (parent === element) return;
|
4474
|
+
|
4475
|
+
handler.call(element, event);
|
4476
|
+
};
|
4477
|
+
}
|
4478
|
+
} else {
|
4479
|
+
responder = function(event) {
|
4480
|
+
Event.extend(event, element);
|
4481
|
+
handler.call(element, event);
|
4482
|
+
};
|
4483
|
+
}
|
4484
|
+
}
|
4485
|
+
|
4486
|
+
responder.handler = handler;
|
4487
|
+
respondersForEvent.push(responder);
|
4488
|
+
return responder;
|
4489
|
+
}
|
4490
|
+
|
4491
|
+
function _destroyCache() {
|
4492
|
+
for (var i = 0, length = CACHE.length; i < length; i++) {
|
4493
|
+
Event.stopObserving(CACHE[i]);
|
4494
|
+
CACHE[i] = null;
|
4495
|
+
}
|
4496
|
+
}
|
4497
|
+
|
4498
|
+
var CACHE = [];
|
4499
|
+
|
4500
|
+
if (Prototype.Browser.IE)
|
4501
|
+
window.attachEvent('onunload', _destroyCache);
|
4502
|
+
|
4503
|
+
if (Prototype.Browser.WebKit)
|
4504
|
+
window.addEventListener('unload', Prototype.emptyFunction, false);
|
4505
|
+
|
4506
|
+
|
4507
|
+
var _getDOMEventName = Prototype.K;
|
4508
|
+
|
4509
|
+
if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED) {
|
4510
|
+
_getDOMEventName = function(eventName) {
|
4511
|
+
var translations = { mouseenter: "mouseover", mouseleave: "mouseout" };
|
4512
|
+
return eventName in translations ? translations[eventName] : eventName;
|
4513
|
+
};
|
4514
|
+
}
|
4515
|
+
|
4516
|
+
function observe(element, eventName, handler) {
|
4517
|
+
element = $(element);
|
4518
|
+
|
4519
|
+
var responder = _createResponder(element, eventName, handler);
|
4520
|
+
|
4521
|
+
if (!responder) return element;
|
4522
|
+
|
4523
|
+
if (eventName.include(':')) {
|
4524
|
+
if (element.addEventListener)
|
4525
|
+
element.addEventListener("dataavailable", responder, false);
|
4526
|
+
else {
|
4527
|
+
element.attachEvent("ondataavailable", responder);
|
4528
|
+
element.attachEvent("onfilterchange", responder);
|
4529
|
+
}
|
4530
|
+
} else {
|
4531
|
+
var actualEventName = _getDOMEventName(eventName);
|
4532
|
+
|
4533
|
+
if (element.addEventListener)
|
4534
|
+
element.addEventListener(actualEventName, responder, false);
|
4535
|
+
else
|
4536
|
+
element.attachEvent("on" + actualEventName, responder);
|
4537
|
+
}
|
4538
|
+
|
4539
|
+
return element;
|
4540
|
+
}
|
4541
|
+
|
4542
|
+
function stopObserving(element, eventName, handler) {
|
4543
|
+
element = $(element);
|
4544
|
+
|
4545
|
+
var registry = Element.retrieve(element, 'prototype_event_registry');
|
4546
|
+
|
4547
|
+
if (Object.isUndefined(registry)) return element;
|
4548
|
+
|
4549
|
+
if (eventName && !handler) {
|
4550
|
+
var responders = registry.get(eventName);
|
4551
|
+
|
4552
|
+
if (Object.isUndefined(responders)) return element;
|
4553
|
+
|
4554
|
+
responders.each( function(r) {
|
4555
|
+
Element.stopObserving(element, eventName, r.handler);
|
4556
|
+
});
|
4557
|
+
return element;
|
4558
|
+
} else if (!eventName) {
|
4559
|
+
registry.each( function(pair) {
|
4560
|
+
var eventName = pair.key, responders = pair.value;
|
4561
|
+
|
4562
|
+
responders.each( function(r) {
|
4563
|
+
Element.stopObserving(element, eventName, r.handler);
|
4564
|
+
});
|
4565
|
+
});
|
4566
|
+
return element;
|
4567
|
+
}
|
4568
|
+
|
4569
|
+
var responders = registry.get(eventName);
|
4570
|
+
|
4571
|
+
if (!responders) return;
|
4572
|
+
|
4573
|
+
var responder = responders.find( function(r) { return r.handler === handler; });
|
4574
|
+
if (!responder) return element;
|
4575
|
+
|
4576
|
+
var actualEventName = _getDOMEventName(eventName);
|
4577
|
+
|
4578
|
+
if (eventName.include(':')) {
|
4579
|
+
if (element.removeEventListener)
|
4580
|
+
element.removeEventListener("dataavailable", responder, false);
|
4581
|
+
else {
|
4582
|
+
element.detachEvent("ondataavailable", responder);
|
4583
|
+
element.detachEvent("onfilterchange", responder);
|
4584
|
+
}
|
4585
|
+
} else {
|
4586
|
+
if (element.removeEventListener)
|
4587
|
+
element.removeEventListener(actualEventName, responder, false);
|
4588
|
+
else
|
4589
|
+
element.detachEvent('on' + actualEventName, responder);
|
4590
|
+
}
|
4591
|
+
|
4592
|
+
registry.set(eventName, responders.without(responder));
|
4593
|
+
|
4594
|
+
return element;
|
4595
|
+
}
|
4596
|
+
|
4597
|
+
function fire(element, eventName, memo, bubble) {
|
4598
|
+
element = $(element);
|
4599
|
+
|
4600
|
+
if (Object.isUndefined(bubble))
|
4601
|
+
bubble = true;
|
4602
|
+
|
4603
|
+
if (element == document && document.createEvent && !element.dispatchEvent)
|
4604
|
+
element = document.documentElement;
|
4605
|
+
|
4606
|
+
var event;
|
4607
|
+
if (document.createEvent) {
|
4608
|
+
event = document.createEvent('HTMLEvents');
|
4609
|
+
event.initEvent('dataavailable', true, true);
|
4610
|
+
} else {
|
4611
|
+
event = document.createEventObject();
|
4612
|
+
event.eventType = bubble ? 'ondataavailable' : 'onfilterchange';
|
4613
|
+
}
|
4614
|
+
|
4615
|
+
event.eventName = eventName;
|
4616
|
+
event.memo = memo || { };
|
4617
|
+
|
4618
|
+
if (document.createEvent)
|
4619
|
+
element.dispatchEvent(event);
|
4620
|
+
else
|
4621
|
+
element.fireEvent(event.eventType, event);
|
4622
|
+
|
4623
|
+
return Event.extend(event);
|
4624
|
+
}
|
4625
|
+
|
4626
|
+
|
4627
|
+
Object.extend(Event, Event.Methods);
|
4628
|
+
|
4629
|
+
Object.extend(Event, {
|
4630
|
+
fire: fire,
|
4631
|
+
observe: observe,
|
4632
|
+
stopObserving: stopObserving
|
4633
|
+
});
|
4634
|
+
|
4635
|
+
Element.addMethods({
|
4636
|
+
fire: fire,
|
4637
|
+
|
4638
|
+
observe: observe,
|
4639
|
+
|
4640
|
+
stopObserving: stopObserving
|
4641
|
+
});
|
4642
|
+
|
4643
|
+
Object.extend(document, {
|
4644
|
+
fire: fire.methodize(),
|
4645
|
+
|
4646
|
+
observe: observe.methodize(),
|
4647
|
+
|
4648
|
+
stopObserving: stopObserving.methodize(),
|
4649
|
+
|
4650
|
+
loaded: false
|
4651
|
+
});
|
4652
|
+
|
4653
|
+
if (window.Event) Object.extend(window.Event, Event);
|
4654
|
+
else window.Event = Event;
|
4655
|
+
})();
|
4656
|
+
|
4657
|
+
(function() {
|
4658
|
+
/* Support for the DOMContentLoaded event is based on work by Dan Webb,
|
4659
|
+
Matthias Miller, Dean Edwards, John Resig, and Diego Perini. */
|
4660
|
+
|
4661
|
+
var timer;
|
4662
|
+
|
4663
|
+
function fireContentLoadedEvent() {
|
4664
|
+
if (document.loaded) return;
|
4665
|
+
if (timer) window.clearTimeout(timer);
|
4666
|
+
document.loaded = true;
|
4667
|
+
document.fire('dom:loaded');
|
4668
|
+
}
|
4669
|
+
|
4670
|
+
function checkReadyState() {
|
4671
|
+
if (document.readyState === 'complete') {
|
4672
|
+
document.stopObserving('readystatechange', checkReadyState);
|
4673
|
+
fireContentLoadedEvent();
|
4674
|
+
}
|
4675
|
+
}
|
4676
|
+
|
4677
|
+
function pollDoScroll() {
|
4678
|
+
try { document.documentElement.doScroll('left'); }
|
4679
|
+
catch(e) {
|
4680
|
+
timer = pollDoScroll.defer();
|
4681
|
+
return;
|
4682
|
+
}
|
4683
|
+
fireContentLoadedEvent();
|
4684
|
+
}
|
4685
|
+
|
4686
|
+
if (document.addEventListener) {
|
4687
|
+
document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false);
|
4688
|
+
} else {
|
4689
|
+
document.observe('readystatechange', checkReadyState);
|
4690
|
+
if (window == top)
|
4691
|
+
timer = pollDoScroll.defer();
|
4692
|
+
}
|
4693
|
+
|
4694
|
+
Event.observe(window, 'load', fireContentLoadedEvent);
|
4695
|
+
})();
|
4696
|
+
|
4697
|
+
Element.addMethods();
|
4698
|
+
|
4699
|
+
/*------------------------------- DEPRECATED -------------------------------*/
|
4700
|
+
|
4701
|
+
Hash.toQueryString = Object.toQueryString;
|
4702
|
+
|
4703
|
+
var Toggle = { display: Element.toggle };
|
4704
|
+
|
4705
|
+
Element.Methods.childOf = Element.Methods.descendantOf;
|
4706
|
+
|
4707
|
+
var Insertion = {
|
4708
|
+
Before: function(element, content) {
|
4709
|
+
return Element.insert(element, {before:content});
|
4710
|
+
},
|
4711
|
+
|
4712
|
+
Top: function(element, content) {
|
4713
|
+
return Element.insert(element, {top:content});
|
4714
|
+
},
|
4715
|
+
|
4716
|
+
Bottom: function(element, content) {
|
4717
|
+
return Element.insert(element, {bottom:content});
|
4718
|
+
},
|
4719
|
+
|
4720
|
+
After: function(element, content) {
|
4721
|
+
return Element.insert(element, {after:content});
|
4722
|
+
}
|
4723
|
+
};
|
4724
|
+
|
4725
|
+
var $continue = new Error('"throw $continue" is deprecated, use "return" instead');
|
4726
|
+
|
4727
|
+
var Position = {
|
4728
|
+
includeScrollOffsets: false,
|
4729
|
+
|
4730
|
+
prepare: function() {
|
4731
|
+
this.deltaX = window.pageXOffset
|
4732
|
+
|| document.documentElement.scrollLeft
|
4733
|
+
|| document.body.scrollLeft
|
4734
|
+
|| 0;
|
4735
|
+
this.deltaY = window.pageYOffset
|
4736
|
+
|| document.documentElement.scrollTop
|
4737
|
+
|| document.body.scrollTop
|
4738
|
+
|| 0;
|
4739
|
+
},
|
4740
|
+
|
4741
|
+
within: function(element, x, y) {
|
4742
|
+
if (this.includeScrollOffsets)
|
4743
|
+
return this.withinIncludingScrolloffsets(element, x, y);
|
4744
|
+
this.xcomp = x;
|
4745
|
+
this.ycomp = y;
|
4746
|
+
this.offset = Element.cumulativeOffset(element);
|
4747
|
+
|
4748
|
+
return (y >= this.offset[1] &&
|
4749
|
+
y < this.offset[1] + element.offsetHeight &&
|
4750
|
+
x >= this.offset[0] &&
|
4751
|
+
x < this.offset[0] + element.offsetWidth);
|
4752
|
+
},
|
4753
|
+
|
4754
|
+
withinIncludingScrolloffsets: function(element, x, y) {
|
4755
|
+
var offsetcache = Element.cumulativeScrollOffset(element);
|
4756
|
+
|
4757
|
+
this.xcomp = x + offsetcache[0] - this.deltaX;
|
4758
|
+
this.ycomp = y + offsetcache[1] - this.deltaY;
|
4759
|
+
this.offset = Element.cumulativeOffset(element);
|
4760
|
+
|
4761
|
+
return (this.ycomp >= this.offset[1] &&
|
4762
|
+
this.ycomp < this.offset[1] + element.offsetHeight &&
|
4763
|
+
this.xcomp >= this.offset[0] &&
|
4764
|
+
this.xcomp < this.offset[0] + element.offsetWidth);
|
4765
|
+
},
|
4766
|
+
|
4767
|
+
overlap: function(mode, element) {
|
4768
|
+
if (!mode) return 0;
|
4769
|
+
if (mode == 'vertical')
|
4770
|
+
return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
|
4771
|
+
element.offsetHeight;
|
4772
|
+
if (mode == 'horizontal')
|
4773
|
+
return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
|
4774
|
+
element.offsetWidth;
|
4775
|
+
},
|
4776
|
+
|
4777
|
+
|
4778
|
+
cumulativeOffset: Element.Methods.cumulativeOffset,
|
4779
|
+
|
4780
|
+
positionedOffset: Element.Methods.positionedOffset,
|
4781
|
+
|
4782
|
+
absolutize: function(element) {
|
4783
|
+
Position.prepare();
|
4784
|
+
return Element.absolutize(element);
|
4785
|
+
},
|
4786
|
+
|
4787
|
+
relativize: function(element) {
|
4788
|
+
Position.prepare();
|
4789
|
+
return Element.relativize(element);
|
4790
|
+
},
|
4791
|
+
|
4792
|
+
realOffset: Element.Methods.cumulativeScrollOffset,
|
4793
|
+
|
4794
|
+
offsetParent: Element.Methods.getOffsetParent,
|
4795
|
+
|
4796
|
+
page: Element.Methods.viewportOffset,
|
4797
|
+
|
4798
|
+
clone: function(source, target, options) {
|
4799
|
+
options = options || { };
|
4800
|
+
return Element.clonePosition(target, source, options);
|
4801
|
+
}
|
4802
|
+
};
|
4803
|
+
|
4804
|
+
/*--------------------------------------------------------------------------*/
|
4805
|
+
|
4806
|
+
if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){
|
4807
|
+
function iter(name) {
|
4808
|
+
return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]";
|
4809
|
+
}
|
4810
|
+
|
4811
|
+
instanceMethods.getElementsByClassName = Prototype.BrowserFeatures.XPath ?
|
4812
|
+
function(element, className) {
|
4813
|
+
className = className.toString().strip();
|
4814
|
+
var cond = /\s/.test(className) ? $w(className).map(iter).join('') : iter(className);
|
4815
|
+
return cond ? document._getElementsByXPath('.//*' + cond, element) : [];
|
4816
|
+
} : function(element, className) {
|
4817
|
+
className = className.toString().strip();
|
4818
|
+
var elements = [], classNames = (/\s/.test(className) ? $w(className) : null);
|
4819
|
+
if (!classNames && !className) return elements;
|
4820
|
+
|
4821
|
+
var nodes = $(element).getElementsByTagName('*');
|
4822
|
+
className = ' ' + className + ' ';
|
4823
|
+
|
4824
|
+
for (var i = 0, child, cn; child = nodes[i]; i++) {
|
4825
|
+
if (child.className && (cn = ' ' + child.className + ' ') && (cn.include(className) ||
|
4826
|
+
(classNames && classNames.all(function(name) {
|
4827
|
+
return !name.toString().blank() && cn.include(' ' + name + ' ');
|
4828
|
+
}))))
|
4829
|
+
elements.push(Element.extend(child));
|
4830
|
+
}
|
4831
|
+
return elements;
|
4832
|
+
};
|
4833
|
+
|
4834
|
+
return function(className, parentElement) {
|
4835
|
+
return $(parentElement || document.body).getElementsByClassName(className);
|
4836
|
+
};
|
4837
|
+
}(Element.Methods);
|
4838
|
+
|
4839
|
+
/*--------------------------------------------------------------------------*/
|
4840
|
+
|
4841
|
+
Element.ClassNames = Class.create();
|
4842
|
+
Element.ClassNames.prototype = {
|
4843
|
+
initialize: function(element) {
|
4844
|
+
this.element = $(element);
|
4845
|
+
},
|
4846
|
+
|
4847
|
+
_each: function(iterator) {
|
4848
|
+
this.element.className.split(/\s+/).select(function(name) {
|
4849
|
+
return name.length > 0;
|
4850
|
+
})._each(iterator);
|
4851
|
+
},
|
4852
|
+
|
4853
|
+
set: function(className) {
|
4854
|
+
this.element.className = className;
|
4855
|
+
},
|
4856
|
+
|
4857
|
+
add: function(classNameToAdd) {
|
4858
|
+
if (this.include(classNameToAdd)) return;
|
4859
|
+
this.set($A(this).concat(classNameToAdd).join(' '));
|
4860
|
+
},
|
4861
|
+
|
4862
|
+
remove: function(classNameToRemove) {
|
4863
|
+
if (!this.include(classNameToRemove)) return;
|
4864
|
+
this.set($A(this).without(classNameToRemove).join(' '));
|
4865
|
+
},
|
4866
|
+
|
4867
|
+
toString: function() {
|
4868
|
+
return $A(this).join(' ');
|
4869
|
+
}
|
4870
|
+
};
|
4871
|
+
|
4872
|
+
Object.extend(Element.ClassNames.prototype, Enumerable);
|
4873
|
+
|
4874
|
+
/*--------------------------------------------------------------------------*/
|