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,1914 @@
|
|
1
|
+
# Sass 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
|
+
### `@charset` Change
|
13
|
+
|
14
|
+
The behavior of `@charset` has changed in version 3.0.23
|
15
|
+
in order to work around a bug in Safari,
|
16
|
+
where `@charset` declarations placed anywhere other than the beginning of the document
|
17
|
+
cause some CSS rules to be ignored.
|
18
|
+
This change also makes `@charset`s in imported files behave in a more useful way.
|
19
|
+
|
20
|
+
#### Ruby 1.9
|
21
|
+
|
22
|
+
When using Ruby 1.9, which keeps track of the character encoding of the Sass document internally,
|
23
|
+
`@charset` directive in the Sass stylesheet and any stylesheets it imports
|
24
|
+
are no longer directly output to the generated CSS.
|
25
|
+
They're still used for determining the encoding of the input and output stylesheets,
|
26
|
+
but they aren't rendered in the same way other directives are.
|
27
|
+
|
28
|
+
Instead, Sass adds a single `@charset` directive at the beginning of the output stylesheet
|
29
|
+
if necessary, whether or not the input stylesheet had a `@charset` directive.
|
30
|
+
It will add this directive if and only if the output stylesheet contains non-ASCII characters.
|
31
|
+
By default, the declared charset will be UTF-8,
|
32
|
+
but if the Sass stylesheet declares a different charset then that will be used instead if possible.
|
33
|
+
|
34
|
+
One important consequence of this scheme is that it's possible for a Sass file
|
35
|
+
to import partials with different encodings (e.g. one encoded as UTF-8 and one as IBM866).
|
36
|
+
The output will then be UTF-8, unless the importing stylesheet
|
37
|
+
declares a different charset.
|
38
|
+
|
39
|
+
#### Ruby 1.8
|
40
|
+
|
41
|
+
Ruby 1.8 doesn't have good support for encodings, so it uses a simpler but less accurate
|
42
|
+
scheme for figuring out what `@charset` declaration to use for the output stylesheet.
|
43
|
+
It just takes the first `@charset` declaration to appear in the stylesheet
|
44
|
+
or any of its imports and moves it to the beginning of the document.
|
45
|
+
This means that under Ruby 1.8 it's *not* safe to import files with different encodings.
|
46
|
+
|
47
|
+
## 3.0.22
|
48
|
+
|
49
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.22).
|
50
|
+
|
51
|
+
* Remove `vendor/sass`, which snuck into the gem by mistake
|
52
|
+
and was causing trouble for Heroku users (thanks to [Jacques Crocker](http://railsjedi.com/)).
|
53
|
+
|
54
|
+
* `sass-convert` now understands better when it's acceptable
|
55
|
+
to remove parentheses from expressions.
|
56
|
+
|
57
|
+
## 3.0.21
|
58
|
+
|
59
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.21).
|
60
|
+
|
61
|
+
* Fix the permissions errors for good.
|
62
|
+
|
63
|
+
* Fix more `#options` attribute errors.
|
64
|
+
|
65
|
+
## 3.0.20
|
66
|
+
|
67
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.20).
|
68
|
+
|
69
|
+
* Fix some permissions errors.
|
70
|
+
|
71
|
+
* Fix `#options` attribute errors when CSS functions were used with commas.
|
72
|
+
|
73
|
+
## 3.0.19
|
74
|
+
|
75
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.19).
|
76
|
+
|
77
|
+
* Make the alpha value for `rgba` colors respect {Sass::Script::Number::PRECISION}.
|
78
|
+
|
79
|
+
* Remove all newlines in selectors in `:compressed` mode.
|
80
|
+
|
81
|
+
* Make color names case-insensitive.
|
82
|
+
|
83
|
+
* Properly detect SCSS files when using `sass -c`.
|
84
|
+
|
85
|
+
* Remove spaces after commas in `:compressed` mode.
|
86
|
+
|
87
|
+
* Allow the `--unix-newlines` flag to work on Unix, where it's a no-op.
|
88
|
+
|
89
|
+
## 3.0.18
|
90
|
+
|
91
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.18).
|
92
|
+
|
93
|
+
* Don't require `rake` in the gemspec, for bundler compatibility under
|
94
|
+
JRuby. Thanks to [Gordon McCreight](http://www.gmccreight.com/blog).
|
95
|
+
|
96
|
+
* Add a command-line option `--stop-on-error` that causes Sass to exit
|
97
|
+
when a file fails to compile using `--watch` or `--update`.
|
98
|
+
|
99
|
+
* Fix a bug in `haml_tag` that would allow duplicate attributes to be added
|
100
|
+
and make `data-` attributes not work.
|
101
|
+
|
102
|
+
* Get rid of the annoying RDoc errors on install.
|
103
|
+
|
104
|
+
* Disambiguate references to the `Rails` module when `haml-rails` is installed.
|
105
|
+
|
106
|
+
* Allow `@import` in SCSS to import multiple files in the same `@import` rule.
|
107
|
+
|
108
|
+
## 3.0.17
|
109
|
+
|
110
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.17).
|
111
|
+
|
112
|
+
* Disallow `#{}` interpolation in `@media` queries or unrecognized directives.
|
113
|
+
This was never allowed, but now it explicitly throws an error
|
114
|
+
rather than just producing invalid CSS.
|
115
|
+
|
116
|
+
* Make `sass --watch` not throw an error when passed a single file or directory.
|
117
|
+
|
118
|
+
* Understand that mingw counts as Windows.
|
119
|
+
|
120
|
+
* Make `sass --update` return a non-0 exit code if one or more files being updated
|
121
|
+
contained an error.
|
122
|
+
|
123
|
+
## 3.0.16
|
124
|
+
|
125
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
|
126
|
+
|
127
|
+
* Fix a bug where certain sorts of comments would get improperly
|
128
|
+
rendered in the `:compact` style.
|
129
|
+
|
130
|
+
* Always allow a trailing `*/` in loud comments in the indented syntax.
|
131
|
+
|
132
|
+
* Fix a performance issue with SCSS parsing in rare cases.
|
133
|
+
Thanks to [Chris Eppstein](http://chriseppstein.github.com).
|
134
|
+
|
135
|
+
* Use better heuristics for figuring out when someone might be using
|
136
|
+
the wrong syntax with `sass --watch`.
|
137
|
+
|
138
|
+
## 3.0.15
|
139
|
+
|
140
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.15).
|
141
|
+
|
142
|
+
* Fix a bug where `sass --watch` and `sass --update` were completely broken.
|
143
|
+
|
144
|
+
* Allow `@import`ed values to contain commas.
|
145
|
+
|
146
|
+
## 3.0.14
|
147
|
+
|
148
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.14).
|
149
|
+
|
150
|
+
* Properly parse paths with drive letters on Windows (e.g. `C:\Foo\Bar.sass`)
|
151
|
+
in the Sass executable.
|
152
|
+
|
153
|
+
* Compile Sass files in a deterministic order.
|
154
|
+
|
155
|
+
* Fix a bug where comments after `@if` statements in SCSS
|
156
|
+
weren't getting passed through to the output document.
|
157
|
+
|
158
|
+
## 3.0.13
|
159
|
+
|
160
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.13).
|
161
|
+
|
162
|
+
## CSS `@import` Directives
|
163
|
+
|
164
|
+
Sass is now more intelligent about when to compile `@import` directives to plain CSS.
|
165
|
+
Any of the following conditions will cause a literal CSS `@import`:
|
166
|
+
|
167
|
+
* Importing a path with a `.css` extension (e.g. `@import "foo.css"`).
|
168
|
+
* Importing a path with a media type (e.g. `@import "foo" screen;`).
|
169
|
+
* Importing an HTTP path (e.g. `@import "http://foo.com/style.css"`).
|
170
|
+
* Importing any URL (e.g. `@import url(foo)`).
|
171
|
+
|
172
|
+
The former two conditions always worked, but the latter two are new.
|
173
|
+
|
174
|
+
## `-moz-calc` Support
|
175
|
+
|
176
|
+
The new [`-moz-calc()` function](http://hacks.mozilla.org/2010/06/css3-calc/) in Firefox 4
|
177
|
+
will now be properly parsed by Sass.
|
178
|
+
`calc()` was already supported, but because the parsing rules are different
|
179
|
+
than for normal CSS functions, this had to be expanded to include `-moz-calc`.
|
180
|
+
|
181
|
+
In anticipation of wider browser support, in fact,
|
182
|
+
*any* function named `-*-calc` (such as `-webkit-calc` or `-ms-calc`)
|
183
|
+
will be parsed the same as the `calc` function.
|
184
|
+
|
185
|
+
## `:-moz-any` Support
|
186
|
+
|
187
|
+
The [`:-moz-any` pseudoclass selector](http://hacks.mozilla.org/2010/05/moz-any-selector-grouping/)
|
188
|
+
is now parsed by Sass.
|
189
|
+
|
190
|
+
## `--require` Flag
|
191
|
+
|
192
|
+
The Sass command-line executable can now require Ruby files
|
193
|
+
using the `--require` flag (or `-r` for short).
|
194
|
+
|
195
|
+
## Rails Support
|
196
|
+
|
197
|
+
Make sure the default Rails options take precedence over the default non-Rails options.
|
198
|
+
This makes `./script/server --daemon` work again.
|
199
|
+
|
200
|
+
### Rails 3 Support
|
201
|
+
|
202
|
+
Support for Rails 3 versions prior to beta 4 has been removed.
|
203
|
+
Upgrade to Rails 3.0.0.beta4 if you haven't already.
|
204
|
+
|
205
|
+
## 3.0.12
|
206
|
+
|
207
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.12).
|
208
|
+
|
209
|
+
## Rails 3 Support
|
210
|
+
|
211
|
+
Apparently the last version broke in new and exciting ways under Rails 3,
|
212
|
+
due to the inconsistent load order caused by certain combinations of gems.
|
213
|
+
3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
|
214
|
+
|
215
|
+
### Deprecated: Rails 3 Beta 3
|
216
|
+
|
217
|
+
Haml's support for Rails 3.0.0.beta.3 has been deprecated.
|
218
|
+
Haml 3.0.13 will only support 3.0.0.beta.4.
|
219
|
+
|
220
|
+
## 3.0.11
|
221
|
+
|
222
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).
|
223
|
+
|
224
|
+
There were no changes made to Haml between versions 3.0.10 and 3.0.11.
|
225
|
+
|
226
|
+
## Rails 3 Support
|
227
|
+
|
228
|
+
Make sure Sass *actually* regenerates stylesheets under Rails 3.
|
229
|
+
The fix in 3.0.10 didn't work because the Rack stack we were modifying
|
230
|
+
wasn't reloaded at the proper time.
|
231
|
+
|
232
|
+
## Bug Fixes
|
233
|
+
|
234
|
+
* Give a decent error message when `--recursive` is used
|
235
|
+
in `sass-convert` without a directory.
|
236
|
+
|
237
|
+
## 3.0.10
|
238
|
+
|
239
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.10).
|
240
|
+
|
241
|
+
### Appengine-JRuby Support
|
242
|
+
|
243
|
+
The way we determine the location of the Haml installation
|
244
|
+
no longer breaks the version of JRuby
|
245
|
+
used by [`appengine-jruby`](http://code.google.com/p/appengine-jruby/).
|
246
|
+
|
247
|
+
### Rails 3 Support
|
248
|
+
|
249
|
+
Sass will regenerate stylesheets under Rails 3
|
250
|
+
even when no controllers are being accessed.
|
251
|
+
|
252
|
+
### Other Improvements
|
253
|
+
|
254
|
+
* When using `sass-convert --from sass2 --to sass --recursive`,
|
255
|
+
suggest the use of `--in-place` as well.
|
256
|
+
|
257
|
+
## 3.0.9
|
258
|
+
|
259
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.9).
|
260
|
+
|
261
|
+
There were no changes made to Sass between versions 3.0.8 and 3.0.9.
|
262
|
+
A bug in Gemcutter caused the gem to be uploaded improperly.
|
263
|
+
|
264
|
+
## 3.0.8
|
265
|
+
|
266
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.8).
|
267
|
+
|
268
|
+
* Fix a bug with Rails versions prior to Rails 3.
|
269
|
+
|
270
|
+
## 3.0.7
|
271
|
+
|
272
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.7).
|
273
|
+
|
274
|
+
### Encoding Support
|
275
|
+
|
276
|
+
Sass 3.0.7 adds support for `@charset` for declaring the encoding of a stylesheet.
|
277
|
+
For details see {file:SASS_REFERENCE.md#encodings the reference}.
|
278
|
+
|
279
|
+
The `sass` and `sass-convert` executables also now take an `-E` option
|
280
|
+
for specifying the encoding of Sass/SCSS/CSS files.
|
281
|
+
|
282
|
+
### Bug Fixes
|
283
|
+
|
284
|
+
* When compiling a file named `.sass` but with SCSS syntax specified,
|
285
|
+
use the latter (and vice versa).
|
286
|
+
|
287
|
+
* Fix a bug where interpolation would cause some selectors to render improperly.
|
288
|
+
|
289
|
+
* If a line in a Sass comment starts with `*foo`,
|
290
|
+
render it as `*foo` rather than `* *foo`.
|
291
|
+
|
292
|
+
## 3.0.6
|
293
|
+
|
294
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.6).
|
295
|
+
|
296
|
+
There were no changes made to Sass between versions 3.0.5 and 3.0.6.
|
297
|
+
|
298
|
+
## 3.0.5
|
299
|
+
|
300
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.5).
|
301
|
+
|
302
|
+
### `#{}` Interpolation in Properties
|
303
|
+
|
304
|
+
Previously, using `#{}` in some places in properties
|
305
|
+
would cause a syntax error.
|
306
|
+
Now it can be used just about anywhere.
|
307
|
+
|
308
|
+
Note that when `#{}` is used near operators like `/`,
|
309
|
+
those operators are treated as plain CSS
|
310
|
+
rather than math operators.
|
311
|
+
For example:
|
312
|
+
|
313
|
+
p {
|
314
|
+
$font-size: 12px;
|
315
|
+
$line-height: 30px;
|
316
|
+
font: #{$font-size}/#{$line-height};
|
317
|
+
}
|
318
|
+
|
319
|
+
is compiled to:
|
320
|
+
|
321
|
+
p {
|
322
|
+
font: 12px/30px;
|
323
|
+
}
|
324
|
+
|
325
|
+
This is useful, since normally {file:SASS_REFERENCE.md#division-and-slash
|
326
|
+
a slash with variables is treated as division}.
|
327
|
+
|
328
|
+
### Recursive Mixins
|
329
|
+
|
330
|
+
Mixins that include themselves will now print
|
331
|
+
much more informative error messages.
|
332
|
+
For example:
|
333
|
+
|
334
|
+
@mixin foo {@include bar}
|
335
|
+
@mixin bar {@include foo}
|
336
|
+
@include foo
|
337
|
+
|
338
|
+
will print:
|
339
|
+
|
340
|
+
An @include loop has been found:
|
341
|
+
foo includes bar
|
342
|
+
bar includes foo
|
343
|
+
|
344
|
+
Although it was previously possible to use recursive mixins
|
345
|
+
without causing infinite looping, this is now disallowed,
|
346
|
+
since there's no good reason to do it.
|
347
|
+
|
348
|
+
### Rails 3 Support
|
349
|
+
|
350
|
+
Fix Sass configuration under Rails 3.
|
351
|
+
Thanks [Dan Cheail](http://github.com/codeape).
|
352
|
+
|
353
|
+
### `sass --no-cache`
|
354
|
+
|
355
|
+
Make the `--no-cache` flag properly forbid Sass from writing `.sass-cache` files.
|
356
|
+
|
357
|
+
## 3.0.4
|
358
|
+
|
359
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.4).
|
360
|
+
|
361
|
+
* Raise an informative error when function arguments have a mispaced comma,
|
362
|
+
as in `foo(bar, )`.
|
363
|
+
|
364
|
+
* Fix a performance problem when using long function names
|
365
|
+
such as `-moz-linear-gradient`.
|
366
|
+
|
367
|
+
## 3.0.3
|
368
|
+
|
369
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.3).
|
370
|
+
|
371
|
+
### Rails 3 Support
|
372
|
+
|
373
|
+
Make sure Sass is loaded properly when using Rails 3
|
374
|
+
along with non-Rails-3-compatible plugins like some versions of `will_paginate`.
|
375
|
+
|
376
|
+
Also, In order to make some Rails loading errors like the above easier to debug,
|
377
|
+
Sass will now raise an error if `Rails.root` is `nil` when Sass is loading.
|
378
|
+
Previously, this would just cause the paths to be mis-set.
|
379
|
+
|
380
|
+
### Merb Support
|
381
|
+
|
382
|
+
Merb, including 1.1.0 as well as earlier versions,
|
383
|
+
should *really* work with this release.
|
384
|
+
|
385
|
+
### Bug Fixes
|
386
|
+
|
387
|
+
* Raise an informative error when mixin arguments have a mispaced comma,
|
388
|
+
as in `@include foo(bar, )`.
|
389
|
+
|
390
|
+
* Make sure SassScript subtraction happens even when nothing else dynamic is going on.
|
391
|
+
|
392
|
+
* Raise an error when colors are used with the wrong number of digits.
|
393
|
+
|
394
|
+
## 3.0.2
|
395
|
+
|
396
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.2).
|
397
|
+
|
398
|
+
### Merb 1.1.0 Support
|
399
|
+
|
400
|
+
Fixed a bug inserting the Sass plugin into the Merb 1.1.0 Rack application.
|
401
|
+
|
402
|
+
### Bug Fixes
|
403
|
+
|
404
|
+
* Allow identifiers to begin with multiple underscores.
|
405
|
+
|
406
|
+
* Don't raise an error when using `haml --rails` with older Rails versions.
|
407
|
+
|
408
|
+
## 3.0.1
|
409
|
+
|
410
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.1).
|
411
|
+
|
412
|
+
### Installation in Rails
|
413
|
+
|
414
|
+
`haml --rails` is no longer necessary for installing Sass in Rails.
|
415
|
+
Now all you need to do is add `gem "haml"` to the Gemfile for Rails 3,
|
416
|
+
or add `config.gem "haml"` to `config/environment.rb` for previous versions.
|
417
|
+
|
418
|
+
`haml --rails` will still work,
|
419
|
+
but it has been deprecated and will print an error message.
|
420
|
+
It will not work in the next version of Sass.
|
421
|
+
|
422
|
+
### Rails 3 Beta Integration
|
423
|
+
|
424
|
+
* Make sure manually importing the Sass Rack plugin still works with Rails,
|
425
|
+
even though it's not necessary now.
|
426
|
+
|
427
|
+
* Allow Sass to be configured in Rails even when it's being lazy-loaded.
|
428
|
+
|
429
|
+
### `:template_location` Methods
|
430
|
+
|
431
|
+
The {file:SASS_REFERENCE.md#template_location-option `:template_location` option}
|
432
|
+
can be either a String, a Hash, or an Array.
|
433
|
+
This makes it difficult to modify or use with confidence.
|
434
|
+
Thus, three new methods have been added for handling it:
|
435
|
+
|
436
|
+
* {Sass::Plugin#template_location_array} --
|
437
|
+
Returns the template locations and CSS locations formatted as an array.
|
438
|
+
|
439
|
+
* {Sass::Plugin#add_template_location} --
|
440
|
+
Converts the template location option to an array and adds a new location.
|
441
|
+
|
442
|
+
* {Sass::Plugin#remove_template_location} --
|
443
|
+
Converts the template location option to an array and removes an existing location.
|
444
|
+
|
445
|
+
## 3.0.0
|
446
|
+
{#3-0-0}
|
447
|
+
|
448
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.0).
|
449
|
+
|
450
|
+
### Deprecations -- Must Read!
|
451
|
+
{#3-0-0-deprecations}
|
452
|
+
|
453
|
+
* Using `=` for SassScript properties and variables is deprecated,
|
454
|
+
and will be removed in Sass 3.2.
|
455
|
+
Use `:` instead.
|
456
|
+
See also [this changelog entry](#3-0-0-sass-script-context)
|
457
|
+
|
458
|
+
* Because of the above, property values using `:`
|
459
|
+
will be parsed more thoroughly than they were before.
|
460
|
+
Although all valid CSS3 properties
|
461
|
+
as well as most hacks and proprietary syntax should be supported,
|
462
|
+
it's possible that some properties will break.
|
463
|
+
If this happens, please report it to [the Sass mailing list](http://groups.google.com/group/haml).
|
464
|
+
|
465
|
+
* In addition, setting the default value of variables
|
466
|
+
with `||=` is now deprecated
|
467
|
+
and will be removed in Sass 3.2.
|
468
|
+
Instead, add `!default` to the end of the value.
|
469
|
+
See also [this changelog entry](#3-0-0-default-flag)
|
470
|
+
|
471
|
+
* The `!` prefix for variables is deprecated,
|
472
|
+
and will be removed in Sass 3.2.
|
473
|
+
Use `$` as a prefix instead.
|
474
|
+
See also [this changelog entry](#3-0-0-dollar-prefix).
|
475
|
+
|
476
|
+
* The `css2sass` command-line tool has been deprecated,
|
477
|
+
and will be removed in Sass 3.2.
|
478
|
+
Use the new `sass-convert` tool instead.
|
479
|
+
See also [this changelog entry](#3-0-0-sass-convert).
|
480
|
+
|
481
|
+
* Selector parent references using `&` can now only be used
|
482
|
+
where element names are valid.
|
483
|
+
This is because Sass 3 fully parses selectors
|
484
|
+
to support the new [`@extend` directive](#3-0-0-extend),
|
485
|
+
and it's possible that the `&` could be replaced by an element name.
|
486
|
+
|
487
|
+
### SCSS (Sassy CSS)
|
488
|
+
|
489
|
+
Sass 3 introduces a new syntax known as SCSS
|
490
|
+
which is fully compatible with the syntax of CSS3,
|
491
|
+
while still supporting the full power of Sass.
|
492
|
+
This means that every valid CSS3 stylesheet
|
493
|
+
is a valid SCSS file with the same meaning.
|
494
|
+
In addition, SCSS understands most CSS hacks
|
495
|
+
and vendor-specific syntax, such as [IE's old `filter` syntax](http://msdn.microsoft.com/en-us/library/ms533754%28VS.85%29.aspx).
|
496
|
+
|
497
|
+
SCSS files use the `.scss` extension.
|
498
|
+
They can import `.sass` files, and vice-versa.
|
499
|
+
Their syntax is fully described in the {file:SASS_REFERENCE.md Sass reference};
|
500
|
+
if you're already familiar with Sass, though,
|
501
|
+
you may prefer the {file:SCSS_FOR_SASS_USERS.md intro to SCSS for Sass users}.
|
502
|
+
|
503
|
+
Since SCSS is a much more approachable syntax for those new to Sass,
|
504
|
+
it will be used as the default syntax for the reference,
|
505
|
+
as well as for most other Sass documentation.
|
506
|
+
The indented syntax will continue to be fully supported, however.
|
507
|
+
|
508
|
+
Sass files can be converted to SCSS using the new `sass-convert` command-line tool.
|
509
|
+
For example:
|
510
|
+
|
511
|
+
# Convert a Sass file to SCSS
|
512
|
+
$ sass-convert style.sass style.scss
|
513
|
+
|
514
|
+
**Note that if you're converting a Sass file written for Sass 2**,
|
515
|
+
you should use the `--from sass2` flag.
|
516
|
+
For example:
|
517
|
+
|
518
|
+
# Convert a Sass file to SCSS
|
519
|
+
$ sass-convert --from sass2 style.sass style.scss
|
520
|
+
|
521
|
+
# Convert all Sass files to SCSS
|
522
|
+
$ sass-convert --recursive --in-place --from sass2 --to scss stylesheets/
|
523
|
+
|
524
|
+
### Syntax Changes {#3-0-0-syntax-changes}
|
525
|
+
|
526
|
+
#### SassScript Context
|
527
|
+
{#3-0-0-sass-script-context}
|
528
|
+
|
529
|
+
The `=` character is no longer required for properties that use SassScript
|
530
|
+
(that is, variables and operations).
|
531
|
+
All properties now use SassScript automatically;
|
532
|
+
this means that `:` should be used instead.
|
533
|
+
Variables should also be set with `:`.
|
534
|
+
For example, what used to be
|
535
|
+
|
536
|
+
// Indented syntax
|
537
|
+
.page
|
538
|
+
color = 5px + 9px
|
539
|
+
|
540
|
+
should now be
|
541
|
+
|
542
|
+
// Indented syntax
|
543
|
+
.page
|
544
|
+
color: 5px + 9px
|
545
|
+
|
546
|
+
This means that SassScript is now an extension of the CSS3 property syntax.
|
547
|
+
All valid CSS3 properties are valid SassScript,
|
548
|
+
and will compile without modification
|
549
|
+
(some invalid properties work as well, such as Microsoft's proprietary `filter` syntax).
|
550
|
+
This entails a few changes to SassScript to make it fully CSS3-compatible,
|
551
|
+
which are detailed below.
|
552
|
+
|
553
|
+
This also means that Sass will now be fully parsing all property values,
|
554
|
+
rather than passing them through unchanged to the CSS.
|
555
|
+
Although care has been taken to support all valid CSS3,
|
556
|
+
as well as hacks and proprietary syntax,
|
557
|
+
it's possible that a property that worked in Sass 2 won't work in Sass 3.
|
558
|
+
If this happens, please report it to [the Sass mailing list](http://groups.google.com/group/haml).
|
559
|
+
|
560
|
+
Note that if `=` is used,
|
561
|
+
SassScript will be interpreted as backwards-compatibly as posssible.
|
562
|
+
In particular, the changes listed below don't apply in an `=` context.
|
563
|
+
|
564
|
+
The `sass-convert` command-line tool can be used
|
565
|
+
to upgrade Sass files to the new syntax using the `--in-place` flag.
|
566
|
+
For example:
|
567
|
+
|
568
|
+
# Upgrade style.sass:
|
569
|
+
$ sass-convert --in-place style.sass
|
570
|
+
|
571
|
+
# Upgrade all Sass files:
|
572
|
+
$ sass-convert --recursive --in-place --from sass2 --to sass stylesheets/
|
573
|
+
|
574
|
+
##### Quoted Strings
|
575
|
+
|
576
|
+
Quoted strings (e.g. `"foo"`) in SassScript now render with quotes.
|
577
|
+
In addition, unquoted strings are no longer deprecated,
|
578
|
+
and render without quotes.
|
579
|
+
This means that almost all strings that had quotes in Sass 2
|
580
|
+
should not have quotes in Sass 3.
|
581
|
+
|
582
|
+
Although quoted strings render with quotes when used with `:`,
|
583
|
+
they do not render with quotes when used with `#{}`.
|
584
|
+
This allows quoted strings to be used for e.g. selectors
|
585
|
+
that are passed to mixins.
|
586
|
+
|
587
|
+
Strings can be forced to be quoted and unquoted using the new
|
588
|
+
\{Sass::Script::Functions#unquote unquote} and \{Sass::Script::Functions#quote quote}
|
589
|
+
functions.
|
590
|
+
|
591
|
+
##### Division and `/`
|
592
|
+
|
593
|
+
Two numbers separated by a `/` character
|
594
|
+
are allowed as property syntax in CSS,
|
595
|
+
e.g. for the `font` property.
|
596
|
+
SassScript also uses `/` for division, however,
|
597
|
+
which means it must decide what to do
|
598
|
+
when it encounters numbers separated by `/`.
|
599
|
+
|
600
|
+
For CSS compatibility, SassScript does not perform division by default.
|
601
|
+
However, division will be done in almost all cases where division is intended.
|
602
|
+
In particular, SassScript will perform division
|
603
|
+
in the following three situations:
|
604
|
+
|
605
|
+
1. If the value, or any part of it, is stored in a variable.
|
606
|
+
2. If the value is surrounded by parentheses.
|
607
|
+
3. If the value is used as part of another arithmetic expression.
|
608
|
+
|
609
|
+
For example:
|
610
|
+
|
611
|
+
p
|
612
|
+
font: 10px/8px
|
613
|
+
$width: 1000px
|
614
|
+
width: $width/2
|
615
|
+
height: (500px/2)
|
616
|
+
margin-left: 5px + 8px/2px
|
617
|
+
|
618
|
+
is compiled to:
|
619
|
+
|
620
|
+
p {
|
621
|
+
font: 10px/8px;
|
622
|
+
width: 500px;
|
623
|
+
height: 250px;
|
624
|
+
margin-left: 9px; }
|
625
|
+
|
626
|
+
##### Variable Defaults
|
627
|
+
|
628
|
+
Since `=` is no longer used for variable assignment,
|
629
|
+
assigning defaults to variables with `||=` no longer makes sense.
|
630
|
+
Instead, the `!default` flag
|
631
|
+
should be added to the end of the variable value.
|
632
|
+
This syntax is meant to be similar to CSS's `!important` flag.
|
633
|
+
For example:
|
634
|
+
|
635
|
+
$var: 12px !default;
|
636
|
+
|
637
|
+
#### Variable Prefix Character
|
638
|
+
{#3-0-0-dollar-prefix}
|
639
|
+
|
640
|
+
The Sass variable character has been changed from `!`
|
641
|
+
to the more aesthetically-appealing `$`.
|
642
|
+
For example, what used to be
|
643
|
+
|
644
|
+
!width = 13px
|
645
|
+
.icon
|
646
|
+
width = !width
|
647
|
+
|
648
|
+
should now be
|
649
|
+
|
650
|
+
$width: 13px
|
651
|
+
.icon
|
652
|
+
width: $width
|
653
|
+
|
654
|
+
The `sass-convert` command-line tool can be used
|
655
|
+
to upgrade Sass files to the new syntax using the `--in-place` flag.
|
656
|
+
For example:
|
657
|
+
|
658
|
+
# Upgrade style.sass:
|
659
|
+
$ sass-convert --in-place style.sass
|
660
|
+
|
661
|
+
# Upgrade all Sass files:
|
662
|
+
$ sass-convert --recursive --in-place --from sass2 --to sass stylesheets/
|
663
|
+
|
664
|
+
`!` may still be used, but it's deprecated and will print a warning.
|
665
|
+
It will be removed in the next version of Sass, 3.2.
|
666
|
+
|
667
|
+
#### Variable and Mixin Names
|
668
|
+
|
669
|
+
SassScript variable and mixin names may now contain hyphens.
|
670
|
+
In fact, they may be any valid CSS3 identifier.
|
671
|
+
For example:
|
672
|
+
|
673
|
+
$prettiest-color: #542FA9
|
674
|
+
=pretty-text
|
675
|
+
color: $prettiest-color
|
676
|
+
|
677
|
+
In order to allow frameworks like [Compass](http://compass-style.org)
|
678
|
+
to use hyphens in variable names
|
679
|
+
while maintaining backwards-compatibility,
|
680
|
+
variables and mixins using hyphens may be referred to
|
681
|
+
with underscores, and vice versa.
|
682
|
+
For example:
|
683
|
+
|
684
|
+
$prettiest-color: #542FA9
|
685
|
+
.pretty
|
686
|
+
// Using an underscore instead of a hyphen works
|
687
|
+
color: $prettiest_color
|
688
|
+
|
689
|
+
#### Single-Quoted Strings
|
690
|
+
|
691
|
+
SassScript now supports single-quoted strings.
|
692
|
+
They behave identically to double-quoted strings,
|
693
|
+
except that single quotes need to be backslash-escaped
|
694
|
+
and double quotes do not.
|
695
|
+
|
696
|
+
#### Mixin Definition and Inclusion
|
697
|
+
|
698
|
+
Sass now supports the `@mixin` directive as a way of defining mixins (like `=`),
|
699
|
+
as well as the `@include` directive as a way of including them (like `+`).
|
700
|
+
The old syntax is *not* deprecated,
|
701
|
+
and the two are fully compatible.
|
702
|
+
For example:
|
703
|
+
|
704
|
+
@mixin pretty-text
|
705
|
+
color: $prettiest-color
|
706
|
+
|
707
|
+
a
|
708
|
+
@include pretty-text
|
709
|
+
|
710
|
+
is the same as:
|
711
|
+
|
712
|
+
=pretty-text
|
713
|
+
color: $prettiest-color
|
714
|
+
|
715
|
+
a
|
716
|
+
+pretty-text
|
717
|
+
|
718
|
+
#### Sass Properties
|
719
|
+
|
720
|
+
New-style properties (with the colon after the name) in indented syntax
|
721
|
+
now allow whitespace before the colon. For example:
|
722
|
+
|
723
|
+
foo
|
724
|
+
color : blue
|
725
|
+
|
726
|
+
#### Sass `@import`
|
727
|
+
|
728
|
+
The Sass `@import` statement now allows non-CSS files to be specified with quotes,
|
729
|
+
for similarity with the SCSS syntax. For example, `@import "foo.sass"`
|
730
|
+
will now import the `foo.sass` file, rather than compiling to `@import "foo.sass";`.
|
731
|
+
|
732
|
+
### `@extend`
|
733
|
+
{#3-0-0-extend}
|
734
|
+
|
735
|
+
There are often cases when designing a page
|
736
|
+
when one class should have all the styles of another class,
|
737
|
+
as well as its own specific styles.
|
738
|
+
The most common way of handling this is to use both the more general class
|
739
|
+
and the more specific class in the HTML.
|
740
|
+
For example, suppose we have a design for a normal error
|
741
|
+
and also for a serious error. We might write our markup like so:
|
742
|
+
|
743
|
+
<div class="error seriousError">
|
744
|
+
Oh no! You've been hacked!
|
745
|
+
</div>
|
746
|
+
|
747
|
+
And our styles like so:
|
748
|
+
|
749
|
+
.error {
|
750
|
+
border: 1px #f00;
|
751
|
+
background-color: #fdd;
|
752
|
+
}
|
753
|
+
.seriousError {
|
754
|
+
border-width: 3px;
|
755
|
+
}
|
756
|
+
|
757
|
+
Unfortunately, this means that we have to always remember
|
758
|
+
to use `.error` with `.seriousError`.
|
759
|
+
This is a maintenance burden, leads to tricky bugs,
|
760
|
+
and can bring non-semantic style concerns into the markup.
|
761
|
+
|
762
|
+
The `@extend` directive avoids these problems
|
763
|
+
by telling Sass that one selector should inherit the styles of another selector.
|
764
|
+
For example:
|
765
|
+
|
766
|
+
.error {
|
767
|
+
border: 1px #f00;
|
768
|
+
background-color: #fdd;
|
769
|
+
}
|
770
|
+
.seriousError {
|
771
|
+
@extend .error;
|
772
|
+
border-width: 3px;
|
773
|
+
}
|
774
|
+
|
775
|
+
This means that all styles defined for `.error`
|
776
|
+
are also applied to `.seriousError`,
|
777
|
+
in addition to the styles specific to `.seriousError`.
|
778
|
+
In effect, everything with class `.seriousError` also has class `.error`.
|
779
|
+
|
780
|
+
Other rules that use `.error` will work for `.seriousError` as well.
|
781
|
+
For example, if we have special styles for errors caused by hackers:
|
782
|
+
|
783
|
+
.error.intrusion {
|
784
|
+
background-image: url("/image/hacked.png");
|
785
|
+
}
|
786
|
+
|
787
|
+
Then `<div class="seriousError intrusion">`
|
788
|
+
will have the `hacked.png` background image as well.
|
789
|
+
|
790
|
+
#### How it Works
|
791
|
+
|
792
|
+
`@extend` works by inserting the extending selector (e.g. `.seriousError`)
|
793
|
+
anywhere in the stylesheet that the extended selector (.e.g `.error`) appears.
|
794
|
+
Thus the example above:
|
795
|
+
|
796
|
+
.error {
|
797
|
+
border: 1px #f00;
|
798
|
+
background-color: #fdd;
|
799
|
+
}
|
800
|
+
.error.intrusion {
|
801
|
+
background-image: url("/image/hacked.png");
|
802
|
+
}
|
803
|
+
.seriousError {
|
804
|
+
@extend .error;
|
805
|
+
border-width: 3px;
|
806
|
+
}
|
807
|
+
|
808
|
+
is compiled to:
|
809
|
+
|
810
|
+
.error, .seriousError {
|
811
|
+
border: 1px #f00;
|
812
|
+
background-color: #fdd; }
|
813
|
+
|
814
|
+
.error.intrusion, .seriousError.intrusion {
|
815
|
+
background-image: url("/image/hacked.png"); }
|
816
|
+
|
817
|
+
.seriousError {
|
818
|
+
border-width: 3px; }
|
819
|
+
|
820
|
+
When merging selectors, `@extend` is smart enough
|
821
|
+
to avoid unnecessary duplication,
|
822
|
+
so something like `.seriousError.seriousError` gets translated to `.seriousError`.
|
823
|
+
In addition, it won't produce selectors that can't match anything, like `#main#footer`.
|
824
|
+
|
825
|
+
See also {file:SASS_REFERENCE.md#extend the `@extend` reference documentation}.
|
826
|
+
|
827
|
+
### Colors
|
828
|
+
|
829
|
+
SassScript color values are much more powerful than they were before.
|
830
|
+
Support was added for alpha channels,
|
831
|
+
and most of Chris Eppstein's [compass-colors](http://chriseppstein.github.com/compass-colors) plugin
|
832
|
+
was merged in, providing color-theoretic functions for modifying colors.
|
833
|
+
|
834
|
+
One of the most interesting of these functions is {Sass::Script::Functions#mix mix},
|
835
|
+
which mixes two colors together.
|
836
|
+
This provides a much better way of combining colors and creating themes
|
837
|
+
than standard color arithmetic.
|
838
|
+
|
839
|
+
#### Alpha Channels
|
840
|
+
|
841
|
+
Sass now supports colors with alpha channels,
|
842
|
+
constructed via the {Sass::Script::Functions#rgba rgba}
|
843
|
+
and {Sass::Script::Functions#hsla hsla} functions.
|
844
|
+
Alpha channels are unaffected by color arithmetic.
|
845
|
+
However, the {Sass::Script::Functions#opacify opacify}
|
846
|
+
and {Sass::Script::Functions#transparentize transparentize} functions
|
847
|
+
allow colors to be made more and less opaque, respectively.
|
848
|
+
|
849
|
+
Sass now also supports functions that return the values of the
|
850
|
+
{Sass::Script::Functions#red red},
|
851
|
+
{Sass::Script::Functions#blue blue},
|
852
|
+
{Sass::Script::Functions#green green},
|
853
|
+
and {Sass::Script::Functions#alpha alpha}
|
854
|
+
components of colors.
|
855
|
+
|
856
|
+
#### HSL Colors
|
857
|
+
|
858
|
+
Sass has many new functions for using the HSL values of colors.
|
859
|
+
For an overview of HSL colors, check out [the CSS3 Spec](http://www.w3.org/TR/css3-color/#hsl-color).
|
860
|
+
All these functions work just as well on RGB colors
|
861
|
+
as on colors constructed with the {Sass::Script::Functions#hsl hsl} function.
|
862
|
+
|
863
|
+
* The {Sass::Script::Functions#lighten lighten}
|
864
|
+
and {Sass::Script::Functions#darken darken}
|
865
|
+
functions adjust the lightness of a color.
|
866
|
+
|
867
|
+
* The {Sass::Script::Functions#saturate saturate}
|
868
|
+
and {Sass::Script::Functions#desaturate desaturate}
|
869
|
+
functions adjust the saturation of a color.
|
870
|
+
|
871
|
+
* The {Sass::Script::Functions#adjust_hue adjust-hue}
|
872
|
+
function adjusts the hue of a color.
|
873
|
+
|
874
|
+
* The {Sass::Script::Functions#hue hue},
|
875
|
+
{Sass::Script::Functions#saturation saturation},
|
876
|
+
and {Sass::Script::Functions#lightness lightness}
|
877
|
+
functions return the corresponding HSL values of the color.
|
878
|
+
|
879
|
+
* The {Sass::Script::Functions#grayscale grayscale}
|
880
|
+
function converts a color to grayscale.
|
881
|
+
|
882
|
+
* The {Sass::Script::Functions#complement complement}
|
883
|
+
function returns the complement of a color.
|
884
|
+
|
885
|
+
### Other New Functions
|
886
|
+
|
887
|
+
Several other new functions were added to make it easier to have
|
888
|
+
more flexible arguments to mixins and to enable deprecation
|
889
|
+
of obsolete APIs.
|
890
|
+
|
891
|
+
* {Sass::Script::Functions#type_of `type-of`} -- Returns the type of a value.
|
892
|
+
* {Sass::Script::Functions#unit `unit`} --
|
893
|
+
Returns the units associated with a number.
|
894
|
+
* {Sass::Script::Functions#unitless `unitless`} --
|
895
|
+
Returns whether a number has units or not.
|
896
|
+
* {Sass::Script::Functions#comparable `comparable`} --
|
897
|
+
Returns whether two numbers can be added or compared.
|
898
|
+
|
899
|
+
### Watching for Updates
|
900
|
+
{#3-0-0-watch}
|
901
|
+
|
902
|
+
The `sass` command-line utility has a new flag: `--watch`.
|
903
|
+
`sass --watch` monitors files or directories for updated Sass files
|
904
|
+
and compiles those files to CSS automatically.
|
905
|
+
This will allow people not using Ruby or [Compass](http://compass-style.org)
|
906
|
+
to use Sass without having to manually recompile all the time.
|
907
|
+
|
908
|
+
Here's the syntax for watching a directory full of Sass files:
|
909
|
+
|
910
|
+
sass --watch app/stylesheets:public/stylesheets
|
911
|
+
|
912
|
+
This will watch every Sass file in `app/stylesheets`.
|
913
|
+
Whenever one of them changes,
|
914
|
+
the corresponding CSS file in `public/stylesheets` will be regenerated.
|
915
|
+
Any files that import that file will be regenerated, too.
|
916
|
+
|
917
|
+
The syntax for watching individual files is the same:
|
918
|
+
|
919
|
+
sass --watch style.sass:out.css
|
920
|
+
|
921
|
+
You can also omit the output filename if you just want it to compile to name.css.
|
922
|
+
For example:
|
923
|
+
|
924
|
+
sass --watch style.sass
|
925
|
+
|
926
|
+
This will update `style.css` whenever `style.sass` changes.
|
927
|
+
|
928
|
+
You can list more than one file and/or directory,
|
929
|
+
and all of them will be watched:
|
930
|
+
|
931
|
+
sass --watch foo/style:public/foo bar/style:public/bar
|
932
|
+
sass --watch screen.sass print.sass awful-hacks.sass:ie.css
|
933
|
+
sass --watch app/stylesheets:public/stylesheets public/stylesheets/test.sass
|
934
|
+
|
935
|
+
File and directory watching is accessible from Ruby,
|
936
|
+
using the {Sass::Plugin#watch} function.
|
937
|
+
|
938
|
+
#### Bulk Updating
|
939
|
+
|
940
|
+
Another new flag for the `sass` command-line utility is `--update`.
|
941
|
+
It checks a group of Sass files to see if their CSS needs to be updated,
|
942
|
+
and updates if so.
|
943
|
+
|
944
|
+
The syntax for `--update` is just like watch:
|
945
|
+
|
946
|
+
sass --update app/stylesheets:public/stylesheets
|
947
|
+
sass --update style.sass:out.css
|
948
|
+
sass --watch screen.sass print.sass awful-hacks.sass:ie.css
|
949
|
+
|
950
|
+
In fact, `--update` work exactly the same as `--watch`,
|
951
|
+
except that it doesn't continue watching the files
|
952
|
+
after the first check.
|
953
|
+
|
954
|
+
### `sass-convert` (née `css2sass`) {#3-0-0-sass-convert}
|
955
|
+
|
956
|
+
The `sass-convert` tool, which used to be known as `css2sass`,
|
957
|
+
has been greatly improved in various ways.
|
958
|
+
It now uses a full-fledged CSS3 parser,
|
959
|
+
so it should be able to handle any valid CSS3,
|
960
|
+
as well as most hacks and proprietary syntax.
|
961
|
+
|
962
|
+
`sass-convert` can now convert between Sass and SCSS.
|
963
|
+
This is normally inferred from the filename,
|
964
|
+
but it can also be specified using the `--from` and `--to` flags.
|
965
|
+
For example:
|
966
|
+
|
967
|
+
$ generate-sass | sass-convert --from sass --to scss | consume-scss
|
968
|
+
|
969
|
+
It's also now possible to convert a file in-place --
|
970
|
+
that is, overwrite the old file with the new file.
|
971
|
+
This is useful for converting files in the [Sass 2 syntax](#3-0-0-deprecations)
|
972
|
+
to the new Sass 3 syntax,
|
973
|
+
e.g. by doing `sass-convert --in-place --from sass2 style.sass`.
|
974
|
+
|
975
|
+
#### `--recursive`
|
976
|
+
|
977
|
+
The `--recursive` option allows `sass-convert` to convert an entire directory of files.
|
978
|
+
`--recursive` requires both the `--from` and `--to` flags to be specified.
|
979
|
+
For example:
|
980
|
+
|
981
|
+
# Convert all .sass files in stylesheets/ to SCSS.
|
982
|
+
# "sass2" means that these files are assumed to use the Sass 2 syntax.
|
983
|
+
$ sass-convert --recursive --from sass2 --to scss stylesheets/
|
984
|
+
|
985
|
+
#### `--dasherize`
|
986
|
+
|
987
|
+
The `--dasherize` options converts all underscores to hyphens,
|
988
|
+
which are now allowed as part of identifiers in Sass.
|
989
|
+
Note that since underscores may still be used in place of hyphens
|
990
|
+
when referring to mixins and variables,
|
991
|
+
this won't cause any backwards-incompatibilities.
|
992
|
+
|
993
|
+
#### Convert Less to SCSS
|
994
|
+
|
995
|
+
`sass-convert` can also convert [Less](http://lesscss.org) files
|
996
|
+
to SCSS (or the indented syntax, although I anticipate less interest in that).
|
997
|
+
For example:
|
998
|
+
|
999
|
+
# Convert all .less files in the current directory into .scss files
|
1000
|
+
sass-convert --from less --to scss --recursive .
|
1001
|
+
|
1002
|
+
This is done using the Less parser, so it requires that the `less` RubyGem be installed.
|
1003
|
+
|
1004
|
+
##### Incompatibilities
|
1005
|
+
|
1006
|
+
Because of the reasonably substantial differences between Sass and Less,
|
1007
|
+
there are some things that can't be directly translated,
|
1008
|
+
and one feature that can't be translated at all.
|
1009
|
+
In the tests I've run on open-source Less stylesheets,
|
1010
|
+
none of these have presented issues, but it's good to be aware of them.
|
1011
|
+
|
1012
|
+
First, Less doesn't distinguish fully between mixins and selector inheritance.
|
1013
|
+
In Less, all classes and some other selectors may be used as mixins,
|
1014
|
+
alongside more Sass-like mixins.
|
1015
|
+
If a class is being used as a mixin,
|
1016
|
+
it may also be used directly in the HTML,
|
1017
|
+
so it's not safe to translate it into a Sass mixin.
|
1018
|
+
What `sass-convert` does instead is leave the class in the stylesheet as a class,
|
1019
|
+
and use {file:SASS_REFERENCE.md#extend `@extend`}
|
1020
|
+
rather than {file:SASS_REFERENCE.md#including_a_mixin `@include`}
|
1021
|
+
to take on the styles of that class.
|
1022
|
+
Although `@extend` and mixins work quite differently,
|
1023
|
+
using `@extend` here doesn't actually seem to make a difference in practice.
|
1024
|
+
|
1025
|
+
Another issue with Less mixins is that Less allows nested selectors
|
1026
|
+
(such as `.body .button` or `.colors > .teal`) to be used
|
1027
|
+
as a means of "namespacing" mixins.
|
1028
|
+
Sass's `@extend` doesn't work that way,
|
1029
|
+
so it does away with the namespacing and just extends the base class
|
1030
|
+
(so `.colors > .teal` becomes simply `@extend .teal`).
|
1031
|
+
In practice, this feature doesn't seem to be widely-used,
|
1032
|
+
but `sass-convert` will print a warning and leave a comment
|
1033
|
+
when it encounters it just in case.
|
1034
|
+
|
1035
|
+
Finally, Less has the ability to directly access variables and property values
|
1036
|
+
defined in other selectors, which Sass does not support.
|
1037
|
+
Whenever such an accessor is used,
|
1038
|
+
`sass-convert` will print a warning
|
1039
|
+
and comment it out in the SCSS output.
|
1040
|
+
Like namespaced mixins, though,
|
1041
|
+
this does not seem to be a widely-used feature.
|
1042
|
+
|
1043
|
+
### `@warn` Directive
|
1044
|
+
|
1045
|
+
A new directive `@warn` has been added that allows Sass libraries to emit warnings.
|
1046
|
+
This can be used to issue deprecation warnings, discourage sloppy use of mixins, etc.
|
1047
|
+
`@warn` takes a single argument: a SassScript expression that will be
|
1048
|
+
displayed on the console along with a stylesheet trace for locating the warning.
|
1049
|
+
For example:
|
1050
|
+
|
1051
|
+
@mixin blue-text {
|
1052
|
+
@warn "The blue-text mixin is deprecated. Use new-blue-text instead.";
|
1053
|
+
color: #00f;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
Warnings may be silenced with the new `--quiet` command line option,
|
1057
|
+
or the corresponding {file:SASS_REFERENCE.md#quiet-option `:quiey` Sass option}.
|
1058
|
+
This option will also affect warnings printed by Sass itself.
|
1059
|
+
Warnings are off by default in the Rails, Rack, and Merb production environments.
|
1060
|
+
|
1061
|
+
### Sass::Plugin API
|
1062
|
+
|
1063
|
+
{Sass::Plugin} now has a large collection of callbacks that allow users
|
1064
|
+
to run code when various actions are performed.
|
1065
|
+
For example:
|
1066
|
+
|
1067
|
+
Sass::Plugin.on_updating_stylesheet do |template, css|
|
1068
|
+
puts "#{template} has been compiled to #{css}!"
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
For a full list of callbacks and usage notes, see the {Sass::Plugin} documentation.
|
1072
|
+
|
1073
|
+
{Sass::Plugin} also has a new method,
|
1074
|
+
{Sass::Plugin#force_update_stylesheets force_update_stylesheets}.
|
1075
|
+
This works just like {Sass::Plugin#update_stylesheets},
|
1076
|
+
except that it doesn't check modification times and doesn't use the cache;
|
1077
|
+
all stylesheets are always compiled anew.
|
1078
|
+
|
1079
|
+
### Output Formatting
|
1080
|
+
|
1081
|
+
Properties with a value and *also* nested properties
|
1082
|
+
are now rendered with the nested properties indented.
|
1083
|
+
For example:
|
1084
|
+
|
1085
|
+
margin: auto
|
1086
|
+
top: 10px
|
1087
|
+
bottom: 20px
|
1088
|
+
|
1089
|
+
is now compiled to:
|
1090
|
+
|
1091
|
+
margin: auto;
|
1092
|
+
margin-top: 10px;
|
1093
|
+
margin-bottom: 20px;
|
1094
|
+
|
1095
|
+
#### `:compressed` Style
|
1096
|
+
|
1097
|
+
When the `:compressed` style is used,
|
1098
|
+
colors will be output as the minimal possible representation.
|
1099
|
+
This means whichever is smallest of the HTML4 color name
|
1100
|
+
and the hex representation (shortened to the three-letter version if possible).
|
1101
|
+
|
1102
|
+
### Stylesheet Updating Speed
|
1103
|
+
|
1104
|
+
Several caching layers were added to Sass's stylesheet updater.
|
1105
|
+
This means that it should run significantly faster.
|
1106
|
+
This benefit will be seen by people using Sass in development mode
|
1107
|
+
with Rails, Rack, and Merb,
|
1108
|
+
as well as people using `sass --watch` from the command line,
|
1109
|
+
and to a lesser (but still significant) extent `sass --update`.
|
1110
|
+
Thanks to [thedarkone](http://github.com/thedarkone).
|
1111
|
+
|
1112
|
+
### Error Backtraces
|
1113
|
+
|
1114
|
+
Numerous bugs were fixed with the backtraces given for Sass errors,
|
1115
|
+
especially when importing files and using mixins.
|
1116
|
+
All imports and mixins will now show up in the Ruby backtrace,
|
1117
|
+
with the proper filename and line number.
|
1118
|
+
|
1119
|
+
In addition, when the `sass` executable encounters an error,
|
1120
|
+
it now prints the filename where the error occurs,
|
1121
|
+
as well as a backtrace of Sass imports and mixins.
|
1122
|
+
|
1123
|
+
### Ruby 1.9 Support
|
1124
|
+
|
1125
|
+
* Sass and `css2sass` now produce more descriptive errors
|
1126
|
+
when given a template with invalid byte sequences for that template's encoding,
|
1127
|
+
including the line number and the offending character.
|
1128
|
+
|
1129
|
+
* Sass and `css2sass` now accept Unicode documents with a
|
1130
|
+
[byte-order-mark](http://en.wikipedia.org/wiki/Byte_order_mark).
|
1131
|
+
|
1132
|
+
### Firebug Support
|
1133
|
+
|
1134
|
+
A new {file:SASS_REFERENCE.md#debug_info-option `:debug_info` option}
|
1135
|
+
has been added that emits line-number and filename information
|
1136
|
+
to the CSS file in a browser-readable format.
|
1137
|
+
This can be used with the new [FireSass Firebug extension](https://addons.mozilla.org/en-US/firefox/addon/103988)
|
1138
|
+
to report the Sass filename and line number for generated CSS files.
|
1139
|
+
|
1140
|
+
This is also available via the `--debug-info` command-line flag.
|
1141
|
+
|
1142
|
+
### Minor Improvements
|
1143
|
+
|
1144
|
+
* If a CSS or Sass function is used that has the name of a color,
|
1145
|
+
it will now be parsed as a function rather than as a color.
|
1146
|
+
For example, `fuchsia(12)` now renders as `fuchsia(12)`
|
1147
|
+
rather than `fuchsia 12`,
|
1148
|
+
and `tealbang(12)` now renders as `tealbang(12)`
|
1149
|
+
rather than `teal bang(12)`.
|
1150
|
+
|
1151
|
+
* The Sass Rails and Merb plugins now use Rack middleware by default.
|
1152
|
+
|
1153
|
+
* Haml is now compatible with the [Rip](http://hellorip.com/) package management system.
|
1154
|
+
Thanks to [Josh Peek](http://joshpeek.com/).
|
1155
|
+
|
1156
|
+
* Indented-syntax `/*` comments may now include `*` on lines beyond the first.
|
1157
|
+
|
1158
|
+
* A {file:SASS_REFERENCE.md#read_cache-option `:read_cache`} option has been added
|
1159
|
+
to allow the Sass cache to be read from but not written to.
|
1160
|
+
|
1161
|
+
* Stylesheets are no longer checked during each request
|
1162
|
+
when running tests in Rails.
|
1163
|
+
This should speed up some tests significantly.
|
1164
|
+
|
1165
|
+
## 2.2.24
|
1166
|
+
|
1167
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.24).
|
1168
|
+
|
1169
|
+
* Parent references -- the `&` character --
|
1170
|
+
may only be placed at the beginning of simple selector sequences in Sass 3.
|
1171
|
+
Placing them elsewhere is deprecated in 2.2.24 and will print a warning.
|
1172
|
+
For example, `foo &.bar` is allowed, but `foo .bar&` is not.
|
1173
|
+
|
1174
|
+
## 2.2.23
|
1175
|
+
|
1176
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.23).
|
1177
|
+
|
1178
|
+
* Don't crash when `rake gems` is run in Rails with Sass installed.
|
1179
|
+
Thanks to [Florian Frank](http://github.com/flori).
|
1180
|
+
|
1181
|
+
* When raising a file-not-found error,
|
1182
|
+
add a list of load paths that were checked.
|
1183
|
+
|
1184
|
+
* If an import isn't found for a cached Sass file and the
|
1185
|
+
{file:SASS_REFERENCE.md#full_exception `:full_exception option`} is enabled,
|
1186
|
+
print the full exception rather than raising it.
|
1187
|
+
|
1188
|
+
* Fix a bug with a weird interaction with Haml, DataMapper, and Rails 3
|
1189
|
+
that caused some tag helpers to go into infinite recursion.
|
1190
|
+
|
1191
|
+
## 2.2.22
|
1192
|
+
|
1193
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.22).
|
1194
|
+
|
1195
|
+
* Add a railtie so Haml and Sass will be automatically loaded in Rails 3.
|
1196
|
+
Thanks to [Daniel Neighman](http://pancakestacks.wordpress.com/).
|
1197
|
+
|
1198
|
+
* Make loading the gemspec not crash on read-only filesystems like Heroku's.
|
1199
|
+
|
1200
|
+
## 2.2.21
|
1201
|
+
|
1202
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.21).
|
1203
|
+
|
1204
|
+
* Fix a few bugs in the git-revision-reporting in {Haml::Version#version}.
|
1205
|
+
In particular, it will still work if `git gc` has been called recently,
|
1206
|
+
or if various files are missing.
|
1207
|
+
|
1208
|
+
* Always use `__FILE__` when reading files within the Haml repo in the `Rakefile`.
|
1209
|
+
According to [this bug report](http://github.com/carlhuda/bundler/issues/issue/44),
|
1210
|
+
this should make Sass work better with Bundler.
|
1211
|
+
|
1212
|
+
## 2.2.20
|
1213
|
+
|
1214
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.20).
|
1215
|
+
|
1216
|
+
* If the cache file for a given Sass file is corrupt
|
1217
|
+
because it doesn't have enough content,
|
1218
|
+
produce a warning and read the Sass file
|
1219
|
+
rather than letting the exception bubble up.
|
1220
|
+
This is consistent with other sorts of sassc corruption handling.
|
1221
|
+
|
1222
|
+
* Calls to `defined?` shouldn't interfere with Rails' autoloading
|
1223
|
+
in very old versions (1.2.x).
|
1224
|
+
|
1225
|
+
## 2.2.19
|
1226
|
+
|
1227
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
|
1228
|
+
|
1229
|
+
There were no changes made to Sass between versions 2.2.18 and 2.2.19.
|
1230
|
+
|
1231
|
+
## 2.2.18
|
1232
|
+
|
1233
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
|
1234
|
+
|
1235
|
+
* Use `Rails.env` rather than `RAILS_ENV` when running under Rails 3.0.
|
1236
|
+
Thanks to [Duncan Grazier](http://duncangrazier.com/).
|
1237
|
+
|
1238
|
+
* Support `:line_numbers` as an alias for {file:SASS_REFERENCE.md#line_numbers-option `:line_comments`},
|
1239
|
+
since that's what the docs have said forever.
|
1240
|
+
Similarly, support `--line-numbers` as a command-line option.
|
1241
|
+
|
1242
|
+
* Add a `--unix-newlines` flag to all executables
|
1243
|
+
for outputting Unix-style newlines on Windows.
|
1244
|
+
|
1245
|
+
* Add a {file:SASS_REFERENCE.md#unix_newlines-option `:unix_newlines` option}
|
1246
|
+
for {Sass::Plugin} for outputting Unix-style newlines on Windows.
|
1247
|
+
|
1248
|
+
* Fix the `--cache-location` flag, which was previously throwing errors.
|
1249
|
+
Thanks to [tav](http://tav.espians.com/).
|
1250
|
+
|
1251
|
+
* Allow comments at the beginning of the document to have arbitrary indentation,
|
1252
|
+
just like comments elsewhere.
|
1253
|
+
Similarly, comment parsing is a little nicer than before.
|
1254
|
+
|
1255
|
+
## 2.2.17
|
1256
|
+
|
1257
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
|
1258
|
+
|
1259
|
+
* When the {file:SASS_REFERENCE.md#full_exception-option `:full_exception` option}
|
1260
|
+
is false, raise the error in Ruby code rather than swallowing it
|
1261
|
+
and printing something uninformative.
|
1262
|
+
|
1263
|
+
* Fixed error-reporting when something goes wrong when loading Sass
|
1264
|
+
using the `sass` executable.
|
1265
|
+
This used to raise a NameError because `Sass::SyntaxError` wasn't defined.
|
1266
|
+
Now it'll raise the correct exception instead.
|
1267
|
+
|
1268
|
+
* Report the filename in warnings about selectors without properties.
|
1269
|
+
|
1270
|
+
* `nil` values for Sass options are now ignored,
|
1271
|
+
rather than raising errors.
|
1272
|
+
|
1273
|
+
* Fix a bug that appears when Plugin template locations
|
1274
|
+
have multiple trailing slashes.
|
1275
|
+
Thanks to [Jared Grippe](http://jaredgrippe.com/).
|
1276
|
+
|
1277
|
+
### Must Read!
|
1278
|
+
|
1279
|
+
* When `@import` is given a filename without an extension,
|
1280
|
+
the behavior of rendering a CSS `@import` if no Sass file is found
|
1281
|
+
is deprecated.
|
1282
|
+
In future versions, `@import foo` will either import the template
|
1283
|
+
or raise an error.
|
1284
|
+
|
1285
|
+
## 2.2.16
|
1286
|
+
|
1287
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
|
1288
|
+
|
1289
|
+
* Fixed a bug where modules containing user-defined Sass functions
|
1290
|
+
weren't made available when simply included in {Sass::Script::Functions}
|
1291
|
+
({Sass::Script::Functions Functions} needed to be re-included in
|
1292
|
+
{Sass::Script::Functions::EvaluationContext Functions::EvaluationContext}).
|
1293
|
+
Now the module simply needs to be included in {Sass::Script::Functions}.
|
1294
|
+
|
1295
|
+
## 2.2.15
|
1296
|
+
|
1297
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.15).
|
1298
|
+
|
1299
|
+
* Added {Sass::Script::Color#with} for a way of setting color channels
|
1300
|
+
that's easier than manually constructing a new color
|
1301
|
+
and is forwards-compatible with alpha-channel colors
|
1302
|
+
(to be introduced in Sass 2.4).
|
1303
|
+
|
1304
|
+
* Added a missing require in Sass that caused crashes
|
1305
|
+
when it was being run standalone.
|
1306
|
+
|
1307
|
+
## 2.2.14
|
1308
|
+
|
1309
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.14).
|
1310
|
+
|
1311
|
+
* All Sass functions now raise explicit errors if their inputs
|
1312
|
+
are of the incorrect type.
|
1313
|
+
|
1314
|
+
* Allow the SassScript `rgb()` function to take percentages
|
1315
|
+
in addition to numerical values.
|
1316
|
+
|
1317
|
+
* Fixed a bug where SassScript strings with `#` followed by `#{}` interpolation
|
1318
|
+
didn't evaluate the interpolation.
|
1319
|
+
|
1320
|
+
### SassScript Ruby API
|
1321
|
+
|
1322
|
+
These changes only affect people defining their own Sass functions
|
1323
|
+
using {Sass::Script::Functions}.
|
1324
|
+
|
1325
|
+
* {Sass::Script::Color#value} attribute is deprecated.
|
1326
|
+
Use {Sass::Script::Color#rgb} instead.
|
1327
|
+
The returned array is now frozen as well.
|
1328
|
+
|
1329
|
+
* Add an `assert_type` function that's available to {Sass::Script::Functions}.
|
1330
|
+
This is useful for typechecking the inputs to functions.
|
1331
|
+
|
1332
|
+
### Rack Support
|
1333
|
+
|
1334
|
+
Sass 2.2.14 includes Rack middleware for running Sass,
|
1335
|
+
meaning that all Rack-enabled frameworks can now use Sass.
|
1336
|
+
To activate this, just add
|
1337
|
+
|
1338
|
+
require 'sass/plugin/rack'
|
1339
|
+
use Sass::Plugin::Rack
|
1340
|
+
|
1341
|
+
to your `config.ru`.
|
1342
|
+
See the {Sass::Plugin::Rack} documentation for more details.
|
1343
|
+
|
1344
|
+
## 2.2.13
|
1345
|
+
|
1346
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.13).
|
1347
|
+
|
1348
|
+
There were no changes made to Sass between versions 2.2.12 and 2.2.13.
|
1349
|
+
|
1350
|
+
## 2.2.12
|
1351
|
+
|
1352
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.12).
|
1353
|
+
|
1354
|
+
* Fix a stupid bug introduced in 2.2.11 that broke the Sass Rails plugin.
|
1355
|
+
|
1356
|
+
## 2.2.11
|
1357
|
+
|
1358
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.11).
|
1359
|
+
|
1360
|
+
* Added a note to errors on properties that could be pseudo-classes (e.g. `:focus`)
|
1361
|
+
indicating that they should be backslash-escaped.
|
1362
|
+
|
1363
|
+
* Automatically interpret properties that could be pseudo-classes as such
|
1364
|
+
if {file:SASS_REFERENCE.md.html#property_syntax-option `:property_syntax`}
|
1365
|
+
is set to `:new`.
|
1366
|
+
|
1367
|
+
* Fixed `css2sass`'s generation of pseudo-classes so that they're backslash-escaped.
|
1368
|
+
|
1369
|
+
* Don't crash if the Haml plugin skeleton is installed and `rake gems:install` is run.
|
1370
|
+
|
1371
|
+
* Don't use `RAILS_ROOT` directly.
|
1372
|
+
This no longer exists in Rails 3.0.
|
1373
|
+
Instead abstract this out as `Haml::Util.rails_root`.
|
1374
|
+
This changes makes Haml fully compatible with edge Rails as of this writing.
|
1375
|
+
|
1376
|
+
* Make use of a Rails callback rather than a monkeypatch to check for stylesheet updates
|
1377
|
+
in Rails 3.0+.
|
1378
|
+
|
1379
|
+
## 2.2.10
|
1380
|
+
|
1381
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.10).
|
1382
|
+
|
1383
|
+
* Add support for attribute selectors with spaces around the `=`.
|
1384
|
+
For example:
|
1385
|
+
|
1386
|
+
a[href = http://google.com]
|
1387
|
+
color: blue
|
1388
|
+
|
1389
|
+
## 2.2.9
|
1390
|
+
|
1391
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.9).
|
1392
|
+
|
1393
|
+
There were no changes made to Sass between versions 2.2.8 and 2.2.9.
|
1394
|
+
|
1395
|
+
## 2.2.8
|
1396
|
+
|
1397
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.8).
|
1398
|
+
|
1399
|
+
There were no changes made to Sass between versions 2.2.7 and 2.2.8.
|
1400
|
+
|
1401
|
+
## 2.2.7
|
1402
|
+
|
1403
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.7).
|
1404
|
+
|
1405
|
+
There were no changes made to Sass between versions 2.2.6 and 2.2.7.
|
1406
|
+
|
1407
|
+
## 2.2.6
|
1408
|
+
|
1409
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.6).
|
1410
|
+
|
1411
|
+
* Don't crash when the `__FILE__` constant of a Ruby file is a relative path,
|
1412
|
+
as apparently happens sometimes in TextMate
|
1413
|
+
(thanks to [Karl Varga](http://github.com/kjvarga)).
|
1414
|
+
|
1415
|
+
* Add "Sass" to the `--version` string for the executables.
|
1416
|
+
|
1417
|
+
## 2.2.5
|
1418
|
+
|
1419
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.5).
|
1420
|
+
|
1421
|
+
There were no changes made to Sass between versions 2.2.4 and 2.2.5.
|
1422
|
+
|
1423
|
+
## 2.2.4
|
1424
|
+
|
1425
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.4).
|
1426
|
+
|
1427
|
+
* Don't add `require 'rubygems'` to the top of init.rb when installed
|
1428
|
+
via `sass --rails`. This isn't necessary, and actually gets
|
1429
|
+
clobbered as soon as haml/template is loaded.
|
1430
|
+
|
1431
|
+
* Document the previously-undocumented {file:SASS_REFERENCE.md#line-option `:line` option},
|
1432
|
+
which allows the number of the first line of a Sass file to be set for error reporting.
|
1433
|
+
|
1434
|
+
## 2.2.3
|
1435
|
+
|
1436
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.3).
|
1437
|
+
|
1438
|
+
Sass 2.2.3 prints line numbers for warnings about selectors
|
1439
|
+
with no properties.
|
1440
|
+
|
1441
|
+
## 2.2.2
|
1442
|
+
|
1443
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.2).
|
1444
|
+
|
1445
|
+
Sass 2.2.2 is a minor bug-fix release.
|
1446
|
+
Notable changes include better parsing of mixin definitions and inclusions
|
1447
|
+
and better support for Ruby 1.9.
|
1448
|
+
|
1449
|
+
## 2.2.1
|
1450
|
+
|
1451
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.1).
|
1452
|
+
|
1453
|
+
Sass 2.2.1 is a minor bug-fix release.
|
1454
|
+
|
1455
|
+
### Must Read!
|
1456
|
+
|
1457
|
+
* It used to be acceptable to use `-` immediately following variable names,
|
1458
|
+
without any whitespace in between (for example, `!foo-!bar`).
|
1459
|
+
This is now deprecated, so that in the future variables with hyphens
|
1460
|
+
can be supported. Surround `-` with spaces.
|
1461
|
+
|
1462
|
+
## 2.2.0
|
1463
|
+
|
1464
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.0).
|
1465
|
+
|
1466
|
+
The 2.2 release marks a significant step in the evolution of the Sass
|
1467
|
+
language. The focus has been to increase the power of Sass to keep
|
1468
|
+
your stylesheets maintainable by allowing new forms of abstraction to
|
1469
|
+
be created within your stylesheets and the stylesheets provided by
|
1470
|
+
others that you can download and import into your own. The fundamental
|
1471
|
+
units of abstraction in Sass are variables and mixins. Please read
|
1472
|
+
below for a list of changes:
|
1473
|
+
|
1474
|
+
### Must Read!
|
1475
|
+
|
1476
|
+
* Sass Comments (//) used to only comment out a single line. This was deprecated
|
1477
|
+
in 2.0.10 and starting in 2.2, Sass comments will comment out any lines indented
|
1478
|
+
under them. Upgrade to 2.0.10 in order to see deprecation warnings where this change
|
1479
|
+
affects you.
|
1480
|
+
|
1481
|
+
* Implicit Strings within SassScript are now deprecated and will be removed in 2.4.
|
1482
|
+
For example: `border= !width solid #00F` should now be written as `border: #{!width} solid #00F`
|
1483
|
+
or as `border= !width "solid" #00F`. After upgrading to 2.2, you will see deprecation warnings
|
1484
|
+
if you have sass files that use implicit strings.
|
1485
|
+
|
1486
|
+
|
1487
|
+
### Sass Syntax Changes
|
1488
|
+
|
1489
|
+
#### Flexible Indentation
|
1490
|
+
|
1491
|
+
The indentation of Sass documents is now flexible. The first indent
|
1492
|
+
that is detected will determine the indentation style for that
|
1493
|
+
document. Tabs and spaces may never be mixed, but within a document,
|
1494
|
+
you may choose to use tabs or a flexible number of spaces.
|
1495
|
+
|
1496
|
+
#### Multiline Sass Comments
|
1497
|
+
|
1498
|
+
Sass Comments (//) will now comment out whatever is indented beneath
|
1499
|
+
them. Previously they were single line when used at the top level of a
|
1500
|
+
document. Upgrading to the latest stable version will give you
|
1501
|
+
deprecation warnings if you have silent comments with indentation
|
1502
|
+
underneath them.
|
1503
|
+
|
1504
|
+
#### Mixin Arguments
|
1505
|
+
|
1506
|
+
Sass Mixins now accept any number of arguments. To define a mixin with
|
1507
|
+
arguments, specify the arguments as a comma-delimited list of
|
1508
|
+
variables like so:
|
1509
|
+
|
1510
|
+
=my-mixin(!arg1, !arg2, !arg3)
|
1511
|
+
|
1512
|
+
As before, the definition of the mixin is indented below the mixin
|
1513
|
+
declaration. The variables declared in the argument list may be used
|
1514
|
+
and will be bound to the values passed to the mixin when it is
|
1515
|
+
invoked. Trailing arguments may have default values as part of the
|
1516
|
+
declaration:
|
1517
|
+
|
1518
|
+
=my-mixin(!arg1, !arg2 = 1px, !arg3 = blue)
|
1519
|
+
|
1520
|
+
In the example above, the mixin may be invoked by passing 1, 2 or 3
|
1521
|
+
arguments to it. A similar syntax is used to invoke a mixin that
|
1522
|
+
accepts arguments:
|
1523
|
+
|
1524
|
+
div.foo
|
1525
|
+
+my-mixin(1em, 3px)
|
1526
|
+
|
1527
|
+
When a mixin has no required arguments, the parenthesis are optional.
|
1528
|
+
|
1529
|
+
The default values for mixin arguments are evaluated in the global
|
1530
|
+
context at the time when the mixin is invoked, they may also reference
|
1531
|
+
the previous arguments in the declaration. For example:
|
1532
|
+
|
1533
|
+
!default_width = 30px
|
1534
|
+
=my-fancy-mixin(!width = !default_width, !height = !width)
|
1535
|
+
width= !width
|
1536
|
+
height= !height
|
1537
|
+
|
1538
|
+
.default-box
|
1539
|
+
+my-fancy-mixin
|
1540
|
+
|
1541
|
+
.square-box
|
1542
|
+
+my-fancy-mixin(50px)
|
1543
|
+
|
1544
|
+
.rectangle-box
|
1545
|
+
+my-fancy-mixin(25px, 75px)
|
1546
|
+
|
1547
|
+
!default_width = 10px
|
1548
|
+
.small-default-box
|
1549
|
+
+my-fancy-mixin
|
1550
|
+
|
1551
|
+
|
1552
|
+
compiles to:
|
1553
|
+
|
1554
|
+
.default-box {
|
1555
|
+
width: 30px;
|
1556
|
+
height: 30px; }
|
1557
|
+
|
1558
|
+
.square-box {
|
1559
|
+
width: 50px;
|
1560
|
+
height: 50px; }
|
1561
|
+
|
1562
|
+
.rectangle-box {
|
1563
|
+
width: 25px;
|
1564
|
+
height: 75px; }
|
1565
|
+
|
1566
|
+
.small-default-box {
|
1567
|
+
width: 10px;
|
1568
|
+
height: 10px; }
|
1569
|
+
|
1570
|
+
|
1571
|
+
### Sass, Interactive
|
1572
|
+
|
1573
|
+
The sass command line option -i now allows you to quickly and
|
1574
|
+
interactively experiment with SassScript expressions. The value of the
|
1575
|
+
expression you enter will be printed out after each line. Example:
|
1576
|
+
|
1577
|
+
$ sass -i
|
1578
|
+
>> 5px
|
1579
|
+
5px
|
1580
|
+
>> 5px + 10px
|
1581
|
+
15px
|
1582
|
+
>> !five_pixels = 5px
|
1583
|
+
5px
|
1584
|
+
>> !five_pixels + 10px
|
1585
|
+
15px
|
1586
|
+
|
1587
|
+
### SassScript
|
1588
|
+
|
1589
|
+
The features of SassScript have been greatly enhanced with new control
|
1590
|
+
directives, new fundamental data types, and variable scoping.
|
1591
|
+
|
1592
|
+
#### New Data Types
|
1593
|
+
|
1594
|
+
SassScript now has four fundamental data types:
|
1595
|
+
|
1596
|
+
1. Number
|
1597
|
+
2. String
|
1598
|
+
3. Boolean (New in 2.2)
|
1599
|
+
4. Colors
|
1600
|
+
|
1601
|
+
#### More Flexible Numbers
|
1602
|
+
|
1603
|
+
Like JavaScript, SassScript numbers can now change between floating
|
1604
|
+
point and integers. No explicit casting or decimal syntax is
|
1605
|
+
required. When a number is emitted into a CSS file it will be rounded
|
1606
|
+
to the nearest thousandth, however the internal representation
|
1607
|
+
maintains much higher precision.
|
1608
|
+
|
1609
|
+
#### Improved Handling of Units
|
1610
|
+
|
1611
|
+
While Sass has long supported numbers with units, it now has a much
|
1612
|
+
deeper understanding of them. The following are examples of legal
|
1613
|
+
numbers in SassScript:
|
1614
|
+
|
1615
|
+
0, 1000, 6%, -2px, 5pc, 20em, or 2foo.
|
1616
|
+
|
1617
|
+
Numbers of the same unit may always be added and subtracted. Numbers
|
1618
|
+
that have units that Sass understands and finds comparable, can be
|
1619
|
+
combined, taking the unit of the first number. Numbers that have
|
1620
|
+
non-comparable units may not be added nor subtracted -- any attempt to
|
1621
|
+
do so will cause an error. However, a unitless number takes on the
|
1622
|
+
unit of the other number during a mathematical operation. For example:
|
1623
|
+
|
1624
|
+
>> 3mm + 4cm
|
1625
|
+
43mm
|
1626
|
+
>> 4cm + 3mm
|
1627
|
+
4.3cm
|
1628
|
+
>> 3cm + 2in
|
1629
|
+
8.08cm
|
1630
|
+
>> 5foo + 6foo
|
1631
|
+
11foo
|
1632
|
+
>> 4% + 5px
|
1633
|
+
SyntaxError: Incompatible units: 'px' and '%'.
|
1634
|
+
>> 5 + 10px
|
1635
|
+
15px
|
1636
|
+
|
1637
|
+
Sass allows compound units to be stored in any intermediate form, but
|
1638
|
+
will raise an error if you try to emit a compound unit into your css
|
1639
|
+
file.
|
1640
|
+
|
1641
|
+
>> !em_ratio = 1em / 16px
|
1642
|
+
0.063em/px
|
1643
|
+
>> !em_ratio * 32px
|
1644
|
+
2em
|
1645
|
+
>> !em_ratio * 40px
|
1646
|
+
2.5em
|
1647
|
+
|
1648
|
+
#### Colors
|
1649
|
+
|
1650
|
+
A color value can be declared using a color name, hexadecimal,
|
1651
|
+
shorthand hexadecimal, the rgb function, or the hsl function. When
|
1652
|
+
outputting a color into css, the color name is used, if any, otherwise
|
1653
|
+
it is emitted as hexadecimal value. Examples:
|
1654
|
+
|
1655
|
+
> #fff
|
1656
|
+
white
|
1657
|
+
>> white
|
1658
|
+
white
|
1659
|
+
>> #FFFFFF
|
1660
|
+
white
|
1661
|
+
>> hsl(180, 100, 100)
|
1662
|
+
white
|
1663
|
+
>> rgb(255, 255, 255)
|
1664
|
+
white
|
1665
|
+
>> #AAA
|
1666
|
+
#aaaaaa
|
1667
|
+
|
1668
|
+
Math on color objects is performed piecewise on the rgb
|
1669
|
+
components. However, these operations rarely have meaning in the
|
1670
|
+
design domain (mostly they make sense for gray-scale colors).
|
1671
|
+
|
1672
|
+
>> #aaa + #123
|
1673
|
+
#bbccdd
|
1674
|
+
>> #333 * 2
|
1675
|
+
#666666
|
1676
|
+
|
1677
|
+
#### Booleans
|
1678
|
+
|
1679
|
+
Boolean objects can be created by comparison operators or via the
|
1680
|
+
`true` and `false` keywords. Booleans can be combined using the
|
1681
|
+
`and`, `or`, and `not` keywords.
|
1682
|
+
|
1683
|
+
>> true
|
1684
|
+
true
|
1685
|
+
>> true and false
|
1686
|
+
false
|
1687
|
+
>> 5 < 10
|
1688
|
+
true
|
1689
|
+
>> not (5 < 10)
|
1690
|
+
false
|
1691
|
+
>> not (5 < 10) or not (10 < 5)
|
1692
|
+
true
|
1693
|
+
>> 30mm == 3cm
|
1694
|
+
true
|
1695
|
+
>> 1px == 1em
|
1696
|
+
false
|
1697
|
+
|
1698
|
+
#### Strings
|
1699
|
+
|
1700
|
+
Unicode escapes are now allowed within SassScript strings.
|
1701
|
+
|
1702
|
+
### Control Directives
|
1703
|
+
|
1704
|
+
New directives provide branching and looping within a sass stylesheet
|
1705
|
+
based on SassScript expressions. See the [Sass
|
1706
|
+
Reference](SASS_REFERENCE.md.html#control_directives) for complete
|
1707
|
+
details.
|
1708
|
+
|
1709
|
+
#### @for
|
1710
|
+
|
1711
|
+
The `@for` directive loops over a set of numbers in sequence, defining
|
1712
|
+
the current number into the variable specified for each loop. The
|
1713
|
+
`through` keyword means that the last iteration will include the
|
1714
|
+
number, the `to` keyword means that it will stop just before that
|
1715
|
+
number.
|
1716
|
+
|
1717
|
+
@for !x from 1px through 5px
|
1718
|
+
.border-#{!x}
|
1719
|
+
border-width= !x
|
1720
|
+
|
1721
|
+
compiles to:
|
1722
|
+
|
1723
|
+
.border-1px {
|
1724
|
+
border-width: 1px; }
|
1725
|
+
|
1726
|
+
.border-2px {
|
1727
|
+
border-width: 2px; }
|
1728
|
+
|
1729
|
+
.border-3px {
|
1730
|
+
border-width: 3px; }
|
1731
|
+
|
1732
|
+
.border-4px {
|
1733
|
+
border-width: 4px; }
|
1734
|
+
|
1735
|
+
.border-5px {
|
1736
|
+
border-width: 5px; }
|
1737
|
+
|
1738
|
+
#### @if / @else if / @else
|
1739
|
+
|
1740
|
+
The branching directives `@if`, `@else if`, and `@else` let you select
|
1741
|
+
between several branches of sass to be emitted, based on the result of
|
1742
|
+
a SassScript expression. Example:
|
1743
|
+
|
1744
|
+
!type = "monster"
|
1745
|
+
p
|
1746
|
+
@if !type == "ocean"
|
1747
|
+
color: blue
|
1748
|
+
@else if !type == "matador"
|
1749
|
+
color: red
|
1750
|
+
@else if !type == "monster"
|
1751
|
+
color: green
|
1752
|
+
@else
|
1753
|
+
color: black
|
1754
|
+
|
1755
|
+
is compiled to:
|
1756
|
+
|
1757
|
+
p {
|
1758
|
+
color: green; }
|
1759
|
+
|
1760
|
+
#### @while
|
1761
|
+
|
1762
|
+
The `@while` directive lets you iterate until a condition is
|
1763
|
+
met. Example:
|
1764
|
+
|
1765
|
+
!i = 6
|
1766
|
+
@while !i > 0
|
1767
|
+
.item-#{!i}
|
1768
|
+
width = 2em * !i
|
1769
|
+
!i = !i - 2
|
1770
|
+
|
1771
|
+
is compiled to:
|
1772
|
+
|
1773
|
+
.item-6 {
|
1774
|
+
width: 12em; }
|
1775
|
+
|
1776
|
+
.item-4 {
|
1777
|
+
width: 8em; }
|
1778
|
+
|
1779
|
+
.item-2 {
|
1780
|
+
width: 4em; }
|
1781
|
+
|
1782
|
+
### Variable Scoping
|
1783
|
+
|
1784
|
+
The term "constant" has been renamed to "variable." Variables can be
|
1785
|
+
declared at any scope (a.k.a. nesting level) and they will only be
|
1786
|
+
visible to the code until the next outdent. However, if a variable is
|
1787
|
+
already defined in a higher level scope, setting it will overwrite the
|
1788
|
+
value stored previously.
|
1789
|
+
|
1790
|
+
In this code, the `!local_var` variable is scoped and hidden from
|
1791
|
+
other higher level scopes or sibling scopes:
|
1792
|
+
|
1793
|
+
.foo
|
1794
|
+
.bar
|
1795
|
+
!local_var = 1px
|
1796
|
+
width= !local_var
|
1797
|
+
.baz
|
1798
|
+
// this will raise an undefined variable error.
|
1799
|
+
width= !local_var
|
1800
|
+
// as will this
|
1801
|
+
width= !local_var
|
1802
|
+
|
1803
|
+
In this example, since the `!global_var` variable is first declared at
|
1804
|
+
a higher scope, it is shared among all lower scopes:
|
1805
|
+
|
1806
|
+
!global_var = 1px
|
1807
|
+
.foo
|
1808
|
+
.bar
|
1809
|
+
!global_var = 2px
|
1810
|
+
width= !global_var
|
1811
|
+
.baz
|
1812
|
+
width= !global_var
|
1813
|
+
width= !global_var
|
1814
|
+
|
1815
|
+
compiles to:
|
1816
|
+
|
1817
|
+
.foo {
|
1818
|
+
width: 2px; }
|
1819
|
+
.foo .bar {
|
1820
|
+
width: 2px; }
|
1821
|
+
.foo .baz {
|
1822
|
+
width: 2px; }
|
1823
|
+
|
1824
|
+
|
1825
|
+
### Interpolation
|
1826
|
+
|
1827
|
+
Interpolation has been added. This allows SassScript to be used to
|
1828
|
+
create dynamic properties and selectors. It also cleans up some uses
|
1829
|
+
of dynamic values when dealing with compound properties. Using
|
1830
|
+
interpolation, the result of a SassScript expression can be placed
|
1831
|
+
anywhere:
|
1832
|
+
|
1833
|
+
!x = 1
|
1834
|
+
!d = 3
|
1835
|
+
!property = "border"
|
1836
|
+
div.#{!property}
|
1837
|
+
#{!property}: #{!x + !d}px solid
|
1838
|
+
#{!property}-color: blue
|
1839
|
+
|
1840
|
+
is compiled to:
|
1841
|
+
|
1842
|
+
div.border {
|
1843
|
+
border: 4px solid;
|
1844
|
+
border-color: blue; }
|
1845
|
+
|
1846
|
+
### Sass Functions
|
1847
|
+
|
1848
|
+
SassScript defines some useful functions that are called using the
|
1849
|
+
normal CSS function syntax:
|
1850
|
+
|
1851
|
+
p
|
1852
|
+
color = hsl(0, 100%, 50%)
|
1853
|
+
|
1854
|
+
is compiled to:
|
1855
|
+
|
1856
|
+
#main {
|
1857
|
+
color: #ff0000; }
|
1858
|
+
|
1859
|
+
The following functions are provided: `hsl`, `percentage`, `round`,
|
1860
|
+
`ceil`, `floor`, and `abs`. You can define additional functions in
|
1861
|
+
ruby.
|
1862
|
+
|
1863
|
+
See {Sass::Script::Functions} for more information.
|
1864
|
+
|
1865
|
+
|
1866
|
+
### New Options
|
1867
|
+
|
1868
|
+
#### `:line_comments`
|
1869
|
+
|
1870
|
+
To aid in debugging, You may set the `:line_comments` option to
|
1871
|
+
`true`. This will cause the sass engine to insert a comment before
|
1872
|
+
each selector saying where that selector was defined in your sass
|
1873
|
+
code.
|
1874
|
+
|
1875
|
+
#### `:template_location`
|
1876
|
+
|
1877
|
+
The {Sass::Plugin} `:template_location` option now accepts a hash of
|
1878
|
+
sass paths to corresponding css paths. Please be aware that it is
|
1879
|
+
possible to import sass files between these separate locations -- they
|
1880
|
+
are not isolated from each other.
|
1881
|
+
|
1882
|
+
### Miscellaneous Features
|
1883
|
+
|
1884
|
+
#### `@debug` Directive
|
1885
|
+
|
1886
|
+
The `@debug` directive accepts a SassScript expression and emits the
|
1887
|
+
value of that expression to the terminal (stderr).
|
1888
|
+
|
1889
|
+
Example:
|
1890
|
+
|
1891
|
+
@debug 1px + 2px
|
1892
|
+
|
1893
|
+
During compilation the following will be printed:
|
1894
|
+
|
1895
|
+
Line 1 DEBUG: 3px
|
1896
|
+
|
1897
|
+
#### Ruby 1.9 Support
|
1898
|
+
|
1899
|
+
Sass now fully supports Ruby 1.9.1.
|
1900
|
+
|
1901
|
+
#### Sass Cache
|
1902
|
+
|
1903
|
+
By default, Sass caches compiled templates and
|
1904
|
+
[partials](SASS_REFERENCE.md.html#partials). This dramatically speeds
|
1905
|
+
up re-compilation of large collections of Sass files, and works best
|
1906
|
+
if the Sass templates are split up into separate files that are all
|
1907
|
+
[`@import`](SASS_REFERENCE.md.html#import)ed into one large file.
|
1908
|
+
|
1909
|
+
Without a framework, Sass puts the cached templates in the
|
1910
|
+
`.sass-cache` directory. In Rails and Merb, they go in
|
1911
|
+
`tmp/sass-cache`. The directory can be customized with the
|
1912
|
+
[`:cache_location`](#cache_location-option) option. If you don't want
|
1913
|
+
Sass to use caching at all, set the [`:cache`](#cache-option) option
|
1914
|
+
to `false`.
|