middleman-core 3.0.0.beta.2 → 3.0.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- data/features/cli_extension.feature +13 -0
- data/features/{cli.feature → cli_init.feature} +1 -10
- data/features/directory_index.feature +29 -1
- data/features/dynamic_pages.feature +1 -0
- data/features/extensionless_text_files.feature +0 -2
- data/features/front-matter.feature +17 -1
- data/features/frontmatter_page_settings.feature +16 -1
- data/features/helpers_relative_link_to.feature +68 -0
- data/features/unicode_filenames.feature +14 -0
- data/fixtures/csspie/config.rb +0 -0
- data/fixtures/csspie/source/stylesheets/PIE.htc +96 -0
- data/fixtures/dynamic-pages-app/config.rb +3 -0
- data/fixtures/frontmatter-app/source/front-matter-auto.erb +6 -0
- data/fixtures/frontmatter-app/source/front-matter.html.erb +2 -0
- data/fixtures/frontmatter-app/source/json-front-matter-2.php.erb +7 -0
- data/fixtures/frontmatter-app/source/json-front-matter-auto.erb +6 -0
- data/fixtures/frontmatter-app/source/json-front-matter.html.erb +6 -0
- data/fixtures/unicode-filenames-app/config.rb +1 -0
- data/fixtures/unicode-filenames-app/source/snowmen-rule-/342/230/203.html +4 -0
- data/lib/middleman-core/application.rb +43 -335
- data/lib/middleman-core/cli/build.rb +11 -4
- data/lib/middleman-core/cli/bundler.rb +40 -0
- data/lib/middleman-core/cli/extension.rb +36 -0
- data/lib/middleman-core/cli/server.rb +2 -2
- data/lib/middleman-core/cli.rb +2 -6
- data/lib/middleman-core/core_extensions/assets.rb +35 -31
- data/lib/middleman-core/core_extensions/builder.rb +14 -9
- data/lib/middleman-core/core_extensions/data.rb +150 -145
- data/lib/middleman-core/core_extensions/default_helpers.rb +159 -97
- data/lib/middleman-core/core_extensions/extensions.rb +103 -97
- data/lib/middleman-core/core_extensions/external_helpers.rb +27 -23
- data/lib/middleman-core/core_extensions/file_watcher.rb +140 -110
- data/lib/middleman-core/core_extensions/front_matter.rb +155 -175
- data/lib/middleman-core/core_extensions/i18n.rb +111 -102
- data/lib/middleman-core/core_extensions/rendering.rb +293 -295
- data/lib/middleman-core/core_extensions/request.rb +338 -0
- data/lib/middleman-core/core_extensions/routing.rb +72 -68
- data/lib/middleman-core/core_extensions/show_exceptions.rb +23 -18
- data/lib/middleman-core/core_extensions.rb +39 -0
- data/lib/middleman-core/extensions/directory_indexes.rb +1 -4
- data/lib/middleman-core/extensions/lorem.rb +10 -3
- data/lib/middleman-core/extensions.rb +2 -64
- data/lib/middleman-core/preview_server.rb +157 -0
- data/lib/middleman-core/sitemap/extensions/ignores.rb +73 -68
- data/lib/middleman-core/sitemap/extensions/on_disk.rb +65 -58
- data/lib/middleman-core/sitemap/extensions/proxies.rb +86 -75
- data/lib/middleman-core/sitemap/extensions/traversal.rb +68 -61
- data/lib/middleman-core/sitemap/resource.rb +123 -102
- data/lib/middleman-core/sitemap/store.rb +170 -149
- data/lib/middleman-core/sitemap.rb +57 -57
- data/lib/middleman-core/step_definitions/server_steps.rb +13 -3
- data/lib/middleman-core/templates/extension/Gemfile +4 -0
- data/lib/middleman-core/templates/extension/Rakefile +12 -0
- data/lib/middleman-core/templates/extension/features/support/env.rb +4 -0
- data/lib/middleman-core/templates/extension/gemspec +24 -0
- data/lib/middleman-core/templates/extension/lib/lib.rb +49 -0
- data/lib/middleman-core/templates/extension/lib/middleman_extension.rb +1 -0
- data/lib/middleman-core/templates/shared/gitignore +14 -0
- data/lib/middleman-core/templates.rb +14 -8
- data/lib/middleman-core/util.rb +31 -9
- data/lib/middleman-core/version.rb +1 -1
- data/lib/middleman-core.rb +6 -4
- data/middleman-core.gemspec +4 -6
- metadata +62 -203
- data/lib/middleman-core/vendor/padrino-core-0.10.6/.document +0 -5
- data/lib/middleman-core/vendor/padrino-core-0.10.6/.gitignore +0 -22
- data/lib/middleman-core/vendor/padrino-core-0.10.6/.yardopts +0 -1
- data/lib/middleman-core/vendor/padrino-core-0.10.6/LICENSE.txt +0 -20
- data/lib/middleman-core/vendor/padrino-core-0.10.6/README.rdoc +0 -294
- data/lib/middleman-core/vendor/padrino-core-0.10.6/Rakefile +0 -5
- data/lib/middleman-core/vendor/padrino-core-0.10.6/bin/padrino +0 -9
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/application/rendering.rb +0 -292
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/application/routing.rb +0 -943
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/application/showexceptions.rb +0 -20
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/application.rb +0 -269
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/caller.rb +0 -53
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/adapter.rb +0 -24
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/base.rb +0 -150
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/console.rb +0 -20
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/rake.rb +0 -24
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/rake_tasks.rb +0 -59
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/command.rb +0 -38
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/images/404.png +0 -0
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/images/500.png +0 -0
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/loader.rb +0 -211
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/cs.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/da.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/de.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/en.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/es.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/fr.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/hu.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/it.yml +0 -40
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/ja.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/lv.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/nl.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/no.yml +0 -35
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/pl.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/pt_br.yml +0 -40
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/ru.yml +0 -35
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/tr.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/uk.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/zh_cn.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/locale/zh_tw.yml +0 -34
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/logger.rb +0 -428
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/mounter.rb +0 -224
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/reloader.rb +0 -254
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/router.rb +0 -98
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/server.rb +0 -79
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/support_lite.rb +0 -199
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/tasks.rb +0 -21
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/version.rb +0 -20
- data/lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core.rb +0 -152
- data/lib/middleman-core/vendor/padrino-core-0.10.6/padrino-core.gemspec +0 -38
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/apps/.components +0 -6
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/apps/.gitignore +0 -7
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/apps/complex.rb +0 -32
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/apps/simple.rb +0 -33
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/a.rb +0 -9
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/b.rb +0 -4
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/c.rb +0 -1
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/circular/e.rb +0 -13
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/circular/f.rb +0 -2
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/circular/g.rb +0 -2
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/fixtures/dependencies/d.rb +0 -4
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/helper.rb +0 -83
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/mini_shoulda.rb +0 -45
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_application.rb +0 -108
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_core.rb +0 -77
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_dependencies.rb +0 -44
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_filters.rb +0 -278
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_locale.rb +0 -21
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_logger.rb +0 -154
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_mounter.rb +0 -177
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_reloader_complex.rb +0 -75
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_reloader_simple.rb +0 -98
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_rendering.rb +0 -461
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_restful_routing.rb +0 -33
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_router.rb +0 -146
- data/lib/middleman-core/vendor/padrino-core-0.10.6/test/test_routing.rb +0 -1680
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/.document +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/.gitignore +0 -21
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/.yardopts +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/LICENSE.txt +0 -20
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/README.rdoc +0 -239
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/Rakefile +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/asset_tag_helpers.rb +0 -417
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/form_builder/abstract_form_builder.rb +0 -251
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/form_builder/standard_form_builder.rb +0 -43
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/form_helpers.rb +0 -787
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/format_helpers.rb +0 -381
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/cs.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/da.yml +0 -91
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/de.yml +0 -81
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/en.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/es.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/fr.yml +0 -80
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/hu.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/it.yml +0 -89
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/ja.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/lv.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/nl.yml +0 -82
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/no.yml +0 -91
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/pl.yml +0 -95
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/pt_br.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/ru.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/tr.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/uk.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/zh_cn.yml +0 -104
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/locale/zh_tw.yml +0 -103
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/number_helpers.rb +0 -288
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/output_helpers/abstract_handler.rb +0 -98
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/output_helpers/erb_handler.rb +0 -79
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/output_helpers/haml_handler.rb +0 -63
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/output_helpers/slim_handler.rb +0 -81
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/output_helpers.rb +0 -175
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/render_helpers.rb +0 -60
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/tag_helpers.rb +0 -260
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers/translation_helpers.rb +0 -38
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/lib/padrino-helpers.rb +0 -59
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/padrino-helpers.gemspec +0 -27
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/app.rb +0 -73
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/capture_concat.erb +0 -14
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/capture_concat.haml +0 -12
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/capture_concat.slim +0 -13
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_for.erb +0 -14
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_for.haml +0 -12
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_for.slim +0 -12
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_tag.erb +0 -11
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_tag.haml +0 -9
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_tag.slim +0 -9
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/current_engine.erb +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/current_engine.haml +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/current_engine.slim +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/fields_for.erb +0 -20
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/fields_for.haml +0 -15
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/fields_for.slim +0 -15
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_for.erb +0 -72
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_for.haml +0 -59
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_for.slim +0 -59
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_tag.erb +0 -86
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_tag.haml +0 -70
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/form_tag.slim +0 -70
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/link_to.erb +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/link_to.haml +0 -4
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/link_to.slim +0 -4
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/mail_to.erb +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/mail_to.haml +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/mail_to.slim +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/meta_tag.erb +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/meta_tag.haml +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/meta_tag.slim +0 -3
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/partials/_erb.erb +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/partials/_haml.haml +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/partials/_slim.slim +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/simple_partial.erb +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/simple_partial.haml +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/simple_partial.slim +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/app.rb +0 -50
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/current_engine.haml +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/current_engines/_erb.erb +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/current_engines/_haml.haml +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/current_engines/_slim.slim +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/erb/test.erb +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/explicit_engine.haml +0 -5
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/haml/test.haml +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/template/_user.haml +0 -7
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/template/haml_template.haml +0 -1
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/render_app/views/template/some_template.haml +0 -2
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/helper.rb +0 -66
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_asset_tag_helpers.rb +0 -328
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_form_builder.rb +0 -1106
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_form_helpers.rb +0 -770
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_format_helpers.rb +0 -227
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_locale.rb +0 -20
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_number_helpers.rb +0 -139
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_output_helpers.rb +0 -153
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_render_helpers.rb +0 -76
- data/lib/middleman-core/vendor/padrino-helpers-0.10.6/test/test_tag_helpers.rb +0 -106
- data/lib/middleman-core/watcher.rb +0 -196
@@ -1,211 +0,0 @@
|
|
1
|
-
module Padrino
|
2
|
-
class << self
|
3
|
-
##
|
4
|
-
# Hooks to be called before a load/reload.
|
5
|
-
#
|
6
|
-
# @yield []
|
7
|
-
# The given block will be called before Padrino was loaded/reloaded.
|
8
|
-
#
|
9
|
-
# @return [Array<Proc>]
|
10
|
-
# The load/reload before hooks.
|
11
|
-
#
|
12
|
-
# @example
|
13
|
-
# before_load do
|
14
|
-
# pre_initialize_something
|
15
|
-
# end
|
16
|
-
#
|
17
|
-
def before_load(&block)
|
18
|
-
@_before_load ||= []
|
19
|
-
@_before_load << block if block_given?
|
20
|
-
@_before_load
|
21
|
-
end
|
22
|
-
|
23
|
-
##
|
24
|
-
# Hooks to be called after a load/reload.
|
25
|
-
#
|
26
|
-
# @yield []
|
27
|
-
# The given block will be called after Padrino was loaded/reloaded.
|
28
|
-
#
|
29
|
-
# @return [Array<Proc>]
|
30
|
-
# The load/reload hooks.
|
31
|
-
#
|
32
|
-
# @example
|
33
|
-
# after_load do
|
34
|
-
# DataMapper.finalize
|
35
|
-
# end
|
36
|
-
#
|
37
|
-
def after_load(&block)
|
38
|
-
@_after_load ||= []
|
39
|
-
@_after_load << block if block_given?
|
40
|
-
@_after_load
|
41
|
-
end
|
42
|
-
|
43
|
-
##
|
44
|
-
# The used +$LOAD_PATHS+ from Padrino.
|
45
|
-
#
|
46
|
-
# @return [Array<String>]
|
47
|
-
# The load paths used by Padrino.
|
48
|
-
#
|
49
|
-
def load_paths
|
50
|
-
@_load_paths_was = %w(lib models shared).map { |path| Padrino.root(path) }
|
51
|
-
@_load_paths ||= @_load_paths_was
|
52
|
-
end
|
53
|
-
|
54
|
-
##
|
55
|
-
# Requires necessary dependencies as well as application files from root
|
56
|
-
# lib and models.
|
57
|
-
#
|
58
|
-
# @return [Boolean]
|
59
|
-
# returns true if Padrino is not already bootstraped otherwise else.
|
60
|
-
#
|
61
|
-
def load!
|
62
|
-
return false if loaded?
|
63
|
-
@_called_from = first_caller
|
64
|
-
Padrino.set_encoding
|
65
|
-
Padrino.set_load_paths(*load_paths) # We set the padrino load paths
|
66
|
-
Padrino::Logger.setup! # Initialize our logger
|
67
|
-
Padrino.require_dependencies("#{root}/config/database.rb", :nodeps => true) # Be sure to don't remove constants from dbs.
|
68
|
-
Padrino::Reloader.lock! # Now we can remove constant from here to down
|
69
|
-
Padrino.before_load.each(&:call) # Run before hooks
|
70
|
-
Padrino.dependency_paths.each { |path| Padrino.require_dependencies(path) }
|
71
|
-
Padrino.after_load.each(&:call) # Run after hooks
|
72
|
-
Padrino::Reloader.run!
|
73
|
-
Thread.current[:padrino_loaded] = true
|
74
|
-
end
|
75
|
-
|
76
|
-
##
|
77
|
-
# Clear the padrino env.
|
78
|
-
#
|
79
|
-
# @return [NilClass]
|
80
|
-
#
|
81
|
-
def clear!
|
82
|
-
Padrino.clear_middleware!
|
83
|
-
Padrino.mounted_apps.clear
|
84
|
-
@_load_paths = nil
|
85
|
-
@_dependency_paths = nil
|
86
|
-
@_global_configuration = nil
|
87
|
-
Padrino.before_load.clear
|
88
|
-
Padrino.after_load.clear
|
89
|
-
Padrino::Reloader.clear!
|
90
|
-
Thread.current[:padrino_loaded] = nil
|
91
|
-
end
|
92
|
-
|
93
|
-
##
|
94
|
-
# Method for reloading required applications and their files.
|
95
|
-
#
|
96
|
-
def reload!
|
97
|
-
return unless Padrino::Reloader.changed?
|
98
|
-
Padrino.before_load.each(&:call) # Run before hooks
|
99
|
-
Padrino::Reloader.reload! # detects the modified files
|
100
|
-
Padrino.after_load.each(&:call) # Run after hooks
|
101
|
-
end
|
102
|
-
|
103
|
-
##
|
104
|
-
# This adds the ablity to instantiate {Padrino.load!} after
|
105
|
-
# {Padrino::Application} definition.
|
106
|
-
#
|
107
|
-
def called_from
|
108
|
-
@_called_from || first_caller
|
109
|
-
end
|
110
|
-
|
111
|
-
##
|
112
|
-
# Determines whether Padrino was loaded with {Padrino.load!}.
|
113
|
-
#
|
114
|
-
# @return [Boolean]
|
115
|
-
# Specifies whether Padrino was loaded.
|
116
|
-
#
|
117
|
-
def loaded?
|
118
|
-
Thread.current[:padrino_loaded]
|
119
|
-
end
|
120
|
-
|
121
|
-
##
|
122
|
-
# Attempts to require all dependency libs that we need.
|
123
|
-
# If you use this method we can perform correctly a Padrino.reload!
|
124
|
-
# Another good thing that this method are dependency check, for example:
|
125
|
-
#
|
126
|
-
# # models
|
127
|
-
# # \-- a.rb => require something of b.rb
|
128
|
-
# # \-- b.rb
|
129
|
-
#
|
130
|
-
# In the example above if we do:
|
131
|
-
#
|
132
|
-
# Dir["/models/*.rb"].each { |r| require r }
|
133
|
-
#
|
134
|
-
# we get an error, because we try to require first +a.rb+ that need
|
135
|
-
# _something_ of +b.rb+.
|
136
|
-
#
|
137
|
-
# With this method we don't have this problem.
|
138
|
-
#
|
139
|
-
# @param [Array<String>] paths
|
140
|
-
# The paths to require.
|
141
|
-
#
|
142
|
-
# @example For require all our app libs we need to do:
|
143
|
-
# require_dependencies("#{Padrino.root}/lib/**/*.rb")
|
144
|
-
#
|
145
|
-
def require_dependencies(*paths)
|
146
|
-
options = paths.extract_options!
|
147
|
-
|
148
|
-
# Extract all files to load
|
149
|
-
files = paths.flatten.map { |path| Dir[path] }.flatten.uniq.sort
|
150
|
-
|
151
|
-
while files.present?
|
152
|
-
# List of errors and failed files
|
153
|
-
errors, failed = [], []
|
154
|
-
|
155
|
-
# We need a size to make sure things are loading
|
156
|
-
size_at_start = files.size
|
157
|
-
|
158
|
-
# Now we try to require our dependencies, we dup files
|
159
|
-
# so we don't perform delete on the original array during
|
160
|
-
# iteration, this prevent problems with rubinus
|
161
|
-
files.dup.each do |file|
|
162
|
-
begin
|
163
|
-
Padrino::Reloader.safe_load(file, options.dup)
|
164
|
-
files.delete(file)
|
165
|
-
rescue LoadError => e
|
166
|
-
errors << e
|
167
|
-
failed << file
|
168
|
-
rescue NameError => e
|
169
|
-
errors << e
|
170
|
-
failed << file
|
171
|
-
rescue Exception => e
|
172
|
-
raise e
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
# Stop processing if nothing loads or if everything has loaded
|
177
|
-
raise errors.last if files.size == size_at_start && files.present?
|
178
|
-
break if files.empty?
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
##
|
183
|
-
# Returns default list of path globs to load as dependencies
|
184
|
-
# Appends custom dependency patterns to the be loaded for Padrino.
|
185
|
-
#
|
186
|
-
# @return [Array<String>]
|
187
|
-
# The dependencey paths.
|
188
|
-
#
|
189
|
-
# @example
|
190
|
-
# Padrino.dependency_paths << "#{Padrino.root}/uploaders/*.rb"
|
191
|
-
#
|
192
|
-
def dependency_paths
|
193
|
-
@_dependency_paths_was = [
|
194
|
-
"#{root}/config/database.rb", "#{root}/lib/**/*.rb", "#{root}/shared/lib/**/*.rb",
|
195
|
-
"#{root}/models/**/*.rb", "#{root}/shared/models/**/*.rb", "#{root}/config/apps.rb"
|
196
|
-
]
|
197
|
-
@_dependency_paths ||= @_dependency_paths_was
|
198
|
-
end
|
199
|
-
|
200
|
-
##
|
201
|
-
# Concat to +$LOAD_PATH+ the given paths.
|
202
|
-
#
|
203
|
-
# @param [Array<String>] paths
|
204
|
-
# The paths to concat.
|
205
|
-
#
|
206
|
-
def set_load_paths(*paths)
|
207
|
-
$:.concat(paths); load_paths.concat(paths)
|
208
|
-
$:.uniq!; load_paths.uniq!
|
209
|
-
end
|
210
|
-
end # self
|
211
|
-
end # Padrino
|
@@ -1,34 +0,0 @@
|
|
1
|
-
cs:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d. %m. %Y"
|
8
|
-
short: "%d %b"
|
9
|
-
long: "%d. %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Neděle, Pondělí, Úterý, Středa, Čtvrtek, Pátek, Sobota]
|
13
|
-
abbr_day_names: [Ne, Po, Út, St, Čt, Pá, So]
|
14
|
-
month_names: [~, Leden, Únor, Březen, Duben, Květen, Červen, Červenec, Srpen, Září, Říjen, Listopad, Prosinec]
|
15
|
-
abbr_month_names: [~, Led, Úno, Bře, Dub, Kvě, Čvn, Čvc, Srp, Zář, Říj, Lis, Pro]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a %d. %B %Y %H:%M %z"
|
24
|
-
short: "%d. %m. %H:%M"
|
25
|
-
long: "%A %d. %B %Y %H:%M"
|
26
|
-
am: "dop"
|
27
|
-
pm: "odp"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " a "
|
34
|
-
last_word_connector: " a "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
da:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d.%m.%Y"
|
8
|
-
short: "%e. %b %Y"
|
9
|
-
long: "%e. %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [søndag, mandag, tirsdag, onsdag, torsdag, fredag, lørdag]
|
13
|
-
abbr_day_names: [sø, ma, ti, 'on', to, fr, lø]
|
14
|
-
month_names: [~, januar, februar, marts, april, maj, juni, juli, august, september, oktober, november, december]
|
15
|
-
abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%e. %B %Y, %H:%M"
|
24
|
-
short: "%e. %b %Y, %H:%M"
|
25
|
-
long: "%A, %e. %B %Y, %H:%M"
|
26
|
-
am: ""
|
27
|
-
pm: ""
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " og "
|
34
|
-
last_word_connector: " og "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
de:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Benutze die strftime Parameter für die Formatierung
|
5
|
-
# Wenn keine Formate angegeben werden, wird "default" benutzt.
|
6
|
-
# Du kannst auch weitere Formate hinzufügen, wenn Du möchtest.
|
7
|
-
default: "&d.&m.%Y"
|
8
|
-
short: "%b %d"
|
9
|
-
long: "%B %d, %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag]
|
13
|
-
abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa]
|
14
|
-
month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember]
|
15
|
-
abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a, %d %b %Y %H:%M:%S %z"
|
24
|
-
short: "%d %b %H:%M"
|
25
|
-
long: "%B %d, %Y %H:%M"
|
26
|
-
am: "am"
|
27
|
-
pm: "pm"
|
28
|
-
|
29
|
-
# Benutzt in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " und "
|
34
|
-
last_word_connector: ", und "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
en:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%Y-%m-%d"
|
8
|
-
short: "%b %d"
|
9
|
-
long: "%B %d, %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
|
13
|
-
abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
|
14
|
-
month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
|
15
|
-
abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
|
16
|
-
order:
|
17
|
-
- year
|
18
|
-
- month
|
19
|
-
- day
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a, %d %b %Y %H:%M:%S %z"
|
24
|
-
short: "%d %b %H:%M"
|
25
|
-
long: "%B %d, %Y %H:%M"
|
26
|
-
am: "am"
|
27
|
-
pm: "pm"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " and "
|
34
|
-
last_word_connector: ", and "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
es:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d-%m-%Y"
|
8
|
-
short: "%b %d"
|
9
|
-
long: "%B %d, %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
13
|
-
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
14
|
-
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
15
|
-
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a, %d %b %Y %H:%M:%S %z"
|
24
|
-
short: "%d %b %H:%M"
|
25
|
-
long: "%B %d, %Y %H:%M"
|
26
|
-
am: "am"
|
27
|
-
pm: "pm"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " y "
|
34
|
-
last_word_connector: ", y "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
fr:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d-%m-%Y"
|
8
|
-
short: "%b %d"
|
9
|
-
long: "%B %d, %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Dimanche, Lundi, Mardi, Mercredi, Jeudi, Vendredi, Samedi]
|
13
|
-
abbr_day_names: [Lun, Mar, Mer, Jeu, Ven, Sam, Dim]
|
14
|
-
month_names: [~, Janvier, Février, Mars, Avril, Mai, Juin, Juillet, Août, Septembre, Octobre, Novembre, Décembre]
|
15
|
-
abbr_month_names: [~, Jan, Fev, Mar, Avr, Mai, Jui, Jui, Aou, Sep, Oct, Nov, Dec]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a, %d %b %Y %H:%M:%S %z"
|
24
|
-
short: "%d %b %H:%M"
|
25
|
-
long: "%B %d, %Y %H:%M"
|
26
|
-
am: "am"
|
27
|
-
pm: "pm"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " et "
|
34
|
-
last_word_connector: ", et "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
hu:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%Y-%m-%d"
|
8
|
-
short: "%b. %d."
|
9
|
-
long: "%Y. %B %d."
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [vasárnap, hétfő, kedd, szerda, csütörtök, péntek, szombat]
|
13
|
-
abbr_day_names: [vas, hét, kedd, sze, csüt, pén, szo]
|
14
|
-
month_names: [~, január, február, március, április, május, június, július, augusztus, szeptember, oktober, november, december]
|
15
|
-
abbr_month_names: [~, jan, febr, márc, ápr, máj, jún, júl, aug, szept, okt, nov, dec]
|
16
|
-
order:
|
17
|
-
- year
|
18
|
-
- month
|
19
|
-
- day
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%Y. %B %d. %H:%M:%S %z, %A"
|
24
|
-
short: "%B %d. %H:%M"
|
25
|
-
long: "%Y. %B %d. %H:%M"
|
26
|
-
am: "de"
|
27
|
-
pm: "du"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " és "
|
34
|
-
last_word_connector: " és "
|
@@ -1,40 +0,0 @@
|
|
1
|
-
it:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d-%m-%Y"
|
8
|
-
short: "%d %b"
|
9
|
-
long: "%d %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Domenica, Lunedì, Martedì, Mercoledì, Giovedì, Venerdì, Sabato]
|
13
|
-
abbr_day_names: [Dom, Lun, Mar, Mer, Gio, Ven, Sab]
|
14
|
-
month_names: [~, Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre]
|
15
|
-
abbr_month_names: [~, Gen, Feb, Mar, Apr, Mag, Giu, Lug, Ago, Set, Ott, Nov, Dic]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a %d %b %Y, %H:%M:%S %z"
|
24
|
-
time: "%H:%M"
|
25
|
-
short: "%d %b %H:%M"
|
26
|
-
long: "%d %B %Y %H:%M"
|
27
|
-
only_second: "%S"
|
28
|
-
|
29
|
-
datetime:
|
30
|
-
formats:
|
31
|
-
default: "%d-%m-%YT%H:%M:%S%Z"
|
32
|
-
|
33
|
-
am: 'am'
|
34
|
-
pm: 'pm'
|
35
|
-
|
36
|
-
# Used in array.to_sentence.
|
37
|
-
support:
|
38
|
-
array:
|
39
|
-
sentence_connector: "e"
|
40
|
-
skip_last_comma: false
|
@@ -1,34 +0,0 @@
|
|
1
|
-
ja:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%Y/%m/%d"
|
8
|
-
short: "%m/%d"
|
9
|
-
long: "%Y年%m月%d日"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [日曜日, 月曜日, 火曜日, 水曜日, 木曜日, 金曜日, 土曜日]
|
13
|
-
abbr_day_names: [日, 月, 火, 水, 木, 金, 土]
|
14
|
-
month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
|
15
|
-
abbr_month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
|
16
|
-
order:
|
17
|
-
- year
|
18
|
-
- month
|
19
|
-
- day
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%Y/%m/%d %H:%M:%S"
|
24
|
-
short: "%m/%d %H:%M"
|
25
|
-
long: "%Y年%m月%d日 %H時%M分%S秒"
|
26
|
-
am: "午前"
|
27
|
-
pm: "午後"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " と "
|
34
|
-
last_word_connector: ", と "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
lv:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d.%m.%Y"
|
8
|
-
short: "%e. %B"
|
9
|
-
long: "%Y. gada %e. %B"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Svētdiena, Pirmdiena, Otrdiena, Trešdiena, Ceturtdiena, Piektdiena, Sestdiena]
|
13
|
-
abbr_day_names: [Sv, P, O, T, C, P, S]
|
14
|
-
month_names: [~, Janvāris, Februāris, Marts, Aprīlis, Maijs, Jūnijs, Jūlijs, Augusts, Septembris, Oktobris, Novembris, Decembris]
|
15
|
-
abbr_month_names: [~, Janv, Febr, Marts, Apr, Maijs, Jūn, Jūl, Aug, Sept, Okt, Nov, Dec]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%Y. gada %e. %B, %H:%M"
|
24
|
-
short: "%d.%m.%Y, %H:%M"
|
25
|
-
long: "%Y. gada %e. %B, %H:%M:%S"
|
26
|
-
am: "priekšpusdiena"
|
27
|
-
pm: "pēcpusdiena"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " un "
|
34
|
-
last_word_connector: ", un "
|
@@ -1,34 +0,0 @@
|
|
1
|
-
nl:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d-%m-%Y"
|
8
|
-
short: "%d %b"
|
9
|
-
long: "%d %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [zondag, maandag, dinsdag, woensdag, donderdag, vrijdag, zaterdag]
|
13
|
-
abbr_day_names: [zo, ma, di, wo, do, vr, za]
|
14
|
-
month_names: [~, januari, februari, maart, april, mei, juni, juli, augustus, september, oktober, november]
|
15
|
-
abbr_month_names: [~, jan, feb, maa, apr, mei, jun, jul, aug, sep, okt, nov, dec]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a %d %b %Y %H:%M:%S %z"
|
24
|
-
short: "%d %b %H:%M"
|
25
|
-
long: "%d %B %Y %H:%M"
|
26
|
-
am: "am"
|
27
|
-
pm: "pm"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " en "
|
34
|
-
last_word_connector: " en "
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"no":
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%d.%m.%Y"
|
8
|
-
short: "%e. %b %Y"
|
9
|
-
long: "%e. %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [søndag, mandag, tirsdag, onsdag, torsdag, fredag, lørdag]
|
13
|
-
abbr_day_names: [sø, ma, ti, 'on', to, fr, lø]
|
14
|
-
month_names: [~, januar, februar, mars, april, mai, juni, juli, august, september, oktober, november, desember]
|
15
|
-
abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, des]
|
16
|
-
order:
|
17
|
-
- day
|
18
|
-
- month
|
19
|
-
- year
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%e. %B %Y, %H:%M"
|
24
|
-
short: "%e. %b %Y, %H:%M"
|
25
|
-
long: "%A, %e. %B %Y, %H:%M"
|
26
|
-
am: ""
|
27
|
-
pm: ""
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " og "
|
34
|
-
last_word_connector: " og "
|
35
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
pl:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
# Use the strftime parameters for formats.
|
5
|
-
# When no format has been given, it uses default.
|
6
|
-
# You can provide other formats here if you like!
|
7
|
-
default: "%Y-%m-%d"
|
8
|
-
short: "%d %b"
|
9
|
-
long: "%d %B %Y"
|
10
|
-
only_day: "%e"
|
11
|
-
|
12
|
-
day_names: [Niedziela, Poniedziałek, Wtorek, Środa, Czwartek, Piątek, Sobota]
|
13
|
-
abbr_day_names: [nie, pon, wto, śro, czw, pia, sob]
|
14
|
-
month_names: [~, Styczeń, Luty, Marzec, Kwiecień, Maj, Czerwiec, Lipiec, Sierpień, Wrzesień, Październik, Listopad, Grudzień]
|
15
|
-
abbr_month_names: [~, sty, lut, mar, kwi, maj, cze, lip, sie, wrz, paź, lis, gru]
|
16
|
-
order:
|
17
|
-
- year
|
18
|
-
- month
|
19
|
-
- day
|
20
|
-
|
21
|
-
time:
|
22
|
-
formats:
|
23
|
-
default: "%a, %d %b %Y, %H:%M:%S %z"
|
24
|
-
short: "%d %b, %H:%M"
|
25
|
-
long: "%d %B %Y, %H:%M"
|
26
|
-
am: "przed południem"
|
27
|
-
pm: "po południu"
|
28
|
-
|
29
|
-
# Used in array.to_sentence.
|
30
|
-
support:
|
31
|
-
array:
|
32
|
-
words_connector: ", "
|
33
|
-
two_words_connector: " i "
|
34
|
-
last_word_connector: " i "
|