radiantcms-couchrest_model 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +544 -0
- data/CONTRIBUTORS +219 -0
- data/INSTALL +35 -0
- data/LICENSE +21 -0
- data/README +3 -0
- data/Rakefile +11 -0
- data/app/controllers/admin/extensions_controller.rb +11 -0
- data/app/controllers/admin/layouts_controller.rb +8 -0
- data/app/controllers/admin/page_parts_controller.rb +9 -0
- data/app/controllers/admin/pages_controller.rb +52 -0
- data/app/controllers/admin/preferences_controller.rb +46 -0
- data/app/controllers/admin/references_controller.rb +7 -0
- data/app/controllers/admin/resource_controller.rb +233 -0
- data/app/controllers/admin/snippets_controller.rb +8 -0
- data/app/controllers/admin/users_controller.rb +40 -0
- data/app/controllers/admin/welcome_controller.rb +43 -0
- data/app/controllers/application_controller.rb +88 -0
- data/app/controllers/site_controller.rb +77 -0
- data/app/helpers/admin/abstract_model_helper.rb +2 -0
- data/app/helpers/admin/export_helper.rb +2 -0
- data/app/helpers/admin/extensions_helper.rb +2 -0
- data/app/helpers/admin/layouts_helper.rb +21 -0
- data/app/helpers/admin/node_helper.rb +87 -0
- data/app/helpers/admin/pages_helper.rb +117 -0
- data/app/helpers/admin/preferences_helper.rb +3 -0
- data/app/helpers/admin/references_helper.rb +44 -0
- data/app/helpers/admin/regions_helper.rb +28 -0
- data/app/helpers/admin/snippets_helper.rb +41 -0
- data/app/helpers/admin/users_helper.rb +8 -0
- data/app/helpers/admin/welcome_helper.rb +2 -0
- data/app/helpers/application_helper.rb +249 -0
- data/app/helpers/site_helper.rb +2 -0
- data/app/models/file_not_found_page.rb +32 -0
- data/app/models/layout.rb +15 -0
- data/app/models/page.rb +353 -0
- data/app/models/page_context.rb +46 -0
- data/app/models/page_part.rb +21 -0
- data/app/models/radiant/config.rb +292 -0
- data/app/models/snippet.rb +19 -0
- data/app/models/standard_tags.rb +1321 -0
- data/app/models/status.rb +41 -0
- data/app/models/text_filter.rb +36 -0
- data/app/models/user.rb +97 -0
- data/app/models/user_action_observer.rb +13 -0
- data/app/views/admin/extensions/index.html.haml +41 -0
- data/app/views/admin/layouts/_form.html.haml +39 -0
- data/app/views/admin/layouts/edit.html.haml +9 -0
- data/app/views/admin/layouts/index.html.haml +36 -0
- data/app/views/admin/layouts/new.html.haml +7 -0
- data/app/views/admin/layouts/remove.html.haml +16 -0
- data/app/views/admin/page_parts/_page_part.html.haml +18 -0
- data/app/views/admin/pages/_fields.html.haml +61 -0
- data/app/views/admin/pages/_meta_row.html.haml +8 -0
- data/app/views/admin/pages/_node.html.haml +25 -0
- data/app/views/admin/pages/_popups.html.haml +27 -0
- data/app/views/admin/pages/children.html.haml +2 -0
- data/app/views/admin/pages/edit.html.haml +12 -0
- data/app/views/admin/pages/index.html.haml +26 -0
- data/app/views/admin/pages/new.html.haml +10 -0
- data/app/views/admin/pages/remove.html.haml +18 -0
- data/app/views/admin/preferences/edit.html.haml +44 -0
- data/app/views/admin/references/_tag_reference.haml +3 -0
- data/app/views/admin/references/filters.haml +6 -0
- data/app/views/admin/references/tags.haml +30 -0
- data/app/views/admin/snippets/_form.html.haml +33 -0
- data/app/views/admin/snippets/edit.html.haml +9 -0
- data/app/views/admin/snippets/index.html.haml +34 -0
- data/app/views/admin/snippets/new.html.haml +7 -0
- data/app/views/admin/snippets/remove.html.haml +17 -0
- data/app/views/admin/users/_avatar.html.haml +5 -0
- data/app/views/admin/users/_form.html.haml +53 -0
- data/app/views/admin/users/_password_fields.html.haml +18 -0
- data/app/views/admin/users/edit.html.haml +9 -0
- data/app/views/admin/users/index.html.haml +39 -0
- data/app/views/admin/users/new.html.haml +6 -0
- data/app/views/admin/users/remove.html.haml +16 -0
- data/app/views/admin/welcome/login.html.haml +23 -0
- data/app/views/layouts/application.html.haml +55 -0
- data/app/views/site/not_found.html.haml +3 -0
- data/bin/radiant +53 -0
- data/config/boot.rb +162 -0
- data/config/cucumber.yml +7 -0
- data/config/database.db2.yml +23 -0
- data/config/database.mysql.yml +28 -0
- data/config/database.postgresql.yml +28 -0
- data/config/database.sqlite.yml +19 -0
- data/config/database.sqlserver.yml +23 -0
- data/config/environment.rb +92 -0
- data/config/environments/cucumber.rb +29 -0
- data/config/environments/development.rb +17 -0
- data/config/environments/production.rb +24 -0
- data/config/environments/test.rb +38 -0
- data/config/initializers/haml.rb +2 -0
- data/config/locales/en.yml +227 -0
- data/config/locales/en_available_tags.yml +621 -0
- data/config/routes.rb +41 -0
- data/db/migrate/001_create_radiant_tables.rb +75 -0
- data/db/migrate/002_insert_initial_data.rb +12 -0
- data/db/migrate/003_rename_behavior_column.rb +9 -0
- data/db/migrate/004_rename_filter_column.rb +11 -0
- data/db/migrate/005_add_virtual_column_to_page.rb +9 -0
- data/db/migrate/006_integer_columns_to_boolean.rb +36 -0
- data/db/migrate/007_remove_virtual_column_from_page.rb +9 -0
- data/db/migrate/008_add_virtual_column_to_page_again.rb +9 -0
- data/db/migrate/009_add_content_type_field_to_layout.rb +9 -0
- data/db/migrate/010_merge_behaviors_and_pages.rb +57 -0
- data/db/migrate/011_rename_type_column_on_page_to_class_name.rb +9 -0
- data/db/migrate/012_create_extension_meta.rb +13 -0
- data/db/migrate/013_add_notes_field_to_user.rb +9 -0
- data/db/migrate/014_rename_config_default_parts_key.rb +17 -0
- data/db/migrate/015_add_optimistic_locking.rb +15 -0
- data/db/migrate/016_add_sessions.rb +16 -0
- data/db/migrate/017_rename_created_by_updated_by_columns.rb +15 -0
- data/db/migrate/018_add_description_and_keywords_to_pages.rb +11 -0
- data/db/migrate/019_add_salt_to_users.rb +11 -0
- data/db/migrate/020_add_session_info_to_users.rb +11 -0
- data/db/migrate/021_remove_session_expire_from_users.rb +9 -0
- data/db/migrate/20081203140407_add_indexes.rb +19 -0
- data/db/migrate/20090226140109_add_user_language.rb +9 -0
- data/db/migrate/20090929164633_rename_developer_role_to_designer.rb +9 -0
- data/db/migrate/20091003095744_change_user_language_to_locale.rb +9 -0
- data/db/schema.rb +119 -0
- data/features/admin/content_negotiation.feature +24 -0
- data/features/admin/layouts_management.feature +10 -0
- data/features/admin/pages_management.feature +78 -0
- data/features/admin/resource_pagination.feature +27 -0
- data/features/admin/snippets_management.feature +57 -0
- data/features/admin/user_permissions.feature +156 -0
- data/features/admin/user_preferences.feature +35 -0
- data/features/admin/users_management.feature +62 -0
- data/features/page_serving.feature +42 -0
- data/features/step_definitions/admin/admin_steps.rb +37 -0
- data/features/step_definitions/admin/content_negotiation_steps.rb +50 -0
- data/features/step_definitions/admin/pages_management_steps.rb +14 -0
- data/features/step_definitions/admin/pagination_steps.rb +44 -0
- data/features/step_definitions/admin/users_management_steps.rb +15 -0
- data/features/step_definitions/page_serving_steps.rb +46 -0
- data/features/step_definitions/web_steps.rb +273 -0
- data/features/support/dataset.rb +9 -0
- data/features/support/env.rb +58 -0
- data/features/support/paths.rb +61 -0
- data/lib/annotatable.rb +68 -0
- data/lib/autotest/discover.rb +3 -0
- data/lib/autotest/radiant_rails_rspec.rb +111 -0
- data/lib/generators/extension/USAGE +30 -0
- data/lib/generators/extension/extension_generator.rb +99 -0
- data/lib/generators/extension/templates/README +6 -0
- data/lib/generators/extension/templates/RSpecRakefile +117 -0
- data/lib/generators/extension/templates/Rakefile +25 -0
- data/lib/generators/extension/templates/cucumber.yml +1 -0
- data/lib/generators/extension/templates/cucumber_env.rb +16 -0
- data/lib/generators/extension/templates/cucumber_paths.rb +14 -0
- data/lib/generators/extension/templates/en.yml +3 -0
- data/lib/generators/extension/templates/extension.rb +23 -0
- data/lib/generators/extension/templates/functional_test.rb +15 -0
- data/lib/generators/extension/templates/migration.rb +9 -0
- data/lib/generators/extension/templates/routes.rb +5 -0
- data/lib/generators/extension/templates/spec.opts +6 -0
- data/lib/generators/extension/templates/spec_helper.rb +36 -0
- data/lib/generators/extension/templates/tasks.rake +55 -0
- data/lib/generators/extension/templates/test_helper.rb +26 -0
- data/lib/generators/extension_controller/USAGE +36 -0
- data/lib/generators/extension_controller/extension_controller_generator.rb +84 -0
- data/lib/generators/extension_controller/templates/controller.rb +10 -0
- data/lib/generators/extension_controller/templates/controller_spec.rb +23 -0
- data/lib/generators/extension_controller/templates/functional_test.rb +11 -0
- data/lib/generators/extension_controller/templates/helper.rb +2 -0
- data/lib/generators/extension_controller/templates/helper_spec.rb +11 -0
- data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
- data/lib/generators/extension_controller/templates/view.html.erb +2 -0
- data/lib/generators/extension_controller/templates/view_spec.rb +12 -0
- data/lib/generators/extension_mailer/USAGE +17 -0
- data/lib/generators/extension_mailer/extension_mailer_generator.rb +68 -0
- data/lib/generators/extension_mailer/templates/fixture.erb +3 -0
- data/lib/generators/extension_mailer/templates/mailer.rb +15 -0
- data/lib/generators/extension_mailer/templates/unit_test.rb +21 -0
- data/lib/generators/extension_mailer/templates/view.erb +3 -0
- data/lib/generators/extension_migration/USAGE +34 -0
- data/lib/generators/extension_migration/extension_migration_generator.rb +25 -0
- data/lib/generators/extension_migration/templates/migration.rb +11 -0
- data/lib/generators/extension_model/USAGE +35 -0
- data/lib/generators/extension_model/extension_model_generator.rb +68 -0
- data/lib/generators/extension_model/templates/fixtures.yml +19 -0
- data/lib/generators/extension_model/templates/migration.rb +16 -0
- data/lib/generators/extension_model/templates/model.rb +2 -0
- data/lib/generators/extension_model/templates/model_spec.rb +11 -0
- data/lib/generators/extension_model/templates/unit_test.rb +8 -0
- data/lib/generators/generator_base_extension.rb +16 -0
- data/lib/generators/instance/instance_generator.rb +119 -0
- data/lib/generators/instance/templates/databases/db2.yml +40 -0
- data/lib/generators/instance/templates/databases/mysql.yml +47 -0
- data/lib/generators/instance/templates/databases/postgresql.yml +44 -0
- data/lib/generators/instance/templates/databases/sqlite3.yml +16 -0
- data/lib/generators/instance/templates/databases/sqlserver.yml +21 -0
- data/lib/generators/instance/templates/instance_boot.rb +161 -0
- data/lib/generators/instance/templates/instance_environment.rb +86 -0
- data/lib/generators/instance/templates/instance_generate +18 -0
- data/lib/generators/instance/templates/instance_rakefile +3 -0
- data/lib/generators/instance/templates/instance_routes.rb +1 -0
- data/lib/generators/language_extension/USAGE +27 -0
- data/lib/generators/language_extension/language_extension_generator.rb +49 -0
- data/lib/generators/language_extension/templates/README +3 -0
- data/lib/generators/language_extension/templates/RSpecRakefile +123 -0
- data/lib/generators/language_extension/templates/Rakefile +25 -0
- data/lib/generators/language_extension/templates/available_tags.yml +553 -0
- data/lib/generators/language_extension/templates/cucumber.yml +1 -0
- data/lib/generators/language_extension/templates/cucumber_env.rb +16 -0
- data/lib/generators/language_extension/templates/cucumber_paths.rb +14 -0
- data/lib/generators/language_extension/templates/extension.rb +8 -0
- data/lib/generators/language_extension/templates/functional_test.rb +15 -0
- data/lib/generators/language_extension/templates/lang.yml +181 -0
- data/lib/generators/language_extension/templates/spec.opts +6 -0
- data/lib/generators/language_extension/templates/spec_helper.rb +36 -0
- data/lib/generators/language_extension/templates/tasks.rake +28 -0
- data/lib/generators/language_extension/templates/test_helper.rb +26 -0
- data/lib/inheritable_class_attributes.rb +65 -0
- data/lib/local_time.rb +6 -0
- data/lib/login_system.rb +128 -0
- data/lib/method_observer.rb +50 -0
- data/lib/plugins/active_record_extensions/init.rb +1 -0
- data/lib/plugins/active_record_extensions/lib/active_record_extensions.rb +18 -0
- data/lib/plugins/extension_patches/init.rb +1 -0
- data/lib/plugins/extension_patches/lib/routing_extension.rb +31 -0
- data/lib/plugins/object_extensions/init.rb +1 -0
- data/lib/plugins/object_extensions/lib/object_extensions.rb +5 -0
- data/lib/plugins/response_cache_timeout/init.rb +3 -0
- data/lib/plugins/string_extensions/init.rb +1 -0
- data/lib/plugins/string_extensions/lib/string_extensions.rb +23 -0
- data/lib/plugins/symbol_extensions/init.rb +1 -0
- data/lib/plugins/symbol_extensions/lib/symbol_extensions.rb +5 -0
- data/lib/radiant.rb +19 -0
- data/lib/radiant/admin_ui.rb +257 -0
- data/lib/radiant/admin_ui/region_partials.rb +18 -0
- data/lib/radiant/admin_ui/region_set.rb +35 -0
- data/lib/radiant/available_locales.rb +31 -0
- data/lib/radiant/cache.rb +98 -0
- data/lib/radiant/extension.rb +132 -0
- data/lib/radiant/extension/script.rb +393 -0
- data/lib/radiant/extension_loader.rb +171 -0
- data/lib/radiant/extension_migrator.rb +86 -0
- data/lib/radiant/initializer.rb +296 -0
- data/lib/radiant/legacy_routes.rb +72 -0
- data/lib/radiant/pagination/controller.rb +34 -0
- data/lib/radiant/pagination/link_renderer.rb +34 -0
- data/lib/radiant/resource_responses.rb +115 -0
- data/lib/radiant/setup.rb +223 -0
- data/lib/radiant/taggable.rb +92 -0
- data/lib/simpleton.rb +21 -0
- data/lib/task_support.rb +64 -0
- data/lib/tasks/ci.rake +17 -0
- data/lib/tasks/cucumber.rake +47 -0
- data/lib/tasks/database.rake +31 -0
- data/lib/tasks/environments.rake +11 -0
- data/lib/tasks/extensions.rake +97 -0
- data/lib/tasks/framework.rake +213 -0
- data/lib/tasks/instance.rake +23 -0
- data/lib/tasks/prototype.rake +34 -0
- data/lib/tasks/radiant_config.rake +18 -0
- data/lib/tasks/release.rake +130 -0
- data/lib/tasks/rspec.rake +221 -0
- data/lib/tasks/translate.rake +59 -0
- data/lib/tasks/undefine.rake +28 -0
- data/lib/translation_support.rb +54 -0
- data/log/.keep +0 -0
- data/public/.htaccess +40 -0
- data/public/404.html +8 -0
- data/public/500.html +8 -0
- data/public/dispatch.cgi +10 -0
- data/public/dispatch.fcgi +24 -0
- data/public/dispatch.rb +10 -0
- data/public/favicon.ico +0 -0
- data/public/images/admin/add_tab.png +0 -0
- data/public/images/admin/avatar_32x32.png +0 -0
- data/public/images/admin/avatar_96x96.png +0 -0
- data/public/images/admin/brown_bottom_line.gif +0 -0
- data/public/images/admin/buttons_background.png +0 -0
- data/public/images/admin/calendar_down.gif +0 -0
- data/public/images/admin/collapse.png +0 -0
- data/public/images/admin/draft_page.png +0 -0
- data/public/images/admin/expand.png +0 -0
- data/public/images/admin/layout.png +0 -0
- data/public/images/admin/login_shadow.png +0 -0
- data/public/images/admin/metadata_toggle.png +0 -0
- data/public/images/admin/minus.png +0 -0
- data/public/images/admin/minus_disabled.png +0 -0
- data/public/images/admin/minus_grey.png +0 -0
- data/public/images/admin/navigation_background.gif +0 -0
- data/public/images/admin/navigation_secondary_background.png +0 -0
- data/public/images/admin/navigation_secondary_separator.gif +0 -0
- data/public/images/admin/navigation_shadow.png +0 -0
- data/public/images/admin/navigation_tabs.png +0 -0
- data/public/images/admin/new_homepage.png +0 -0
- data/public/images/admin/new_layout.png +0 -0
- data/public/images/admin/new_snippet.png +0 -0
- data/public/images/admin/new_user.png +0 -0
- data/public/images/admin/page.png +0 -0
- data/public/images/admin/plus.png +0 -0
- data/public/images/admin/plus_grey.png +0 -0
- data/public/images/admin/popup_border_background.png +0 -0
- data/public/images/admin/popup_border_bottom_left.png +0 -0
- data/public/images/admin/popup_border_bottom_right.png +0 -0
- data/public/images/admin/popup_border_top_left.png +0 -0
- data/public/images/admin/popup_border_top_right.png +0 -0
- data/public/images/admin/shadow.png +0 -0
- data/public/images/admin/shadow_grey.png +0 -0
- data/public/images/admin/single_form_shadow.png +0 -0
- data/public/images/admin/snippet.png +0 -0
- data/public/images/admin/spacer.gif +0 -0
- data/public/images/admin/spinner.gif +0 -0
- data/public/images/admin/status_background.png +0 -0
- data/public/images/admin/status_bottom_left.png +0 -0
- data/public/images/admin/status_bottom_right.png +0 -0
- data/public/images/admin/status_spinner.gif +0 -0
- data/public/images/admin/status_top_left.png +0 -0
- data/public/images/admin/status_top_right.png +0 -0
- data/public/images/admin/tab_close.png +0 -0
- data/public/images/admin/vertical_tan_gradient.png +0 -0
- data/public/images/admin/view_site.png +0 -0
- data/public/images/admin/virtual_page.png +0 -0
- data/public/images/radiant-badge-color.png +0 -0
- data/public/javascripts/admin/application.js +85 -0
- data/public/javascripts/admin/codearea.js +165 -0
- data/public/javascripts/admin/controls.js +965 -0
- data/public/javascripts/admin/cookie.js +80 -0
- data/public/javascripts/admin/dateinput.js +402 -0
- data/public/javascripts/admin/dragdrop.js +974 -0
- data/public/javascripts/admin/effects.js +1122 -0
- data/public/javascripts/admin/lowpro.js +340 -0
- data/public/javascripts/admin/overrides.js +1 -0
- data/public/javascripts/admin/pagestatus.js +17 -0
- data/public/javascripts/admin/popup.js +216 -0
- data/public/javascripts/admin/prototype.js +4874 -0
- data/public/javascripts/admin/ruledtable.js +13 -0
- data/public/javascripts/admin/shortcuts.js +27 -0
- data/public/javascripts/admin/sitemap.js +149 -0
- data/public/javascripts/admin/status.js +233 -0
- data/public/javascripts/admin/tabcontrol.js +122 -0
- data/public/javascripts/admin/toggle.js +430 -0
- data/public/javascripts/admin/utility.js +53 -0
- data/public/javascripts/admin/validationerror.js +18 -0
- data/public/robots.txt +1 -0
- data/public/stylesheets/admin/main.css +1 -0
- data/public/stylesheets/admin/overrides.css +0 -0
- data/public/stylesheets/sass/admin/main.sass +31 -0
- data/public/stylesheets/sass/admin/modules/_grid.sass +56 -0
- data/public/stylesheets/sass/admin/modules/_links.sass +18 -0
- data/public/stylesheets/sass/admin/modules/_opacity.sass +7 -0
- data/public/stylesheets/sass/admin/modules/_rounded.sass +41 -0
- data/public/stylesheets/sass/admin/modules/_shadow.sass +12 -0
- data/public/stylesheets/sass/admin/overrides.sass +2 -0
- data/public/stylesheets/sass/admin/partials/_actions.sass +98 -0
- data/public/stylesheets/sass/admin/partials/_avatars.sass +10 -0
- data/public/stylesheets/sass/admin/partials/_base.sass +7 -0
- data/public/stylesheets/sass/admin/partials/_content.sass +27 -0
- data/public/stylesheets/sass/admin/partials/_dateinput.sass +62 -0
- data/public/stylesheets/sass/admin/partials/_deprecated.sass +26 -0
- data/public/stylesheets/sass/admin/partials/_footer.sass +12 -0
- data/public/stylesheets/sass/admin/partials/_forms.sass +310 -0
- data/public/stylesheets/sass/admin/partials/_header.sass +112 -0
- data/public/stylesheets/sass/admin/partials/_layout.sass +10 -0
- data/public/stylesheets/sass/admin/partials/_messages.sass +10 -0
- data/public/stylesheets/sass/admin/partials/_popup.sass +117 -0
- data/public/stylesheets/sass/admin/partials/_reset.sass +36 -0
- data/public/stylesheets/sass/admin/partials/_tabcontrol.sass +71 -0
- data/public/stylesheets/sass/admin/partials/_toolbar.sass +31 -0
- data/public/stylesheets/sass/admin/partials/_validations.sass +21 -0
- data/script/about +3 -0
- data/script/autospec +5 -0
- data/script/breakpointer +3 -0
- data/script/console +3 -0
- data/script/cucumber +10 -0
- data/script/dbconsole +3 -0
- data/script/destroy +3 -0
- data/script/extension +5 -0
- data/script/generate +4 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/performance/request +3 -0
- data/script/plugin +3 -0
- data/script/process/inspector +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/process/spinner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/script/spec +5 -0
- data/script/spec_server +116 -0
- data/script/version +5 -0
- data/spec/controllers/admin/extensions_controller_spec.rb +36 -0
- data/spec/controllers/admin/layouts_controller_spec.rb +102 -0
- data/spec/controllers/admin/pages_controller_spec.rb +289 -0
- data/spec/controllers/admin/paginated_controller_spec.rb +26 -0
- data/spec/controllers/admin/preferences_controller_spec.rb +57 -0
- data/spec/controllers/admin/references_controller_spec.rb +15 -0
- data/spec/controllers/admin/snippets_controller_spec.rb +110 -0
- data/spec/controllers/admin/users_controller_spec.rb +101 -0
- data/spec/controllers/admin/welcome_controller_spec.rb +98 -0
- data/spec/controllers/application_controller_spec.rb +88 -0
- data/spec/controllers/site_controller_spec.rb +182 -0
- data/spec/datasets/config_dataset.rb +12 -0
- data/spec/datasets/file_not_found_dataset.rb +22 -0
- data/spec/datasets/home_page_dataset.rb +62 -0
- data/spec/datasets/layouts_dataset.rb +58 -0
- data/spec/datasets/markup_pages_dataset.rb +13 -0
- data/spec/datasets/pages_dataset.rb +65 -0
- data/spec/datasets/pages_with_layouts_dataset.rb +10 -0
- data/spec/datasets/snippets_dataset.rb +38 -0
- data/spec/datasets/users_and_pages_dataset.rb +9 -0
- data/spec/datasets/users_dataset.rb +56 -0
- data/spec/fixtures/example_extension/README +3 -0
- data/spec/fixtures/example_extension/Rakefile +120 -0
- data/spec/fixtures/example_extension/example_extension.rb +21 -0
- data/spec/fixtures/example_extension/lib/tasks/example_extension_tasks.rake +28 -0
- data/spec/fixtures/example_extension/spec/spec.opts +6 -0
- data/spec/fixtures/example_extension/spec/spec_helper.rb +36 -0
- data/spec/fixtures/radiant_config.yml +10 -0
- data/spec/fixtures/sample.txt +1 -0
- data/spec/generators/extension_controller_generator_spec.rb +95 -0
- data/spec/generators/extension_generator_spec.rb +235 -0
- data/spec/generators/extension_generators_spec_helper.rb +166 -0
- data/spec/generators/extension_mailer_generator_spec.rb +60 -0
- data/spec/generators/extension_migration_generator_spec.rb +21 -0
- data/spec/generators/extension_model_generator_spec.rb +61 -0
- data/spec/generators/instance_generator_spec.rb +159 -0
- data/spec/helpers/admin/abstract_model_helper_spec.rb +4 -0
- data/spec/helpers/admin/export_helper_spec.rb +4 -0
- data/spec/helpers/admin/extensions_helper_spec.rb +4 -0
- data/spec/helpers/admin/layouts_helper_spec.rb +4 -0
- data/spec/helpers/admin/node_helper_spec.rb +106 -0
- data/spec/helpers/admin/pages_helper_spec.rb +63 -0
- data/spec/helpers/admin/preferences_helper_spec.rb +11 -0
- data/spec/helpers/admin/references_helper_spec.rb +124 -0
- data/spec/helpers/admin/regions_helper_spec.rb +47 -0
- data/spec/helpers/admin/snippets_helper_spec.rb +4 -0
- data/spec/helpers/admin/users_helper_spec.rb +11 -0
- data/spec/helpers/admin/welcome_helper_spec.rb +4 -0
- data/spec/helpers/application_helper_spec.rb +263 -0
- data/spec/helpers/site_helper_spec.rb +4 -0
- data/spec/lib/annotatable_spec.rb +86 -0
- data/spec/lib/autotest_spec.rb +81 -0
- data/spec/lib/core_ext/string_ext_spec.rb +11 -0
- data/spec/lib/inheritable_class_attributes_spec.rb +90 -0
- data/spec/lib/login_system_spec.rb +195 -0
- data/spec/lib/method_observer_spec.rb +48 -0
- data/spec/lib/radiant/admin_ui/nav_tabs_spec.rb +139 -0
- data/spec/lib/radiant/admin_ui/region_partials_spec.rb +35 -0
- data/spec/lib/radiant/admin_ui/region_set_spec.rb +61 -0
- data/spec/lib/radiant/admin_ui_spec.rb +121 -0
- data/spec/lib/radiant/available_locales_spec.rb +13 -0
- data/spec/lib/radiant/extension/script_spec.rb +473 -0
- data/spec/lib/radiant/extension_loader_spec.rb +248 -0
- data/spec/lib/radiant/extension_migrator_spec.rb +46 -0
- data/spec/lib/radiant/extension_spec.rb +132 -0
- data/spec/lib/radiant/initializer_spec.rb +168 -0
- data/spec/lib/radiant/legacy_routes_spec.rb +14 -0
- data/spec/lib/radiant/resource_responses_spec.rb +207 -0
- data/spec/lib/radiant/taggable_spec.rb +188 -0
- data/spec/lib/radiant_spec.rb +30 -0
- data/spec/lib/simpleton_spec.rb +45 -0
- data/spec/lib/task_support_spec.rb +93 -0
- data/spec/lib/translation_support_spec.rb +16 -0
- data/spec/matchers/autotest_matchers.rb +47 -0
- data/spec/matchers/generator_matchers.rb +235 -0
- data/spec/matchers/login_system_matcher.rb +79 -0
- data/spec/matchers/render_form_errors_matcher.rb +62 -0
- data/spec/matchers/render_matcher.rb +133 -0
- data/spec/models/file_not_found_page_spec.rb +35 -0
- data/spec/models/layout_spec.rb +29 -0
- data/spec/models/page_context_spec.rb +66 -0
- data/spec/models/page_part_spec.rb +67 -0
- data/spec/models/page_spec.rb +687 -0
- data/spec/models/radiant/config_spec.rb +149 -0
- data/spec/models/snippet_spec.rb +41 -0
- data/spec/models/standard_tags_spec.rb +1146 -0
- data/spec/models/status_spec.rb +64 -0
- data/spec/models/text_filter_spec.rb +44 -0
- data/spec/models/user_action_observer_spec.rb +34 -0
- data/spec/models/user_spec.rb +209 -0
- data/spec/rcov.opts +2 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +74 -0
- data/test/fixtures/extensions/basic/app/controllers/basic_extension_controller.rb +7 -0
- data/test/fixtures/extensions/basic/app/metal/basic_metal.rb +9 -0
- data/test/fixtures/extensions/basic/app/models/basic_extension_mailer.rb +4 -0
- data/test/fixtures/extensions/basic/app/models/basic_extension_model.rb +2 -0
- data/test/fixtures/extensions/basic/app/views/basic_extension/index.html.erb +1 -0
- data/test/fixtures/extensions/basic/app/views/basic_extension/override.html.erb +1 -0
- data/test/fixtures/extensions/basic/app/views/basic_extension_mailer/message.text.html.erb +1 -0
- data/test/fixtures/extensions/basic/basic_extension.rb +11 -0
- data/test/fixtures/extensions/basic/db/migrate/200812131420_create_initial_schema.rb +10 -0
- data/test/fixtures/extensions/basic/db/migrate/200812131421_modify_initial_schema.rb +10 -0
- data/test/fixtures/extensions/basic/lib/new_module.rb +2 -0
- data/test/fixtures/extensions/basic/vendor/plugins/multiple/init.rb +1 -0
- data/test/fixtures/extensions/basic/vendor/plugins/multiple/lib/multiple.rb +2 -0
- data/test/fixtures/extensions/basic/vendor/plugins/plugin_normal/init.rb +1 -0
- data/test/fixtures/extensions/basic/vendor/plugins/plugin_normal/lib/normal_plugin.rb +2 -0
- data/test/fixtures/extensions/load_order_blue/load_order_blue_extension.rb +8 -0
- data/test/fixtures/extensions/load_order_green/load_order_green_extension.rb +8 -0
- data/test/fixtures/extensions/load_order_red/load_order_red_extension.rb +8 -0
- data/test/fixtures/extensions/locale/config/locales/en-uk.yml +3 -0
- data/test/fixtures/extensions/locale/config/locales/en.yml +3 -0
- data/test/fixtures/extensions/locale/locale_extension.rb +5 -0
- data/test/fixtures/extensions/overriding/app/metal/basic_metal.rb +9 -0
- data/test/fixtures/extensions/overriding/app/views/basic_extension/override.html.erb +1 -0
- data/test/fixtures/extensions/overriding/overriding_extension.rb +8 -0
- data/test/fixtures/extensions/overriding/vendor/plugins/multiple/init.rb +1 -0
- data/test/fixtures/extensions/overriding/vendor/plugins/multiple/lib/multiple.rb +2 -0
- data/test/fixtures/extensions/routed/config/routes.rb +1 -0
- data/test/fixtures/extensions/routed/routed_extension.rb +2 -0
- data/test/fixtures/extensions/special_characters/db/migrate/001_create_initial_schema.rb +10 -0
- data/test/fixtures/extensions/special_characters/special_characters_extension.rb +3 -0
- data/test/fixtures/extensions/upgrading/db/migrate/01_first.rb +7 -0
- data/test/fixtures/extensions/upgrading/db/migrate/02_second.rb +7 -0
- data/test/fixtures/extensions/upgrading/db/migrate/03_pending.rb +7 -0
- data/test/fixtures/extensions/upgrading/db/migrate/04_dont_run.rb +7 -0
- data/test/fixtures/extensions/upgrading/upgrading_extension.rb +2 -0
- data/test/fixtures/gems/misnamed_ext-0.0.0/misnamed_ext_extension.rb +2 -0
- data/test/fixtures/gems/radiant-gem_ext-extension-0.0.0/gem_ext_extension.rb +2 -0
- data/test/fixtures/gems/radiant-gem_ext-extension-0.0.0/lib/gem_ext.rb +3 -0
- data/test/helpers/page_test_helper.rb +79 -0
- data/test/helpers/render_test_helper.rb +60 -0
- data/test/helpers/user_test_helper.rb +35 -0
- data/test/helpers/validation_test_helper.rb +42 -0
- data/test/test_helper.rb +64 -0
- data/vendor/highline/CHANGELOG +222 -0
- data/vendor/highline/INSTALL +35 -0
- data/vendor/highline/LICENSE +7 -0
- data/vendor/highline/README +63 -0
- data/vendor/highline/Rakefile +82 -0
- data/vendor/highline/TODO +6 -0
- data/vendor/highline/examples/ansi_colors.rb +38 -0
- data/vendor/highline/examples/asking_for_arrays.rb +18 -0
- data/vendor/highline/examples/basic_usage.rb +75 -0
- data/vendor/highline/examples/color_scheme.rb +32 -0
- data/vendor/highline/examples/limit.rb +12 -0
- data/vendor/highline/examples/menus.rb +65 -0
- data/vendor/highline/examples/overwrite.rb +19 -0
- data/vendor/highline/examples/page_and_wrap.rb +322 -0
- data/vendor/highline/examples/password.rb +7 -0
- data/vendor/highline/examples/trapping_eof.rb +22 -0
- data/vendor/highline/examples/using_readline.rb +17 -0
- data/vendor/highline/lib/highline.rb +758 -0
- data/vendor/highline/lib/highline/color_scheme.rb +120 -0
- data/vendor/highline/lib/highline/compatibility.rb +17 -0
- data/vendor/highline/lib/highline/import.rb +43 -0
- data/vendor/highline/lib/highline/menu.rb +395 -0
- data/vendor/highline/lib/highline/question.rb +463 -0
- data/vendor/highline/lib/highline/system_extensions.rb +193 -0
- data/vendor/highline/setup.rb +1360 -0
- data/vendor/highline/test/tc_color_scheme.rb +56 -0
- data/vendor/highline/test/tc_highline.rb +823 -0
- data/vendor/highline/test/tc_import.rb +54 -0
- data/vendor/highline/test/tc_menu.rb +429 -0
- data/vendor/highline/test/ts_all.rb +15 -0
- data/vendor/plugins/acts_as_tree/README +26 -0
- data/vendor/plugins/acts_as_tree/Rakefile +22 -0
- data/vendor/plugins/acts_as_tree/init.rb +1 -0
- data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +96 -0
- data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +219 -0
- data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/vendor/plugins/dataset/CHANGELOG +59 -0
- data/vendor/plugins/dataset/LICENSE +19 -0
- data/vendor/plugins/dataset/README +111 -0
- data/vendor/plugins/dataset/Rakefile +31 -0
- data/vendor/plugins/dataset/TODO +15 -0
- data/vendor/plugins/dataset/VERSION.yml +4 -0
- data/vendor/plugins/dataset/dataset.gemspec +33 -0
- data/vendor/plugins/dataset/lib/dataset.rb +128 -0
- data/vendor/plugins/dataset/lib/dataset/base.rb +157 -0
- data/vendor/plugins/dataset/lib/dataset/collection.rb +19 -0
- data/vendor/plugins/dataset/lib/dataset/database/base.rb +30 -0
- data/vendor/plugins/dataset/lib/dataset/database/mysql.rb +34 -0
- data/vendor/plugins/dataset/lib/dataset/database/postgresql.rb +34 -0
- data/vendor/plugins/dataset/lib/dataset/database/sqlite3.rb +32 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/cucumber.rb +21 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/rspec.rb +21 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/test_unit.rb +60 -0
- data/vendor/plugins/dataset/lib/dataset/instance_methods.rb +10 -0
- data/vendor/plugins/dataset/lib/dataset/load.rb +37 -0
- data/vendor/plugins/dataset/lib/dataset/record/fixture.rb +73 -0
- data/vendor/plugins/dataset/lib/dataset/record/meta.rb +66 -0
- data/vendor/plugins/dataset/lib/dataset/record/model.rb +50 -0
- data/vendor/plugins/dataset/lib/dataset/resolver.rb +110 -0
- data/vendor/plugins/dataset/lib/dataset/session.rb +35 -0
- data/vendor/plugins/dataset/lib/dataset/session_binding.rb +307 -0
- data/vendor/plugins/dataset/lib/dataset/version.rb +9 -0
- data/vendor/plugins/dataset/spec/dataset/cucumber_spec.rb +54 -0
- data/vendor/plugins/dataset/spec/dataset/database/base_spec.rb +21 -0
- data/vendor/plugins/dataset/spec/dataset/record/meta_spec.rb +14 -0
- data/vendor/plugins/dataset/spec/dataset/resolver_spec.rb +110 -0
- data/vendor/plugins/dataset/spec/dataset/rspec_spec.rb +133 -0
- data/vendor/plugins/dataset/spec/dataset/session_binding_spec.rb +198 -0
- data/vendor/plugins/dataset/spec/dataset/session_spec.rb +299 -0
- data/vendor/plugins/dataset/spec/dataset/test_unit_spec.rb +210 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/constant_not_defined.rb +0 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/ending_with_dataset.rb +2 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/exact_name.rb +2 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/not_a_dataset_base.rb +2 -0
- data/vendor/plugins/dataset/spec/fixtures/more_datasets/in_another_directory.rb +2 -0
- data/vendor/plugins/dataset/spec/models.rb +18 -0
- data/vendor/plugins/dataset/spec/schema.rb +26 -0
- data/vendor/plugins/dataset/spec/spec.opts +7 -0
- data/vendor/plugins/dataset/spec/spec_helper.rb +47 -0
- data/vendor/plugins/dataset/spec/stubs/mini_rails.rb +18 -0
- data/vendor/plugins/dataset/spec/stubs/test_help.rb +1 -0
- data/vendor/plugins/dataset/tasks/dataset.rake +19 -0
- data/vendor/plugins/haml/CONTRIBUTING +4 -0
- data/vendor/plugins/haml/MIT-LICENSE +20 -0
- data/vendor/plugins/haml/README.md +298 -0
- data/vendor/plugins/haml/Rakefile +436 -0
- data/vendor/plugins/haml/TODO +53 -0
- data/vendor/plugins/haml/VERSION +1 -0
- data/vendor/plugins/haml/VERSION_NAME +1 -0
- data/vendor/plugins/haml/bin/css2sass +13 -0
- data/vendor/plugins/haml/bin/haml +9 -0
- data/vendor/plugins/haml/bin/html2haml +7 -0
- data/vendor/plugins/haml/bin/sass +8 -0
- data/vendor/plugins/haml/doc-src/FAQ.md +187 -0
- data/vendor/plugins/haml/doc-src/HAML_CHANGELOG.md +1091 -0
- data/vendor/plugins/haml/doc-src/HAML_REFERENCE.md +1344 -0
- data/vendor/plugins/haml/doc-src/SASS_CHANGELOG.md +1914 -0
- data/vendor/plugins/haml/doc-src/SASS_REFERENCE.md +1680 -0
- data/vendor/plugins/haml/extra/haml-mode.el +753 -0
- data/vendor/plugins/haml/extra/sass-mode.el +207 -0
- data/vendor/plugins/haml/extra/update_watch.rb +13 -0
- data/vendor/plugins/haml/haml.gemspec +35 -0
- data/vendor/plugins/haml/init.rb +18 -0
- data/vendor/plugins/haml/lib/haml.rb +44 -0
- data/vendor/plugins/haml/lib/haml/buffer.rb +320 -0
- data/vendor/plugins/haml/lib/haml/engine.rb +308 -0
- data/vendor/plugins/haml/lib/haml/error.rb +22 -0
- data/vendor/plugins/haml/lib/haml/exec.rb +862 -0
- data/vendor/plugins/haml/lib/haml/filters.rb +371 -0
- data/vendor/plugins/haml/lib/haml/helpers.rb +605 -0
- data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +57 -0
- data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +244 -0
- data/vendor/plugins/haml/lib/haml/helpers/xss_mods.rb +165 -0
- data/vendor/plugins/haml/lib/haml/html.rb +428 -0
- data/vendor/plugins/haml/lib/haml/precompiler.rb +1104 -0
- data/vendor/plugins/haml/lib/haml/railtie.rb +21 -0
- data/vendor/plugins/haml/lib/haml/shared.rb +78 -0
- data/vendor/plugins/haml/lib/haml/template.rb +97 -0
- data/vendor/plugins/haml/lib/haml/template/patch.rb +58 -0
- data/vendor/plugins/haml/lib/haml/template/plugin.rb +122 -0
- data/vendor/plugins/haml/lib/haml/util.rb +809 -0
- data/vendor/plugins/haml/lib/haml/version.rb +102 -0
- data/vendor/plugins/haml/lib/sass.rb +29 -0
- data/vendor/plugins/haml/lib/sass/css.rb +294 -0
- data/vendor/plugins/haml/lib/sass/engine.rb +720 -0
- data/vendor/plugins/haml/lib/sass/environment.rb +143 -0
- data/vendor/plugins/haml/lib/sass/error.rb +198 -0
- data/vendor/plugins/haml/lib/sass/files.rb +160 -0
- data/vendor/plugins/haml/lib/sass/plugin.rb +276 -0
- data/vendor/plugins/haml/lib/sass/plugin/merb.rb +37 -0
- data/vendor/plugins/haml/lib/sass/plugin/rack.rb +47 -0
- data/vendor/plugins/haml/lib/sass/plugin/rails.rb +32 -0
- data/vendor/plugins/haml/lib/sass/repl.rb +58 -0
- data/vendor/plugins/haml/lib/sass/script.rb +63 -0
- data/vendor/plugins/haml/lib/sass/script/bool.rb +18 -0
- data/vendor/plugins/haml/lib/sass/script/color.rb +491 -0
- data/vendor/plugins/haml/lib/sass/script/funcall.rb +77 -0
- data/vendor/plugins/haml/lib/sass/script/functions.rb +861 -0
- data/vendor/plugins/haml/lib/sass/script/lexer.rb +337 -0
- data/vendor/plugins/haml/lib/sass/script/literal.rb +236 -0
- data/vendor/plugins/haml/lib/sass/script/node.rb +112 -0
- data/vendor/plugins/haml/lib/sass/script/number.rb +423 -0
- data/vendor/plugins/haml/lib/sass/script/operation.rb +95 -0
- data/vendor/plugins/haml/lib/sass/script/parser.rb +401 -0
- data/vendor/plugins/haml/lib/sass/script/string.rb +67 -0
- data/vendor/plugins/haml/lib/sass/script/unary_operation.rb +57 -0
- data/vendor/plugins/haml/lib/sass/script/variable.rb +48 -0
- data/vendor/plugins/haml/lib/sass/tree/comment_node.rb +128 -0
- data/vendor/plugins/haml/lib/sass/tree/debug_node.rb +36 -0
- data/vendor/plugins/haml/lib/sass/tree/directive_node.rb +75 -0
- data/vendor/plugins/haml/lib/sass/tree/for_node.rb +67 -0
- data/vendor/plugins/haml/lib/sass/tree/if_node.rb +81 -0
- data/vendor/plugins/haml/lib/sass/tree/import_node.rb +102 -0
- data/vendor/plugins/haml/lib/sass/tree/mixin_def_node.rb +60 -0
- data/vendor/plugins/haml/lib/sass/tree/mixin_node.rb +123 -0
- data/vendor/plugins/haml/lib/sass/tree/node.rb +465 -0
- data/vendor/plugins/haml/lib/sass/tree/prop_node.rb +220 -0
- data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +273 -0
- data/vendor/plugins/haml/lib/sass/tree/variable_node.rb +39 -0
- data/vendor/plugins/haml/lib/sass/tree/while_node.rb +48 -0
- data/vendor/plugins/haml/rails/init.rb +1 -0
- data/vendor/plugins/haml/test/benchmark.rb +99 -0
- data/vendor/plugins/haml/test/haml/engine_test.rb +1805 -0
- data/vendor/plugins/haml/test/haml/helper_test.rb +450 -0
- data/vendor/plugins/haml/test/haml/html2haml_test.rb +336 -0
- data/vendor/plugins/haml/test/haml/markaby/standard.mab +52 -0
- data/vendor/plugins/haml/test/haml/mocks/article.rb +6 -0
- data/vendor/plugins/haml/test/haml/results/content_for_layout.xhtml +12 -0
- data/vendor/plugins/haml/test/haml/results/eval_suppressed.xhtml +9 -0
- data/vendor/plugins/haml/test/haml/results/filters.xhtml +62 -0
- data/vendor/plugins/haml/test/haml/results/helpers.xhtml +70 -0
- data/vendor/plugins/haml/test/haml/results/helpful.xhtml +10 -0
- data/vendor/plugins/haml/test/haml/results/just_stuff.xhtml +70 -0
- data/vendor/plugins/haml/test/haml/results/list.xhtml +12 -0
- data/vendor/plugins/haml/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
- data/vendor/plugins/haml/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
- data/vendor/plugins/haml/test/haml/results/original_engine.xhtml +20 -0
- data/vendor/plugins/haml/test/haml/results/partial_layout.xhtml +5 -0
- data/vendor/plugins/haml/test/haml/results/partials.xhtml +21 -0
- data/vendor/plugins/haml/test/haml/results/render_layout.xhtml +3 -0
- data/vendor/plugins/haml/test/haml/results/silent_script.xhtml +74 -0
- data/vendor/plugins/haml/test/haml/results/standard.xhtml +162 -0
- data/vendor/plugins/haml/test/haml/results/tag_parsing.xhtml +23 -0
- data/vendor/plugins/haml/test/haml/results/very_basic.xhtml +5 -0
- data/vendor/plugins/haml/test/haml/results/whitespace_handling.xhtml +89 -0
- data/vendor/plugins/haml/test/haml/template_test.rb +417 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_1.haml +9 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_1_ugly.haml +9 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_2.haml +5 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_2_ugly.haml +5 -0
- data/vendor/plugins/haml/test/haml/templates/_layout.erb +3 -0
- data/vendor/plugins/haml/test/haml/templates/_layout_for_partial.haml +3 -0
- data/vendor/plugins/haml/test/haml/templates/_partial.haml +8 -0
- data/vendor/plugins/haml/test/haml/templates/_text_area.haml +3 -0
- data/vendor/plugins/haml/test/haml/templates/action_view.haml +47 -0
- data/vendor/plugins/haml/test/haml/templates/action_view_ugly.haml +47 -0
- data/vendor/plugins/haml/test/haml/templates/breakage.haml +8 -0
- data/vendor/plugins/haml/test/haml/templates/content_for_layout.haml +8 -0
- data/vendor/plugins/haml/test/haml/templates/eval_suppressed.haml +11 -0
- data/vendor/plugins/haml/test/haml/templates/filters.haml +66 -0
- data/vendor/plugins/haml/test/haml/templates/helpers.haml +55 -0
- data/vendor/plugins/haml/test/haml/templates/helpful.haml +11 -0
- data/vendor/plugins/haml/test/haml/templates/just_stuff.haml +85 -0
- data/vendor/plugins/haml/test/haml/templates/list.haml +12 -0
- data/vendor/plugins/haml/test/haml/templates/nuke_inner_whitespace.haml +32 -0
- data/vendor/plugins/haml/test/haml/templates/nuke_outer_whitespace.haml +144 -0
- data/vendor/plugins/haml/test/haml/templates/original_engine.haml +17 -0
- data/vendor/plugins/haml/test/haml/templates/partial_layout.haml +7 -0
- data/vendor/plugins/haml/test/haml/templates/partialize.haml +1 -0
- data/vendor/plugins/haml/test/haml/templates/partials.haml +12 -0
- data/vendor/plugins/haml/test/haml/templates/render_layout.haml +2 -0
- data/vendor/plugins/haml/test/haml/templates/silent_script.haml +40 -0
- data/vendor/plugins/haml/test/haml/templates/standard.haml +42 -0
- data/vendor/plugins/haml/test/haml/templates/standard_ugly.haml +42 -0
- data/vendor/plugins/haml/test/haml/templates/tag_parsing.haml +21 -0
- data/vendor/plugins/haml/test/haml/templates/very_basic.haml +4 -0
- data/vendor/plugins/haml/test/haml/templates/whitespace_handling.haml +87 -0
- data/vendor/plugins/haml/test/haml/util_test.rb +268 -0
- data/vendor/plugins/haml/test/linked_rails.rb +42 -0
- data/vendor/plugins/haml/test/sass/css2sass_test.rb +364 -0
- data/vendor/plugins/haml/test/sass/engine_test.rb +2263 -0
- data/vendor/plugins/haml/test/sass/functions_test.rb +556 -0
- data/vendor/plugins/haml/test/sass/more_results/more1.css +9 -0
- data/vendor/plugins/haml/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/vendor/plugins/haml/test/sass/more_results/more_import.css +29 -0
- data/vendor/plugins/haml/test/sass/more_templates/_more_partial.sass +2 -0
- data/vendor/plugins/haml/test/sass/more_templates/more1.sass +23 -0
- data/vendor/plugins/haml/test/sass/more_templates/more_import.sass +11 -0
- data/vendor/plugins/haml/test/sass/plugin_test.rb +433 -0
- data/vendor/plugins/haml/test/sass/results/alt.css +4 -0
- data/vendor/plugins/haml/test/sass/results/basic.css +9 -0
- data/vendor/plugins/haml/test/sass/results/compact.css +5 -0
- data/vendor/plugins/haml/test/sass/results/complex.css +86 -0
- data/vendor/plugins/haml/test/sass/results/compressed.css +1 -0
- data/vendor/plugins/haml/test/sass/results/expanded.css +19 -0
- data/vendor/plugins/haml/test/sass/results/import.css +31 -0
- data/vendor/plugins/haml/test/sass/results/line_numbers.css +49 -0
- data/vendor/plugins/haml/test/sass/results/mixins.css +95 -0
- data/vendor/plugins/haml/test/sass/results/multiline.css +24 -0
- data/vendor/plugins/haml/test/sass/results/nested.css +22 -0
- data/vendor/plugins/haml/test/sass/results/parent_ref.css +13 -0
- data/vendor/plugins/haml/test/sass/results/script.css +16 -0
- data/vendor/plugins/haml/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/vendor/plugins/haml/test/sass/results/subdir/subdir.css +3 -0
- data/vendor/plugins/haml/test/sass/results/units.css +11 -0
- data/vendor/plugins/haml/test/sass/script_test.rb +470 -0
- data/vendor/plugins/haml/test/sass/templates/_partial.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/alt.sass +16 -0
- data/vendor/plugins/haml/test/sass/templates/basic.sass +23 -0
- data/vendor/plugins/haml/test/sass/templates/bork2.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/compact.sass +17 -0
- data/vendor/plugins/haml/test/sass/templates/complex.sass +305 -0
- data/vendor/plugins/haml/test/sass/templates/compressed.sass +15 -0
- data/vendor/plugins/haml/test/sass/templates/expanded.sass +17 -0
- data/vendor/plugins/haml/test/sass/templates/import.sass +12 -0
- data/vendor/plugins/haml/test/sass/templates/importee.sass +19 -0
- data/vendor/plugins/haml/test/sass/templates/line_numbers.sass +13 -0
- data/vendor/plugins/haml/test/sass/templates/mixins.sass +76 -0
- data/vendor/plugins/haml/test/sass/templates/multiline.sass +20 -0
- data/vendor/plugins/haml/test/sass/templates/nested.sass +25 -0
- data/vendor/plugins/haml/test/sass/templates/parent_ref.sass +25 -0
- data/vendor/plugins/haml/test/sass/templates/script.sass +101 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/subdir.sass +6 -0
- data/vendor/plugins/haml/test/sass/templates/units.sass +11 -0
- data/vendor/plugins/haml/test/test_helper.rb +98 -0
- data/vendor/plugins/haml/yard/default/fulldoc/html/css/common.sass +26 -0
- data/vendor/plugins/haml/yard/default/layout/html/footer.erb +12 -0
- data/vendor/plugins/haml/yard/inherited_hash.rb +41 -0
- data/vendor/rack-cache/CHANGES +128 -0
- data/vendor/rack-cache/COPYING +18 -0
- data/vendor/rack-cache/README +110 -0
- data/vendor/rack-cache/Rakefile +137 -0
- data/vendor/rack-cache/TODO +31 -0
- data/vendor/rack-cache/doc/configuration.markdown +86 -0
- data/vendor/rack-cache/doc/faq.markdown +141 -0
- data/vendor/rack-cache/doc/index.markdown +118 -0
- data/vendor/rack-cache/doc/layout.html.erb +34 -0
- data/vendor/rack-cache/doc/license.markdown +24 -0
- data/vendor/rack-cache/doc/rack-cache.css +362 -0
- data/vendor/rack-cache/doc/server.ru +34 -0
- data/vendor/rack-cache/doc/storage.markdown +162 -0
- data/vendor/rack-cache/example/sinatra/app.rb +25 -0
- data/vendor/rack-cache/example/sinatra/views/index.erb +44 -0
- data/vendor/rack-cache/lib/rack/cache.rb +45 -0
- data/vendor/rack-cache/lib/rack/cache/cachecontrol.rb +193 -0
- data/vendor/rack-cache/lib/rack/cache/context.rb +233 -0
- data/vendor/rack-cache/lib/rack/cache/entitystore.rb +253 -0
- data/vendor/rack-cache/lib/rack/cache/key.rb +52 -0
- data/vendor/rack-cache/lib/rack/cache/metastore.rb +328 -0
- data/vendor/rack-cache/lib/rack/cache/options.rb +150 -0
- data/vendor/rack-cache/lib/rack/cache/request.rb +33 -0
- data/vendor/rack-cache/lib/rack/cache/response.rb +267 -0
- data/vendor/rack-cache/lib/rack/cache/storage.rb +49 -0
- data/vendor/rack-cache/rack-cache.gemspec +69 -0
- data/vendor/rack-cache/test/cache_test.rb +38 -0
- data/vendor/rack-cache/test/cachecontrol_test.rb +139 -0
- data/vendor/rack-cache/test/context_test.rb +727 -0
- data/vendor/rack-cache/test/entitystore_test.rb +189 -0
- data/vendor/rack-cache/test/key_test.rb +50 -0
- data/vendor/rack-cache/test/metastore_test.rb +263 -0
- data/vendor/rack-cache/test/options_test.rb +78 -0
- data/vendor/rack-cache/test/pony.jpg +0 -0
- data/vendor/rack-cache/test/request_test.rb +19 -0
- data/vendor/rack-cache/test/response_test.rb +178 -0
- data/vendor/rack-cache/test/spec_setup.rb +202 -0
- data/vendor/rack-cache/test/storage_test.rb +94 -0
- data/vendor/radius/CHANGELOG +33 -0
- data/vendor/radius/LICENSE +19 -0
- data/vendor/radius/QUICKSTART.rdoc +322 -0
- data/vendor/radius/README.rdoc +102 -0
- data/vendor/radius/Rakefile +8 -0
- data/vendor/radius/VERSION +1 -0
- data/vendor/radius/lib/radius.rb +10 -0
- data/vendor/radius/lib/radius/context.rb +139 -0
- data/vendor/radius/lib/radius/delegating_open_struct.rb +31 -0
- data/vendor/radius/lib/radius/error.rb +43 -0
- data/vendor/radius/lib/radius/parse_tag.rb +24 -0
- data/vendor/radius/lib/radius/parser.rb +65 -0
- data/vendor/radius/lib/radius/parser/scan.rb +678 -0
- data/vendor/radius/lib/radius/parser/scan.rl +124 -0
- data/vendor/radius/lib/radius/tag_binding.rb +71 -0
- data/vendor/radius/lib/radius/tag_definitions.rb +78 -0
- data/vendor/radius/lib/radius/utility.rb +30 -0
- data/vendor/radius/lib/radius/version.rb +8 -0
- data/vendor/radius/radius.gemspec +71 -0
- data/vendor/radius/tasks/jeweler.rake +21 -0
- data/vendor/radius/tasks/rdoc.rake +13 -0
- data/vendor/radius/tasks/scan.rake +27 -0
- data/vendor/radius/tasks/test.rake +7 -0
- data/vendor/radius/test/context_test.rb +61 -0
- data/vendor/radius/test/parser_test.rb +295 -0
- data/vendor/radius/test/quickstart_test.rb +153 -0
- data/vendor/radius/test/test_helper.rb +29 -0
- data/vendor/rails/actionmailer/CHANGELOG +388 -0
- data/vendor/rails/actionmailer/MIT-LICENSE +21 -0
- data/vendor/rails/actionmailer/README +149 -0
- data/vendor/rails/actionmailer/Rakefile +99 -0
- data/vendor/rails/actionmailer/install.rb +30 -0
- data/vendor/rails/actionmailer/lib/action_mailer.rb +62 -0
- data/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +30 -0
- data/vendor/rails/actionmailer/lib/action_mailer/base.rb +706 -0
- data/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +113 -0
- data/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +17 -0
- data/vendor/rails/actionmailer/lib/action_mailer/part.rb +107 -0
- data/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +55 -0
- data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +62 -0
- data/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +64 -0
- data/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +68 -0
- data/vendor/rails/actionmailer/lib/action_mailer/utils.rb +7 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1466 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +10 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail.rb +6 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/Makefile +18 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb +392 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb +65 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/base64.rb +46 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/compat.rb +41 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/config.rb +67 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/core_extensions.rb +63 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/encode.rb +590 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/header.rb +962 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/index.rb +9 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/interface.rb +1162 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/loader.rb +3 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/mail.rb +578 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/mailbox.rb +496 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/main.rb +6 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/mbox.rb +3 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/net.rb +250 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/obsolete.rb +132 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.rb +1060 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.y +416 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/port.rb +379 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/quoting.rb +164 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/require_arch.rb +58 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/scanner.rb +49 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/scanner_r.rb +262 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/stringio.rb +280 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb +362 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/COPYING +504 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/README +12 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb +67 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5freq.rb +927 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5prober.rb +42 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/chardistribution.rb +238 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetgroupprober.rb +112 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetprober.rb +75 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/codingstatemachine.rb +64 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/constants.rb +42 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escprober.rb +89 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escsm.rb +244 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/eucjpprober.rb +88 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrfreq.rb +596 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrprober.rb +42 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwfreq.rb +430 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwprober.rb +42 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312freq.rb +474 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312prober.rb +42 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/hebrewprober.rb +289 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jisfreq.rb +570 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jpcntx.rb +229 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langbulgarianmodel.rb +229 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langcyrillicmodel.rb +330 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langgreekmodel.rb +227 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhebrewmodel.rb +202 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhungarianmodel.rb +226 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langthaimodel.rb +201 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/latin1prober.rb +147 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcharsetprober.rb +89 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb +45 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcssm.rb +542 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb +124 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcsgroupprober.rb +56 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sjisprober.rb +88 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/universaldetector.rb +168 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/utf8prober.rb +87 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/version.rb +39 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +17 -0
- data/vendor/rails/actionmailer/lib/action_mailer/version.rb +9 -0
- data/vendor/rails/actionmailer/lib/actionmailer.rb +2 -0
- data/vendor/rails/actionmailer/test/abstract_unit.rb +62 -0
- data/vendor/rails/actionmailer/test/asset_host_test.rb +54 -0
- data/vendor/rails/actionmailer/test/delivery_method_test.rb +51 -0
- data/vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +5 -0
- data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +5 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email +14 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email10 +20 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email12 +32 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email13 +29 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email2 +114 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email3 +70 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email4 +59 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email5 +19 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email6 +20 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email7 +66 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email8 +47 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email9 +28 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +14 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +104 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +100 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +14 -0
- data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +3 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb +2 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +6 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +6 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +10 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +2 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +2 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +2 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.html.erb +3 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +5 -0
- data/vendor/rails/actionmailer/test/mail_helper_test.rb +95 -0
- data/vendor/rails/actionmailer/test/mail_layout_test.rb +123 -0
- data/vendor/rails/actionmailer/test/mail_render_test.rb +116 -0
- data/vendor/rails/actionmailer/test/mail_service_test.rb +1145 -0
- data/vendor/rails/actionmailer/test/quoting_test.rb +105 -0
- data/vendor/rails/actionmailer/test/test_helper_test.rb +129 -0
- data/vendor/rails/actionmailer/test/tmail_test.rb +22 -0
- data/vendor/rails/actionmailer/test/url_test.rb +76 -0
- data/vendor/rails/actionpack/CHANGELOG +5239 -0
- data/vendor/rails/actionpack/MIT-LICENSE +21 -0
- data/vendor/rails/actionpack/README +409 -0
- data/vendor/rails/actionpack/RUNNING_UNIT_TESTS +24 -0
- data/vendor/rails/actionpack/Rakefile +160 -0
- data/vendor/rails/actionpack/install.rb +30 -0
- data/vendor/rails/actionpack/lib/action_controller.rb +113 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +55 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +21 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +169 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +146 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +638 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +127 -0
- data/vendor/rails/actionpack/lib/action_controller/base.rb +1423 -0
- data/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +107 -0
- data/vendor/rails/actionpack/lib/action_controller/caching.rb +71 -0
- data/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +177 -0
- data/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +120 -0
- data/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +152 -0
- data/vendor/rails/actionpack/lib/action_controller/caching/sweeper.rb +45 -0
- data/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +55 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +15 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +112 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +22 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +24 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +77 -0
- data/vendor/rails/actionpack/lib/action_controller/cookies.rb +191 -0
- data/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +133 -0
- data/vendor/rails/actionpack/lib/action_controller/failsafe.rb +87 -0
- data/vendor/rails/actionpack/lib/action_controller/filters.rb +680 -0
- data/vendor/rails/actionpack/lib/action_controller/flash.rb +213 -0
- data/vendor/rails/actionpack/lib/action_controller/headers.rb +33 -0
- data/vendor/rails/actionpack/lib/action_controller/helpers.rb +225 -0
- data/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +309 -0
- data/vendor/rails/actionpack/lib/action_controller/integration.rb +696 -0
- data/vendor/rails/actionpack/lib/action_controller/layout.rb +286 -0
- data/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +119 -0
- data/vendor/rails/actionpack/lib/action_controller/middlewares.rb +14 -0
- data/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +193 -0
- data/vendor/rails/actionpack/lib/action_controller/mime_type.rb +212 -0
- data/vendor/rails/actionpack/lib/action_controller/mime_types.rb +21 -0
- data/vendor/rails/actionpack/lib/action_controller/params_parser.rb +77 -0
- data/vendor/rails/actionpack/lib/action_controller/performance_test.rb +15 -0
- data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +189 -0
- data/vendor/rails/actionpack/lib/action_controller/rack_lint_patch.rb +36 -0
- data/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +104 -0
- data/vendor/rails/actionpack/lib/action_controller/reloader.rb +54 -0
- data/vendor/rails/actionpack/lib/action_controller/request.rb +493 -0
- data/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +113 -0
- data/vendor/rails/actionpack/lib/action_controller/rescue.rb +183 -0
- data/vendor/rails/actionpack/lib/action_controller/resources.rb +682 -0
- data/vendor/rails/actionpack/lib/action_controller/response.rb +236 -0
- data/vendor/rails/actionpack/lib/action_controller/routing.rb +388 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +197 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +130 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +167 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/route.rb +265 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +503 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +49 -0
- data/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +343 -0
- data/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +187 -0
- data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +227 -0
- data/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +51 -0
- data/vendor/rails/actionpack/lib/action_controller/session_management.rb +54 -0
- data/vendor/rails/actionpack/lib/action_controller/status_codes.rb +88 -0
- data/vendor/rails/actionpack/lib/action_controller/streaming.rb +181 -0
- data/vendor/rails/actionpack/lib/action_controller/string_coercion.rb +29 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +24 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +26 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +11 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +29 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +2 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +10 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +21 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +2 -0
- data/vendor/rails/actionpack/lib/action_controller/test_case.rb +209 -0
- data/vendor/rails/actionpack/lib/action_controller/test_process.rb +580 -0
- data/vendor/rails/actionpack/lib/action_controller/translation.rb +13 -0
- data/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +44 -0
- data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +219 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +16 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +537 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +173 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +828 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +105 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
- data/vendor/rails/actionpack/lib/action_controller/verification.rb +130 -0
- data/vendor/rails/actionpack/lib/action_pack.rb +24 -0
- data/vendor/rails/actionpack/lib/action_pack/version.rb +9 -0
- data/vendor/rails/actionpack/lib/action_view.rb +58 -0
- data/vendor/rails/actionpack/lib/action_view/base.rb +362 -0
- data/vendor/rails/actionpack/lib/action_view/helpers.rb +59 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +305 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +694 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +198 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +54 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +39 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +136 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +989 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +38 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +1111 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +599 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +490 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +208 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +308 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +1305 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/raw_output_helper.rb +9 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +20 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +58 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +251 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +226 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +151 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +587 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +67 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +636 -0
- data/vendor/rails/actionpack/lib/action_view/inline_template.rb +19 -0
- data/vendor/rails/actionpack/lib/action_view/locale/en.yml +117 -0
- data/vendor/rails/actionpack/lib/action_view/partials.rb +241 -0
- data/vendor/rails/actionpack/lib/action_view/paths.rb +77 -0
- data/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +117 -0
- data/vendor/rails/actionpack/lib/action_view/renderable.rb +109 -0
- data/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +47 -0
- data/vendor/rails/actionpack/lib/action_view/template.rb +252 -0
- data/vendor/rails/actionpack/lib/action_view/template_error.rb +99 -0
- data/vendor/rails/actionpack/lib/action_view/template_handler.rb +34 -0
- data/vendor/rails/actionpack/lib/action_view/template_handlers.rb +48 -0
- data/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +17 -0
- data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +25 -0
- data/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +13 -0
- data/vendor/rails/actionpack/lib/action_view/test_case.rb +162 -0
- data/vendor/rails/actionpack/lib/actionpack.rb +2 -0
- data/vendor/rails/actionpack/test/abstract_unit.rb +61 -0
- data/vendor/rails/actionpack/test/active_record_unit.rb +104 -0
- data/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +174 -0
- data/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +188 -0
- data/vendor/rails/actionpack/test/adv_attr_test.rb +20 -0
- data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +545 -0
- data/vendor/rails/actionpack/test/controller/addresses_render_test.rb +37 -0
- data/vendor/rails/actionpack/test/controller/assert_select_test.rb +735 -0
- data/vendor/rails/actionpack/test/controller/base_test.rb +217 -0
- data/vendor/rails/actionpack/test/controller/benchmark_test.rb +32 -0
- data/vendor/rails/actionpack/test/controller/caching_test.rb +743 -0
- data/vendor/rails/actionpack/test/controller/capture_test.rb +66 -0
- data/vendor/rails/actionpack/test/controller/content_type_test.rb +168 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/cookie_test.rb +170 -0
- data/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +32 -0
- data/vendor/rails/actionpack/test/controller/dispatcher_test.rb +144 -0
- data/vendor/rails/actionpack/test/controller/dom_assertions_test.rb +53 -0
- data/vendor/rails/actionpack/test/controller/failsafe_test.rb +60 -0
- data/vendor/rails/actionpack/test/controller/fake_controllers.rb +33 -0
- data/vendor/rails/actionpack/test/controller/fake_models.rb +19 -0
- data/vendor/rails/actionpack/test/controller/filter_params_test.rb +52 -0
- data/vendor/rails/actionpack/test/controller/filters_test.rb +885 -0
- data/vendor/rails/actionpack/test/controller/flash_test.rb +174 -0
- data/vendor/rails/actionpack/test/controller/header_test.rb +14 -0
- data/vendor/rails/actionpack/test/controller/helper_test.rb +224 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +148 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +89 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +274 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +238 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +50 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +131 -0
- data/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +113 -0
- data/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +254 -0
- data/vendor/rails/actionpack/test/controller/integration_test.rb +482 -0
- data/vendor/rails/actionpack/test/controller/layout_test.rb +215 -0
- data/vendor/rails/actionpack/test/controller/localized_templates_test.rb +24 -0
- data/vendor/rails/actionpack/test/controller/logging_test.rb +46 -0
- data/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +90 -0
- data/vendor/rails/actionpack/test/controller/mime_responds_test.rb +536 -0
- data/vendor/rails/actionpack/test/controller/mime_type_test.rb +93 -0
- data/vendor/rails/actionpack/test/controller/output_escaping_test.rb +19 -0
- data/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +297 -0
- data/vendor/rails/actionpack/test/controller/rack_test.rb +308 -0
- data/vendor/rails/actionpack/test/controller/record_identifier_test.rb +139 -0
- data/vendor/rails/actionpack/test/controller/redirect_test.rb +285 -0
- data/vendor/rails/actionpack/test/controller/reloader_test.rb +124 -0
- data/vendor/rails/actionpack/test/controller/render_test.rb +1771 -0
- data/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +65 -0
- data/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +162 -0
- data/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +120 -0
- data/vendor/rails/actionpack/test/controller/request/test_request_test.rb +35 -0
- data/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +146 -0
- data/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +103 -0
- data/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +265 -0
- data/vendor/rails/actionpack/test/controller/request_test.rb +395 -0
- data/vendor/rails/actionpack/test/controller/rescue_test.rb +542 -0
- data/vendor/rails/actionpack/test/controller/resources_test.rb +1393 -0
- data/vendor/rails/actionpack/test/controller/routing_test.rb +2592 -0
- data/vendor/rails/actionpack/test/controller/selector_test.rb +628 -0
- data/vendor/rails/actionpack/test/controller/send_file_test.rb +171 -0
- data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +216 -0
- data/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +127 -0
- data/vendor/rails/actionpack/test/controller/session/test_session_test.rb +58 -0
- data/vendor/rails/actionpack/test/controller/test_test.rb +700 -0
- data/vendor/rails/actionpack/test/controller/translation_test.rb +26 -0
- data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +389 -0
- data/vendor/rails/actionpack/test/controller/verification_test.rb +270 -0
- data/vendor/rails/actionpack/test/controller/view_paths_test.rb +141 -0
- data/vendor/rails/actionpack/test/controller/webservice_test.rb +260 -0
- data/vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/addresses/list.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/companies.yml +24 -0
- data/vendor/rails/actionpack/test/fixtures/company.rb +10 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +1 -0
- data/vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +49 -0
- data/vendor/rails/actionpack/test/fixtures/developer.rb +9 -0
- data/vendor/rails/actionpack/test/fixtures/developers.yml +21 -0
- data/vendor/rails/actionpack/test/fixtures/developers/_developer.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/developers_projects.yml +13 -0
- data/vendor/rails/actionpack/test/fixtures/failsafe/500.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/fun/games/_game.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs +6 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +5 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +5 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/abs_path_layout.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +1 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +1 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +3 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/localized/hello_world.de.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/localized/hello_world.en.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/mascot.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/mascots.yml +4 -0
- data/vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/boundary_problem_file +10 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +5 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/empty +10 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/hello.txt +1 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +10 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/none +9 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +5 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/text_file +10 -0
- data/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/project.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/projects.yml +7 -0
- data/vendor/rails/actionpack/test/fixtures/projects/_project.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/404.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/500.da.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/500.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/absolute/test.css +23 -0
- data/vendor/rails/actionpack/test/fixtures/public/absolute/test.js +63 -0
- data/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css +1 -0
- data/vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/replies.yml +15 -0
- data/vendor/rails/actionpack/test/fixtures/replies/_reply.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/reply.rb +7 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +1 -0
- data/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/shared.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb +5 -0
- data/vendor/rails/actionpack/test/fixtures/test/_counter.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_counter_with_as.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_form.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_from_helper.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hello.builder +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_one.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_person.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/_raise.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_two.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial_magic.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/array_translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/dont_pick_me +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +6 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/greeting.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello.builder +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +11 -0
- data/vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/list.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/nested_layout.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/scoped_array_translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/template.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +9 -0
- data/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +4 -0
- data/vendor/rails/actionpack/test/fixtures/test/utf8_magic.html.erb +5 -0
- data/vendor/rails/actionpack/test/fixtures/test/utf8_magic_with_bare_partial.html.erb +5 -0
- data/vendor/rails/actionpack/test/fixtures/topic.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/topics.yml +22 -0
- data/vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb +1 -0
- data/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +51 -0
- data/vendor/rails/actionpack/test/template/active_record_helper_test.rb +302 -0
- data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +770 -0
- data/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +315 -0
- data/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +86 -0
- data/vendor/rails/actionpack/test/template/compiled_templates_test.rb +204 -0
- data/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +121 -0
- data/vendor/rails/actionpack/test/template/date_helper_test.rb +2603 -0
- data/vendor/rails/actionpack/test/template/erb_util_test.rb +36 -0
- data/vendor/rails/actionpack/test/template/form_helper_test.rb +1447 -0
- data/vendor/rails/actionpack/test/template/form_options_helper_i18n_test.rb +27 -0
- data/vendor/rails/actionpack/test/template/form_options_helper_test.rb +807 -0
- data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +356 -0
- data/vendor/rails/actionpack/test/template/javascript_helper_test.rb +106 -0
- data/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +69 -0
- data/vendor/rails/actionpack/test/template/number_helper_test.rb +132 -0
- data/vendor/rails/actionpack/test/template/prototype_helper_test.rb +639 -0
- data/vendor/rails/actionpack/test/template/raw_output_helper_test.rb +21 -0
- data/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +58 -0
- data/vendor/rails/actionpack/test/template/render_test.rb +329 -0
- data/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +57 -0
- data/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +90 -0
- data/vendor/rails/actionpack/test/template/tag_helper_test.rb +98 -0
- data/vendor/rails/actionpack/test/template/template_test.rb +32 -0
- data/vendor/rails/actionpack/test/template/test_test.rb +54 -0
- data/vendor/rails/actionpack/test/template/text_helper_test.rb +568 -0
- data/vendor/rails/actionpack/test/template/translation_helper_test.rb +95 -0
- data/vendor/rails/actionpack/test/template/url_helper_test.rb +641 -0
- data/vendor/rails/actionpack/test/testing_sandbox.rb +15 -0
- data/vendor/rails/actionpack/test/view/test_case_test.rb +176 -0
- data/vendor/rails/activerecord/CHANGELOG +5901 -0
- data/vendor/rails/activerecord/README +351 -0
- data/vendor/rails/activerecord/RUNNING_UNIT_TESTS +36 -0
- data/vendor/rails/activerecord/Rakefile +270 -0
- data/vendor/rails/activerecord/examples/associations.png +0 -0
- data/vendor/rails/activerecord/examples/performance.rb +162 -0
- data/vendor/rails/activerecord/examples/performance.sql +85 -0
- data/vendor/rails/activerecord/install.rb +30 -0
- data/vendor/rails/activerecord/lib/active_record.rb +83 -0
- data/vendor/rails/activerecord/lib/active_record/aggregations.rb +261 -0
- data/vendor/rails/activerecord/lib/active_record/association_preload.rb +396 -0
- data/vendor/rails/activerecord/lib/active_record/associations.rb +2251 -0
- data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +479 -0
- data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +288 -0
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +86 -0
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +77 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +143 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +127 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +266 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +142 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +37 -0
- data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +392 -0
- data/vendor/rails/activerecord/lib/active_record/autosave_association.rb +395 -0
- data/vendor/rails/activerecord/lib/active_record/base.rb +3206 -0
- data/vendor/rails/activerecord/lib/active_record/batches.rb +85 -0
- data/vendor/rails/activerecord/lib/active_record/calculations.rb +314 -0
- data/vendor/rails/activerecord/lib/active_record/callbacks.rb +360 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +371 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +139 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb +57 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +289 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +94 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +65 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +722 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +488 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +243 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +660 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +1078 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +34 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +453 -0
- data/vendor/rails/activerecord/lib/active_record/dirty.rb +183 -0
- data/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +41 -0
- data/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +25 -0
- data/vendor/rails/activerecord/lib/active_record/fixtures.rb +997 -0
- data/vendor/rails/activerecord/lib/active_record/locale/en.yml +58 -0
- data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +181 -0
- data/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +55 -0
- data/vendor/rails/activerecord/lib/active_record/migration.rb +571 -0
- data/vendor/rails/activerecord/lib/active_record/named_scope.rb +192 -0
- data/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +404 -0
- data/vendor/rails/activerecord/lib/active_record/observer.rb +197 -0
- data/vendor/rails/activerecord/lib/active_record/query_cache.rb +33 -0
- data/vendor/rails/activerecord/lib/active_record/reflection.rb +385 -0
- data/vendor/rails/activerecord/lib/active_record/schema.rb +55 -0
- data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +185 -0
- data/vendor/rails/activerecord/lib/active_record/serialization.rb +101 -0
- data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +91 -0
- data/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +357 -0
- data/vendor/rails/activerecord/lib/active_record/session_store.rb +326 -0
- data/vendor/rails/activerecord/lib/active_record/test_case.rb +66 -0
- data/vendor/rails/activerecord/lib/active_record/timestamp.rb +71 -0
- data/vendor/rails/activerecord/lib/active_record/transactions.rb +235 -0
- data/vendor/rails/activerecord/lib/active_record/validations.rb +1147 -0
- data/vendor/rails/activerecord/lib/active_record/version.rb +9 -0
- data/vendor/rails/activerecord/lib/activerecord.rb +2 -0
- data/vendor/rails/activerecord/test/assets/example.log +1 -0
- data/vendor/rails/activerecord/test/assets/flowers.jpg +0 -0
- data/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +24 -0
- data/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +122 -0
- data/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +24 -0
- data/vendor/rails/activerecord/test/cases/adapter_test.rb +145 -0
- data/vendor/rails/activerecord/test/cases/aggregations_test.rb +167 -0
- data/vendor/rails/activerecord/test/cases/ar_schema_test.rb +32 -0
- data/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +438 -0
- data/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +161 -0
- data/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +131 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +36 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +131 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +145 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_test.rb +840 -0
- data/vendor/rails/activerecord/test/cases/associations/extension_test.rb +62 -0
- data/vendor/rails/activerecord/test/cases/associations/habtm_join_table_test.rb +56 -0
- data/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +822 -0
- data/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +1160 -0
- data/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +346 -0
- data/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +330 -0
- data/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +209 -0
- data/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +93 -0
- data/vendor/rails/activerecord/test/cases/associations/inverse_associations_test.rb +566 -0
- data/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +712 -0
- data/vendor/rails/activerecord/test/cases/associations_test.rb +272 -0
- data/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +305 -0
- data/vendor/rails/activerecord/test/cases/autosave_association_test.rb +1218 -0
- data/vendor/rails/activerecord/test/cases/base_test.rb +2183 -0
- data/vendor/rails/activerecord/test/cases/batches_test.rb +81 -0
- data/vendor/rails/activerecord/test/cases/binary_test.rb +30 -0
- data/vendor/rails/activerecord/test/cases/calculations_test.rb +347 -0
- data/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +38 -0
- data/vendor/rails/activerecord/test/cases/callbacks_test.rb +438 -0
- data/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +32 -0
- data/vendor/rails/activerecord/test/cases/column_alias_test.rb +17 -0
- data/vendor/rails/activerecord/test/cases/column_definition_test.rb +70 -0
- data/vendor/rails/activerecord/test/cases/connection_pool_test.rb +25 -0
- data/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +8 -0
- data/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +64 -0
- data/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +80 -0
- data/vendor/rails/activerecord/test/cases/database_statements_test.rb +12 -0
- data/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +204 -0
- data/vendor/rails/activerecord/test/cases/date_time_test.rb +37 -0
- data/vendor/rails/activerecord/test/cases/default_test_firebird.rb +16 -0
- data/vendor/rails/activerecord/test/cases/defaults_test.rb +111 -0
- data/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +30 -0
- data/vendor/rails/activerecord/test/cases/dirty_test.rb +316 -0
- data/vendor/rails/activerecord/test/cases/encoding_test.rb +6 -0
- data/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +76 -0
- data/vendor/rails/activerecord/test/cases/finder_test.rb +1070 -0
- data/vendor/rails/activerecord/test/cases/fixtures_test.rb +661 -0
- data/vendor/rails/activerecord/test/cases/helper.rb +68 -0
- data/vendor/rails/activerecord/test/cases/i18n_test.rb +46 -0
- data/vendor/rails/activerecord/test/cases/inheritance_test.rb +262 -0
- data/vendor/rails/activerecord/test/cases/invalid_date_test.rb +24 -0
- data/vendor/rails/activerecord/test/cases/json_serialization_test.rb +219 -0
- data/vendor/rails/activerecord/test/cases/lifecycle_test.rb +193 -0
- data/vendor/rails/activerecord/test/cases/locking_test.rb +349 -0
- data/vendor/rails/activerecord/test/cases/method_scoping_test.rb +704 -0
- data/vendor/rails/activerecord/test/cases/migration_test.rb +1638 -0
- data/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +124 -0
- data/vendor/rails/activerecord/test/cases/mixin_test.rb +96 -0
- data/vendor/rails/activerecord/test/cases/modules_test.rb +109 -0
- data/vendor/rails/activerecord/test/cases/multiple_db_test.rb +85 -0
- data/vendor/rails/activerecord/test/cases/named_scope_test.rb +361 -0
- data/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +813 -0
- data/vendor/rails/activerecord/test/cases/pk_test.rb +119 -0
- data/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +103 -0
- data/vendor/rails/activerecord/test/cases/query_cache_test.rb +129 -0
- data/vendor/rails/activerecord/test/cases/readonly_test.rb +107 -0
- data/vendor/rails/activerecord/test/cases/reflection_test.rb +234 -0
- data/vendor/rails/activerecord/test/cases/reload_models_test.rb +22 -0
- data/vendor/rails/activerecord/test/cases/repair_helper.rb +50 -0
- data/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +176 -0
- data/vendor/rails/activerecord/test/cases/sanitize_test.rb +25 -0
- data/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +75 -0
- data/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +211 -0
- data/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +178 -0
- data/vendor/rails/activerecord/test/cases/serialization_test.rb +47 -0
- data/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +17 -0
- data/vendor/rails/activerecord/test/cases/timestamp_test.rb +75 -0
- data/vendor/rails/activerecord/test/cases/transactions_test.rb +522 -0
- data/vendor/rails/activerecord/test/cases/unconnected_test.rb +32 -0
- data/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +925 -0
- data/vendor/rails/activerecord/test/cases/validations_test.rb +1672 -0
- data/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +240 -0
- data/vendor/rails/activerecord/test/cases/yaml_serialization_test.rb +11 -0
- data/vendor/rails/activerecord/test/config.rb +5 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +26 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +26 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_db2/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +26 -0
- data/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +27 -0
- data/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +21 -0
- data/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +27 -0
- data/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +21 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +23 -0
- data/vendor/rails/activerecord/test/fixtures/accounts.yml +29 -0
- data/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/author_addresses.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/author_favorites.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/authors.yml +9 -0
- data/vendor/rails/activerecord/test/fixtures/binaries.yml +132 -0
- data/vendor/rails/activerecord/test/fixtures/books.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/categories.yml +14 -0
- data/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +9 -0
- data/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/categories_posts.yml +23 -0
- data/vendor/rails/activerecord/test/fixtures/categorizations.yml +17 -0
- data/vendor/rails/activerecord/test/fixtures/clubs.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/comments.yml +59 -0
- data/vendor/rails/activerecord/test/fixtures/companies.yml +56 -0
- data/vendor/rails/activerecord/test/fixtures/computers.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/courses.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/customers.yml +26 -0
- data/vendor/rails/activerecord/test/fixtures/developers.yml +21 -0
- data/vendor/rails/activerecord/test/fixtures/developers_projects.yml +17 -0
- data/vendor/rails/activerecord/test/fixtures/edges.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/entrants.yml +14 -0
- data/vendor/rails/activerecord/test/fixtures/faces.yml +11 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite +0 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite +0 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +3 -0
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +2 -0
- data/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +10 -0
- data/vendor/rails/activerecord/test/fixtures/interests.yml +33 -0
- data/vendor/rails/activerecord/test/fixtures/items.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/jobs.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/legacy_things.yml +3 -0
- data/vendor/rails/activerecord/test/fixtures/mateys.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/member_types.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/members.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/memberships.yml +20 -0
- data/vendor/rails/activerecord/test/fixtures/men.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/minimalistics.yml +2 -0
- data/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/mixins.yml +29 -0
- data/vendor/rails/activerecord/test/fixtures/movies.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +1 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +1 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +1 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +1 -0
- data/vendor/rails/activerecord/test/fixtures/organizations.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/owners.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/parrots.yml +27 -0
- data/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/people.yml +15 -0
- data/vendor/rails/activerecord/test/fixtures/pets.yml +14 -0
- data/vendor/rails/activerecord/test/fixtures/pirates.yml +9 -0
- data/vendor/rails/activerecord/test/fixtures/posts.yml +52 -0
- data/vendor/rails/activerecord/test/fixtures/price_estimates.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/projects.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/readers.yml +9 -0
- data/vendor/rails/activerecord/test/fixtures/references.yml +17 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +11 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +14 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +8 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/ships.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/sponsors.yml +9 -0
- data/vendor/rails/activerecord/test/fixtures/subscribers.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/subscriptions.yml +12 -0
- data/vendor/rails/activerecord/test/fixtures/taggings.yml +28 -0
- data/vendor/rails/activerecord/test/fixtures/tags.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/tasks.yml +7 -0
- data/vendor/rails/activerecord/test/fixtures/topics.yml +42 -0
- data/vendor/rails/activerecord/test/fixtures/toys.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/treasures.yml +10 -0
- data/vendor/rails/activerecord/test/fixtures/vertices.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/warehouse-things.yml +3 -0
- data/vendor/rails/activerecord/test/fixtures/zines.yml +5 -0
- data/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +15 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +7 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +7 -0
- data/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +7 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +8 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +9 -0
- data/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +12 -0
- data/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +12 -0
- data/vendor/rails/activerecord/test/models/author.rb +149 -0
- data/vendor/rails/activerecord/test/models/auto_id.rb +4 -0
- data/vendor/rails/activerecord/test/models/binary.rb +2 -0
- data/vendor/rails/activerecord/test/models/bird.rb +9 -0
- data/vendor/rails/activerecord/test/models/book.rb +4 -0
- data/vendor/rails/activerecord/test/models/categorization.rb +5 -0
- data/vendor/rails/activerecord/test/models/category.rb +34 -0
- data/vendor/rails/activerecord/test/models/citation.rb +6 -0
- data/vendor/rails/activerecord/test/models/club.rb +13 -0
- data/vendor/rails/activerecord/test/models/column_name.rb +3 -0
- data/vendor/rails/activerecord/test/models/comment.rb +29 -0
- data/vendor/rails/activerecord/test/models/company.rb +171 -0
- data/vendor/rails/activerecord/test/models/company_in_module.rb +78 -0
- data/vendor/rails/activerecord/test/models/computer.rb +3 -0
- data/vendor/rails/activerecord/test/models/contact.rb +16 -0
- data/vendor/rails/activerecord/test/models/contract.rb +5 -0
- data/vendor/rails/activerecord/test/models/course.rb +3 -0
- data/vendor/rails/activerecord/test/models/customer.rb +73 -0
- data/vendor/rails/activerecord/test/models/default.rb +2 -0
- data/vendor/rails/activerecord/test/models/developer.rb +101 -0
- data/vendor/rails/activerecord/test/models/edge.rb +5 -0
- data/vendor/rails/activerecord/test/models/entrant.rb +3 -0
- data/vendor/rails/activerecord/test/models/essay.rb +3 -0
- data/vendor/rails/activerecord/test/models/event.rb +3 -0
- data/vendor/rails/activerecord/test/models/event_author.rb +5 -0
- data/vendor/rails/activerecord/test/models/face.rb +7 -0
- data/vendor/rails/activerecord/test/models/guid.rb +2 -0
- data/vendor/rails/activerecord/test/models/interest.rb +5 -0
- data/vendor/rails/activerecord/test/models/invoice.rb +4 -0
- data/vendor/rails/activerecord/test/models/item.rb +7 -0
- data/vendor/rails/activerecord/test/models/job.rb +5 -0
- data/vendor/rails/activerecord/test/models/joke.rb +3 -0
- data/vendor/rails/activerecord/test/models/keyboard.rb +3 -0
- data/vendor/rails/activerecord/test/models/legacy_thing.rb +3 -0
- data/vendor/rails/activerecord/test/models/line_item.rb +3 -0
- data/vendor/rails/activerecord/test/models/man.rb +9 -0
- data/vendor/rails/activerecord/test/models/matey.rb +4 -0
- data/vendor/rails/activerecord/test/models/member.rb +12 -0
- data/vendor/rails/activerecord/test/models/member_detail.rb +5 -0
- data/vendor/rails/activerecord/test/models/member_type.rb +3 -0
- data/vendor/rails/activerecord/test/models/membership.rb +9 -0
- data/vendor/rails/activerecord/test/models/minimalistic.rb +2 -0
- data/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +3 -0
- data/vendor/rails/activerecord/test/models/movie.rb +5 -0
- data/vendor/rails/activerecord/test/models/order.rb +4 -0
- data/vendor/rails/activerecord/test/models/organization.rb +6 -0
- data/vendor/rails/activerecord/test/models/owner.rb +5 -0
- data/vendor/rails/activerecord/test/models/parrot.rb +22 -0
- data/vendor/rails/activerecord/test/models/person.rb +16 -0
- data/vendor/rails/activerecord/test/models/pet.rb +5 -0
- data/vendor/rails/activerecord/test/models/pirate.rb +80 -0
- data/vendor/rails/activerecord/test/models/post.rb +100 -0
- data/vendor/rails/activerecord/test/models/price_estimate.rb +3 -0
- data/vendor/rails/activerecord/test/models/project.rb +30 -0
- data/vendor/rails/activerecord/test/models/reader.rb +4 -0
- data/vendor/rails/activerecord/test/models/reference.rb +4 -0
- data/vendor/rails/activerecord/test/models/reply.rb +46 -0
- data/vendor/rails/activerecord/test/models/ship.rb +19 -0
- data/vendor/rails/activerecord/test/models/ship_part.rb +7 -0
- data/vendor/rails/activerecord/test/models/sponsor.rb +4 -0
- data/vendor/rails/activerecord/test/models/subject.rb +4 -0
- data/vendor/rails/activerecord/test/models/subscriber.rb +8 -0
- data/vendor/rails/activerecord/test/models/subscription.rb +4 -0
- data/vendor/rails/activerecord/test/models/tag.rb +7 -0
- data/vendor/rails/activerecord/test/models/tagging.rb +10 -0
- data/vendor/rails/activerecord/test/models/task.rb +3 -0
- data/vendor/rails/activerecord/test/models/topic.rb +80 -0
- data/vendor/rails/activerecord/test/models/toy.rb +6 -0
- data/vendor/rails/activerecord/test/models/treasure.rb +8 -0
- data/vendor/rails/activerecord/test/models/vertex.rb +9 -0
- data/vendor/rails/activerecord/test/models/warehouse_thing.rb +5 -0
- data/vendor/rails/activerecord/test/models/zine.rb +3 -0
- data/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +24 -0
- data/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +114 -0
- data/vendor/rails/activerecord/test/schema/schema.rb +534 -0
- data/vendor/rails/activerecord/test/schema/schema2.rb +6 -0
- data/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +25 -0
- data/vendor/rails/activeresource/CHANGELOG +307 -0
- data/vendor/rails/activeresource/README +165 -0
- data/vendor/rails/activeresource/Rakefile +139 -0
- data/vendor/rails/activeresource/lib/active_resource.rb +44 -0
- data/vendor/rails/activeresource/lib/active_resource/base.rb +1166 -0
- data/vendor/rails/activeresource/lib/active_resource/connection.rb +283 -0
- data/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +120 -0
- data/vendor/rails/activeresource/lib/active_resource/exceptions.rb +66 -0
- data/vendor/rails/activeresource/lib/active_resource/formats.rb +14 -0
- data/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +23 -0
- data/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +34 -0
- data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +207 -0
- data/vendor/rails/activeresource/lib/active_resource/validations.rb +290 -0
- data/vendor/rails/activeresource/lib/active_resource/version.rb +9 -0
- data/vendor/rails/activeresource/lib/activeresource.rb +2 -0
- data/vendor/rails/activeresource/test/abstract_unit.rb +21 -0
- data/vendor/rails/activeresource/test/authorization_test.rb +122 -0
- data/vendor/rails/activeresource/test/base/custom_methods_test.rb +100 -0
- data/vendor/rails/activeresource/test/base/equality_test.rb +52 -0
- data/vendor/rails/activeresource/test/base/load_test.rb +161 -0
- data/vendor/rails/activeresource/test/base_errors_test.rb +98 -0
- data/vendor/rails/activeresource/test/base_test.rb +1087 -0
- data/vendor/rails/activeresource/test/connection_test.rb +238 -0
- data/vendor/rails/activeresource/test/debug.log +80350 -0
- data/vendor/rails/activeresource/test/fixtures/beast.rb +14 -0
- data/vendor/rails/activeresource/test/fixtures/customer.rb +3 -0
- data/vendor/rails/activeresource/test/fixtures/person.rb +3 -0
- data/vendor/rails/activeresource/test/fixtures/proxy.rb +4 -0
- data/vendor/rails/activeresource/test/fixtures/street_address.rb +4 -0
- data/vendor/rails/activeresource/test/format_test.rb +112 -0
- data/vendor/rails/activeresource/test/setter_trap.rb +26 -0
- data/vendor/rails/activesupport/CHANGELOG +1367 -0
- data/vendor/rails/activesupport/README +43 -0
- data/vendor/rails/activesupport/lib/active_support.rb +60 -0
- data/vendor/rails/activesupport/lib/active_support/all.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +72 -0
- data/vendor/rails/activesupport/lib/active_support/base64.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/basic_object.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +127 -0
- data/vendor/rails/activesupport/lib/active_support/cache.rb +248 -0
- data/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +72 -0
- data/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +143 -0
- data/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +58 -0
- data/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +104 -0
- data/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/callbacks.rb +279 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +15 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +53 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +197 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +106 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +4 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +16 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +6 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +37 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +2 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +4 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +61 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +140 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +50 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +10 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +42 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +241 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +107 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +12 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +126 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +107 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +43 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +120 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +45 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +247 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +143 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +52 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +35 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +29 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +45 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +16 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +59 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +38 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +145 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +74 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +32 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +67 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +135 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +90 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +50 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +81 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/blank.rb +76 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +15 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +80 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +74 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +90 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/singleton_class.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +12 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +11 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +32 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +15 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +41 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +106 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/bytesize.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +28 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +26 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +167 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb +112 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +11 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +46 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +313 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +90 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +86 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +36 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +16 -0
- data/vendor/rails/activesupport/lib/active_support/dependencies.rb +625 -0
- data/vendor/rails/activesupport/lib/active_support/deprecation.rb +197 -0
- data/vendor/rails/activesupport/lib/active_support/duration.rb +100 -0
- data/vendor/rails/activesupport/lib/active_support/gzip.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/inflections.rb +56 -0
- data/vendor/rails/activesupport/lib/active_support/inflector.rb +409 -0
- data/vendor/rails/activesupport/lib/active_support/json.rb +2 -0
- data/vendor/rails/activesupport/lib/active_support/json/backends/jsongem.rb +37 -0
- data/vendor/rails/activesupport/lib/active_support/json/backends/yajl.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/json/backends/yaml.rb +87 -0
- data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +50 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +17 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +56 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +21 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +10 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +7 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +111 -0
- data/vendor/rails/activesupport/lib/active_support/json/variable.rb +10 -0
- data/vendor/rails/activesupport/lib/active_support/locale/en.yml +33 -0
- data/vendor/rails/activesupport/lib/active_support/memoizable.rb +100 -0
- data/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +70 -0
- data/vendor/rails/activesupport/lib/active_support/message_verifier.rb +79 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte.rb +57 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +707 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte/utils.rb +60 -0
- data/vendor/rails/activesupport/lib/active_support/option_merger.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +158 -0
- data/vendor/rails/activesupport/lib/active_support/ordered_options.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/rescuable.rb +108 -0
- data/vendor/rails/activesupport/lib/active_support/secure_random.rb +199 -0
- data/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +21 -0
- data/vendor/rails/activesupport/lib/active_support/test_case.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +79 -0
- data/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +21 -0
- data/vendor/rails/activesupport/lib/active_support/testing/default.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +57 -0
- data/vendor/rails/activesupport/lib/active_support/testing/performance.rb +452 -0
- data/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +91 -0
- data/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +335 -0
- data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +412 -0
- data/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor.rb +36 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +113 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +250 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +115 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +139 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +63 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +328 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n.rb +335 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend.rb +19 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record.rb +66 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/missing.rb +67 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/store_procs.rb +38 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/translation.rb +88 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/base.rb +266 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cache.rb +76 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cascade.rb +58 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/chain.rb +75 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cldr.rb +100 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fallbacks.rb +69 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fast.rb +69 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/gettext.rb +75 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/helpers.rb +68 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/interpolation_compiler.rb +119 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/links.rb +34 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/metadata.rb +73 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/pluralization.rb +57 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/simple.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/except.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/slice.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/object/meta_class.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/string/interpolate.rb +99 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/exceptions.rb +61 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext/po_parser.rb +329 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers/gettext.rb +65 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale.rb +6 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/fallbacks.rb +98 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag.rb +28 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/parents.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/rfc4646.rb +76 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/simple.rb +41 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/version.rb +3 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb +1107 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +228 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +283 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +204 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +161 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +274 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +194 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +35 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +282 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +74 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +205 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +288 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +52 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +51 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +44 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +98 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +56 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +292 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +508 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +56 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +94 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +198 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +129 -0
- data/vendor/rails/activesupport/lib/active_support/version.rb +9 -0
- data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +64 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini.rb +31 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/jdom.rb +162 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +73 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/libxmlsax.rb +74 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +72 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogirisax.rb +73 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +108 -0
- data/vendor/rails/activesupport/lib/activesupport.rb +2 -0
- data/vendor/rails/railties/CHANGELOG +2188 -0
- data/vendor/rails/railties/MIT-LICENSE +20 -0
- data/vendor/rails/railties/README +243 -0
- data/vendor/rails/railties/Rakefile +368 -0
- data/vendor/rails/railties/bin/about +4 -0
- data/vendor/rails/railties/bin/console +3 -0
- data/vendor/rails/railties/bin/dbconsole +3 -0
- data/vendor/rails/railties/bin/destroy +3 -0
- data/vendor/rails/railties/bin/generate +3 -0
- data/vendor/rails/railties/bin/performance/benchmarker +3 -0
- data/vendor/rails/railties/bin/performance/profiler +3 -0
- data/vendor/rails/railties/bin/plugin +3 -0
- data/vendor/rails/railties/bin/rails +21 -0
- data/vendor/rails/railties/bin/runner +3 -0
- data/vendor/rails/railties/bin/server +3 -0
- data/vendor/rails/railties/builtin/rails_info/rails/info.rb +131 -0
- data/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +9 -0
- data/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +2 -0
- data/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +2 -0
- data/vendor/rails/railties/configs/databases/frontbase.yml +28 -0
- data/vendor/rails/railties/configs/databases/ibm_db.yml +62 -0
- data/vendor/rails/railties/configs/databases/mysql.yml +60 -0
- data/vendor/rails/railties/configs/databases/oracle.yml +39 -0
- data/vendor/rails/railties/configs/databases/postgresql.yml +51 -0
- data/vendor/rails/railties/configs/databases/sqlite2.yml +19 -0
- data/vendor/rails/railties/configs/databases/sqlite3.yml +22 -0
- data/vendor/rails/railties/configs/empty.log +0 -0
- data/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +7 -0
- data/vendor/rails/railties/configs/initializers/cookie_verification_secret.rb +7 -0
- data/vendor/rails/railties/configs/initializers/inflections.rb +10 -0
- data/vendor/rails/railties/configs/initializers/mime_types.rb +5 -0
- data/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +21 -0
- data/vendor/rails/railties/configs/initializers/session_store.rb +15 -0
- data/vendor/rails/railties/configs/locales/en.yml +5 -0
- data/vendor/rails/railties/configs/routes.rb +43 -0
- data/vendor/rails/railties/configs/seeds.rb +7 -0
- data/vendor/rails/railties/dispatches/config.ru +7 -0
- data/vendor/rails/railties/dispatches/dispatch.fcgi +24 -0
- data/vendor/rails/railties/dispatches/dispatch.rb +10 -0
- data/vendor/rails/railties/dispatches/gateway.cgi +97 -0
- data/vendor/rails/railties/doc/README_FOR_APP +2 -0
- data/vendor/rails/railties/environments/boot.rb +110 -0
- data/vendor/rails/railties/environments/development.rb +17 -0
- data/vendor/rails/railties/environments/environment.rb +41 -0
- data/vendor/rails/railties/environments/production.rb +28 -0
- data/vendor/rails/railties/environments/test.rb +28 -0
- data/vendor/rails/railties/fresh_rakefile +10 -0
- data/vendor/rails/railties/guides/files/javascripts/code_highlighter.js +188 -0
- data/vendor/rails/railties/guides/files/javascripts/guides.js +8 -0
- data/vendor/rails/railties/guides/files/javascripts/highlighters.js +90 -0
- data/vendor/rails/railties/guides/files/stylesheets/main.css +441 -0
- data/vendor/rails/railties/guides/files/stylesheets/print.css +52 -0
- data/vendor/rails/railties/guides/files/stylesheets/reset.css +43 -0
- data/vendor/rails/railties/guides/files/stylesheets/style.css +13 -0
- data/vendor/rails/railties/guides/files/stylesheets/syntax.css +31 -0
- data/vendor/rails/railties/guides/images/belongs_to.png +0 -0
- data/vendor/rails/railties/guides/images/book_icon.gif +0 -0
- data/vendor/rails/railties/guides/images/bullet.gif +0 -0
- data/vendor/rails/railties/guides/images/chapters_icon.gif +0 -0
- data/vendor/rails/railties/guides/images/check_bullet.gif +0 -0
- data/vendor/rails/railties/guides/images/credits_pic_blank.gif +0 -0
- data/vendor/rails/railties/guides/images/csrf.png +0 -0
- data/vendor/rails/railties/guides/images/customized_error_messages.png +0 -0
- data/vendor/rails/railties/guides/images/error_messages.png +0 -0
- data/vendor/rails/railties/guides/images/feature_tile.gif +0 -0
- data/vendor/rails/railties/guides/images/footer_tile.gif +0 -0
- data/vendor/rails/railties/guides/images/fxn.jpg +0 -0
- data/vendor/rails/railties/guides/images/grey_bullet.gif +0 -0
- data/vendor/rails/railties/guides/images/habtm.png +0 -0
- data/vendor/rails/railties/guides/images/has_many.png +0 -0
- data/vendor/rails/railties/guides/images/has_many_through.png +0 -0
- data/vendor/rails/railties/guides/images/has_one.png +0 -0
- data/vendor/rails/railties/guides/images/has_one_through.png +0 -0
- data/vendor/rails/railties/guides/images/header_backdrop.png +0 -0
- data/vendor/rails/railties/guides/images/header_tile.gif +0 -0
- data/vendor/rails/railties/guides/images/i18n/demo_localized_pirate.png +0 -0
- data/vendor/rails/railties/guides/images/i18n/demo_translated_en.png +0 -0
- data/vendor/rails/railties/guides/images/i18n/demo_translated_pirate.png +0 -0
- data/vendor/rails/railties/guides/images/i18n/demo_translation_missing.png +0 -0
- data/vendor/rails/railties/guides/images/i18n/demo_untranslated.png +0 -0
- data/vendor/rails/railties/guides/images/icons/README +5 -0
- data/vendor/rails/railties/guides/images/icons/callouts/1.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/10.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/11.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/12.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/13.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/14.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/15.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/2.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/3.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/4.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/5.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/6.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/7.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/8.png +0 -0
- data/vendor/rails/railties/guides/images/icons/callouts/9.png +0 -0
- data/vendor/rails/railties/guides/images/icons/caution.png +0 -0
- data/vendor/rails/railties/guides/images/icons/example.png +0 -0
- data/vendor/rails/railties/guides/images/icons/home.png +0 -0
- data/vendor/rails/railties/guides/images/icons/important.png +0 -0
- data/vendor/rails/railties/guides/images/icons/next.png +0 -0
- data/vendor/rails/railties/guides/images/icons/note.png +0 -0
- data/vendor/rails/railties/guides/images/icons/prev.png +0 -0
- data/vendor/rails/railties/guides/images/icons/tip.png +0 -0
- data/vendor/rails/railties/guides/images/icons/up.png +0 -0
- data/vendor/rails/railties/guides/images/icons/warning.png +0 -0
- data/vendor/rails/railties/guides/images/nav_arrow.gif +0 -0
- data/vendor/rails/railties/guides/images/polymorphic.png +0 -0
- data/vendor/rails/railties/guides/images/posts_index.png +0 -0
- data/vendor/rails/railties/guides/images/rails_guides_logo.gif +0 -0
- data/vendor/rails/railties/guides/images/rails_logo_remix.gif +0 -0
- data/vendor/rails/railties/guides/images/rails_welcome.png +0 -0
- data/vendor/rails/railties/guides/images/session_fixation.png +0 -0
- data/vendor/rails/railties/guides/images/tab_grey.gif +0 -0
- data/vendor/rails/railties/guides/images/tab_info.gif +0 -0
- data/vendor/rails/railties/guides/images/tab_note.gif +0 -0
- data/vendor/rails/railties/guides/images/tab_red.gif +0 -0
- data/vendor/rails/railties/guides/images/tab_yellow.gif +0 -0
- data/vendor/rails/railties/guides/images/tab_yellow.png +0 -0
- data/vendor/rails/railties/guides/images/validation_error_messages.png +0 -0
- data/vendor/rails/railties/guides/rails_guides.rb +42 -0
- data/vendor/rails/railties/guides/rails_guides/generator.rb +138 -0
- data/vendor/rails/railties/guides/rails_guides/helpers.rb +34 -0
- data/vendor/rails/railties/guides/rails_guides/indexer.rb +55 -0
- data/vendor/rails/railties/guides/rails_guides/textile_extensions.rb +41 -0
- data/vendor/rails/railties/guides/source/2_2_release_notes.textile +422 -0
- data/vendor/rails/railties/guides/source/2_3_release_notes.textile +610 -0
- data/vendor/rails/railties/guides/source/action_controller_overview.textile +776 -0
- data/vendor/rails/railties/guides/source/action_mailer_basics.textile +424 -0
- data/vendor/rails/railties/guides/source/active_record_basics.textile +135 -0
- data/vendor/rails/railties/guides/source/active_record_querying.textile +969 -0
- data/vendor/rails/railties/guides/source/activerecord_validations_callbacks.textile +1086 -0
- data/vendor/rails/railties/guides/source/association_basics.textile +1781 -0
- data/vendor/rails/railties/guides/source/caching_with_rails.textile +524 -0
- data/vendor/rails/railties/guides/source/command_line.textile +589 -0
- data/vendor/rails/railties/guides/source/configuring.textile +234 -0
- data/vendor/rails/railties/guides/source/contribute.textile +71 -0
- data/vendor/rails/railties/guides/source/contributing_to_rails.textile +239 -0
- data/vendor/rails/railties/guides/source/credits.erb.textile +52 -0
- data/vendor/rails/railties/guides/source/debugging_rails_applications.textile +709 -0
- data/vendor/rails/railties/guides/source/form_helpers.textile +766 -0
- data/vendor/rails/railties/guides/source/getting_started.textile +1297 -0
- data/vendor/rails/railties/guides/source/i18n.textile +912 -0
- data/vendor/rails/railties/guides/source/index.erb.textile +124 -0
- data/vendor/rails/railties/guides/source/layout.html.erb +103 -0
- data/vendor/rails/railties/guides/source/layouts_and_rendering.textile +979 -0
- data/vendor/rails/railties/guides/source/migrations.textile +591 -0
- data/vendor/rails/railties/guides/source/nested_model_forms.textile +222 -0
- data/vendor/rails/railties/guides/source/performance_testing.textile +531 -0
- data/vendor/rails/railties/guides/source/plugins.textile +1512 -0
- data/vendor/rails/railties/guides/source/rails_on_rack.textile +309 -0
- data/vendor/rails/railties/guides/source/routing.textile +903 -0
- data/vendor/rails/railties/guides/source/security.textile +986 -0
- data/vendor/rails/railties/guides/source/testing.textile +951 -0
- data/vendor/rails/railties/helpers/application_controller.rb +10 -0
- data/vendor/rails/railties/helpers/application_helper.rb +3 -0
- data/vendor/rails/railties/helpers/performance_test.rb +9 -0
- data/vendor/rails/railties/helpers/test_helper.rb +38 -0
- data/vendor/rails/railties/html/404.html +30 -0
- data/vendor/rails/railties/html/422.html +30 -0
- data/vendor/rails/railties/html/500.html +30 -0
- data/vendor/rails/railties/html/favicon.ico +0 -0
- data/vendor/rails/railties/html/images/rails.png +0 -0
- data/vendor/rails/railties/html/index.html +275 -0
- data/vendor/rails/railties/html/javascripts/application.js +2 -0
- data/vendor/rails/railties/html/javascripts/controls.js +963 -0
- data/vendor/rails/railties/html/javascripts/dragdrop.js +973 -0
- data/vendor/rails/railties/html/javascripts/effects.js +1128 -0
- data/vendor/rails/railties/html/javascripts/prototype.js +4320 -0
- data/vendor/rails/railties/html/robots.txt +5 -0
- data/vendor/rails/railties/lib/code_statistics.rb +107 -0
- data/vendor/rails/railties/lib/commands.rb +17 -0
- data/vendor/rails/railties/lib/commands/about.rb +3 -0
- data/vendor/rails/railties/lib/commands/console.rb +45 -0
- data/vendor/rails/railties/lib/commands/dbconsole.rb +87 -0
- data/vendor/rails/railties/lib/commands/destroy.rb +6 -0
- data/vendor/rails/railties/lib/commands/generate.rb +6 -0
- data/vendor/rails/railties/lib/commands/ncgi/listener +86 -0
- data/vendor/rails/railties/lib/commands/ncgi/tracker +69 -0
- data/vendor/rails/railties/lib/commands/performance/benchmarker.rb +24 -0
- data/vendor/rails/railties/lib/commands/performance/profiler.rb +50 -0
- data/vendor/rails/railties/lib/commands/plugin.rb +968 -0
- data/vendor/rails/railties/lib/commands/runner.rb +54 -0
- data/vendor/rails/railties/lib/commands/server.rb +114 -0
- data/vendor/rails/railties/lib/commands/update.rb +4 -0
- data/vendor/rails/railties/lib/console_app.rb +30 -0
- data/vendor/rails/railties/lib/console_sandbox.rb +6 -0
- data/vendor/rails/railties/lib/console_with_helpers.rb +5 -0
- data/vendor/rails/railties/lib/dispatcher.rb +24 -0
- data/vendor/rails/railties/lib/fcgi_handler.rb +239 -0
- data/vendor/rails/railties/lib/initializer.rb +1128 -0
- data/vendor/rails/railties/lib/performance_test_help.rb +5 -0
- data/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +54 -0
- data/vendor/rails/railties/lib/rails/gem_builder.rb +21 -0
- data/vendor/rails/railties/lib/rails/gem_dependency.rb +318 -0
- data/vendor/rails/railties/lib/rails/plugin.rb +179 -0
- data/vendor/rails/railties/lib/rails/plugin/loader.rb +198 -0
- data/vendor/rails/railties/lib/rails/plugin/locator.rb +100 -0
- data/vendor/rails/railties/lib/rails/rack.rb +8 -0
- data/vendor/rails/railties/lib/rails/rack/debugger.rb +23 -0
- data/vendor/rails/railties/lib/rails/rack/log_tailer.rb +35 -0
- data/vendor/rails/railties/lib/rails/rack/metal.rb +51 -0
- data/vendor/rails/railties/lib/rails/rack/static.rb +46 -0
- data/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +140 -0
- data/vendor/rails/railties/lib/rails/version.rb +9 -0
- data/vendor/rails/railties/lib/rails_generator.rb +46 -0
- data/vendor/rails/railties/lib/rails_generator/base.rb +266 -0
- data/vendor/rails/railties/lib/rails_generator/commands.rb +621 -0
- data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +47 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +9 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +266 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +7 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +401 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +30 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +43 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +7 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/USAGE +24 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +25 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +10 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +30 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +15 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +20 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +12 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +29 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +20 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +11 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +27 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +52 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +23 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +5 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +13 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +9 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +25 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +39 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +20 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +13 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +23 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +1 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +1 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +1 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +1 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +23 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +76 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +29 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +103 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +83 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +45 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +17 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +54 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +18 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +24 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +17 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +10 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +10 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +18 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/lookup.rb +249 -0
- data/vendor/rails/railties/lib/rails_generator/manifest.rb +53 -0
- data/vendor/rails/railties/lib/rails_generator/options.rb +150 -0
- data/vendor/rails/railties/lib/rails_generator/scripts.rb +89 -0
- data/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +29 -0
- data/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +7 -0
- data/vendor/rails/railties/lib/rails_generator/scripts/update.rb +12 -0
- data/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +24 -0
- data/vendor/rails/railties/lib/rails_generator/simple_logger.rb +46 -0
- data/vendor/rails/railties/lib/rails_generator/spec.rb +44 -0
- data/vendor/rails/railties/lib/railties_path.rb +1 -0
- data/vendor/rails/railties/lib/ruby_version_check.rb +17 -0
- data/vendor/rails/railties/lib/rubyprof_ext.rb +35 -0
- data/vendor/rails/railties/lib/source_annotation_extractor.rb +102 -0
- data/vendor/rails/railties/lib/tasks/annotations.rake +20 -0
- data/vendor/rails/railties/lib/tasks/databases.rake +436 -0
- data/vendor/rails/railties/lib/tasks/documentation.rake +88 -0
- data/vendor/rails/railties/lib/tasks/framework.rake +146 -0
- data/vendor/rails/railties/lib/tasks/gems.rake +78 -0
- data/vendor/rails/railties/lib/tasks/log.rake +9 -0
- data/vendor/rails/railties/lib/tasks/middleware.rake +7 -0
- data/vendor/rails/railties/lib/tasks/misc.rake +63 -0
- data/vendor/rails/railties/lib/tasks/rails.rb +14 -0
- data/vendor/rails/railties/lib/tasks/routes.rake +18 -0
- data/vendor/rails/railties/lib/tasks/statistics.rake +17 -0
- data/vendor/rails/railties/lib/tasks/testing.rake +139 -0
- data/vendor/rails/railties/lib/test_help.rb +38 -0
- data/vendor/rails/railties/lib/webrick_server.rb +156 -0
- data/vendor/redcloth/Rakefile +196 -0
- data/vendor/redcloth/bin/redcloth +3 -0
- data/vendor/redcloth/doc/CHANGELOG +160 -0
- data/vendor/redcloth/doc/COPYING +25 -0
- data/vendor/redcloth/doc/README +106 -0
- data/vendor/redcloth/doc/REFERENCE +216 -0
- data/vendor/redcloth/doc/make.rb +359 -0
- data/vendor/redcloth/lib/rctodb.rb +1107 -0
- data/vendor/redcloth/lib/redcloth.rb +1130 -0
- data/vendor/redcloth/run-tests.rb +28 -0
- data/vendor/redcloth/setup.rb +1376 -0
- data/vendor/redcloth/tests/code.yml +105 -0
- data/vendor/redcloth/tests/images.yml +171 -0
- data/vendor/redcloth/tests/instiki.yml +39 -0
- data/vendor/redcloth/tests/links.yml +155 -0
- data/vendor/redcloth/tests/lists.yml +77 -0
- data/vendor/redcloth/tests/markdown.yml +218 -0
- data/vendor/redcloth/tests/poignant.yml +64 -0
- data/vendor/redcloth/tests/table.yml +198 -0
- data/vendor/redcloth/tests/textism.yml +406 -0
- metadata +2741 -0
@@ -0,0 +1 @@
|
|
1
|
+
3.0.23
|
@@ -0,0 +1 @@
|
|
1
|
+
Classy Cassidy
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require File.dirname(__FILE__) + '/../lib/haml'
|
4
|
+
require 'haml/exec'
|
5
|
+
|
6
|
+
warn <<END
|
7
|
+
DEPRECATION WARNING:
|
8
|
+
The css2sass tool is deprecated and will be removed in Sass 3.2.
|
9
|
+
Use the sass-convert tool instead.
|
10
|
+
END
|
11
|
+
|
12
|
+
opts = Haml::Exec::SassConvert.new(%w[--from css --to sass] + ARGV)
|
13
|
+
opts.parse!
|
@@ -0,0 +1,187 @@
|
|
1
|
+
# Frequently Asked Questions
|
2
|
+
|
3
|
+
* Table of contents
|
4
|
+
{:toc}
|
5
|
+
|
6
|
+
## Haml
|
7
|
+
|
8
|
+
### Why is my markup indented properly in development mode, but not in production?
|
9
|
+
{#q-indentation-in-production}
|
10
|
+
|
11
|
+
To improve performance, Haml defaults to {file:HAML_REFERENCE.md#ugly-option "ugly" mode} in Rails
|
12
|
+
apps running in production.
|
13
|
+
|
14
|
+
|
15
|
+
### How do I put a punctuation mark after an element, like "`I like <strong>cake</strong>!`"?
|
16
|
+
{#q-punctuation}
|
17
|
+
|
18
|
+
Expressing the structure of a document
|
19
|
+
and expressing inline formatting are two very different problems.
|
20
|
+
Haml is mostly designed for structure,
|
21
|
+
so the best way to deal with formatting is to leave it to other languages
|
22
|
+
that are designed for it.
|
23
|
+
You could use Textile:
|
24
|
+
|
25
|
+
%p
|
26
|
+
:textile
|
27
|
+
I like *cake*!
|
28
|
+
|
29
|
+
or Markdown:
|
30
|
+
|
31
|
+
%p
|
32
|
+
:markdown
|
33
|
+
I like **cake**!
|
34
|
+
|
35
|
+
or plain old XHTML:
|
36
|
+
|
37
|
+
%p I like <strong>cake</strong>!
|
38
|
+
|
39
|
+
If you're inserting something that's generated by a helper, like a link,
|
40
|
+
then it's even easier:
|
41
|
+
|
42
|
+
%p== I like #{link_to 'chocolate', 'http://franschocolates.com'}!
|
43
|
+
|
44
|
+
### How do I stop Haml from indenting the contents of my `pre` and `textarea` tags?
|
45
|
+
{#q-preserve}
|
46
|
+
|
47
|
+
Because Haml automatically indents the HTML source code,
|
48
|
+
the contents of whitespace-sensitive tags like `pre` and `textarea`
|
49
|
+
can get screwed up.
|
50
|
+
The solution is to replace the newlines inside these tags
|
51
|
+
with HTML newline entities (`
`),
|
52
|
+
which Haml does using the {Haml::Helpers#preserve} and {Haml::Helpers#find_and_preserve} helpers.
|
53
|
+
|
54
|
+
Normally, Haml will do this for you automatically
|
55
|
+
when you're using a tag that needs it
|
56
|
+
(this can be customized using the {file:HAML_REFERENCE.md#preserve-option `:preserve`} option.
|
57
|
+
For example,
|
58
|
+
|
59
|
+
%p
|
60
|
+
%textarea= "Foo\nBar"
|
61
|
+
|
62
|
+
will be compiled to
|
63
|
+
|
64
|
+
<p>
|
65
|
+
<textarea>Foo
Bar</textarea>
|
66
|
+
</p>
|
67
|
+
|
68
|
+
However, if a helper is generating the tag,
|
69
|
+
Haml can't detect that and so you'll have to call {Haml::Helpers#find_and_preserve} yourself.
|
70
|
+
You can also use `~`, which is the same as `=`
|
71
|
+
except that it automatically runs `find_and_preserve` on its input.
|
72
|
+
For example:
|
73
|
+
|
74
|
+
%p= find_and_preserve "<textarea>Foo\nBar</textarea>"
|
75
|
+
|
76
|
+
is the same as
|
77
|
+
|
78
|
+
%p~ "<textarea>Foo\nBar</textarea>"
|
79
|
+
|
80
|
+
and renders
|
81
|
+
|
82
|
+
<p><textarea>Foo
Bar</textarea></p>
|
83
|
+
|
84
|
+
### How do I make my long lines of Ruby code look nicer in my Haml document?
|
85
|
+
{#q-multiline}
|
86
|
+
|
87
|
+
Put them in a helper or your model.
|
88
|
+
|
89
|
+
Haml purposefully makes it annoying to put lots of Ruby code into your templates,
|
90
|
+
because lots of code doesn't belong in the view.
|
91
|
+
If you take that huge `link_to_remote` call
|
92
|
+
and move it to a `update_sidebar_link` helper,
|
93
|
+
it'll make your view both easier to read and more semantic.
|
94
|
+
|
95
|
+
If you absolutely must put lots of code in your template,
|
96
|
+
Haml offers a somewhat awkward multiline-continuation tool.
|
97
|
+
Put a `|` (pipe character) at the end of each line you want to be merged into one
|
98
|
+
(including the last line!).
|
99
|
+
For example:
|
100
|
+
|
101
|
+
%p= @this.is(way.too.much). |
|
102
|
+
code("and I should"). |
|
103
|
+
really_move.it.into( |
|
104
|
+
:a => @helper) |
|
105
|
+
|
106
|
+
Note that sometimes it is valid to include lots of Ruby in a template
|
107
|
+
when that Ruby is a helper call that passes in a lot of template information.
|
108
|
+
Thus when a function has lots of arguments,
|
109
|
+
it's possible to wrap it across multiple lines
|
110
|
+
as long as each line ends in a comma.
|
111
|
+
For example:
|
112
|
+
|
113
|
+
= link_to_remote "Add to cart",
|
114
|
+
:url => { :action => "add", :id => product.id },
|
115
|
+
:update => { :success => "cart", :failure => "error" }
|
116
|
+
|
117
|
+
### `form_for` is printing the form tag twice!
|
118
|
+
|
119
|
+
Make sure you're calling it with `-`, not `=`.
|
120
|
+
Just like in ERB, you have to do
|
121
|
+
|
122
|
+
<% form_for stuff do %>
|
123
|
+
...
|
124
|
+
<% end %>
|
125
|
+
|
126
|
+
in Haml, you have to do
|
127
|
+
|
128
|
+
- form_for stuff do
|
129
|
+
...
|
130
|
+
|
131
|
+
### I have Haml installed. Why is Rails (only looking for `.html.erb` files | rendering Haml files as plain text | rendering Haml files as blank pages)?
|
132
|
+
{#q-blank-page}
|
133
|
+
|
134
|
+
There are several reasons these things might be happening.
|
135
|
+
First of all, make sure that Haml really is installed;
|
136
|
+
either you've loaded the gem (via `config.gem` in Rails 2.3 or in the Gemfile in Rails 3),
|
137
|
+
or `vendor/plugins/haml` exists and contains files.
|
138
|
+
Then try restarting Mongrel or WEBrick or whatever you might be using.
|
139
|
+
|
140
|
+
Finally, if none of these work,
|
141
|
+
chances are you've got some localization plugin like Globalize installed.
|
142
|
+
Such plugins often don't play nicely with Haml.
|
143
|
+
Luckily, there's usually an easy fix.
|
144
|
+
For Globalize, just edit `globalize/lib/globalize/rails/action_view.rb`
|
145
|
+
and change
|
146
|
+
|
147
|
+
@@re_extension = /\.(rjs|rhtml|rxml)$/
|
148
|
+
|
149
|
+
to
|
150
|
+
|
151
|
+
@@re_extension = /\.(rjs|rhtml|rxml|erb|builder|haml)$/
|
152
|
+
|
153
|
+
For other plugins, a little searching will probably turn up a way to fix them as well.
|
154
|
+
|
155
|
+
## Sass
|
156
|
+
|
157
|
+
### Can I use a variable from my controller in my Sass file?
|
158
|
+
{#q-ruby-code}
|
159
|
+
|
160
|
+
No. Sass files aren't views.
|
161
|
+
They're compiled once into static CSS files,
|
162
|
+
then left along until they're changed and need to be compiled again.
|
163
|
+
Not only don't you want to be running a full request cycle
|
164
|
+
every time someone requests a stylesheet,
|
165
|
+
but it's not a great idea to put much logic in there anyway
|
166
|
+
due to how browsers handle them.
|
167
|
+
|
168
|
+
If you really need some sort of dynamic CSS,
|
169
|
+
you can define your own {Sass::Script::Functions Sass functions} using Ruby
|
170
|
+
that can access the database or other configuration.
|
171
|
+
*Be aware when doing this that Sass files are by default only compiled once
|
172
|
+
and then served statically.*
|
173
|
+
|
174
|
+
If you really, really need to compile Sass on each request,
|
175
|
+
first make sure you have adequate caching set up.
|
176
|
+
Then you can use {Sass::Engine} to render the code,
|
177
|
+
using the {file:SASS_REFERENCE.md#custom-option `:custom` option}
|
178
|
+
to pass in data that {Sass::Script::Functions::EvaluationContext#options can be accessed}
|
179
|
+
from your Sass functions.
|
180
|
+
|
181
|
+
## You still haven't answered my question!
|
182
|
+
|
183
|
+
Sorry! Try looking at the [Haml](http://haml-lang.com/docs/yardoc/HAML_REFERENCE.md.html)
|
184
|
+
or [Sass](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html) references,
|
185
|
+
If you can't find an answer there,
|
186
|
+
feel free to ask in `#haml` on irc.freenode.net
|
187
|
+
or send an email to the [mailing list](http://groups.google.com/group/haml?hl=en).
|
@@ -0,0 +1,1091 @@
|
|
1
|
+
# Haml Changelog
|
2
|
+
|
3
|
+
* Table of contents
|
4
|
+
{:toc}
|
5
|
+
|
6
|
+
## 3.0.23
|
7
|
+
|
8
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.23).
|
9
|
+
|
10
|
+
* Fix the error message for unloadable modules when running the executables under Ruby 1.9.2.
|
11
|
+
|
12
|
+
* Fix an error when combining old-style and new-style attributes.
|
13
|
+
|
14
|
+
## 3.0.22
|
15
|
+
|
16
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.22).
|
17
|
+
|
18
|
+
* Allow an empty line after `case` but before `when`.
|
19
|
+
|
20
|
+
* Remove `vendor/sass`, which snuck into the gem by mistake
|
21
|
+
and was causing trouble for Heroku users (thanks to [Jacques Crocker](http://railsjedi.com/)).
|
22
|
+
|
23
|
+
* Support the Rails 3.1 template handler API.
|
24
|
+
|
25
|
+
## 3.0.21
|
26
|
+
|
27
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.21).
|
28
|
+
|
29
|
+
* Fix the permissions errors for good.
|
30
|
+
|
31
|
+
## 3.0.20
|
32
|
+
|
33
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.20).
|
34
|
+
|
35
|
+
* Fix some permissions errors.
|
36
|
+
|
37
|
+
## 3.0.19
|
38
|
+
|
39
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.19).
|
40
|
+
|
41
|
+
* Fix the `:encoding` option under Ruby 1.9.2.
|
42
|
+
|
43
|
+
* Fix interpolated if statement when HTML escaping is enabled.
|
44
|
+
|
45
|
+
* Allow the `--unix-newlines` flag to work on Unix, where it's a no-op.
|
46
|
+
|
47
|
+
## 3.0.18
|
48
|
+
|
49
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.18).
|
50
|
+
|
51
|
+
* Don't require `rake` in the gemspec, for bundler compatibility under
|
52
|
+
JRuby. Thanks to [Gordon McCreight](http://www.gmccreight.com/blog).
|
53
|
+
|
54
|
+
* Get rid of the annoying RDoc errors on install.
|
55
|
+
|
56
|
+
* Disambiguate references to the `Rails` module when `haml-rails` is installed.
|
57
|
+
|
58
|
+
* Fix a bug in `haml_tag` that would allow duplicate attributes to be added
|
59
|
+
and make `data-` attributes not work.
|
60
|
+
|
61
|
+
* Compatibility with Rails 3 final.
|
62
|
+
|
63
|
+
## 3.0.17
|
64
|
+
|
65
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.17).
|
66
|
+
|
67
|
+
* Understand that mingw counts as Windows.
|
68
|
+
|
69
|
+
## 3.0.16
|
70
|
+
|
71
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
|
72
|
+
|
73
|
+
* Fix an html2haml ERB-parsing bug where ERB blocks were occasionally
|
74
|
+
left without indentation in Haml.
|
75
|
+
|
76
|
+
* Fix parsing of `if` and `case` statements whose values were assigned to variables.
|
77
|
+
This is still bad style, though.
|
78
|
+
|
79
|
+
* Fix `form_for` and `form_tag` when they're passed a block that
|
80
|
+
returns a string in a helper.
|
81
|
+
|
82
|
+
## 3.0.15
|
83
|
+
|
84
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.15).
|
85
|
+
|
86
|
+
There were no changes made to Haml between versions 3.0.14 and 3.0.15.
|
87
|
+
|
88
|
+
## 3.0.14
|
89
|
+
|
90
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.14).
|
91
|
+
|
92
|
+
* Allow CSS-style classes and ids to contain colons.
|
93
|
+
|
94
|
+
* Fix an obscure bug with if statements.
|
95
|
+
|
96
|
+
### Rails 3 Support
|
97
|
+
|
98
|
+
* Don't use the `#returning` method, which Rails 3 no longer provides.
|
99
|
+
|
100
|
+
## 3.0.13
|
101
|
+
|
102
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.13).
|
103
|
+
|
104
|
+
## Rails 3 Support
|
105
|
+
|
106
|
+
Support for Rails 3 versions prior to beta 4 has been removed.
|
107
|
+
Upgrade to Rails 3.0.0.beta4 if you haven't already.
|
108
|
+
|
109
|
+
### Minor Improvements
|
110
|
+
|
111
|
+
* Properly process frozen strings with encoding declarations.
|
112
|
+
|
113
|
+
## 3.0.12
|
114
|
+
|
115
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.12).
|
116
|
+
|
117
|
+
## Rails 3 Support
|
118
|
+
|
119
|
+
Apparently the last version broke in new and exciting ways under Rails 3,
|
120
|
+
due to the inconsistent load order caused by certain combinations of gems.
|
121
|
+
3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
|
122
|
+
|
123
|
+
### Deprecated: Rails 3 Beta 3
|
124
|
+
|
125
|
+
Haml's support for Rails 3.0.0.beta.3 has been deprecated.
|
126
|
+
Haml 3.0.13 will only support 3.0.0.beta.4.
|
127
|
+
|
128
|
+
## 3.0.11
|
129
|
+
|
130
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).
|
131
|
+
|
132
|
+
## 3.0.10
|
133
|
+
|
134
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.10).
|
135
|
+
|
136
|
+
### Appengine-JRuby Support
|
137
|
+
|
138
|
+
The way we determine the location of the Haml installation
|
139
|
+
no longer breaks the version of JRuby
|
140
|
+
used by [`appengine-jruby`](http://code.google.com/p/appengine-jruby/).
|
141
|
+
|
142
|
+
### Bug Fixes
|
143
|
+
|
144
|
+
* Single-line comments are now handled properly by `html2haml`.
|
145
|
+
|
146
|
+
## 3.0.9
|
147
|
+
|
148
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.9).
|
149
|
+
|
150
|
+
There were no changes made to Haml between versions 3.0.8 and 3.0.9.
|
151
|
+
A bug in Gemcutter caused the gem to be uploaded improperly.
|
152
|
+
|
153
|
+
## 3.0.8
|
154
|
+
|
155
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.8).
|
156
|
+
|
157
|
+
* Fix a bug with Rails versions prior to Rails 3.
|
158
|
+
|
159
|
+
## 3.0.7
|
160
|
+
|
161
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.7).
|
162
|
+
|
163
|
+
### Encoding Support
|
164
|
+
|
165
|
+
Haml 3.0.7 adds support for Ruby-style `-# coding:` comments
|
166
|
+
for declaring the encoding of a template.
|
167
|
+
For details see {file:HAML_REFERENCE.md#encodings the reference}.
|
168
|
+
|
169
|
+
This also slightly changes the behavior of Haml when the
|
170
|
+
{file:HAML_REFERENCE.md#encoding-option `:encoding` option} is not set.
|
171
|
+
Rather than defaulting to `"utf-8"`,
|
172
|
+
it defaults to the encoding of the source document,
|
173
|
+
and only falls back to `"utf-8"` if this encoding is `"us-ascii"`.
|
174
|
+
|
175
|
+
The `haml` executable also now takes an `-E` option for specifying encoding,
|
176
|
+
which works the same way as Ruby's `-E` option.
|
177
|
+
|
178
|
+
### Other Changes
|
179
|
+
|
180
|
+
* Default to the {file:HAML_REFERENCE.md#format-option `:html5` format}
|
181
|
+
when running under Rails 3,
|
182
|
+
since it defaults to HTML5 as well.
|
183
|
+
|
184
|
+
### Bug Fixes
|
185
|
+
|
186
|
+
* When generating Haml for something like `<span>foo</span>,`,
|
187
|
+
use `= succeed` rather than `- succeed` (which doesn't work).
|
188
|
+
|
189
|
+
## 3.0.6
|
190
|
+
|
191
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.6).
|
192
|
+
|
193
|
+
### Rails 2.3.7 Support
|
194
|
+
|
195
|
+
This release fully supports Rails 2.3.7.
|
196
|
+
|
197
|
+
### Rails 2.3.6 Support Removed
|
198
|
+
|
199
|
+
Rails 2.3.6 was released with various bugs related to XSS-protection
|
200
|
+
and interfacing with Haml.
|
201
|
+
Rails 2.3.7 was released shortly after with fixes for these bugs.
|
202
|
+
Thus, Haml no longer supports Rails 2.3.6,
|
203
|
+
and anyone using it should upgrade to 2.3.7.
|
204
|
+
|
205
|
+
Attempting to use Haml with Rails 2.3.6 will cause an error.
|
206
|
+
|
207
|
+
## 3.0.5
|
208
|
+
|
209
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.5).
|
210
|
+
|
211
|
+
### Rails 2.3.6 Support
|
212
|
+
|
213
|
+
This release hacks around various bugs in Rails 2.3.6,
|
214
|
+
bringing Haml up to full compatibility.
|
215
|
+
|
216
|
+
### Rails 3 Support
|
217
|
+
|
218
|
+
Make sure the `#capture` helper in Rails 3
|
219
|
+
doesn't print its value directly to the template.
|
220
|
+
|
221
|
+
## 3.0.4
|
222
|
+
|
223
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.4).
|
224
|
+
|
225
|
+
There were no changes made to Haml between versions 3.0.3 and 3.0.4.
|
226
|
+
|
227
|
+
## 3.0.3
|
228
|
+
|
229
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.3).
|
230
|
+
|
231
|
+
### Rails 3 Support
|
232
|
+
|
233
|
+
In order to make some Rails loading errors easier to debug,
|
234
|
+
Sass will now raise an error if `Rails.root` is `nil` when Sass is loading.
|
235
|
+
Previously, this would just cause the paths to be mis-set.
|
236
|
+
|
237
|
+
## 3.0.2
|
238
|
+
|
239
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.2).
|
240
|
+
|
241
|
+
There were no changes made to Haml between versions 3.0.1 and 3.0.2.
|
242
|
+
|
243
|
+
## 3.0.1
|
244
|
+
|
245
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.1).
|
246
|
+
|
247
|
+
### Installation in Rails
|
248
|
+
|
249
|
+
`haml --rails` is no longer necessary for installing Haml in Rails.
|
250
|
+
Now all you need to do is add `gem "haml"` to the Gemfile for Rails 3,
|
251
|
+
or add `config.gem "haml"` to `config/environment.rb` for previous versions.
|
252
|
+
|
253
|
+
`haml --rails` will still work,
|
254
|
+
but it has been deprecated and will print an error message.
|
255
|
+
It will not work in the next version of Haml.
|
256
|
+
|
257
|
+
### Rails Test Speed
|
258
|
+
|
259
|
+
The {file:HAML_REFERENCE.md#ugly-option `:ugly` option} is now on by default
|
260
|
+
in the testing environment in Rails to help tests run faster.
|
261
|
+
|
262
|
+
## 3.0.0
|
263
|
+
{#3-0-0}
|
264
|
+
|
265
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.0).
|
266
|
+
|
267
|
+
### Backwards Incompatibilities: Must Read!
|
268
|
+
|
269
|
+
* The `puts` helper has been removed.
|
270
|
+
Use {Haml::Helpers#haml\_concat} instead.
|
271
|
+
|
272
|
+
### More Useful Multiline
|
273
|
+
|
274
|
+
Ruby code can now be wrapped across multiple lines
|
275
|
+
as long as each line but the last ends in a comma.
|
276
|
+
For example:
|
277
|
+
|
278
|
+
= link_to_remote "Add to cart",
|
279
|
+
:url => { :action => "add", :id => product.id },
|
280
|
+
:update => { :success => "cart", :failure => "error" }
|
281
|
+
|
282
|
+
### `haml_tag` and `haml_concat` Improvements
|
283
|
+
|
284
|
+
#### `haml_tag` with CSS Selectors
|
285
|
+
|
286
|
+
The {Haml::Helpers#haml_tag haml\_tag} helper can now take a string
|
287
|
+
using the same class/id shorthand as in standard Haml code.
|
288
|
+
Manually-specified class and id attributes are merged,
|
289
|
+
again as in standard Haml code.
|
290
|
+
For example:
|
291
|
+
|
292
|
+
haml_tag('#foo') #=> <div id='foo' />
|
293
|
+
haml_tag('.bar') #=> <div class='bar' />
|
294
|
+
haml_tag('span#foo.bar') #=> <span class='bar' id='foo' />
|
295
|
+
haml_tag('span#foo.bar', :class => 'abc') #=> <span class='abc bar' id='foo' />
|
296
|
+
haml_tag('span#foo.bar', :id => 'abc') #=> <span class='bar' id='abc_foo' />
|
297
|
+
|
298
|
+
Cheers, [S. Burkhard](http://github.com/hasclass/).
|
299
|
+
|
300
|
+
#### `haml_tag` with Multiple Lines of Content
|
301
|
+
|
302
|
+
The {Haml::Helpers#haml_tag haml\_tag} helper also does a better job
|
303
|
+
of formatting tags with multiple lines of content.
|
304
|
+
If a tag has multiple levels of content,
|
305
|
+
that content is indented beneath the tag.
|
306
|
+
For example:
|
307
|
+
|
308
|
+
haml_tag(:p, "foo\nbar") #=>
|
309
|
+
# <p>
|
310
|
+
# foo
|
311
|
+
# bar
|
312
|
+
# </p>
|
313
|
+
|
314
|
+
#### `haml_tag` with Multiple Lines of Content
|
315
|
+
|
316
|
+
Similarly, the {Haml::Helpers#haml_concat haml\_concat} helper
|
317
|
+
will properly indent multiple lines of content.
|
318
|
+
For example:
|
319
|
+
|
320
|
+
haml_tag(:p) {haml_concat "foo\nbar"} #=>
|
321
|
+
# <p>
|
322
|
+
# foo
|
323
|
+
# bar
|
324
|
+
# </p>
|
325
|
+
|
326
|
+
#### `haml_tag` and `haml_concat` with `:ugly`
|
327
|
+
|
328
|
+
When the {file:HAML_REFERENCE.md#ugly-option `:ugly` option} is enabled,
|
329
|
+
{Haml::Helpers#haml_tag haml\_tag} and {Haml::Helpers#haml_concat haml\_concat}
|
330
|
+
won't do any indentation of their arguments.
|
331
|
+
|
332
|
+
### Basic Tag Improvements
|
333
|
+
|
334
|
+
* It's now possible to customize the name used for {file:HAML_REFERENCE.md#object_reference_ object reference}
|
335
|
+
for a given object by implementing the `haml_object_ref` method on that object.
|
336
|
+
This method should return a string that will be used in place of the class name of the object
|
337
|
+
in the generated class and id.
|
338
|
+
Thanks to [Tim Carey-Smith](http://twitter.com/halorgium).
|
339
|
+
|
340
|
+
* All attribute values may be non-String types.
|
341
|
+
Their `#to_s` method will be called to convert them to strings.
|
342
|
+
Previously, this only worked for attributes other than `class`.
|
343
|
+
|
344
|
+
### `:class` and `:id` Attributes Accept Ruby Arrays
|
345
|
+
|
346
|
+
In an attribute hash, the `:class` attribute now accepts an Array
|
347
|
+
whose elements will be converted to strings and joined with <nobr>`" "`</nobr>.
|
348
|
+
Likewise, the `:id` attribute now accepts an Array
|
349
|
+
whose elements will be converted to strings and joined with `"_"`.
|
350
|
+
The array will first be flattened and any elements that do not test as true
|
351
|
+
will be stripped out. For example:
|
352
|
+
|
353
|
+
.column{:class => [@item.type, @item == @sortcol && [:sort, @sortdir]] }
|
354
|
+
|
355
|
+
could render as any of:
|
356
|
+
|
357
|
+
class="column numeric sort ascending"
|
358
|
+
class="column numeric"
|
359
|
+
class="column sort descending"
|
360
|
+
class="column"
|
361
|
+
|
362
|
+
depending on whether `@item.type` is `"numeric"` or `nil`,
|
363
|
+
whether `@item == @sortcol`,
|
364
|
+
and whether `@sortdir` is `"ascending"` or `"descending"`.
|
365
|
+
|
366
|
+
A single value can still be specified.
|
367
|
+
If that value evaluates to false it is ignored;
|
368
|
+
otherwise it gets converted to a string.
|
369
|
+
For example:
|
370
|
+
|
371
|
+
.item{:class => @item.is_empty? && "empty"}
|
372
|
+
|
373
|
+
could render as either of:
|
374
|
+
|
375
|
+
class="item"
|
376
|
+
class="item empty"
|
377
|
+
|
378
|
+
Thanks to [Ronen Barzel](http://www.ronenbarzel.org/).
|
379
|
+
|
380
|
+
### HTML5 Custom Data Attributes
|
381
|
+
|
382
|
+
Creating an attribute named `:data` with a Hash value
|
383
|
+
will generate [HTML5 custom data attributes](http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data).
|
384
|
+
For example:
|
385
|
+
|
386
|
+
%div{:data => {:author_id => 123, :post_id => 234}}
|
387
|
+
|
388
|
+
Will compile to:
|
389
|
+
|
390
|
+
<div data-author_id='123' data-post_id='234'></div>
|
391
|
+
|
392
|
+
Thanks to [John Reilly](http://twitter.com/johnreilly).
|
393
|
+
|
394
|
+
### More Powerful `:autoclose` Option
|
395
|
+
|
396
|
+
The {file:HAML_REFERENCE.md#attributes_option `:attributes`} option
|
397
|
+
can now take regular expressions that specify which tags to make self-closing.
|
398
|
+
|
399
|
+
### `--double-quote-attributes` Option
|
400
|
+
|
401
|
+
The Haml executable now has a `--double-quote-attributes` option (short form: `-q`)
|
402
|
+
that causes attributes to use a double-quote mark rather than single-quote.
|
403
|
+
Thanks to [Charles Roper](http://charlesroper.com/).
|
404
|
+
|
405
|
+
### `:css` Filter
|
406
|
+
|
407
|
+
Haml now supports a {file:HAML_REFERENCE.md#css-filter `:css` filter}
|
408
|
+
that surrounds the filtered text with `<style>` and CDATA tags.
|
409
|
+
|
410
|
+
### `haml-spec` Integration
|
411
|
+
|
412
|
+
We've added the cross-implementation tests from the [haml-spec](http://github.com/norman/haml-spec) project
|
413
|
+
to the standard Haml test suite, to be sure we remain compatible with the base functionality
|
414
|
+
of the many and varied [Haml implementations](http://en.wikipedia.org/wiki/Haml#Implementations).
|
415
|
+
|
416
|
+
### Ruby 1.9 Support
|
417
|
+
|
418
|
+
* Haml and `html2haml` now produce more descriptive errors
|
419
|
+
when given a template with invalid byte sequences for that template's encoding,
|
420
|
+
including the line number and the offending character.
|
421
|
+
|
422
|
+
* Haml and `html2haml` now accept Unicode documents with a
|
423
|
+
[byte-order-mark](http://en.wikipedia.org/wiki/Byte_order_mark).
|
424
|
+
|
425
|
+
### Rails Support
|
426
|
+
|
427
|
+
* When `form_for` is used with `=`, or `form_tag` is used with `=` and a block,
|
428
|
+
they will now raise errors explaining that they should be used with `-`.
|
429
|
+
This is similar to how {Haml::Helpers#haml\_concat} behaves,
|
430
|
+
and will hopefully clear up some difficult bugs for some users.
|
431
|
+
|
432
|
+
### Rip Support
|
433
|
+
|
434
|
+
Haml is now compatible with the [Rip](http://hellorip.com/) package management system.
|
435
|
+
Thanks to [Josh Peek](http://joshpeek.com/).
|
436
|
+
|
437
|
+
### `html2haml` Improvements
|
438
|
+
|
439
|
+
* Ruby blocks within ERB are now supported.
|
440
|
+
The Haml code is properly indented and the `end`s are removed.
|
441
|
+
This includes methods with blocks and all language constructs
|
442
|
+
such as `if`, `begin`, and `case`.
|
443
|
+
For example:
|
444
|
+
|
445
|
+
<% content_for :footer do %>
|
446
|
+
<p>Hi there!</p>
|
447
|
+
<% end %>
|
448
|
+
|
449
|
+
is now transformed into:
|
450
|
+
|
451
|
+
- content_for :footer do
|
452
|
+
%p Hi there!
|
453
|
+
|
454
|
+
Thanks to [Jack Chen](http://chendo.net) and [Dr. Nic Williams](http://drnicwilliams)
|
455
|
+
for inspiring this and creating the first draft of the code.
|
456
|
+
|
457
|
+
* Inline HTML text nodes are now transformed into inline Haml text.
|
458
|
+
For example, `<p>foo</p>` now becomes `%p foo`, whereas before it became:
|
459
|
+
|
460
|
+
%p
|
461
|
+
foo
|
462
|
+
|
463
|
+
The same is true for inline comments,
|
464
|
+
and inline ERB when running in ERB mode:
|
465
|
+
`<p><%= foo %></p>` will now become `%p= foo`.
|
466
|
+
|
467
|
+
* ERB included within text is now transformed into Ruby interpolation.
|
468
|
+
For example:
|
469
|
+
|
470
|
+
<p>
|
471
|
+
Foo <%= bar %> baz!
|
472
|
+
Flip <%= bang %>.
|
473
|
+
</p>
|
474
|
+
|
475
|
+
is now transformed into:
|
476
|
+
|
477
|
+
%p
|
478
|
+
Foo #{bar} baz!
|
479
|
+
Flip #{bang}.
|
480
|
+
|
481
|
+
* `<script>` tags are now transformed into `:javascript` filters,
|
482
|
+
and `<style>` tags into `:css` filters.
|
483
|
+
and indentation is preserved.
|
484
|
+
For example:
|
485
|
+
|
486
|
+
<script type="text/javascript">
|
487
|
+
function foo() {
|
488
|
+
return 12;
|
489
|
+
}
|
490
|
+
</script>
|
491
|
+
|
492
|
+
is now transformed into:
|
493
|
+
|
494
|
+
:javascript
|
495
|
+
function foo() {
|
496
|
+
return 12;
|
497
|
+
}
|
498
|
+
|
499
|
+
* `<pre>` and `<textarea>` tags are now transformed into the `:preserve` filter.
|
500
|
+
For example:
|
501
|
+
|
502
|
+
<pre>Foo
|
503
|
+
bar
|
504
|
+
baz</pre>
|
505
|
+
|
506
|
+
is now transformed into:
|
507
|
+
|
508
|
+
%pre
|
509
|
+
:preserve
|
510
|
+
Foo
|
511
|
+
bar
|
512
|
+
baz
|
513
|
+
|
514
|
+
* Self-closing tags (such as `<br />`) are now transformed into
|
515
|
+
self-closing Haml tags (like `%br/`).
|
516
|
+
|
517
|
+
* IE conditional comments are now properly parsed.
|
518
|
+
|
519
|
+
* Attributes are now output in a more-standard format,
|
520
|
+
without spaces within the curly braces
|
521
|
+
(e.g. `%p{:foo => "bar"}` as opposed to `%p{ :foo => "bar" }`).
|
522
|
+
|
523
|
+
* IDs and classes containing `#` and `.` are now output as string attributes
|
524
|
+
(e.g. `%p{:class => "foo.bar"}`).
|
525
|
+
|
526
|
+
* Attributes are now sorted, to maintain a deterministic order.
|
527
|
+
|
528
|
+
* `>` or {Haml::Helpers#succeed #succeed} are inserted where necessary
|
529
|
+
when inline formatting is used.
|
530
|
+
|
531
|
+
* Multi-line ERB statements are now properly indented,
|
532
|
+
and those without any content are removed.
|
533
|
+
|
534
|
+
### Minor Improvements
|
535
|
+
|
536
|
+
* {Haml::Helpers#capture_haml capture\_haml} is now faster when using `:ugly`.
|
537
|
+
Thanks to [Alf Mikula](http://alfmikula.blogspot.com/).
|
538
|
+
|
539
|
+
* Add an `RDFa` doctype shortcut.
|
540
|
+
|
541
|
+
## 2.2.24
|
542
|
+
|
543
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.24).
|
544
|
+
|
545
|
+
* Don't prevent ActiveModel form elements from having error formatting applied.
|
546
|
+
|
547
|
+
* Make sure `form_for` blocks are properly indented under Rails 3.0.0.beta.3.
|
548
|
+
|
549
|
+
* Don't activate a bug in the `dynamic_form` plugin under Rails 3.0.0.beta.3
|
550
|
+
that would cause its methods not to be loaded.
|
551
|
+
|
552
|
+
## 2.2.23
|
553
|
+
|
554
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.23).
|
555
|
+
|
556
|
+
* Don't crash when `rake gems` is run in Rails with Haml installed.
|
557
|
+
Thanks to [Florian Frank](http://github.com/flori).
|
558
|
+
|
559
|
+
* Don't remove `\n` in filters with interpolation.
|
560
|
+
|
561
|
+
* Silence those annoying `"regexp match /.../n against to UTF-8 string"` warnings.
|
562
|
+
|
563
|
+
## 2.2.22
|
564
|
+
|
565
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.22).
|
566
|
+
|
567
|
+
* Add a railtie so Haml and Sass will be automatically loaded in Rails 3.
|
568
|
+
Thanks to [Daniel Neighman](http://pancakestacks.wordpress.com/).
|
569
|
+
|
570
|
+
* Add a deprecation message for using `-` with methods like `form_for`
|
571
|
+
that return strings in Rails 3.
|
572
|
+
This is [the same deprecation that exists in Rails 3](http://github.com/rails/rails/commit/9de83050d3a4b260d4aeb5d09ec4eb64f913ba64).
|
573
|
+
|
574
|
+
* Make sure line numbers are reported correctly when filters are being used.
|
575
|
+
|
576
|
+
* Make loading the gemspec not crash on read-only filesystems like Heroku's.
|
577
|
+
|
578
|
+
* Don't crash when methods like `form_for` return `nil` in, for example, Rails 3 beta.
|
579
|
+
|
580
|
+
* Compatibility with Rails 3 beta's RJS facilities.
|
581
|
+
|
582
|
+
## 2.2.21
|
583
|
+
|
584
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.21).
|
585
|
+
|
586
|
+
* Fix a few bugs in the git-revision-reporting in {Haml::Version#version}.
|
587
|
+
In particular, it will still work if `git gc` has been called recently,
|
588
|
+
or if various files are missing.
|
589
|
+
|
590
|
+
* Always use `__FILE__` when reading files within the Haml repo in the `Rakefile`.
|
591
|
+
According to [this bug report](http://github.com/carlhuda/bundler/issues/issue/44),
|
592
|
+
this should make Haml work better with Bundler.
|
593
|
+
|
594
|
+
* Make the error message for `- end` a little more intuitive based on user feedback.
|
595
|
+
|
596
|
+
* Compatibility with methods like `form_for`
|
597
|
+
that return strings rather than concatenate to the template in Rails 3.
|
598
|
+
|
599
|
+
* Add a {Haml::Helpers#with_tabs with_tabs} helper,
|
600
|
+
which sets the indentation level for the duration of a block.
|
601
|
+
|
602
|
+
## 2.2.20
|
603
|
+
|
604
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.20).
|
605
|
+
|
606
|
+
* The `form_tag` Rails helper is now properly marked as HTML-safe
|
607
|
+
when using Rails' XSS protection with Rails 2.3.5.
|
608
|
+
|
609
|
+
* Calls to `defined?` shouldn't interfere with Rails' autoloading
|
610
|
+
in very old versions (1.2.x).
|
611
|
+
|
612
|
+
* Fix a bug where calls to ActionView's `render` method
|
613
|
+
with blocks and layouts wouldn't work under the Rails 3.0 beta.
|
614
|
+
|
615
|
+
* Fix a bug where the closing tags of nested calls to \{Haml::Helpers#haml\_concat}
|
616
|
+
were improperly escaped under the Rails 3.0 beta.
|
617
|
+
|
618
|
+
## 2.2.19
|
619
|
+
|
620
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.19).
|
621
|
+
|
622
|
+
* Fix a bug with the integration with Rails' XSS support.
|
623
|
+
In particular, correctly override `safe_concat`.
|
624
|
+
|
625
|
+
## 2.2.18
|
626
|
+
|
627
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
|
628
|
+
|
629
|
+
* Support [the new XSS-protection API](http://yehudakatz.com/2010/02/01/safebuffers-and-rails-3-0/)
|
630
|
+
used in Rails 3.
|
631
|
+
|
632
|
+
* Use `Rails.env` rather than `RAILS_ENV` when running under Rails 3.0.
|
633
|
+
Thanks to [Duncan Grazier](http://duncangrazier.com/).
|
634
|
+
|
635
|
+
* Add a `--unix-newlines` flag to all executables
|
636
|
+
for outputting Unix-style newlines on Windows.
|
637
|
+
|
638
|
+
* Fix a couple bugs with the `:erb` filter:
|
639
|
+
make sure error reporting uses the correct line numbers,
|
640
|
+
and allow multi-line expressions.
|
641
|
+
|
642
|
+
* Fix a parsing bug for HTML-style attributes including `#`.
|
643
|
+
|
644
|
+
## 2.2.17
|
645
|
+
|
646
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.17).
|
647
|
+
|
648
|
+
* Fix compilation of HTML5 doctypes when using `html2haml`.
|
649
|
+
|
650
|
+
* `nil` values for Sass options are now ignored,
|
651
|
+
rather than raising errors.
|
652
|
+
|
653
|
+
## 2.2.16
|
654
|
+
|
655
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
|
656
|
+
|
657
|
+
* Abstract out references to `ActionView::TemplateError`,
|
658
|
+
`ActionView::TemplateHandler`, etc.
|
659
|
+
These have all been renamed to `ActionView::Template::*`
|
660
|
+
in Rails 3.0.
|
661
|
+
|
662
|
+
## 2.2.15
|
663
|
+
|
664
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.15).
|
665
|
+
|
666
|
+
* Allow `if` statements with no content followed by `else` clauses.
|
667
|
+
For example:
|
668
|
+
|
669
|
+
- if foo
|
670
|
+
- else
|
671
|
+
bar
|
672
|
+
|
673
|
+
## 2.2.14
|
674
|
+
|
675
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.14).
|
676
|
+
|
677
|
+
* Don't print warnings when escaping attributes containing non-ASCII characters
|
678
|
+
in Ruby 1.9.
|
679
|
+
|
680
|
+
* Don't crash when parsing an XHTML Strict doctype in `html2haml`.
|
681
|
+
|
682
|
+
* Support the HTML5 doctype in an XHTML document
|
683
|
+
by using `!!! 5` as the doctype declaration.
|
684
|
+
|
685
|
+
## 2.2.13
|
686
|
+
|
687
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.13).
|
688
|
+
|
689
|
+
* Allow users to specify {file:HAML_REFERENCE.md#encoding_option `:encoding => "ascii-8bit"`}
|
690
|
+
even for templates that include non-ASCII byte sequences.
|
691
|
+
This makes Haml templates not crash when given non-ASCII input
|
692
|
+
that's marked as having an ASCII encoding.
|
693
|
+
|
694
|
+
* Fixed an incompatibility with Hpricot 0.8.2, which is used for `html2haml`.
|
695
|
+
|
696
|
+
## 2.2.12
|
697
|
+
|
698
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.12).
|
699
|
+
|
700
|
+
There were no changes made to Haml between versions 2.2.11 and 2.2.12.
|
701
|
+
|
702
|
+
## 2.2.11
|
703
|
+
|
704
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.11).
|
705
|
+
|
706
|
+
* Fixed a bug with XSS protection where HTML escaping would raise an error
|
707
|
+
if passed a non-string value.
|
708
|
+
Note that this doesn't affect any HTML escaping when XSS protection is disabled.
|
709
|
+
|
710
|
+
* Fixed a bug in outer-whitespace nuking where whitespace-only Ruby strings
|
711
|
+
blocked whitespace nuking beyond them.
|
712
|
+
|
713
|
+
* Use `ensure` to protect the resetting of the Haml output buffer
|
714
|
+
against exceptions that are raised within the compiled Haml code.
|
715
|
+
|
716
|
+
* Fix an error line-numbering bug that appeared if an error was thrown
|
717
|
+
within loud script (`=`).
|
718
|
+
This is not the best solution, as it disables a few optimizations,
|
719
|
+
but it shouldn't have too much effect and the optimizations
|
720
|
+
will hopefully be re-enabled in version 2.4.
|
721
|
+
|
722
|
+
* Don't crash if the plugin skeleton is installed and `rake gems:install` is run.
|
723
|
+
|
724
|
+
* Don't use `RAILS_ROOT` directly.
|
725
|
+
This no longer exists in Rails 3.0.
|
726
|
+
Instead abstract this out as `Haml::Util.rails_root`.
|
727
|
+
This changes makes Haml fully compatible with edge Rails as of this writing.
|
728
|
+
|
729
|
+
## 2.2.10
|
730
|
+
|
731
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.10).
|
732
|
+
|
733
|
+
* Fixed a bug where elements with dynamic attributes and no content
|
734
|
+
would have too much whitespace between the opening and closing tag.
|
735
|
+
|
736
|
+
* Changed `rails/init.rb` away from loading `init.rb` and instead
|
737
|
+
have it basically copy the content.
|
738
|
+
This allows us to transfer the proper binding to `Haml.init_rails`.
|
739
|
+
|
740
|
+
* Make sure Haml only tries to enable XSS protection integration
|
741
|
+
once all other plugins are loaded.
|
742
|
+
This allows it to work properly when Haml is a gem
|
743
|
+
and the `rails_xss` plugin is being used.
|
744
|
+
|
745
|
+
* Mark the return value of Haml templates as HTML safe.
|
746
|
+
This makes Haml partials work with Rails' XSS protection.
|
747
|
+
|
748
|
+
## 2.2.9
|
749
|
+
|
750
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.9).
|
751
|
+
|
752
|
+
* Fixed a bug where Haml's text was concatenated to the wrong buffer
|
753
|
+
under certain circumstances.
|
754
|
+
This was mostly an issue under Rails when using methods like `capture`.
|
755
|
+
|
756
|
+
* Fixed a bug where template text was escaped when there was interpolation in a line
|
757
|
+
and the `:escape_html` option was enabled. For example:
|
758
|
+
|
759
|
+
Foo < Bar #{"<"} Baz
|
760
|
+
|
761
|
+
with `:escape_html` used to render as
|
762
|
+
|
763
|
+
Foo &lt; Bar < Baz
|
764
|
+
|
765
|
+
but now renders as
|
766
|
+
|
767
|
+
Foo < Bar < Baz
|
768
|
+
|
769
|
+
### Rails XSS Protection
|
770
|
+
|
771
|
+
Haml 2.2.9 supports the XSS protection in Rails versions 2.3.5+.
|
772
|
+
There are several components to this:
|
773
|
+
|
774
|
+
* If XSS protection is enabled, Haml's {file:HAML_REFERENCE.md#escape_html-option `:escape_html`}
|
775
|
+
option is set to `true` by default.
|
776
|
+
|
777
|
+
* Strings declared as HTML safe won't be escaped by Haml,
|
778
|
+
including the {file:Haml/Helpers.html#html_escape-instance_method `#html_escape`} helper
|
779
|
+
and `&=` if `:escape_html` has been disabled.
|
780
|
+
|
781
|
+
* Haml helpers that generate HTML are marked as HTML safe,
|
782
|
+
and will escape their input if it's not HTML safe.
|
783
|
+
|
784
|
+
## 2.2.8
|
785
|
+
|
786
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.8).
|
787
|
+
|
788
|
+
* Fixed a potential XSS issue with HTML escaping and wacky Unicode nonsense.
|
789
|
+
This is the same as [the issue fixed in Rails](http://groups.google.com/group/rubyonrails-security/browse_thread/thread/48ab3f4a2c16190f) a bit ago.
|
790
|
+
|
791
|
+
## 2.2.7
|
792
|
+
|
793
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.7).
|
794
|
+
|
795
|
+
* Fixed an `html2haml` issue where ERB attribute values
|
796
|
+
weren't HTML-unescaped before being transformed into Haml.
|
797
|
+
|
798
|
+
* Fixed an `html2haml` issue where `#{}` wasn't escaped
|
799
|
+
before being transformed into Haml.
|
800
|
+
|
801
|
+
* Add `<code>` to the list of tags that's
|
802
|
+
{file:HAML_REFERENCE.md#preserve-option automatically whitespace-preserved}.
|
803
|
+
|
804
|
+
* Fixed a bug with `end` being followed by code in silent scripts -
|
805
|
+
it no longer throws an error when it's nested beneath tags.
|
806
|
+
|
807
|
+
* Fixed a bug with inner whitespace-nuking and conditionals.
|
808
|
+
The `else` et al. clauses of conditionals are now properly
|
809
|
+
whitespace-nuked.
|
810
|
+
|
811
|
+
## 2.2.6
|
812
|
+
|
813
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.6).
|
814
|
+
|
815
|
+
* Made the error message when unable to load a dependency for html2haml
|
816
|
+
respect the `--trace` option.
|
817
|
+
|
818
|
+
* Don't crash when the `__FILE__` constant of a Ruby file is a relative path,
|
819
|
+
as apparently happens sometimes in TextMate
|
820
|
+
(thanks to [Karl Varga](http://github.com/kjvarga)).
|
821
|
+
|
822
|
+
* Add "Sass" to the `--version` string for the executables.
|
823
|
+
|
824
|
+
* Raise an exception when commas are omitted in static attributes
|
825
|
+
(e.g. `%p{:foo => "bar" :baz => "bang"}`).
|
826
|
+
|
827
|
+
## 2.2.5
|
828
|
+
|
829
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.5).
|
830
|
+
|
831
|
+
* Got rid of trailing whitespace produced when opening a conditional comment
|
832
|
+
(thanks to [Norman Clarke](http://blog.njclarke.com/)).
|
833
|
+
|
834
|
+
* Fixed CSS id concatenation when a numeric id is given as an attribute.
|
835
|
+
(thanks to [Norman Clarke](http://blog.njclarke.com/)).
|
836
|
+
|
837
|
+
* Fixed a couple bugs with using "-end" in strings.
|
838
|
+
|
839
|
+
## 2.2.4
|
840
|
+
|
841
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.4).
|
842
|
+
|
843
|
+
* Allow `end` to be used for silent script when it's followed by code.
|
844
|
+
For example:
|
845
|
+
|
846
|
+
- form_for do
|
847
|
+
...
|
848
|
+
- end if @show_form
|
849
|
+
|
850
|
+
This isn't very good style, but we're supporting it for consistency's sake.
|
851
|
+
|
852
|
+
* Don't add `require 'rubygems'` to the top of init.rb when installed
|
853
|
+
via `haml --rails`. This isn't necessary, and actually gets
|
854
|
+
clobbered as soon as haml/template is loaded.
|
855
|
+
|
856
|
+
## 2.2.3
|
857
|
+
|
858
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.3).
|
859
|
+
|
860
|
+
Haml 2.2.3 adds support for the JRuby bundling tools
|
861
|
+
for Google AppEngine, thanks to [Jan Ulbrich](http://github.com/ulbrich).
|
862
|
+
|
863
|
+
## 2.2.2
|
864
|
+
|
865
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.2).
|
866
|
+
|
867
|
+
Haml 2.2.2 is a minor bugfix release, with several notable changes.
|
868
|
+
First, {file:Haml/Helpers.html#haml_concat-instance_method `haml_concat`}
|
869
|
+
will now raise an error when used with `=`.
|
870
|
+
This has always been incorrect behavior,
|
871
|
+
and in fact has never actually worked.
|
872
|
+
The only difference is that now it will fail loudly.
|
873
|
+
Second, Ruby 1.9 is now more fully supported,
|
874
|
+
especially with the {file:HAML_REFERENCE.md#htmlstyle_attributes_ new attribute syntax}.
|
875
|
+
Third, filters are no longer escaped when the {file:HAML_REFERENCE.md#escape_html-option `:escape_html` option}
|
876
|
+
is enabled and `#{}` interpolation is used.
|
877
|
+
|
878
|
+
## 2.2.1
|
879
|
+
|
880
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.1).
|
881
|
+
|
882
|
+
Haml 2.2.1 is a minor bug-fix release.
|
883
|
+
|
884
|
+
## 2.2.0
|
885
|
+
|
886
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.0).
|
887
|
+
|
888
|
+
Haml 2.2 adds several new features to the language,
|
889
|
+
fixes several bugs, and dramatically improves performance
|
890
|
+
(particularly when running with {file:HAML_REFERENCE.md#ugly-option `:ugly`} enabled).
|
891
|
+
|
892
|
+
### Syntax Changes
|
893
|
+
|
894
|
+
#### HTML-Style Attribute Syntax
|
895
|
+
|
896
|
+
Haml 2.2 introduces a new syntax for attributes
|
897
|
+
based on the HTML syntax.
|
898
|
+
For example:
|
899
|
+
|
900
|
+
%a(href="http://haml-lang.com" title="Haml's so cool!")
|
901
|
+
%img(src="/images/haml.png" alt="Haml")
|
902
|
+
|
903
|
+
There are two main reasons for this.
|
904
|
+
First, the hash-style syntax is very Ruby-specific.
|
905
|
+
There are now [Haml implementations](http://en.wikipedia.org/wiki/Haml#Implementations)
|
906
|
+
in many languages, each of which has its own syntax for hashes
|
907
|
+
(or dicts or associative arrays or whatever they're called).
|
908
|
+
The HTML syntax will be adopted by all of them,
|
909
|
+
so you can feel comfortable using Haml in whichever language you need.
|
910
|
+
|
911
|
+
Second, the hash-style syntax is quite verbose.
|
912
|
+
`%img{:src => "/images/haml.png", :alt => "Haml"}`
|
913
|
+
is eight characters longer than `%img(src="/images/haml.png" alt="Haml")`.
|
914
|
+
Haml's supposed to be about writing templates quickly and easily;
|
915
|
+
HTML-style attributes should help out a lot with that.
|
916
|
+
|
917
|
+
Ruby variables can be used as attribute values by omitting quotes.
|
918
|
+
Local variables or instance variables can be used.
|
919
|
+
For example:
|
920
|
+
|
921
|
+
%a(title=@title href=href) Stuff
|
922
|
+
|
923
|
+
This is the same as:
|
924
|
+
|
925
|
+
%a{:title => @title, :href => href} Stuff
|
926
|
+
|
927
|
+
Because there are no commas separating attributes,
|
928
|
+
more complicated expressions aren't allowed.
|
929
|
+
You can use `#{}` interpolation to insert complicated expressions
|
930
|
+
in a HTML-style attribute, though:
|
931
|
+
|
932
|
+
%span(class="widget_#{@widget.number}")
|
933
|
+
|
934
|
+
#### Multiline Attributes
|
935
|
+
|
936
|
+
In general, Haml tries to keep individual elements on a single line.
|
937
|
+
There is a [multiline syntax](#multiline) for overflowing onto further lines,
|
938
|
+
but it's intentionally awkward to use to encourage shorter lines.
|
939
|
+
|
940
|
+
However, there is one case where overflow is reasonable: attributes.
|
941
|
+
Often a tag will simply have a lot of attributes, and in this case
|
942
|
+
it makes sense to allow overflow.
|
943
|
+
You can now stretch an attribute hash across multiple lines:
|
944
|
+
|
945
|
+
%script{:type => "text/javascript",
|
946
|
+
:src => "javascripts/script_#{2 + 7}"}
|
947
|
+
|
948
|
+
This also works for HTML-style attributes:
|
949
|
+
|
950
|
+
%script(type="text/javascript"
|
951
|
+
src="javascripts/script_#{2 + 7}")
|
952
|
+
|
953
|
+
Note that for hash-style attributes, the newlines must come after commas.
|
954
|
+
|
955
|
+
#### Universal interpolation
|
956
|
+
|
957
|
+
In Haml 2.0, you could use `==` to interpolate Ruby code
|
958
|
+
within a line of text using `#{}`.
|
959
|
+
In Haml 2.2, the `==` is unnecessary;
|
960
|
+
`#{}` can be used in any text.
|
961
|
+
For example:
|
962
|
+
|
963
|
+
%p This is a really cool #{h what_is_this}!
|
964
|
+
But is it a #{h what_isnt_this}?
|
965
|
+
|
966
|
+
In addition, to {file:HAML_REFERENCE.md#escaping_html escape} or {file:HAML_REFERENCE.md#unescaping_html unescape}
|
967
|
+
the interpolated code, you can just add `&` or `!`, respectively,
|
968
|
+
to the beginning of the line:
|
969
|
+
|
970
|
+
%p& This is a really cool #{what_is_this}!
|
971
|
+
& But is it a #{what_isnt_this}?
|
972
|
+
|
973
|
+
#### Flexible indentation
|
974
|
+
|
975
|
+
Haml has traditionally required its users to use two spaces of indentation.
|
976
|
+
This is the universal Ruby style, and still highly recommended.
|
977
|
+
However, Haml now allows any number of spaces or even tabs for indentation,
|
978
|
+
provided:
|
979
|
+
|
980
|
+
* Tabs and spaces are not mixed
|
981
|
+
* The indentation is consistent within a given document
|
982
|
+
|
983
|
+
### New Options
|
984
|
+
|
985
|
+
#### `:ugly`
|
986
|
+
|
987
|
+
The `:ugly` option is not technically new;
|
988
|
+
it was introduced in Haml 2.0 to make rendering deeply nested templates less painful.
|
989
|
+
However, it's been greatly empowered in Haml 2.2.
|
990
|
+
It now does all sorts of performance optimizations
|
991
|
+
that couldn't be done before,
|
992
|
+
and its use increases Haml's performance dramatically.
|
993
|
+
It's enabled by default in production in Rails,
|
994
|
+
and it's highly recommended for production environments
|
995
|
+
in other frameworks.
|
996
|
+
|
997
|
+
#### `:encoding` {#encoding-option}
|
998
|
+
|
999
|
+
This option specifies the encoding of the Haml template
|
1000
|
+
when running under Ruby 1.9. It defaults to `Encoding.default_internal` or `"utf-8"`.
|
1001
|
+
This is useful for making sure that you don't get weird
|
1002
|
+
encoding errors when dealing with non-ASCII input data.
|
1003
|
+
|
1004
|
+
### Deprecations
|
1005
|
+
|
1006
|
+
#### `Haml::Helpers#puts`
|
1007
|
+
|
1008
|
+
This helper is being deprecated for the obvious reason
|
1009
|
+
that it conflicts with the `Kernel#puts` method.
|
1010
|
+
I'm ashamed I ever chose this name.
|
1011
|
+
Use `haml_concat` instead and spare me the embarrassment.
|
1012
|
+
|
1013
|
+
#### `= haml_tag`
|
1014
|
+
|
1015
|
+
A lot of people accidentally use "`= haml_tag`".
|
1016
|
+
This has always been wrong; `haml_tag` outputs directly to the template,
|
1017
|
+
and so should be used as "`- haml_tag`".
|
1018
|
+
Now it raises an error when you use `=`.
|
1019
|
+
|
1020
|
+
### Compatibility
|
1021
|
+
|
1022
|
+
#### Rails
|
1023
|
+
|
1024
|
+
Haml 2.2 is fully compatible with Rails,
|
1025
|
+
from 2.0.6 to the latest revision of edge, 783db25.
|
1026
|
+
|
1027
|
+
#### Ruby 1.9
|
1028
|
+
|
1029
|
+
Haml 2.2 is also fully compatible with Ruby 1.9.
|
1030
|
+
It supports Ruby 1.9-style attribute hashes,
|
1031
|
+
and handles encoding-related issues
|
1032
|
+
(see [the `:encoding` option](#encoding-option)).
|
1033
|
+
|
1034
|
+
### Filters
|
1035
|
+
|
1036
|
+
#### `:markdown`
|
1037
|
+
|
1038
|
+
There are numerous improvements to the Markdown filter.
|
1039
|
+
No longer will Haml attempt to use RedCloth's inferior Markdown implementation.
|
1040
|
+
Instead, it will look for all major Markdown implementations:
|
1041
|
+
[RDiscount](http://github.com/rtomayko/rdiscount),
|
1042
|
+
[RPeg-Markdown](http://github.com/rtomayko/rpeg-markdown),
|
1043
|
+
[Maruku](http://maruku.rubyforge.org),
|
1044
|
+
and [BlueCloth](www.deveiate.org/projects/BlueCloth).
|
1045
|
+
|
1046
|
+
#### `:cdata`
|
1047
|
+
|
1048
|
+
There is now a `:cdata` filter for wrapping text in CDATA tags.
|
1049
|
+
|
1050
|
+
#### `:sass`
|
1051
|
+
|
1052
|
+
The `:sass` filter now uses options set in {Sass::Plugin},
|
1053
|
+
if they're available.
|
1054
|
+
|
1055
|
+
### Executables
|
1056
|
+
|
1057
|
+
#### `haml`
|
1058
|
+
|
1059
|
+
The `haml` executable now takes `-r` and `-I` flags
|
1060
|
+
that act just like the same flags for the `ruby` executable.
|
1061
|
+
This allows users to load helper files when using Haml
|
1062
|
+
from the command line.
|
1063
|
+
|
1064
|
+
It also takes a `--debug` flag that causes it to spit out
|
1065
|
+
the Ruby code that Haml generates from the template.
|
1066
|
+
This is more for my benefit than anything,
|
1067
|
+
but you may find it interesting.
|
1068
|
+
|
1069
|
+
#### `html2haml`
|
1070
|
+
|
1071
|
+
The `html2haml` executable has undergone significant improvements.
|
1072
|
+
Many of these are bugfixes, but there are also a few features.
|
1073
|
+
For one, it now understands CDATA tags and autodetects ERB files.
|
1074
|
+
In addition, a line containing just "`- end`" is now a Haml error;
|
1075
|
+
since it's not possible for `html2haml` to properly parse all Ruby blocks,
|
1076
|
+
this acts as a signal for the author that there are blocks
|
1077
|
+
to be dealt with.
|
1078
|
+
|
1079
|
+
### Miscellaneous
|
1080
|
+
|
1081
|
+
#### XHTML Mobile DTD
|
1082
|
+
|
1083
|
+
Haml 2.2 supports a DTD for XHTML Mobile: `!!! Mobile`.
|
1084
|
+
|
1085
|
+
#### YARD
|
1086
|
+
|
1087
|
+
All the documentation for Haml 2.2, including this changelog,
|
1088
|
+
has been moved to [YARD](http://yard.soen.ca).
|
1089
|
+
YARD is an excellent documentation system,
|
1090
|
+
and allows us to write our documentation in [Maruku](http://maruku.rubyforge.org),
|
1091
|
+
which is also excellent.
|