radiant 0.9.0.rc2 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of radiant might be problematic. Click here for more details.
- data/CHANGELOG +18 -6
- data/CONTRIBUTORS +7 -1
- data/INSTALL +0 -5
- data/README +21 -0
- data/app/controllers/admin/layouts_controller.rb +1 -0
- data/app/controllers/admin/preferences_controller.rb +4 -3
- data/app/controllers/admin/resource_controller.rb +62 -8
- data/app/controllers/admin/snippets_controller.rb +1 -0
- data/app/controllers/admin/users_controller.rb +1 -0
- data/app/controllers/application_controller.rb +0 -17
- data/app/controllers/site_controller.rb +6 -4
- data/app/helpers/application_helper.rb +19 -0
- data/app/models/standard_tags.rb +212 -18
- data/app/models/status.rb +1 -1
- data/app/models/user.rb +2 -2
- data/app/views/admin/extensions/index.html.haml +1 -1
- data/app/views/admin/layouts/_form.html.haml +4 -4
- data/app/views/admin/layouts/index.html.haml +2 -2
- data/app/views/admin/page_parts/_page_part.html.haml +2 -2
- data/app/views/admin/pages/_fields.html.haml +5 -5
- data/app/views/admin/preferences/edit.html.haml +3 -3
- data/app/views/admin/snippets/_form.html.haml +5 -5
- data/app/views/admin/snippets/index.html.haml +3 -3
- data/app/views/admin/users/_form.html.haml +3 -4
- data/app/views/admin/users/index.html.haml +2 -1
- data/app/views/layouts/application.html.haml +1 -1
- data/config/environment.rb +2 -2
- data/config/environments/cucumber.rb +3 -3
- data/config/locales/en.yml +10 -10
- data/config/locales/en_available_tags.yml +80 -1
- data/db/migrate/20081203140407_add_indexes.rb +10 -10
- data/db/schema.rb +1 -1
- data/features/admin/resource_pagination.feature +27 -0
- data/features/admin/user_preferences.feature +17 -0
- data/features/step_definitions/admin/pagination_steps.rb +46 -0
- data/features/step_definitions/web_steps.rb +13 -3
- data/features/support/env.rb +7 -3
- data/features/support/paths.rb +1 -1
- data/lib/generators/instance/templates/instance_environment.rb +2 -2
- data/lib/generators/language_extension/templates/lang.yml +6 -6
- data/lib/plugins/active_record_extensions/lib/active_record_extensions.rb +0 -29
- data/lib/radiant.rb +3 -3
- data/lib/radiant/admin_ui.rb +1 -1
- data/lib/radiant/extension/script.rb +20 -5
- data/lib/radiant/extension_loader.rb +1 -1
- data/lib/radiant/initializer.rb +9 -3
- data/lib/radiant/pagination/controller.rb +34 -0
- data/lib/radiant/pagination/link_renderer.rb +7 -4
- data/lib/task_support.rb +6 -1
- data/lib/tasks/cucumber.rake +1 -1
- data/lib/tasks/framework.rake +1 -2
- data/lib/tasks/release.rake +11 -3
- data/lib/tasks/rspec.rake +1 -1
- data/public/images/admin/shadow.png +0 -0
- data/public/images/admin/shadow_grey.png +0 -0
- data/public/javascripts/admin/application.js +4 -1
- data/public/javascripts/admin/cookie.js +2 -2
- data/public/javascripts/admin/validationerror.js +18 -0
- data/public/stylesheets/admin/main.css +110 -37
- data/public/stylesheets/sass/admin/main.sass +3 -2
- data/public/stylesheets/sass/admin/modules/_grid.sass +56 -0
- data/public/stylesheets/sass/admin/partials/_actions.sass +74 -34
- data/public/stylesheets/sass/admin/partials/{_depreciated.sass → _deprecated.sass} +1 -1
- data/public/stylesheets/sass/admin/partials/_popup.sass +1 -1
- data/public/stylesheets/sass/admin/partials/_validations.sass +21 -0
- data/spec/controllers/admin/paginated_controller_spec.rb +26 -0
- data/spec/controllers/admin/preferences_controller_spec.rb +14 -0
- data/spec/controllers/application_controller_spec.rb +1 -11
- data/spec/controllers/site_controller_spec.rb +9 -0
- data/spec/datasets/users_dataset.rb +1 -1
- data/spec/generators/instance_generator_spec.rb +1 -1
- data/spec/helpers/application_helper_spec.rb +38 -0
- data/spec/lib/radiant/extension/script_spec.rb +5 -1
- data/spec/lib/radiant/initializer_spec.rb +7 -0
- data/spec/lib/radiant_spec.rb +1 -1
- data/spec/lib/task_support_spec.rb +14 -0
- data/spec/matchers/render_matcher.rb +14 -1
- data/spec/models/layout_spec.rb +3 -3
- data/spec/models/page_part_spec.rb +3 -3
- data/spec/models/page_spec.rb +8 -9
- data/spec/models/snippet_spec.rb +3 -3
- data/spec/models/standard_tags_spec.rb +99 -5
- data/spec/models/user_spec.rb +11 -11
- data/vendor/extensions/archive/app/models/archive_finder.rb +5 -0
- data/vendor/extensions/french_language_pack/config/locales/fr.yml +31 -25
- data/vendor/extensions/german_language_pack/README +2 -1
- data/vendor/extensions/german_language_pack/config/locales/de.yml +47 -45
- data/vendor/extensions/german_language_pack/config/locales/de_available_tags.yml +375 -304
- data/vendor/extensions/german_language_pack/german_language_pack_extension.rb +2 -2
- data/vendor/extensions/markdown_filter/README +1 -1
- data/vendor/extensions/markdown_filter/lib/markdown_filter.rb +4 -4
- data/vendor/extensions/markdown_filter/lib/markdown_tags.rb +0 -15
- data/vendor/extensions/markdown_filter/markdown_filter_extension.rb +1 -10
- data/vendor/extensions/markdown_filter/spec/models/markdown_filter_spec.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/CONTRIBUTERS +4 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/ChangeLog +1332 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/README +10 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/Rakefile +97 -38
- data/vendor/extensions/markdown_filter/vendor/kramdown/VERSION +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/generate_data.rb +6 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-jruby-1.4.0.dat +7 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.6.dat +7 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.7.dat +7 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.1p243.dat +7 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.2dev.dat +7 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/testing.sh +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/bin/kramdown +11 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.html +9 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.latex +43 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.less.css +510 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.template +26 -33
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/documentation.page +72 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/index.page +21 -49
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/installation.page +6 -6
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/links.markdown +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/news.page +3 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/quickref.page +140 -127
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/syntax.page +501 -431
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/tests.page +3 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/compatibility.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter.rb +8 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/base.rb +40 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/html.rb +99 -27
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/latex.rb +57 -18
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/document.rb +32 -13
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/error.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/options.rb +34 -14
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser.rb +9 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/base.rb +95 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/html.rb +387 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown.rb +74 -65
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/abbreviation.rb +65 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/attribute_list.rb +3 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/autolink.rb +8 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blank_line.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blockquote.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codeblock.rb +3 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codespan.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/emphasis.rb +4 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/eob.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/escaped_chars.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/extension.rb +47 -55
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/footnote.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/header.rb +3 -18
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/horizontal_rule.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html.rb +69 -149
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html_entity.rb +4 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/line_break.rb +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/link.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/list.rb +12 -9
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/math.rb +53 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/paragraph.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/smart_quotes.rb +5 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/table.rb +4 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/typographic_symbol.rb +7 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/version.rb +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/man/man1/kramdown.1 +222 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/run_tests.rb +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/test_files.rb +68 -7
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.html +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.options +2 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.text +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.html +9 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.text +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/mixed.html +9 -3
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.html +49 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.text +29 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.html +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.text +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/tables.html +2 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.html +10 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.text +9 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.html +7 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.text +8 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.html +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.options +2 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.text +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.html +8 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.text +8 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.html +15 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.text +17 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.html +19 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.text +22 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/options +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.html +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.text +4 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.html +13 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.text +12 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.html +10 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.text +14 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.html +3 -5
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.text +0 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.html +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.text +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.html +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.text +7 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/comment.text +5 -5
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.html +0 -2
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.text +3 -6
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/nomarkdown.text +4 -4
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.html +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.text +5 -6
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options2.text +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options3.text +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.html +19 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.text +18 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/errors.html +1 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.html +4 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.text +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/definitions.latex +18 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.latex +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/markers.latex +32 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.html +8 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.text +15 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.html +2 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.text +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.html +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.text +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.html +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.text +6 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.html +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.html +2 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.text +1 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.html +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.text +5 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.html +3 -0
- data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.text +3 -0
- data/vendor/extensions/smarty_pants_filter/README +1 -0
- data/vendor/extensions/smarty_pants_filter/Rakefile +136 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/lib/smarty_pants_filter.rb +0 -0
- data/vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb +18 -0
- data/vendor/extensions/smarty_pants_filter/lib/tasks/smarty_pants_filter_extension_tasks.rake +28 -0
- data/vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb +18 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/smartypants.html +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/spec/models/smarty_pants_filter_spec.rb +0 -0
- data/vendor/extensions/smarty_pants_filter/spec/spec.opts +6 -0
- data/vendor/extensions/smarty_pants_filter/spec/spec_helper.rb +36 -0
- data/vendor/extensions/smarty_pants_filter/test/test_helper.rb +19 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/test/unit/smarty_pants_filter_test.rb +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/README +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/Rakefile +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/install.rb +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/rubypants.rb +0 -0
- data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/test_rubypants.rb +0 -0
- data/vendor/plugins/haml/Rakefile +84 -52
- data/vendor/plugins/haml/VERSION +1 -1
- data/vendor/plugins/haml/doc-src/HAML_CHANGELOG.md +77 -0
- data/vendor/plugins/haml/doc-src/SASS_CHANGELOG.md +60 -0
- data/vendor/plugins/haml/extra/haml-mode.el +15 -12
- data/vendor/plugins/haml/extra/sass-mode.el +2 -2
- data/vendor/plugins/haml/haml.gemspec +16 -7
- data/vendor/plugins/haml/init.rb +3 -1
- data/vendor/plugins/haml/lib/haml.rb +1 -0
- data/vendor/plugins/haml/lib/haml/filters.rb +14 -2
- data/vendor/plugins/haml/lib/haml/helpers.rb +34 -14
- data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +6 -4
- data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +74 -34
- data/vendor/plugins/haml/lib/haml/helpers/xss_mods.rb +37 -8
- data/vendor/plugins/haml/lib/haml/html.rb +1 -1
- data/vendor/plugins/haml/lib/haml/precompiler.rb +3 -2
- data/vendor/plugins/haml/lib/haml/railtie.rb +18 -0
- data/vendor/plugins/haml/lib/haml/template.rb +15 -4
- data/vendor/plugins/haml/lib/haml/template/plugin.rb +37 -2
- data/vendor/plugins/haml/lib/haml/util.rb +56 -2
- data/vendor/plugins/haml/lib/haml/version.rb +29 -14
- data/vendor/plugins/haml/lib/sass/files.rb +10 -2
- data/vendor/plugins/haml/lib/sass/plugin.rb +7 -2
- data/vendor/plugins/haml/lib/sass/plugin/rack.rb +2 -2
- data/vendor/plugins/haml/lib/sass/plugin/rails.rb +2 -1
- data/vendor/plugins/haml/lib/sass/script/number.rb +2 -2
- data/vendor/plugins/haml/lib/sass/tree/if_node.rb +1 -0
- data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +9 -1
- data/vendor/plugins/haml/test/haml/engine_test.rb +24 -2
- data/vendor/plugins/haml/test/haml/helper_test.rb +60 -9
- data/vendor/plugins/haml/test/haml/template_test.rb +80 -3
- data/vendor/plugins/haml/test/haml/templates/helpers.haml +26 -0
- data/vendor/plugins/haml/test/haml/templates/partial_layout.haml +6 -2
- data/vendor/plugins/haml/test/sass/engine_test.rb +6 -1
- data/vendor/plugins/haml/test/test_helper.rb +16 -1
- data/vendor/radius/LICENSE +19 -0
- data/vendor/radius/QUICKSTART.rdoc +7 -7
- data/vendor/radius/README.rdoc +9 -25
- data/vendor/radius/Rakefile +4 -27
- data/vendor/radius/VERSION +1 -0
- data/vendor/radius/lib/radius/parser.rb +4 -4
- data/vendor/radius/lib/radius/parser/scan.rb +371 -940
- data/vendor/radius/lib/radius/parser/scan.rl +2 -1
- data/vendor/radius/lib/radius/version.rb +5 -11
- data/vendor/radius/radius.gemspec +55 -22
- data/vendor/radius/tasks/jeweler.rake +21 -0
- data/vendor/radius/tasks/rdoc.rake +13 -0
- data/vendor/radius/tasks/test.rake +7 -0
- data/vendor/radius/test/parser_test.rb +5 -0
- data/vendor/radius/test/test_helper.rb +1 -0
- data/vendor/rails/actionmailer/CHANGELOG +18 -0
- data/vendor/rails/actionmailer/MIT-LICENSE +1 -1
- data/vendor/rails/actionmailer/Rakefile +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/base.rb +2 -2
- data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +1 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail.rb +1 -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.3 → tmail-1.2.7}/tmail/address.rb +4 -38
- 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.3 → tmail-1.2.7}/tmail/base64.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/compat.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/config.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/core_extensions.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/encode.rb +9 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/header.rb +4 -2
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/index.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/interface.rb +33 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/loader.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mail.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mailbox.rb +3 -2
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/main.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mbox.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/net.rb +3 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/obsolete.rb +0 -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.3 → tmail-1.2.7}/tmail/port.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/quoting.rb +47 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/require_arch.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/scanner.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/scanner_r.rb +2 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/stringio.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/utils.rb +50 -25
- 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.3 → tmail-1.2.7}/tmail/version.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +2 -2
- data/vendor/rails/actionmailer/lib/action_mailer/version.rb +1 -1
- data/vendor/rails/actionmailer/test/abstract_unit.rb +4 -4
- data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +1 -1
- data/vendor/rails/actionmailer/test/mail_service_test.rb +66 -2
- data/vendor/rails/actionmailer/test/quoting_test.rb +10 -4
- data/vendor/rails/actionpack/CHANGELOG +55 -0
- data/vendor/rails/actionpack/MIT-LICENSE +1 -1
- data/vendor/rails/actionpack/README +7 -7
- data/vendor/rails/actionpack/Rakefile +2 -2
- data/vendor/rails/actionpack/lib/action_controller.rb +2 -2
- data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +18 -9
- data/vendor/rails/actionpack/lib/action_controller/base.rb +14 -14
- data/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +6 -6
- data/vendor/rails/actionpack/lib/action_controller/cookies.rb +96 -0
- data/vendor/rails/actionpack/lib/action_controller/failsafe.rb +1 -0
- data/vendor/rails/actionpack/lib/action_controller/flash.rb +42 -0
- data/vendor/rails/actionpack/lib/action_controller/integration.rb +5 -1
- data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +1 -1
- data/vendor/rails/actionpack/lib/action_controller/rack_lint_patch.rb +1 -1
- data/vendor/rails/actionpack/lib/action_controller/rescue.rb +2 -2
- data/vendor/rails/actionpack/lib/action_controller/response.rb +4 -7
- data/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +1 -0
- data/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +6 -0
- data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +6 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +2 -2
- data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +4 -1
- data/vendor/rails/actionpack/lib/action_pack.rb +1 -1
- data/vendor/rails/actionpack/lib/action_pack/version.rb +1 -1
- data/vendor/rails/actionpack/lib/action_view.rb +3 -3
- data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +11 -11
- data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +2 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +2 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +12 -11
- data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +2 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +49 -12
- data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +3 -4
- data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +7 -4
- data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +1 -1
- data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +1 -1
- data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +2 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/raw_output_helper.rb +2 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +2 -10
- data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +6 -5
- data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +5 -5
- data/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +37 -9
- data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +9 -11
- data/vendor/rails/actionpack/lib/action_view/partials.rb +2 -1
- data/vendor/rails/actionpack/lib/action_view/paths.rb +8 -0
- data/vendor/rails/actionpack/lib/action_view/renderable.rb +16 -2
- data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +7 -4
- data/vendor/rails/actionpack/lib/action_view/test_case.rb +1 -1
- data/vendor/rails/actionpack/test/abstract_unit.rb +8 -8
- data/vendor/rails/actionpack/test/active_record_unit.rb +1 -1
- data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +3 -1
- data/vendor/rails/actionpack/test/controller/assert_select_test.rb +6 -5
- data/vendor/rails/actionpack/test/controller/caching_test.rb +16 -2
- data/vendor/rails/actionpack/test/controller/capture_test.rb +1 -1
- data/vendor/rails/actionpack/test/controller/cookie_test.rb +37 -1
- data/vendor/rails/actionpack/test/controller/flash_test.rb +28 -1
- data/vendor/rails/actionpack/test/controller/helper_test.rb +1 -1
- data/vendor/rails/actionpack/test/controller/integration_test.rb +0 -1
- data/vendor/rails/actionpack/test/controller/localized_templates_test.rb +24 -0
- data/vendor/rails/actionpack/test/controller/output_escaping_test.rb +19 -0
- data/vendor/rails/actionpack/test/controller/rack_test.rb +1 -4
- data/vendor/rails/actionpack/test/controller/render_test.rb +11 -2
- data/vendor/rails/actionpack/test/controller/rescue_test.rb +8 -2
- data/vendor/rails/actionpack/test/controller/routing_test.rb +1 -0
- data/vendor/rails/actionpack/test/controller/send_file_test.rb +1 -1
- data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +2 -2
- data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +10 -6
- 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/test/_customer_counter_with_as.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/array_translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +2 -2
- data/vendor/rails/actionpack/test/fixtures/test/scoped_array_translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/translation.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +4 -2
- 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/template/active_record_helper_i18n_test.rb +9 -2
- data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -1
- data/vendor/rails/actionpack/test/template/date_helper_test.rb +118 -0
- data/vendor/rails/actionpack/test/template/erb_util_test.rb +12 -0
- data/vendor/rails/actionpack/test/template/form_helper_test.rb +57 -3
- data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +21 -9
- data/vendor/rails/actionpack/test/template/render_test.rb +47 -8
- data/vendor/rails/actionpack/test/template/text_helper_test.rb +26 -1
- data/vendor/rails/actionpack/test/template/translation_helper_test.rb +72 -9
- data/vendor/rails/actionpack/test/template/url_helper_test.rb +20 -1
- data/vendor/rails/actionpack/test/view/test_case_test.rb +2 -2
- data/vendor/rails/activerecord/CHANGELOG +43 -0
- data/vendor/rails/activerecord/Rakefile +1 -1
- data/vendor/rails/activerecord/examples/performance.sql +85 -0
- data/vendor/rails/activerecord/lib/active_record.rb +1 -2
- data/vendor/rails/activerecord/lib/active_record/association_preload.rb +9 -2
- data/vendor/rails/activerecord/lib/active_record/associations.rb +48 -38
- data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +15 -11
- data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +16 -6
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +11 -1
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -10
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +5 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +5 -5
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +10 -1
- data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +5 -1
- data/vendor/rails/activerecord/lib/active_record/autosave_association.rb +66 -35
- data/vendor/rails/activerecord/lib/active_record/base.rb +77 -36
- data/vendor/rails/activerecord/lib/active_record/batches.rb +13 -9
- data/vendor/rails/activerecord/lib/active_record/calculations.rb +6 -3
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +3 -3
- 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/query_cache.rb +1 -1
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +3 -7
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +1 -1
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +64 -10
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +2 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +31 -1
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +31 -66
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +5 -5
- data/vendor/rails/activerecord/lib/active_record/dirty.rb +2 -2
- data/vendor/rails/activerecord/lib/active_record/fixtures.rb +1 -0
- data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +34 -1
- data/vendor/rails/activerecord/lib/active_record/migration.rb +5 -0
- data/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +64 -52
- data/vendor/rails/activerecord/lib/active_record/reflection.rb +66 -1
- data/vendor/rails/activerecord/lib/active_record/schema.rb +5 -1
- data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +3 -0
- data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +1 -1
- data/vendor/rails/activerecord/lib/active_record/validations.rb +13 -1
- data/vendor/rails/activerecord/lib/active_record/version.rb +1 -1
- data/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +22 -0
- data/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +13 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +8 -7
- data/vendor/rails/activerecord/test/cases/associations/eager_test.rb +7 -1
- data/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +26 -0
- data/vendor/rails/activerecord/test/cases/associations/inverse_associations_test.rb +566 -0
- data/vendor/rails/activerecord/test/cases/associations_test.rb +10 -0
- data/vendor/rails/activerecord/test/cases/autosave_association_test.rb +86 -10
- data/vendor/rails/activerecord/test/cases/base_test.rb +29 -0
- data/vendor/rails/activerecord/test/cases/batches_test.rb +20 -0
- data/vendor/rails/activerecord/test/cases/calculations_test.rb +2 -3
- data/vendor/rails/activerecord/test/cases/encoding_test.rb +6 -0
- data/vendor/rails/activerecord/test/cases/finder_test.rb +19 -3
- data/vendor/rails/activerecord/test/cases/fixtures_test.rb +5 -0
- data/vendor/rails/activerecord/test/cases/json_serialization_test.rb +14 -0
- data/vendor/rails/activerecord/test/cases/locking_test.rb +48 -3
- data/vendor/rails/activerecord/test/cases/migration_test.rb +115 -0
- data/vendor/rails/activerecord/test/cases/modules_test.rb +28 -0
- data/vendor/rails/activerecord/test/cases/named_scope_test.rb +1 -1
- data/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +239 -7
- data/vendor/rails/activerecord/test/cases/query_cache_test.rb +7 -1
- data/vendor/rails/activerecord/test/cases/reflection_test.rb +47 -7
- data/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +2 -2
- data/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +6 -36
- data/vendor/rails/activerecord/test/cases/validations_test.rb +33 -1
- data/vendor/rails/activerecord/test/cases/yaml_serialization_test.rb +11 -0
- data/vendor/rails/activerecord/test/fixtures/faces.yml +11 -0
- data/vendor/rails/{pkg/rails-3.0.pre.gem → 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/interests.yml +33 -0
- data/vendor/rails/activerecord/test/fixtures/men.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/zines.yml +5 -0
- data/vendor/rails/activerecord/test/models/author.rb +3 -0
- data/vendor/rails/activerecord/test/models/bird.rb +6 -0
- data/vendor/rails/activerecord/test/models/company_in_module.rb +17 -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/interest.rb +5 -0
- data/vendor/rails/activerecord/test/models/invoice.rb +4 -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/parrot.rb +6 -0
- data/vendor/rails/activerecord/test/models/pirate.rb +10 -0
- data/vendor/rails/activerecord/test/models/ship.rb +10 -1
- data/vendor/rails/activerecord/test/models/ship_part.rb +3 -1
- data/vendor/rails/activerecord/test/models/zine.rb +3 -0
- data/vendor/rails/activerecord/test/schema/schema.rb +41 -0
- data/vendor/rails/activeresource/CHANGELOG +15 -0
- data/vendor/rails/activeresource/Rakefile +1 -1
- data/vendor/rails/activeresource/lib/active_resource/base.rb +11 -2
- data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +2 -2
- data/vendor/rails/activeresource/lib/active_resource/validations.rb +3 -3
- data/vendor/rails/activeresource/lib/active_resource/version.rb +1 -1
- data/vendor/rails/activeresource/test/abstract_unit.rb +2 -2
- data/vendor/rails/activeresource/test/base_errors_test.rb +13 -0
- data/vendor/rails/activeresource/test/base_test.rb +49 -0
- data/vendor/rails/activeresource/test/debug.log +80350 -0
- data/vendor/rails/activesupport/CHANGELOG +37 -0
- data/vendor/rails/activesupport/lib/active_support.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +7 -1
- data/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +11 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +35 -28
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +14 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +14 -3
- data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +6 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +2 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +33 -26
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +2 -2
- data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/blank.rb +20 -2
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +6 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/singleton_class.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb +108 -44
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +2 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +8 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +12 -3
- data/vendor/rails/activesupport/lib/active_support/deprecation.rb +3 -2
- data/vendor/rails/activesupport/lib/active_support/inflections.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/inflector.rb +5 -2
- data/vendor/rails/activesupport/lib/active_support/json/backends/yajl.rb +40 -0
- data/vendor/rails/activesupport/lib/active_support/json/backends/yaml.rb +10 -7
- data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +16 -1
- data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +11 -2
- data/vendor/rails/activesupport/lib/active_support/memoizable.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +2 -2
- data/vendor/rails/activesupport/lib/active_support/multibyte/utils.rb +6 -7
- data/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +28 -11
- data/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +14 -0
- data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +84 -76
- data/vendor/rails/activesupport/lib/active_support/vendor.rb +10 -2
- data/vendor/rails/activesupport/lib/active_support/vendor/{i18n-0.1.3/lib → i18n-0.3.7}/i18n.rb +175 -39
- 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.1.3/lib → i18n-0.3.7}/i18n/exceptions.rb +15 -7
- 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/version.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +23 -83
- data/vendor/rails/activesupport/lib/active_support/xml_mini/libxmlsax.rb +74 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +25 -22
- data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogirisax.rb +73 -0
- data/vendor/rails/railties/CHANGELOG +18 -2
- data/vendor/rails/railties/MIT-LICENSE +1 -1
- data/vendor/rails/railties/Rakefile +5 -5
- data/vendor/rails/railties/bin/rails +6 -5
- data/vendor/rails/railties/builtin/rails_info/rails/info.rb +1 -1
- data/vendor/rails/railties/configs/initializers/cookie_verification_secret.rb +7 -0
- data/vendor/rails/railties/guides/source/getting_started.textile +2 -2
- data/vendor/rails/railties/lib/commands/dbconsole.rb +1 -1
- data/vendor/rails/railties/lib/commands/runner.rb +1 -1
- data/vendor/rails/railties/lib/dispatcher.rb +1 -1
- data/vendor/rails/railties/lib/rails/gem_dependency.rb +11 -4
- data/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +1 -1
- data/vendor/rails/railties/lib/rails/version.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator.rb +5 -2
- data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +7 -6
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +9 -5
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +2 -4
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +1 -1
- data/vendor/rails/railties/lib/tasks/databases.rake +14 -14
- data/vendor/rails/railties/lib/tasks/framework.rake +4 -1
- data/vendor/rails/railties/lib/tasks/rails.rb +6 -1
- metadata +276 -321
- data/config/initializers/pagination.rb +0 -1
- data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.css +0 -293
- data/vendor/plugins/haml/FAQ +0 -138
- data/vendor/plugins/haml/README.rdoc +0 -319
- data/vendor/plugins/haml/REVISION +0 -1
- data/vendor/plugins/haml/lib/sass/constant.rb +0 -216
- data/vendor/plugins/haml/lib/sass/constant/color.rb +0 -101
- data/vendor/plugins/haml/lib/sass/constant/literal.rb +0 -54
- data/vendor/plugins/haml/lib/sass/constant/nil.rb +0 -9
- data/vendor/plugins/haml/lib/sass/constant/number.rb +0 -87
- data/vendor/plugins/haml/lib/sass/constant/operation.rb +0 -30
- data/vendor/plugins/haml/lib/sass/constant/string.rb +0 -22
- data/vendor/plugins/haml/lib/sass/tree/attr_node.rb +0 -57
- data/vendor/plugins/haml/lib/sass/tree/value_node.rb +0 -20
- data/vendor/plugins/haml/test/sass/results/constants.css +0 -16
- data/vendor/plugins/haml/test/sass/templates/constants.sass +0 -100
- data/vendor/radius/Manifest.txt +0 -21
- data/vendor/rails/Rakefile +0 -81
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -46
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -1478
- data/vendor/rails/actionmailer/pkg/actionmailer-3.0.pre.gem +0 -0
- data/vendor/rails/actionpack/lib/action_view/erb/util.rb +0 -44
- data/vendor/rails/actionpack/lib/action_view/safe_buffer.rb +0 -28
- data/vendor/rails/actionpack/pkg/actionpack-3.0.pre.gem +0 -0
- data/vendor/rails/actionpack/test/view/safe_buffer_test.rb +0 -36
- data/vendor/rails/activemodel/CHANGES +0 -12
- data/vendor/rails/activemodel/README +0 -21
- data/vendor/rails/activemodel/Rakefile +0 -24
- data/vendor/rails/activemodel/lib/active_model.rb +0 -5
- data/vendor/rails/activemodel/lib/active_model/base.rb +0 -8
- data/vendor/rails/activemodel/lib/active_model/callbacks.rb +0 -7
- data/vendor/rails/activemodel/lib/active_model/core.rb +0 -7
- data/vendor/rails/activemodel/lib/active_model/deprecated_error_methods.rb +0 -38
- data/vendor/rails/activemodel/lib/active_model/errors.rb +0 -82
- data/vendor/rails/activemodel/lib/active_model/observing.rb +0 -98
- data/vendor/rails/activemodel/lib/active_model/state_machine.rb +0 -68
- data/vendor/rails/activemodel/lib/active_model/state_machine/event.rb +0 -64
- data/vendor/rails/activemodel/lib/active_model/state_machine/machine.rb +0 -78
- data/vendor/rails/activemodel/lib/active_model/state_machine/state.rb +0 -47
- data/vendor/rails/activemodel/lib/active_model/state_machine/state_transition.rb +0 -40
- data/vendor/rails/activemodel/lib/active_model/validations.rb +0 -126
- data/vendor/rails/activemodel/lib/active_model/validations/acceptance.rb +0 -45
- data/vendor/rails/activemodel/lib/active_model/validations/associated.rb +0 -46
- data/vendor/rails/activemodel/lib/active_model/validations/confirmation.rb +0 -44
- data/vendor/rails/activemodel/lib/active_model/validations/exclusion.rb +0 -37
- data/vendor/rails/activemodel/lib/active_model/validations/format.rb +0 -39
- data/vendor/rails/activemodel/lib/active_model/validations/inclusion.rb +0 -37
- data/vendor/rails/activemodel/lib/active_model/validations/length.rb +0 -95
- data/vendor/rails/activemodel/lib/active_model/validations/numericality.rb +0 -80
- data/vendor/rails/activemodel/lib/active_model/validations/presence.rb +0 -42
- data/vendor/rails/activemodel/lib/active_model/validations/uniqueness.rb +0 -104
- data/vendor/rails/activemodel/pkg/activemodel-3.0.pre.gem +0 -0
- data/vendor/rails/activemodel/test/observing_test.rb +0 -121
- data/vendor/rails/activemodel/test/state_machine/event_test.rb +0 -49
- data/vendor/rails/activemodel/test/state_machine/machine_test.rb +0 -43
- data/vendor/rails/activemodel/test/state_machine/state_test.rb +0 -72
- data/vendor/rails/activemodel/test/state_machine/state_transition_test.rb +0 -84
- data/vendor/rails/activemodel/test/state_machine_test.rb +0 -312
- data/vendor/rails/activemodel/test/test_helper.rb +0 -21
- data/vendor/rails/activerecord/MIT-LICENSE +0 -20
- data/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +0 -26
- data/vendor/rails/activerecord/pkg/activerecord-3.0.pre.gem +0 -0
- data/vendor/rails/activeresource/MIT-LICENSE +0 -20
- data/vendor/rails/activeresource/pkg/activeresource-3.0.pre.gem +0 -0
- data/vendor/rails/activesupport/MIT-LICENSE +0 -20
- data/vendor/rails/activesupport/Rakefile +0 -175
- data/vendor/rails/activesupport/bin/generate_tables +0 -147
- data/vendor/rails/activesupport/install.rb +0 -30
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +0 -20
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +0 -20
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +0 -5
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +0 -27
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +0 -214
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +0 -99
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +0 -124
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +0 -1
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +0 -3
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +0 -567
- data/vendor/rails/activesupport/pkg/activesupport-3.0.pre.gem +0 -0
- data/vendor/rails/activesupport/test/abstract_unit.rb +0 -36
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +0 -7
- data/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +0 -5
- data/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +0 -4
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +0 -3
- data/vendor/rails/activesupport/test/buffered_logger_test.rb +0 -146
- data/vendor/rails/activesupport/test/caching_test.rb +0 -348
- data/vendor/rails/activesupport/test/callbacks_test.rb +0 -188
- data/vendor/rails/activesupport/test/clean_backtrace_test.rb +0 -47
- data/vendor/rails/activesupport/test/clean_logger_test.rb +0 -57
- data/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +0 -363
- data/vendor/rails/activesupport/test/core_ext/base64_ext_test.rb +0 -8
- data/vendor/rails/activesupport/test/core_ext/bigdecimal.rb +0 -10
- data/vendor/rails/activesupport/test/core_ext/blank_test.rb +0 -24
- data/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +0 -14
- data/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +0 -31
- data/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +0 -224
- data/vendor/rails/activesupport/test/core_ext/class/delegating_attributes_test.rb +0 -115
- data/vendor/rails/activesupport/test/core_ext/class_test.rb +0 -46
- data/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +0 -278
- data/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +0 -359
- data/vendor/rails/activesupport/test/core_ext/duplicable_test.rb +0 -22
- data/vendor/rails/activesupport/test/core_ext/duration_test.rb +0 -121
- data/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +0 -97
- data/vendor/rails/activesupport/test/core_ext/exception_test.rb +0 -68
- data/vendor/rails/activesupport/test/core_ext/file_test.rb +0 -67
- data/vendor/rails/activesupport/test/core_ext/float_ext_test.rb +0 -25
- data/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +0 -1014
- data/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +0 -37
- data/vendor/rails/activesupport/test/core_ext/kernel_test.rb +0 -43
- data/vendor/rails/activesupport/test/core_ext/load_error_test.rb +0 -16
- data/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +0 -30
- data/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +0 -52
- data/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +0 -33
- data/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +0 -58
- data/vendor/rails/activesupport/test/core_ext/module/model_naming_test.rb +0 -27
- data/vendor/rails/activesupport/test/core_ext/module/synchronization_test.rb +0 -85
- data/vendor/rails/activesupport/test/core_ext/module_test.rb +0 -363
- data/vendor/rails/activesupport/test/core_ext/name_error_test.rb +0 -20
- data/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +0 -162
- data/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +0 -282
- data/vendor/rails/activesupport/test/core_ext/object_ext_test.rb +0 -8
- data/vendor/rails/activesupport/test/core_ext/pathname_test.rb +0 -9
- data/vendor/rails/activesupport/test/core_ext/proc_test.rb +0 -11
- data/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +0 -63
- data/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +0 -369
- data/vendor/rails/activesupport/test/core_ext/symbol_test.rb +0 -9
- data/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +0 -744
- data/vendor/rails/activesupport/test/core_ext/time_with_zone_test.rb +0 -845
- data/vendor/rails/activesupport/test/core_ext/uri_ext_test.rb +0 -12
- data/vendor/rails/activesupport/test/dependencies/check_warnings.rb +0 -2
- data/vendor/rails/activesupport/test/dependencies/conflict.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +0 -3
- data/vendor/rails/activesupport/test/dependencies/mutual_one.rb +0 -4
- data/vendor/rails/activesupport/test/dependencies/mutual_two.rb +0 -4
- data/vendor/rails/activesupport/test/dependencies/raises_exception.rb +0 -3
- data/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/service_one.rb +0 -5
- data/vendor/rails/activesupport/test/dependencies/service_two.rb +0 -2
- data/vendor/rails/activesupport/test/dependencies_test.rb +0 -782
- data/vendor/rails/activesupport/test/deprecation_test.rb +0 -167
- data/vendor/rails/activesupport/test/flush_cache_on_private_memoization_test.rb +0 -43
- data/vendor/rails/activesupport/test/gzip_test.rb +0 -7
- data/vendor/rails/activesupport/test/i18n_test.rb +0 -98
- data/vendor/rails/activesupport/test/inflector_test.rb +0 -298
- data/vendor/rails/activesupport/test/inflector_test_cases.rb +0 -252
- data/vendor/rails/activesupport/test/json/decoding_test.rb +0 -73
- data/vendor/rails/activesupport/test/json/encoding_test.rb +0 -160
- data/vendor/rails/activesupport/test/memoizable_test.rb +0 -247
- data/vendor/rails/activesupport/test/message_encryptor_test.rb +0 -46
- data/vendor/rails/activesupport/test/message_verifier_test.rb +0 -31
- data/vendor/rails/activesupport/test/multibyte_chars_test.rb +0 -606
- data/vendor/rails/activesupport/test/multibyte_conformance.rb +0 -129
- data/vendor/rails/activesupport/test/multibyte_test_helpers.rb +0 -19
- data/vendor/rails/activesupport/test/multibyte_unicode_database_test.rb +0 -22
- data/vendor/rails/activesupport/test/multibyte_utils_test.rb +0 -137
- data/vendor/rails/activesupport/test/option_merger_test.rb +0 -85
- data/vendor/rails/activesupport/test/ordered_hash_test.rb +0 -201
- data/vendor/rails/activesupport/test/ordered_options_test.rb +0 -53
- data/vendor/rails/activesupport/test/rescuable_test.rb +0 -75
- data/vendor/rails/activesupport/test/secure_random_test.rb +0 -19
- data/vendor/rails/activesupport/test/string_inquirer_test.rb +0 -15
- data/vendor/rails/activesupport/test/test_test.rb +0 -148
- data/vendor/rails/activesupport/test/time_zone_test.rb +0 -266
- data/vendor/rails/activesupport/test/whiny_nil_test.rb +0 -50
- data/vendor/rails/activesupport/test/xml_mini/jdom_engine_test.rb +0 -153
- data/vendor/rails/activesupport/test/xml_mini/nokogiri_engine_test.rb +0 -168
- data/vendor/rails/activesupport/test/xml_mini/rexml_engine_test.rb +0 -15
- data/vendor/rails/ci/ci_build.rb +0 -119
- data/vendor/rails/ci/ci_setup_notes.txt +0 -131
- data/vendor/rails/ci/cruise_config.rb +0 -9
- data/vendor/rails/ci/geminstaller.yml +0 -24
- data/vendor/rails/ci/site.css +0 -13
- data/vendor/rails/ci/site_config.rb +0 -72
- data/vendor/rails/doc/template/horo.rb +0 -613
- data/vendor/rails/pushgems.rb +0 -14
- data/vendor/rails/railties/pkg/railties-3.0.pre.gem +0 -0
- data/vendor/rails/railties/test/abstract_unit.rb +0 -27
- data/vendor/rails/railties/test/backtrace_cleaner_test.rb +0 -61
- data/vendor/rails/railties/test/boot_test.rb +0 -178
- data/vendor/rails/railties/test/console_app_test.rb +0 -42
- data/vendor/rails/railties/test/fcgi_dispatcher_test.rb +0 -266
- data/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/about.yml +0 -1
- data/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb +0 -1
- data/vendor/rails/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb +0 -1
- data/vendor/rails/railties/test/fixtures/eager/zoo.rb +0 -3
- data/vendor/rails/railties/test/fixtures/eager/zoo/reptile_house.rb +0 -2
- data/vendor/rails/railties/test/fixtures/environment_with_constant.rb +0 -1
- data/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
- data/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +0 -2
- data/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_a.rb +0 -5
- data/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_b.rb +0 -5
- data/vendor/rails/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb +0 -5
- data/vendor/rails/railties/test/fixtures/metal/singlemetal/app/metal/foo_metal.rb +0 -5
- data/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb +0 -7
- data/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb +0 -7
- data/vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb +0 -4
- data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/init.rb +0 -1
- data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/lib/gemlike.rb +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/rails/init.rb +0 -7
- data/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/about.yml +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb +0 -4
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +0 -7
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/controllers/engine_controller.rb +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/metal/engine_metal.rb +0 -10
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/models/engine_model.rb +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/config/locales/en.yml +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/config/routes.rb +0 -3
- data/vendor/rails/railties/test/fixtures/plugins/engines/engine/init.rb +0 -3
- data/vendor/rails/railties/test/fixtures/public/foo/bar.html +0 -1
- data/vendor/rails/railties/test/fixtures/public/foo/index.html +0 -1
- data/vendor/rails/railties/test/fixtures/public/index.html +0 -1
- data/vendor/rails/railties/test/gem_dependency_test.rb +0 -219
- data/vendor/rails/railties/test/generator_lookup_test.rb +0 -40
- data/vendor/rails/railties/test/generators/generator_test_helper.rb +0 -310
- data/vendor/rails/railties/test/generators/rails_controller_generator_test.rb +0 -44
- data/vendor/rails/railties/test/generators/rails_helper_generator_test.rb +0 -36
- data/vendor/rails/railties/test/generators/rails_mailer_generator_test.rb +0 -29
- data/vendor/rails/railties/test/generators/rails_model_generator_test.rb +0 -96
- data/vendor/rails/railties/test/generators/rails_resource_generator_test.rb +0 -29
- data/vendor/rails/railties/test/generators/rails_scaffold_generator_test.rb +0 -151
- data/vendor/rails/railties/test/generators/rails_template_runner_test.rb +0 -216
- data/vendor/rails/railties/test/initializer_test.rb +0 -416
- data/vendor/rails/railties/test/metal_test.rb +0 -72
- data/vendor/rails/railties/test/mocks/routes.rb +0 -6
- data/vendor/rails/railties/test/plugin_loader_test.rb +0 -172
- data/vendor/rails/railties/test/plugin_locator_test.rb +0 -62
- data/vendor/rails/railties/test/plugin_test.rb +0 -162
- data/vendor/rails/railties/test/plugin_test_helper.rb +0 -29
- data/vendor/rails/railties/test/rack_static_test.rb +0 -46
- data/vendor/rails/railties/test/rails_generator_test.rb +0 -145
- data/vendor/rails/railties/test/rails_info_controller_test.rb +0 -52
- data/vendor/rails/railties/test/rails_info_test.rb +0 -99
- data/vendor/rails/railties/test/secret_key_generation_test.rb +0 -38
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-a-0.4.0/lib/dummy-gem-a.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.4.0/lib/dummy-gem-b.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.6.0/lib/dummy-gem-b.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.4.0/lib/dummy-gem-c.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.6.0/lib/dummy-gem-c.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-d-1.0.0/lib/dummy-gem-d.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-e-1.0.0/lib/dummy-gem-e.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-f-1.0.0/lib/dummy-gem-f.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-g-1.0.0/lib/dummy-gem-g.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-h-1.0.0/lib/dummy-gem-h.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-i-1.0.0/ext/dummy-gem-i/Makefile +0 -0
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-i-1.0.0/lib/dummy-gem-i.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-j-1.0.0/lib/dummy-gem-j.rb +0 -1
- data/vendor/rails/railties/test/vendor/gems/dummy-gem-k-1.0.0/lib/dummy-gem-k.rb +0 -1
- data/vendor/rails/release.rb +0 -25
data/spec/models/user_spec.rb
CHANGED
@@ -10,10 +10,10 @@ describe User, "validations" do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'should validate length of' do
|
13
|
-
assert_invalid :name, '100
|
13
|
+
assert_invalid :name, 'this must not be longer than 100 characters', 'x' * 101
|
14
14
|
assert_valid :name, 'x' * 100
|
15
15
|
|
16
|
-
assert_invalid :email, '255
|
16
|
+
assert_invalid :email, 'this must not be longer than 255 characters', ('x' * 247) + '@test.com'
|
17
17
|
assert_valid :email, ('x' * 246) + '@test.com'
|
18
18
|
end
|
19
19
|
|
@@ -41,8 +41,8 @@ describe User, "validations" do
|
|
41
41
|
min = 'x' * range.min
|
42
42
|
one_over = 'x' + max
|
43
43
|
one_under = min[1..-1]
|
44
|
-
assert_invalid field, ('%d
|
45
|
-
assert_invalid field, ('%d
|
44
|
+
assert_invalid field, ('this must not be longer than %d characters' % range.max), one_over
|
45
|
+
assert_invalid field, ('this must be at least %d characters long' % range.min), one_under
|
46
46
|
assert_valid field, max, min
|
47
47
|
end
|
48
48
|
end
|
@@ -56,36 +56,36 @@ describe User, "validations" do
|
|
56
56
|
min = 'x' * range.min
|
57
57
|
one_over = 'x' + max
|
58
58
|
one_under = min[1..-1]
|
59
|
-
assert_invalid field, ('%d
|
60
|
-
assert_invalid field, ('%d
|
59
|
+
assert_invalid field, ('this must not be longer than %d characters' % range.max), one_over
|
60
|
+
assert_invalid field, ('this must be at least %d characters long' % range.min), one_under
|
61
61
|
assert_valid field, max, min
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
65
|
it 'should validate presence' do
|
66
66
|
[:name, :login, :password, :password_confirmation].each do |field|
|
67
|
-
assert_invalid field, '
|
67
|
+
assert_invalid field, 'this must not be blank', '', ' ', nil
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
71
|
it 'should validate numericality' do
|
72
72
|
[:id].each do |field|
|
73
73
|
assert_valid field, '1', '0'
|
74
|
-
assert_invalid field, 'must be a number', 'abcd', '1,2', '1.3'
|
74
|
+
assert_invalid field, 'this must be a number', 'abcd', '1,2', '1.3'
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
it 'should validate confirmation' do
|
79
79
|
@user.confirm_password = true
|
80
|
-
assert_invalid :password, 'must match confirmation', 'test'
|
80
|
+
assert_invalid :password, 'this must match confirmation', 'test'
|
81
81
|
end
|
82
82
|
|
83
83
|
it 'should validate uniqueness' do
|
84
|
-
assert_invalid :login, 'login already in use', 'existing'
|
84
|
+
assert_invalid :login, 'this login is already in use', 'existing'
|
85
85
|
end
|
86
86
|
|
87
87
|
it 'should validate format' do
|
88
|
-
assert_invalid :email, '
|
88
|
+
assert_invalid :email, 'this is not a valid e-mail address', '@test.com', 'test@', 'testtest.com',
|
89
89
|
'test@test', 'test me@test.com', 'test@me.c'
|
90
90
|
assert_valid :email, '', 'test@test.com'
|
91
91
|
end
|
@@ -23,22 +23,22 @@ fr:
|
|
23
23
|
taken: 'identification déjà utilisée' # login already in use
|
24
24
|
password:
|
25
25
|
confirmation: 'doit être identique à sa confirmation' # password_confirmation
|
26
|
-
add_child: '
|
27
|
-
add_part: '
|
28
|
-
add_tab: "Ajouter Onglet"
|
26
|
+
add_child: 'Ajouter Page'
|
27
|
+
add_part: 'Ajouter une Partie de Page'
|
28
|
+
add_tab: "Ajouter un Onglet"
|
29
29
|
admin: "Administrateur"
|
30
30
|
available_tags: "Tags disponibles"
|
31
31
|
available_tags_for: 'Tags disponibles pour {{name}}'
|
32
32
|
body: "Body"
|
33
|
-
breadcrumb: '
|
33
|
+
breadcrumb: "Fil d'ariane"
|
34
34
|
buttons:
|
35
35
|
create: "Créer {{name}}"
|
36
36
|
save_and_continue: "Enregistrer et continuer"
|
37
37
|
save_changes: "Enregistrer les modifications"
|
38
38
|
cancel: "Annuler"
|
39
|
-
change: '
|
39
|
+
change: 'Changer'
|
40
40
|
close: "Fermer"
|
41
|
-
content: '
|
41
|
+
content: 'Contenu'
|
42
42
|
content_type: "Type‑Contenu"
|
43
43
|
creating_status: 'Creating {{model}}…'
|
44
44
|
date:
|
@@ -64,28 +64,31 @@ fr:
|
|
64
64
|
edit_page: "Modifier Page"
|
65
65
|
edit_snippet: "Modifier Snippet"
|
66
66
|
edit_user: "Modifier Utilisateur"
|
67
|
-
email_address: 'E-mail
|
67
|
+
email_address: 'Adresse E-mail'
|
68
68
|
extension: "Extension"
|
69
69
|
extensions: "Extensions"
|
70
70
|
filter: "Filtre"
|
71
71
|
hidden: "Caché"
|
72
|
-
hide: '
|
73
|
-
keywords: '
|
72
|
+
hide: 'Masquer'
|
73
|
+
keywords: 'Mots clés'
|
74
74
|
language: "Langage"
|
75
75
|
layout: "Layout"
|
76
76
|
layouts: "Layouts"
|
77
77
|
log_out: "Déconnexion"
|
78
|
-
logged_in_as: '
|
78
|
+
logged_in_as: 'Connecté en tant que'
|
79
79
|
login: "Login"
|
80
80
|
modify: "Modifier"
|
81
81
|
more: "Plus"
|
82
82
|
name: "Nom"
|
83
|
+
new_homepage: "Nouvelle Page d'Accueil"
|
83
84
|
new_layout: "Ajouter Layout"
|
84
85
|
new_page: "Nouvelle Page"
|
85
|
-
new_password: '
|
86
|
-
new_snippet: "Ajouter Snippet"
|
87
|
-
new_user: "Ajouter Utilisateur"
|
86
|
+
new_password: 'Nouveau Mot de passe'
|
87
|
+
new_snippet: "Ajouter un Snippet"
|
88
|
+
new_user: "Ajouter un Utilisateur"
|
89
|
+
no_layouts: 'Aucun Layout'
|
88
90
|
no_pages: "Aucune Page"
|
91
|
+
no_snippets: 'Aucun Snippet'
|
89
92
|
notes: "Notes"
|
90
93
|
optional: "En option"
|
91
94
|
or: "ou"
|
@@ -100,8 +103,8 @@ fr:
|
|
100
103
|
saved: "Votre page enregistrée ci-dessous."
|
101
104
|
password: "Mot de passe"
|
102
105
|
password_confirmation: "Confirmer le Mot de passe"
|
103
|
-
personal: '
|
104
|
-
personal_preferences: '
|
106
|
+
personal: 'Profile'
|
107
|
+
personal_preferences: 'Préférences du Profile'
|
105
108
|
please_login: 'SVP Identifiez-vous'
|
106
109
|
powered_by: 'Powered by'
|
107
110
|
preferences: "Préférences"
|
@@ -113,12 +116,14 @@ fr:
|
|
113
116
|
published_on: "Publié le"
|
114
117
|
reference: "Référence"
|
115
118
|
remember_me: "Conserver mes informations"
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
119
|
+
remember_me_in_this_browser: 'Se souvenir de moi dans ce browser'
|
120
|
+
remove: 'Supprimer'
|
121
|
+
remove_layout: "Supprimer le Layout"
|
122
|
+
remove_page: 'Supprimer la Page'
|
123
|
+
remove_pages: "Supprimer les {{pages}}"
|
124
|
+
remove_snippet: 'Supprimer le Snippet'
|
125
|
+
remove_tab: "Supprimer l'Onglet"
|
126
|
+
remove_user: "Supprimer l'Utilisateur"
|
122
127
|
required: "Obligatoire"
|
123
128
|
resource_controller:
|
124
129
|
not_found: "{{humanized_model_name}} could not be found."
|
@@ -128,16 +133,16 @@ fr:
|
|
128
133
|
validation_errors: "Erreurs de validation pendant le traitement de ce formulaire. SVP examinez son contenu et corrigez les erreurs avant de continuer."
|
129
134
|
reviewed: "Révisé"
|
130
135
|
roles: "Roles"
|
131
|
-
saving_changes:
|
132
|
-
saving_preferences:
|
136
|
+
saving_changes: Sauvegarde des modifications
|
137
|
+
saving_preferences: Sauvegarde des préférences
|
133
138
|
scheduled: "Scheduled"
|
134
139
|
search_tags: 'Search Tags:'
|
135
140
|
select:
|
141
|
+
default: '<défaut>'
|
136
142
|
inherit: "<hérite de>"
|
137
143
|
none: "<aucun>"
|
138
144
|
normal: "<normal>"
|
139
|
-
|
140
|
-
settings: 'Settings'
|
145
|
+
settings: 'Paramètres'
|
141
146
|
slug: 'Slug'
|
142
147
|
snippet: "Snippet"
|
143
148
|
snippets: "Snippets"
|
@@ -173,6 +178,7 @@ fr:
|
|
173
178
|
last_updated: "Dernière modification"
|
174
179
|
user: "Utilisateur"
|
175
180
|
username: "Nom Utilisateur"
|
181
|
+
username_or_email: 'Nom Utilisateur ou Adresse E-mail'
|
176
182
|
users: "Utilisateurs"
|
177
183
|
users_controller:
|
178
184
|
cannot_delete_self: "Vous ne pouvez pas vous supprimer vous-même!. "
|
@@ -8,39 +8,39 @@ de:
|
|
8
8
|
invalid: 'ungültiges Format' #invalid_format
|
9
9
|
not_a_number: 'Muss eine Zahl sein' # must be number
|
10
10
|
taken: 'Name schon in Benutzung' # name_in_use
|
11
|
-
too_long: '{{count}}-
|
11
|
+
too_long: '{{count}}-Zeichen-Limit' # character_limit
|
12
12
|
too_short: '{{count}}-Zeichen-Minimum' # character_minimum
|
13
13
|
models:
|
14
14
|
page:
|
15
15
|
attributes:
|
16
16
|
slug:
|
17
|
-
taken: 'Slug schon
|
17
|
+
taken: 'Slug schon als Kind dieser Seite in Benutzung' # slug_in_use
|
18
18
|
user:
|
19
19
|
attributes:
|
20
20
|
email:
|
21
|
-
invalid: '
|
21
|
+
invalid: 'Ungültige E-Mail-Adresse' # invalid_email
|
22
22
|
login:
|
23
23
|
taken: 'Login schon in Benutzung' # login already in use
|
24
24
|
password:
|
25
25
|
confirmation: 'muss der Bestätigung entsprechen' # password_confirmation
|
26
26
|
add_child: 'Neue Unterseite'
|
27
|
-
add_part: '
|
27
|
+
add_part: 'Neuer Part'
|
28
28
|
add_tab: 'fügt Tab ein'
|
29
29
|
admin: 'Administrator'
|
30
|
-
available_tags: '
|
31
|
-
available_tags_for: '
|
30
|
+
available_tags: 'Verfügbare Tags'
|
31
|
+
available_tags_for: 'Verfügbare Tags für {{name}}'
|
32
32
|
body: 'Body'
|
33
33
|
breadcrumb: 'Breadcrumb'
|
34
34
|
buttons:
|
35
35
|
create: '{{name}} erstellen'
|
36
|
-
save_and_continue: '
|
37
|
-
save_changes: 'Änderungen
|
38
|
-
cancel: '
|
36
|
+
save_and_continue: 'Speichern und weiterbearbeiten'
|
37
|
+
save_changes: 'Änderungen speichern'
|
38
|
+
cancel: 'Abbrechen'
|
39
39
|
change: 'Ändern'
|
40
40
|
close: 'Schliessen'
|
41
41
|
content: 'Inhalt'
|
42
42
|
content_type: 'Inhalt‑Typ'
|
43
|
-
creating_status: '
|
43
|
+
creating_status: 'Erzeuge {{model}}…'
|
44
44
|
date:
|
45
45
|
abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa]
|
46
46
|
abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
|
@@ -51,11 +51,11 @@ de:
|
|
51
51
|
only_day: "%e"
|
52
52
|
short: "%e. %b"
|
53
53
|
month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember]
|
54
|
-
order: [:day, :month, :year]
|
54
|
+
order: [ :day, :month, :year ]
|
55
55
|
delete_layout: 'Layout löschen'
|
56
|
-
delete_pages: '
|
56
|
+
delete_pages: 'Lösche {{pages}}'
|
57
57
|
delete_snippet: 'Snippet löschen'
|
58
|
-
delete_user: 'Benutzer
|
58
|
+
delete_user: 'Benutzer löschen'
|
59
59
|
description: 'Beschreibung'
|
60
60
|
design: 'Design'
|
61
61
|
designer: 'Designer'
|
@@ -85,74 +85,76 @@ de:
|
|
85
85
|
new_password: 'Neues Passwort'
|
86
86
|
new_snippet: 'Neues Snippet'
|
87
87
|
new_user: 'Neuer Benutzer'
|
88
|
-
|
89
|
-
|
88
|
+
no_layouts: 'Keine Layouts'
|
89
|
+
no_pages: 'Keine Seiten'
|
90
|
+
no_snippets: 'Keine Snippets'
|
91
|
+
notes: 'Notizen'
|
90
92
|
optional: 'Optional'
|
91
93
|
or: 'oder'
|
92
|
-
page: 'Seite'
|
93
|
-
page_page: '
|
94
|
-
page_title: '
|
94
|
+
page: 'Seite'
|
95
|
+
page_page: 'Seitenpart'
|
96
|
+
page_title: 'Seitentitel'
|
95
97
|
page_type: 'Seitentyp'
|
96
98
|
pages: 'Seiten'
|
97
99
|
pages_controller:
|
98
|
-
removed_many: "Die Seiten wurden erfolgreich
|
99
|
-
removed_one: "Die Seite wurde erfolgreich
|
100
|
+
removed_many: "Die Seiten wurden erfolgreich gelöscht."
|
101
|
+
removed_one: "Die Seite wurde erfolgreich gelöscht."
|
100
102
|
saved: "Ihre Seite wurde gespeichert."
|
101
103
|
password: 'Passwort'
|
102
|
-
password_confirmation: 'Passwort bestätigen'
|
103
|
-
personal: '
|
104
|
-
personal_preferences: '
|
104
|
+
password_confirmation: 'Neues Passwort bestätigen'
|
105
|
+
personal: 'Persönlich'
|
106
|
+
personal_preferences: 'Persönliche Einstellungen'
|
105
107
|
please_login: 'Bitte Anmelden'
|
106
108
|
powered_by: 'Powered by'
|
107
|
-
preferences: '
|
109
|
+
preferences: 'Einstellungen'
|
108
110
|
preferences_controller:
|
109
|
-
error_updating: 'Beim
|
111
|
+
error_updating: 'Beim Aktualisieren Ihrer Einstellungen ist ein Fehler aufgetreten.'
|
110
112
|
updated: 'Ihre Einstellungen wurden aktualisiert.'
|
111
|
-
published: '
|
113
|
+
published: 'Veröffentlicht'
|
112
114
|
published_at: 'Veröffentlicht am'
|
113
115
|
published_on: 'Veröffentlicht am'
|
114
116
|
reference: 'Referenz'
|
115
117
|
remember_me: 'Merken'
|
116
118
|
remove: 'Löschen'
|
117
119
|
remove_layout: 'Layout löschen'
|
118
|
-
remove_page: '
|
119
|
-
remove_pages: '
|
120
|
-
remove_tab: '
|
121
|
-
remove_user: '
|
120
|
+
remove_page: 'Seite löschen'
|
121
|
+
remove_pages: '{{pages}} löschen'
|
122
|
+
remove_tab: 'Tab löschen'
|
123
|
+
remove_user: 'Benutzer löschen'
|
122
124
|
required: 'erforderlich'
|
123
125
|
resource_controller:
|
124
|
-
not_found: "{{humanized_model_name}}
|
126
|
+
not_found: "{{humanized_model_name}} wurde nicht gefunden."
|
125
127
|
removed: "{{humanized_model_name}} wurde gelöscht."
|
126
|
-
saved: "{{humanized_model_name}} gespeichert."
|
128
|
+
saved: "{{humanized_model_name}} wurde gespeichert."
|
127
129
|
update_conflict: "Seit dem letzten Laden wurde {{humanized_model_name}} geändert. Änderungen können nicht ohne Verlust gespeichert werden."
|
128
|
-
validation_errors: "
|
130
|
+
validation_errors: "Beim Validieren dieses Formulars sind Fehler aufgetreten. Bitte überprüfen Sie die Eingaben und korrigieren Sie die Fehler."
|
129
131
|
reviewed: 'Überprüft'
|
130
132
|
roles: 'Rollen'
|
131
|
-
saving_changes: Änderungen
|
132
|
-
saving_preferences:
|
133
|
-
scheduled: "
|
133
|
+
saving_changes: Änderungen werden gespeichert
|
134
|
+
saving_preferences: Einstellungen werden gespeichert
|
135
|
+
scheduled: "Geplant"
|
134
136
|
search_tags: 'Tags durchsuchen:'
|
135
137
|
select:
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
138
|
+
default: '<Standardwert>'
|
139
|
+
inherit: '<Vererbt>'
|
140
|
+
none: '<Keine>'
|
141
|
+
normal: '<Normal>'
|
140
142
|
settings: 'Einstellungen'
|
141
143
|
slug: 'Slug'
|
142
|
-
snippet: 'Snippet'
|
143
|
-
snippets: 'Snippets'
|
144
|
-
status: 'Status'
|
144
|
+
snippet: 'Snippet'
|
145
|
+
snippets: 'Snippets'
|
146
|
+
status: 'Status'
|
145
147
|
# Warnings and info text:
|
146
148
|
testing: Testing
|
147
149
|
text:
|
148
150
|
layouts:
|
149
151
|
remove_warning: 'Sie sind sicher, das folgende Layout <strong class="warning">dauerhaft entfernen</strong> zu wollen?'
|
150
152
|
pages:
|
151
|
-
remove_warning: 'Sie sind sicher,
|
153
|
+
remove_warning: 'Sie sind sicher, folgende {{pages}} <strong class="warning">dauerhaft entfernen</strong> zu wollen?'
|
152
154
|
snippets:
|
153
155
|
remove_warning:'Sind Sie sich sicher, dass Sie das folgende Snippet <strong class="warning">dauerhaft entfernen</strong> wollen?'
|
154
156
|
users:
|
155
|
-
remove_warning: 'Sind Sie sich sicher, dass Sie den
|
157
|
+
remove_warning: 'Sind Sie sich sicher, dass Sie den Benutzer <strong class="warning">dauerhaft entfernen</strong> möchten?'
|
156
158
|
this_file_language: "Deutsch"
|
157
159
|
time:
|
158
160
|
am: ""
|
@@ -2,552 +2,623 @@
|
|
2
2
|
de:
|
3
3
|
desc:
|
4
4
|
author:
|
5
|
-
|
5
|
+
Autor der aktuellen Seite.
|
6
6
|
|
7
7
|
breadcrumb:
|
8
|
-
|
8
|
+
@breadcrumb@-Attribut der aktuellen Seite.
|
9
9
|
|
10
10
|
breadcrumbs:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
Gibt eine komplette Breadcrumb-Navigation bis zur aktuellen Seite aus. Der Separator
|
12
|
+
spezifiziert das HTML-Fragment, das zwischen die einzelnen Breadcrumbs eingefügt wird.
|
13
|
+
Der Default dafür ist @>@. Das bool'sche Attribut 'nolinks' kann verwendet werden, um die
|
14
|
+
Breadcrumbs als reinen Text (ohne Links) anzuzeigen. Das kann zum Generieren des
|
15
|
+
Title-Tags verwendet werden.
|
15
16
|
|
16
|
-
*
|
17
|
+
*Verwendung:*
|
17
18
|
|
18
|
-
<pre><code><r
|
19
|
+
<pre><code><r:breadcrumbs [separator="separator_string"] [nolinks="true"] /></code></pre>
|
19
20
|
|
20
21
|
children-count:
|
21
|
-
|
22
|
+
Gibt die Gesamtzahl der Kinder dieser Seite aus.
|
22
23
|
|
24
|
+
children-each:
|
25
|
+
Gibt alle Kinder aus. Innerhalb dieses Tags werden alle Seitenattribut-Tags
|
26
|
+
auf die aktuelle Kind-Seite gemappt.
|
27
|
+
|
28
|
+
Mit @paginated="true"@ wird eine paginierte Liste ausgegeben. Die @will_paginate@-Optionen
|
29
|
+
können ebenfalls angegeben werden, einschließlich
|
30
|
+
@per_page@, @previous_label@, @next_label@, @separator@, @inner_window@ und @outer_window@.
|
31
|
+
|
32
|
+
*Verwendung:*
|
33
|
+
|
34
|
+
<pre><code><r:children:each [offset="number"] [limit="number"]
|
35
|
+
[by="published_at|updated_at|created_at|slug|title|keywords|des</code><code>cription"]
|
36
|
+
[order="asc|des</code><code>c"] [status="draft|reviewed|published|hidden|all"]
|
37
|
+
[paginated="true"] [per_page="number"]>
|
38
|
+
...
|
39
|
+
</r:children:each>
|
40
|
+
</code></pre>
|
41
|
+
|
42
|
+
|
23
43
|
children-each-child:
|
24
|
-
|
25
|
-
|
26
|
-
|
44
|
+
Seiten-Attribut-Tags innerhalb dieses Tags beziehen sich auf das aktuelle Kind. Das ist
|
45
|
+
manchmal nützlich, wenn man sich innerhalb eines anderen Tags befindet (z.B. <r:find>)
|
46
|
+
und auf das aktuelle Kind zurückverweisen will.
|
27
47
|
|
28
|
-
*
|
48
|
+
*Verwendung:*
|
29
49
|
|
30
|
-
<pre><code><r
|
31
|
-
<r
|
32
|
-
</r
|
50
|
+
<pre><code><r:children:each>
|
51
|
+
<r:child>...</r:child>
|
52
|
+
</r:children:each>
|
33
53
|
</code></pre>
|
34
54
|
|
35
55
|
children-each-header:
|
36
|
-
|
37
|
-
|
56
|
+
Gibt den Tag-Inhalt nur aus, wenn er nicht mit dem vorherigen Header übereinstimmt.
|
57
|
+
Sehr nützlich zum Anzeigen des Date-Headers für eine Liste von Kind-Seiten.
|
38
58
|
|
39
|
-
|
40
|
-
|
41
|
-
|
59
|
+
Wenn mehrere Header-Blocks ausgegeben werden sollen, kann das @name@-Attribut
|
60
|
+
für den Namen des Headers verwendet werden. Ein benamter Header wird nicht ausgegeben,
|
61
|
+
bis ein anderer Header mit dem gleichen Namen einen anderen Inhalt hat.
|
42
62
|
|
43
|
-
|
44
|
-
|
45
|
-
|
63
|
+
Mit dem @restart@-Attribut können andere Header zum Neustart verwendet werden,
|
64
|
+
wenn sich der jetzige Header ändert. Dazu müssen die Namen der anderen Header
|
65
|
+
in einer mit Semikolon getrennten Liste spezifiziert werden.
|
46
66
|
|
47
|
-
*
|
67
|
+
*Verwendung:*
|
48
68
|
|
49
|
-
<pre><code><r
|
50
|
-
<r
|
69
|
+
<pre><code><r:children:each>
|
70
|
+
<r:header [name="header_name"] [restart="name1[;name2;...]"]>
|
51
71
|
...
|
52
|
-
</r
|
53
|
-
</r
|
72
|
+
</r:header>
|
73
|
+
</r:children:each>
|
54
74
|
</code></pre>
|
55
75
|
|
56
76
|
children-each-if_first:
|
57
|
-
|
58
|
-
|
77
|
+
Gibt den Tag-Inhalt nur aus, wenn die aktuelle Seite das erste Kind im Kontext
|
78
|
+
eines children:each-Tag ist.
|
59
79
|
|
60
|
-
*
|
80
|
+
*Verwendung:*
|
61
81
|
|
62
|
-
<pre><code><r
|
63
|
-
<r
|
82
|
+
<pre><code><r:children:each>
|
83
|
+
<r:if_first >
|
64
84
|
...
|
65
|
-
</r
|
66
|
-
</r
|
85
|
+
</r:if_first>
|
86
|
+
</r:children:each>
|
67
87
|
</code></pre>
|
68
88
|
|
69
89
|
|
70
90
|
children-each-if_last:
|
71
|
-
|
72
|
-
|
91
|
+
Gibt den Tag-Inhalt nur aus, wenn die aktuelle Seite das letzte Kind im Kontext
|
92
|
+
eines children:each-Tag ist.
|
73
93
|
|
74
|
-
*
|
94
|
+
*Verwendung:*
|
75
95
|
|
76
|
-
<pre><code><r
|
77
|
-
<r
|
96
|
+
<pre><code><r:children:each>
|
97
|
+
<r:if_last >
|
78
98
|
...
|
79
|
-
</r
|
80
|
-
</r
|
99
|
+
</r:if_last>
|
100
|
+
</r:children:each>
|
81
101
|
</code></pre>
|
82
102
|
|
83
103
|
|
84
104
|
children-each-unless_first:
|
85
|
-
|
86
|
-
|
105
|
+
Gibt den Tag-Inhalt aus, bis die aktuelle Seite das erste Kind im Kontext
|
106
|
+
eines children:each-Tag ist.
|
87
107
|
|
88
|
-
*
|
108
|
+
*Verwendung:*
|
89
109
|
|
90
|
-
<pre><code><r
|
91
|
-
<r
|
110
|
+
<pre><code><r:children:each>
|
111
|
+
<r:unless_first >
|
92
112
|
...
|
93
|
-
</r
|
94
|
-
</r
|
113
|
+
</r:unless_first>
|
114
|
+
</r:children:each>
|
95
115
|
</code></pre>
|
96
116
|
|
97
117
|
|
98
118
|
children-each-unless_last:
|
99
|
-
|
100
|
-
|
119
|
+
Gibt den Tag-Inhalt aus, bis die aktuelle Seite das letzte Kind im Kontext
|
120
|
+
eines children:each-Tag ist.
|
101
121
|
|
102
|
-
*
|
122
|
+
*Verwendung:*
|
103
123
|
|
104
|
-
<pre><code><r
|
105
|
-
<r
|
124
|
+
<pre><code><r:children:each>
|
125
|
+
<r:unless_last >
|
106
126
|
...
|
107
|
-
</r
|
108
|
-
</r
|
127
|
+
</r:unless_last>
|
128
|
+
</r:children:each>
|
109
129
|
</code></pre>
|
110
|
-
|
111
|
-
|
112
|
-
children-each:
|
113
|
-
Cycles through each of the children. Inside this tag all page attribute tags
|
114
|
-
are mapped to the current child page.
|
115
130
|
|
116
|
-
|
117
|
-
|
118
|
-
<pre><code><r:children:each [offset="number"] [limit="number"]
|
119
|
-
[by="published_at|updated_at|created_at|slug|title|keywords|description"]
|
120
|
-
[order="asc|desc"] [status="draft|reviewed|published|hidden|all"]>
|
121
|
-
...
|
122
|
-
</r:children:each>
|
123
|
-
</code></pre>
|
124
|
-
|
131
|
+
|
125
132
|
children-first:
|
126
|
-
|
127
|
-
|
133
|
+
Gibt das erste Kind aus. Innerhalb dieses Tags werden alle Seitenattribut-Tags
|
134
|
+
auf die erste Kind-Seite gemappt. Benutzt die selben Sortieroptionen wie
|
135
|
+
@<r:children:each>@.
|
128
136
|
|
129
|
-
*
|
137
|
+
*Verwendung:*
|
130
138
|
|
131
|
-
<pre><code><r
|
139
|
+
<pre><code><r:children:first>...</r:children:first></code></pre>
|
132
140
|
|
133
141
|
children-last:
|
134
|
-
|
135
|
-
|
142
|
+
Gibt das letzte Kind aus. Innerhalb dieses Tags werden alle Seitenattribut-Tags
|
143
|
+
auf die erste Kind-Seite gemappt. Benutzt die selben Sortieroptionen wie
|
144
|
+
@<r:children:each>@.
|
136
145
|
|
137
|
-
*
|
146
|
+
*Verwendung:*
|
138
147
|
|
139
|
-
<pre><code><r
|
148
|
+
<pre><code><r:children:last>...</r:children:last></code></pre>
|
140
149
|
|
141
150
|
children:
|
142
|
-
|
151
|
+
Ermöglicht Zugriff auf alle Kinder der Seite.
|
143
152
|
|
144
|
-
*
|
153
|
+
*Verwendung:*
|
145
154
|
|
146
|
-
<pre><code><r
|
155
|
+
<pre><code><r:children>...</r:children></code></pre>
|
147
156
|
|
148
157
|
comment:
|
149
|
-
|
158
|
+
Der Inhalt innerhalb eines Kommentar-Tags wird nicht ausgegeben.
|
150
159
|
|
151
|
-
*
|
160
|
+
*Verwendung:*
|
152
161
|
|
153
|
-
<pre><code><r
|
162
|
+
<pre><code><r:comment>...</r:comment></code></pre>
|
154
163
|
|
155
164
|
content:
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
165
|
+
Gibt den Hauptinhalt einer Seite aus. Mit dem @part@-Attribut kann ein spezifischer
|
166
|
+
Page-Part ausgewählt werden. Default für das @part@ Attribut ist 'body'
|
167
|
+
genommen. Das @inherit@-Attribut legt fest, daß wenn eine Seite keinen Content-Part
|
168
|
+
mit diesem Namen besitzt, das Tag den entprechenden Content-Part der Eltern-Seite
|
169
|
+
ausgibt. Der Default für @inherit@ ist 'false'. Das @contextual@-Attribut wird
|
170
|
+
benutzt, um die Auswertung des Parts einer vererbten Seite im Kontext der
|
171
|
+
Kind-Seite zu erzwingen. Der Default für @contextual@ ist 'true'.
|
163
172
|
|
164
|
-
*
|
173
|
+
*Verwendung:*
|
165
174
|
|
166
|
-
<pre><code><r
|
175
|
+
<pre><code><r:content [part="part_name"] [inherit="true|false"] [contextual="true|false"] /></code></pre>
|
167
176
|
|
168
177
|
cycle:
|
169
|
-
|
170
|
-
|
171
|
-
|
178
|
+
Gibt einen der übergebenen Werte basierend auf einem globalen Zyklus-Zähler aus. Das
|
179
|
+
@reset@-Attribut setzt den Zähler auf den Anfang zurück. Mit dem @name@-Attribut
|
180
|
+
können mehrere Zyklen benutzt werden. Der Default dafür ist 'cycle'.
|
172
181
|
|
173
|
-
*
|
182
|
+
*Verwendung:*
|
174
183
|
|
175
|
-
<pre><code><r
|
184
|
+
<pre><code><r:cycle values="first, second, third" [reset="true|false"] [name="cycle"] /></code></pre>
|
176
185
|
|
177
186
|
date:
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
187
|
+
Gibt das Datum der aktuellen Seite aus (als Default wird das Anlege- oder Publikations-Datum
|
188
|
+
genommen). Das @format@-Attribut benutzt die Format-Codes der Ruby-Funktion @strftime@. Als
|
189
|
+
Default dient '%A, %B %d, %Y'. Das @for@-Attribut bestimmt das Datum,
|
190
|
+
das ausgegeben wird. Die gültigen Optionen sind @published_at@, @created_at@, @updated_at@, und @now@.
|
191
|
+
@now@ gibt das (von der Seite unabhängige) aktuelle Datum/Zeit aus.
|
183
192
|
|
184
|
-
*
|
193
|
+
*Verwendung:*
|
185
194
|
|
186
|
-
<pre><
|
195
|
+
<pre><r:date [format="%A, %B % d, %Y"] [for="published_at"]/></pre>
|
187
196
|
|
188
197
|
escape_html:
|
189
|
-
|
198
|
+
Escaped spitze Klammern, damit sie als HTML ausgegeben werden können.
|
190
199
|
|
191
|
-
*
|
200
|
+
*Verwendung:*
|
192
201
|
|
193
|
-
<pre><code><r
|
202
|
+
<pre><code><r:escape_html>...</r:escape_html></code></pre>
|
194
203
|
|
195
204
|
find:
|
196
|
-
|
197
|
-
@url@s
|
205
|
+
Innerhalb dieses Tags beziehen sich alle seitenabhängigen Tags auf die Seite, die
|
206
|
+
das @url@-Attribut bezeichnet. @url@s können relative oder absolute Pfade sein.
|
198
207
|
|
199
|
-
*
|
208
|
+
*Verwendung:*
|
200
209
|
|
201
|
-
<pre><code><r
|
202
|
-
|
203
|
-
|
204
|
-
|
210
|
+
<pre><code><r:find url="value_to_find">...</r:find></code></pre>
|
211
|
+
|
212
|
+
gravatar:
|
213
|
+
Gibt den Gravatar des Seitenautors aus.
|
214
|
+
|
215
|
+
*Verwendung:*
|
205
216
|
|
206
|
-
|
217
|
+
<pre><code> <r:gravatar /></code></pre>
|
207
218
|
|
208
|
-
|
219
|
+
Oder
|
220
|
+
|
221
|
+
<pre><code> <r:gravatar [name="User Name"] [rating="G | PG | R | X"] [size="32px"] /> </code></pre>
|
222
|
+
|
223
|
+
|
224
|
+
if_ancestor_or_self:
|
225
|
+
Gibt die enthaltenen Elemente aus, wenn der aktuelle Seitenkontext entweder die tatsächliche Seite
|
226
|
+
oder eine der Elternseiten ist.
|
227
|
+
|
228
|
+
Wird typischerweise innerhalb eines anderen Tags wie (<r:children:each>) verwendet,
|
229
|
+
um Markup auszugeben, wenn das Kind-Element von der aktuellen Seite abstammt.
|
230
|
+
|
231
|
+
*Verwendung:*
|
209
232
|
|
210
|
-
<pre><code><r
|
233
|
+
<pre><code><r:if_ancestor_or_self>...</r:if_ancestor_or_self></code></pre>
|
211
234
|
|
212
235
|
if_children:
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
236
|
+
Gibt die enthaltenen Elemente nur aus, wenn der Seitenkontext ein oder mehrere Kind-Seiten
|
237
|
+
hat. Das @status@-Attribut schränkt die gefundenen Kind-Seiten auf den angegebenen Status
|
238
|
+
ein. Default dafür ist @published@. Mit @status="all"@ werden alle nicht-virtuellen Kind-Seiten
|
239
|
+
unabhängig vom Status gefunden.
|
217
240
|
|
218
|
-
*
|
241
|
+
*Verwendung:*
|
219
242
|
|
220
|
-
<pre><code><r
|
243
|
+
<pre><code><r:if_children [status="published"]>...</r:if_children></code></pre>
|
221
244
|
|
222
245
|
if_content:
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
246
|
+
Gibt die enthaltenen Elemente nur aus, wenn alle angegebenen Parts auf der Seite
|
247
|
+
existieren. Default ist @body@, es können aber auch mehrere Parts als durch Kommas getrennte
|
248
|
+
Liste angegeben werden. Wird das optionale @inherit@-Attribut auf @true@ gesetzt,
|
249
|
+
werden Kinder unabhängig von jedem Part gefunden. Default dafür ist @false@.
|
227
250
|
|
228
|
-
|
229
|
-
|
230
|
-
|
251
|
+
Wird mehr als ein Part ausgegeben, kann das @find@-Attribut auf den Wert @any@ gesetzt
|
252
|
+
werden, damit die enthaltenen Elemente ausgegeben werden, wenn irgendeiner der angegebenen
|
253
|
+
Parts gefunden werden. Default für dieses Attribut ist @all@.
|
231
254
|
|
232
|
-
*
|
255
|
+
*Verwendung:*
|
233
256
|
|
234
|
-
<pre><code><r
|
257
|
+
<pre><code><r:if_content [part="part_name, other_part"] [inherit="true"] [find="any"]>...</r:if_content></code></pre>
|
235
258
|
|
236
259
|
if_dev:
|
237
|
-
|
260
|
+
Gibt die enthaltenen Elemente nur aus, wenn Radiant gerade im development-Modus läuft.
|
238
261
|
|
239
|
-
*
|
262
|
+
*Verwendung:*
|
240
263
|
|
241
|
-
<pre><code><r
|
264
|
+
<pre><code><r:if_dev>...</r:if_dev></code></pre>
|
242
265
|
|
243
266
|
if_parent:
|
244
|
-
|
245
|
-
|
267
|
+
Gibt die enthaltenen Elemente nur aus, wenn die aktuelle Seite Eltern hat, d.h. es handelt
|
268
|
+
sich nicht um die Startseite.
|
246
269
|
|
247
|
-
*
|
270
|
+
*Verwendung:*
|
248
271
|
|
249
|
-
<pre><code><r
|
272
|
+
<pre><code><r:if_parent>...</r:if_parent></code></pre>
|
250
273
|
|
251
274
|
if_self:
|
252
|
-
|
275
|
+
Gibt die enthaltenen Elemente nur aus, falls der aktuelle Seitenkontext auch
|
276
|
+
die aktuelle Seite ist.
|
253
277
|
|
254
|
-
|
278
|
+
Wird typischerweise innerhalb eines anderen Tags (wie <r:children:each>)
|
279
|
+
benutzt, um zusätzlichen Markup auszugeben, falls das Kind-Elemente die aktuelle Seite ist.
|
255
280
|
|
256
|
-
*
|
281
|
+
*Verwendung:*
|
257
282
|
|
258
|
-
<pre><code><r
|
283
|
+
<pre><code><r:if_self>...</r:if_self></code></pre>
|
259
284
|
|
260
285
|
if_url:
|
261
|
-
|
262
|
-
|
263
|
-
|
286
|
+
Gibt die enthaltenen Elemente nur aus, falls die Seiten-URL den im @matches@ angegebenen
|
287
|
+
regulären Ausdruck matcht. Ist @ignore_case@ auf 'false' gesetzt wird dabei Groß-/Kleinschreibung
|
288
|
+
beachtet. Default für @ignore_case@ ist 'true'.
|
264
289
|
|
265
|
-
*
|
290
|
+
*Verwendung:*
|
266
291
|
|
267
|
-
<pre><code><r
|
292
|
+
<pre><code><r:if_url matches="regexp" [ignore_case="true|false"]>...</r:if_url></code></pre>
|
268
293
|
|
269
294
|
link:
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
295
|
+
Gibt einen Link auf die Seite aus. Als Einzel-Tag wird der Seitentitel als
|
296
|
+
Link-Name benutzt. Als Doppel-Tag wird der Text zwischen den beiden Tags als
|
297
|
+
Link-Name genommen. Das link-Tag reicht alle Attribute an das HTML-@a@-Tag
|
298
|
+
weiter. Das ist nützlich, um Attribute wie @class@ oder @id@ weiterzureichen.
|
299
|
+
Falls das @anchor@-Attribut and das Tag weitergereicht wird, hängt es ein
|
300
|
+
Pound-Zeichen (<code>#</code>) gefolgt vom Wert des Attributs des HTML-@a@-Tag
|
301
|
+
@href@-Attributs. Dadurch wird ein HTML-Anchor erzeugt.
|
277
302
|
|
278
|
-
*
|
303
|
+
*Verwendung:*
|
279
304
|
|
280
|
-
<pre><code><r
|
305
|
+
<pre><code><r:link [anchor="name"] [other attributes...] /></code></pre>
|
281
306
|
|
282
|
-
|
307
|
+
oder
|
283
308
|
|
284
|
-
<pre><code><r
|
309
|
+
<pre><code><r:link [anchor="name"] [other attributes...]>link text here</r:link></code></pre>
|
285
310
|
|
286
311
|
markdown:
|
287
|
-
|
312
|
+
Der Inhalt wird mit dem Markdown-Filter gefiltert.
|
288
313
|
|
289
|
-
*
|
314
|
+
*Verwendung:*
|
290
315
|
|
291
|
-
<pre><code><r
|
316
|
+
<pre><code><r:markdown>** bold text **</r:markdown></code></pre>
|
292
317
|
|
293
|
-
|
318
|
+
erzeugt
|
294
319
|
|
295
320
|
<pre><code><strong> bold text </strong></code></pre>
|
296
321
|
|
297
322
|
meta-description:
|
298
|
-
|
299
|
-
'
|
323
|
+
Gibt das Seitenbeschreibungsfeld als Meta-Tag aus, solange 'tag'
|
324
|
+
auf 'false' gesetzt ist.
|
300
325
|
|
301
|
-
*
|
326
|
+
*Verwendung:*
|
302
327
|
|
303
|
-
<pre><code> <r
|
328
|
+
<pre><code> <r:meta:des</code><code>cription [tag="false"] /> </code></pre>
|
304
329
|
|
305
330
|
meta-keywords:
|
306
|
-
|
307
|
-
'
|
331
|
+
Gibt die Keywords der Seite als Meta-Tag aus, solange 'tag'
|
332
|
+
auf 'false' gesetzt ist.
|
308
333
|
|
309
|
-
*
|
334
|
+
*Verwendung:*
|
310
335
|
|
311
|
-
<pre><code> <r
|
336
|
+
<pre><code> <r:meta:keywords [tag="false"] /> </code></pre>
|
312
337
|
|
313
338
|
meta:
|
314
|
-
|
315
|
-
|
339
|
+
Der Namensraum des 'meta'-Attributs. Falls als Einzeltag genutzt, werden sowohl
|
340
|
+
Beschreibungs- und Keyword-Felder als <meta />-Tags ausgegeben, solange
|
341
|
+
das Attribut 'tag' auf 'false' gesetzt ist.
|
316
342
|
|
317
|
-
*
|
343
|
+
*Verwendung:*
|
318
344
|
|
319
|
-
<pre><code> <r
|
320
|
-
<r
|
321
|
-
<r
|
322
|
-
<r
|
323
|
-
</r
|
345
|
+
<pre><code> <r:meta [tag="false"] />
|
346
|
+
<r:meta>
|
347
|
+
<r:des</code><code>cription [tag="false"] />
|
348
|
+
<r:keywords [tag="false"] />
|
349
|
+
</r:meta>
|
324
350
|
</code></pre>
|
325
351
|
|
326
352
|
navigation-if_first:
|
327
|
-
|
328
|
-
|
353
|
+
Gibt die enthaltenen Elemente aus, falls das Element das erste Element in der
|
354
|
+
Navigationsliste ist.
|
329
355
|
|
330
|
-
*
|
356
|
+
*Verwendung:*
|
331
357
|
|
332
|
-
<pre><code><r
|
358
|
+
<pre><code><r:normal><r:if_first>...</r:if_first></r:normal></code></pre>
|
333
359
|
|
334
360
|
navigation-if_last:
|
335
|
-
|
336
|
-
|
361
|
+
Gibt die enthaltenen Elemente aus, falls das Element das letzte Element in der
|
362
|
+
Navigationsliste ist.
|
337
363
|
|
338
|
-
*
|
364
|
+
*Verwendung:*
|
339
365
|
|
340
|
-
<pre><code><r
|
366
|
+
<pre><code><r:normal><r:if_last>...</r:if_last></r:normal></code></pre>
|
367
|
+
|
368
|
+
navigation-unless_first:
|
369
|
+
Gibt die enthaltenen Elemente aus, falls das Element nicht das erste Element in der
|
370
|
+
Navigationsliste ist.
|
371
|
+
|
372
|
+
*Verwendung:*
|
373
|
+
|
374
|
+
<pre><code><r:normal><r:unless_first>...</r:unless_first></r:normal></code></pre>
|
375
|
+
|
376
|
+
navigation-unless_last:
|
377
|
+
Gibt die enthaltenen Elemente aus, falls das Element nicht das letzte Element in der
|
378
|
+
Navigationsliste ist.
|
379
|
+
|
380
|
+
*Verwendung:*
|
381
|
+
|
382
|
+
<pre><code><r:normal><r:unless_last>...</r:unless_last></r:normal></code></pre>
|
341
383
|
|
342
384
|
navigation:
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
* @normal@
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
# @
|
354
|
-
@selected@
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
<
|
365
|
-
|
366
|
-
|
385
|
+
Gibt eine Liste von Links (spezifiziert im @url@-Attribut) anhand der folgenden
|
386
|
+
drei Stati aus:
|
387
|
+
|
388
|
+
* @normal@ spezifiziert den normalen Link-Status
|
389
|
+
|
390
|
+
* @here@ spezifiziert den Link-Status, falls die URL die aktuelle Seiten-URL matcht
|
391
|
+
|
392
|
+
* @selected@ spezifiziert den Link-Status, wenn die aktuelle Seite ein Kind der
|
393
|
+
spezifizierten URL ist
|
394
|
+
|
395
|
+
# @if_last@ gibt den Inhalt innerhalb eines @normal@, @here@ or
|
396
|
+
@selected@ Tags aus, falls das Element das letzte Navigationselement ist.
|
397
|
+
|
398
|
+
# @if_first@ gibt den Inhalt innerhalb eines @normal@, @here@ or
|
399
|
+
@selected@ Tags aus, falls das Element das erste Navigationselement ist.
|
400
|
+
|
401
|
+
Das @between@-Tag legt fest, was zwischen den Links ausgegeben wird.
|
402
|
+
|
403
|
+
*Verwendung:*
|
404
|
+
|
405
|
+
<pre>
|
406
|
+
<code>
|
407
|
+
<r:navigation urls="[Title</code>:<code> url | Title</code>:<code> url | ...]">
|
408
|
+
<r:normal><a href="<r:url />"><r:title /></a></r:normal>
|
409
|
+
<r:here><strong><r:title /></strong></r:here>
|
410
|
+
<r:selected><strong><a href="<r:url />"><r:title /></a></strong></r:selected>
|
411
|
+
<r:between> | </r:between>
|
412
|
+
</r:navigation>
|
413
|
+
</code>
|
414
|
+
</pre>
|
415
|
+
|
416
|
+
|
367
417
|
|
368
418
|
page:
|
369
|
-
|
419
|
+
Legt fest, daß Tags, die auf Seitenattribute verweisen, sich auf die aktuelle
|
420
|
+
Seite beziehen.
|
370
421
|
|
371
|
-
*
|
422
|
+
*Verwendung:*
|
423
|
+
|
424
|
+
<pre><code><r:page>...</r:page></code></pre>
|
425
|
+
|
426
|
+
pagination:
|
427
|
+
Dieses Tag wird normalerweise nicht direkt aufgerufen. Mit dem Attribut @pagination="true"@
|
428
|
+
wird eine Liste beim Anzeigen automatisch paginiert.
|
429
|
+
|
430
|
+
*Verwendung:*
|
431
|
+
|
432
|
+
<pre><code>
|
433
|
+
<r:children:each paginated="true" per_page="50">
|
434
|
+
<r:child>...</r:child>
|
435
|
+
</r:children:each>
|
436
|
+
</code></pre>
|
372
437
|
|
373
|
-
<pre><code><r:page>...</r:page></code></pre>
|
374
|
-
|
375
438
|
parent:
|
376
|
-
|
439
|
+
Seitenattribut-Tags innerhalb dieses Tags verweisen auf die Elternseite der
|
440
|
+
aktuellen Seite.
|
377
441
|
|
378
|
-
*
|
442
|
+
*Verwendung:*
|
379
443
|
|
380
|
-
<pre><code><r
|
444
|
+
<pre><code><r:parent>...</r:parent></code></pre>
|
381
445
|
|
382
446
|
random:
|
383
|
-
|
447
|
+
Gibt zufällig eine der im @option@-Tag spezifizierten Optionen aus.
|
384
448
|
|
385
|
-
*
|
449
|
+
*Verwendung:*
|
386
450
|
|
387
|
-
<pre><code><r
|
388
|
-
<r
|
389
|
-
<r
|
451
|
+
<pre><code><r:random>
|
452
|
+
<r:option>...</r:option>
|
453
|
+
<r:option>...</r:option>
|
390
454
|
...
|
391
|
-
<r
|
455
|
+
<r:random>
|
392
456
|
</code></pre>
|
393
457
|
|
394
458
|
rfc1123_date:
|
395
|
-
|
459
|
+
Das Datum wird im RFC1123-Format ausgegeben (Ideal für RSS-Feeds).
|
396
460
|
|
397
|
-
*
|
461
|
+
*Verwendung:*
|
398
462
|
|
399
|
-
<pre><code><r
|
463
|
+
<pre><code><r:rfc1123_date /></code></pre>
|
400
464
|
|
401
465
|
slug:
|
402
|
-
|
466
|
+
Gibt das @slug@-Attribut der aktuellen Seite aus.
|
403
467
|
|
404
468
|
smarty_pants:
|
405
|
-
|
469
|
+
Inhalt wir mit dem Smarty-Pants-Filter gefiltert.
|
406
470
|
|
407
|
-
*
|
471
|
+
*Verwendung:*
|
408
472
|
|
409
|
-
<pre><code><r
|
473
|
+
<pre><code><r:smarty_pants>"A revolutionary quotation."</r:smarty_pants></code></pre>
|
410
474
|
|
411
|
-
|
475
|
+
gibt folgendes aus:
|
412
476
|
|
413
|
-
<pre><code>“
|
477
|
+
<pre><code> </code>“<code>A revolutionary quotation.</code>”<code> </code></pre>
|
414
478
|
|
415
479
|
snippet:
|
416
|
-
|
480
|
+
Gibt das im @name@-Attribut angegebene Snippet im Seitenkontext aus.
|
417
481
|
|
418
|
-
*
|
482
|
+
*Verwendung:*
|
419
483
|
|
420
|
-
<pre><code><r
|
484
|
+
<pre><code><r:snippet name="snippet_name" /></code></pre>
|
421
485
|
|
422
|
-
|
423
|
-
|
486
|
+
Falls als Doppel-Tag benutzt, kann der Teil innerhalb der beiden Tags
|
487
|
+
im Snippet selbst benutzt werden. Im Falle von @<r:yield/>@ wird er
|
488
|
+
ersetzt.
|
424
489
|
|
425
|
-
*
|
490
|
+
*Verwendung:*
|
426
491
|
|
427
|
-
<pre><code><r
|
492
|
+
<pre><code><r:snippet name="snippet_name">Lorem ipsum dolor...</r:snippet></code></pre>
|
428
493
|
|
429
494
|
status:
|
430
|
-
|
431
|
-
|
495
|
+
gibt den Status der Seite als String aus. Das optionale Attribut 'downcase'
|
496
|
+
gibt den Status in Kleinbuchstaben aus.
|
432
497
|
|
433
|
-
*
|
498
|
+
*Verwendung:*
|
434
499
|
|
435
|
-
<pre><code><r
|
500
|
+
<pre><code><r:status [downcase='true'] /></code></pre>
|
436
501
|
|
437
502
|
textile:
|
438
|
-
|
503
|
+
Inhalt wir mit dem Textile-Filter gefiltert.
|
439
504
|
|
440
|
-
*
|
505
|
+
*Verwendung*:
|
441
506
|
|
442
|
-
<pre><code><r
|
443
|
-
*
|
444
|
-
*
|
445
|
-
</r
|
507
|
+
<pre><code><r:textile>
|
508
|
+
* Erster
|
509
|
+
* Zweiter
|
510
|
+
</r:textile></code></pre>
|
446
511
|
|
447
|
-
|
512
|
+
erzeugt:
|
448
513
|
|
449
514
|
<pre><code><ul>
|
450
|
-
<li>
|
451
|
-
<li>
|
515
|
+
<li>Erster</li>
|
516
|
+
<li>Zweiter</li>
|
452
517
|
</ul></code></pre>
|
453
518
|
|
454
519
|
title:
|
455
|
-
|
520
|
+
Gibt das @title@-Attribute der aktuellen Seite aus.
|
456
521
|
|
457
522
|
unless_ancestor_or_self:
|
458
|
-
|
523
|
+
Gibt die enthaltenen Elemente solange aus, bis der aktuelle Seitenkontext
|
524
|
+
entweder die tatsächliche Seite oder eines ihrer Eltern ist.
|
459
525
|
|
460
|
-
|
526
|
+
Wird typischerweise innerhalb eines anderen Tags (wie <r:children:each>)
|
527
|
+
benutzt, um zusätzlichen Markup auszugeben, bis der aktuelle Seitenkontext
|
528
|
+
entweder die tatsächliche Seite oder einer seiner Eltern ist.
|
461
529
|
|
462
|
-
*
|
530
|
+
*Verwendung:*
|
463
531
|
|
464
|
-
<pre><code><r
|
532
|
+
<pre><code><r:unless_ancestor_or_self>...</r:unless_ancestor_or_self></code></pre>
|
465
533
|
|
466
534
|
unless_children:
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
535
|
+
Gibt die enthaltenen Elemente nur aus, wenn der aktuelle Seitenkontext
|
536
|
+
keine Kinder hat. Mit dem @status@-Attribut kann der Status der gefundenen
|
537
|
+
Kind-Seiten auf den angegebenen Status beschränkt werden. Default dafür
|
538
|
+
ist @published@. @status@="all" erfasst alle nicht-virtuellen Seiten.
|
471
539
|
|
472
|
-
*
|
540
|
+
*Verwendung:*
|
473
541
|
|
474
|
-
<pre><code><r
|
542
|
+
<pre><code><r:unless_children [status="published"]>...</r:unless_children></code></pre>
|
475
543
|
|
476
544
|
unless_content:
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
545
|
+
Das Gegenteil des @if_content@-Tags.
|
546
|
+
Gibt die enthaltenen Elemente nur aus, wenn keiner der angegebenen Parts auf der Seite
|
547
|
+
existiert. Es können mehrere Parts als mit Komma getrennte Liste angegeben werden.
|
548
|
+
Wird das optionale @inherit@-Attribut auf 'true' gesetzt,
|
549
|
+
werden Kinder unabhängig von jedem Part gefunden. Default für @inherit@ ist @false@.
|
550
|
+
|
551
|
+
Wenn mehr als ein Part angegeben ist, kann das optionale @find@-Attribut auf @any@
|
552
|
+
gesetzt werden. Damit wird ein Element nicht ausgegeben, wenn irgendeiner der angegebenen
|
553
|
+
Parts gefunden wird. Default für das @any@-Attribut ist @all@.
|
484
554
|
|
485
|
-
*
|
555
|
+
*Verwendung:*
|
486
556
|
|
487
|
-
<pre><code><r
|
557
|
+
<pre><code><r:unless_content [part="part_name, other_part"] [inherit="false"] [find="any"]>...</r:unless_content></code></pre>
|
488
558
|
|
489
559
|
unless_dev:
|
490
|
-
|
560
|
+
Das Gegenteil des @if_dev@ Tags.
|
491
561
|
|
492
|
-
*
|
562
|
+
*Verwendung:*
|
493
563
|
|
494
|
-
<pre><code><r
|
564
|
+
<pre><code><r:unless_dev>...</r:unless_dev></code></pre>
|
495
565
|
|
496
566
|
unless_parent:
|
497
|
-
|
498
|
-
|
567
|
+
Gegenteil von if_parent. Gibt die enthaltenen Elemente nur aus, wenn die aktuelle
|
568
|
+
Seite keine Eltern hat, d.h. es handelt sich um die Startseite.
|
499
569
|
|
500
|
-
*
|
570
|
+
*Verwendung:*
|
501
571
|
|
502
|
-
<pre><code><r
|
572
|
+
<pre><code><r:unless_parent>...</r:unless_parent></code></pre>
|
503
573
|
|
504
574
|
unless_self:
|
505
|
-
|
575
|
+
Zeigt die enthaltenen Elemente nur an, wenn der Seitenkontext nicht die aktuelle Seite ist.
|
506
576
|
|
507
|
-
|
577
|
+
Wird typischerweise innerhalb eines anderen Tags (wie <r:children:each>)
|
578
|
+
benutzt, um zusätzlichen Markup auszugeben, falls das Kind-Elemente nicht die aktuelle Seite ist.
|
508
579
|
|
509
|
-
*
|
580
|
+
*Verwendung:*
|
510
581
|
|
511
|
-
<pre><code><r
|
582
|
+
<pre><code><r:unless_self>...</r:unless_self></code></pre>
|
512
583
|
|
513
584
|
unless_url:
|
514
|
-
|
585
|
+
Gegenteil des @if_url@ Tags.
|
515
586
|
|
516
|
-
*
|
587
|
+
*Verwendung:*
|
517
588
|
|
518
|
-
<pre><code><r
|
589
|
+
<pre><code><r:unless_url matches="regexp" [ignore_case="true|false"]>...</r:unless_url></code></pre>
|
519
590
|
|
520
591
|
url:
|
521
|
-
|
592
|
+
Gibt das @url@-Attribut der aktuellen Seite aus.
|
522
593
|
|
523
594
|
yield:
|
524
|
-
|
525
|
-
|
595
|
+
Wird innerhalb eines Snippets als Platzhalter für die Ersetzung von Kind-Inhalten
|
596
|
+
verwendet, falls das Snippet als Doppel-Tag aufgerufen wird.
|
526
597
|
|
527
|
-
*
|
598
|
+
*Verwendung (Innerhalb eines Snippets):*
|
528
599
|
|
529
600
|
<pre><code>
|
530
601
|
<div id="outer">
|
531
|
-
<p>
|
532
|
-
<r
|
533
|
-
<p>
|
602
|
+
<p>vorher</p>
|
603
|
+
<r:yield/>
|
604
|
+
<p>danach</p>
|
534
605
|
</div>
|
535
606
|
</code></pre>
|
536
607
|
|
537
|
-
|
538
|
-
|
608
|
+
Heißt das obige Snippet "yielding", kann es von jeder Seite, Layout oder
|
609
|
+
Snippet wie folgt aufgerufen werden:
|
539
610
|
|
540
|
-
<pre><code><r
|
611
|
+
<pre><code><r:snippet name="yielding">Inhalt innerhalb..</r:snippet></code></pre>
|
541
612
|
|
542
|
-
|
613
|
+
Erzeugt folgenden Output:
|
543
614
|
|
544
615
|
<pre><code>
|
545
616
|
<div id="outer">
|
546
|
-
<p>
|
547
|
-
|
548
|
-
<p>
|
617
|
+
<p>vorher</p>
|
618
|
+
Inhalt innerhalb..
|
619
|
+
<p>danach</p>
|
549
620
|
</div>
|
550
621
|
</code></pre>
|
551
622
|
|
552
|
-
|
623
|
+
Ein Aufruf von @<r:yield/>@ im Seitenkontext oder Layout erzeugt keinen Output.
|
553
624
|
|