middleman/middleman-more/features
Ben Hollis 4d5c509688 Fix several issues around i18n and resource metadata.
There are a few things changing here. One is that we always dup metadata before using it - this prevents a class of nasty bugs where after the first resource list build, blocks had been deleted from metadata hashes, meaning they would no longer be applied. Now they will always stick around. Then, I made sure that whenever we render a file, we save the previous I18n.locale and restore it afterwards, in case people change locale from blocks. This should help in some weird cases where files are rendered recursively. Finally, I've added a :lang option that can be used from "page" or "proxy" to allow people to specify the language for one or more files without having to pass a block that sets I18n.locale directly, which should make that pattern much cleaner. This fixes #809 and may also fix middleman/middleman-blog#106.
2013-04-03 00:07:31 -07:00
..
support Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
asset_hash.feature test asset_hash ignored paths 2012-12-18 12:28:17 +02:00
asset_host.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
asset_host_compass.feature Start getting middleman-more tests passing. About 50% done 2011-12-29 19:04:39 -08:00
automatic_image_sizes.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
cache_buster.feature Relative Assets shouldn't return a Pathname sometimes, the rest of the code expects Strings 2013-02-09 15:53:21 -08:00
clean_build.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
coffee-script.feature Don't catch CoffeeScript errors when in build mode. Fixes #551 2012-07-25 11:22:29 -07:00
compass-sprites.feature change compass sprites messaging 2012-02-12 11:51:29 -08:00
content_for.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
directory_index.feature also "build" .htpasswd files 2013-01-21 11:21:48 -08:00
extensionless_text_files.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
fonts.feature split into middleman-core and middleman-more 2011-12-29 15:09:51 -08:00
former_padrino_helpers.feature Make :http_prefix work in link_to and asset helpers as long as the linked item is a sitemap resource. Fixes #484. 2012-06-23 17:19:24 -07:00
frontmatter_page_settings.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
gzip.feature Rewrite gzip_assets to work as a post-build step and to leave uncompressed versions around. 2012-03-04 16:42:14 -08:00
helpers_auto_javascript_include_tag.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
helpers_auto_stylesheet_link_tag.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
helpers_form_tag.feature Override form_tag to use url_for. Fixes #739 2013-02-10 15:20:51 -08:00
helpers_link_to.feature correctly handle passing resources into relative link_to 2013-01-07 23:30:04 -08:00
helpers_lorem.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
helpers_page_classes.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
helpers_url_for.feature Test for url_for 2013-02-10 15:20:51 -08:00
i18n_builder.feature Test relative_assets with i18n 2012-09-02 10:04:43 -07:00
i18n_force_locale.feature Fix several issues around i18n and resource metadata. 2013-04-03 00:07:31 -07:00
i18n_preview.feature Failing test for #584 "i18n fails when default locale is not english" 2013-02-09 12:49:06 -08:00
ignore.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
ignore_already_minified.feature Fixture-less ignored_already_minified 2012-04-26 16:20:03 -07:00
implied_extensions.feature version bump [ci skip] 2012-07-04 16:47:01 -07:00
instance_vars.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
liquid.feature fix remaining middleman-more tests 2011-12-29 19:28:49 -08:00
markdown.feature idiot-proof maruku smarty pants test 2012-05-22 19:40:31 -07:00
markdown_redcarpet.feature Ruby 1.8-friendly markdown image test 2012-07-25 11:39:17 -07:00
minify_css.feature Support Haml 4. Tests only run with Haml 4 now. Fixes #783 2013-02-17 19:40:17 -08:00
minify_javascript.feature coffee test 2013-03-20 09:52:31 -07:00
nested_layouts.feature Avoid JRuby whitespace issue 2012-06-02 15:32:04 -07:00
partials.feature asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
relative_assets.feature Simplify and fix relative_assets extension to work more consistently. Also, fix a bug in relative link_to inspired by fixing this bug. This fixes #507. 2012-06-30 22:02:23 -07:00
sass-assets-paths.feature Added :sass_assets_path for external SASS repositories 2012-07-17 09:21:46 -07:00
sass_cache_path.feature merge 2013-01-13 15:25:35 -08:00
sass_partials.feature Move Sprockets into an extension 2012-05-26 13:43:27 -07:00
scss-support.feature Start getting middleman-more tests passing. About 50% done 2011-12-29 19:04:39 -08:00
sitemap_traversal.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
slim.feature Hack a way to pass Middleman context into Slim filters 2012-08-16 13:48:34 -07:00
stylus.feature Stylus support and tests. Fixes #649 2012-10-28 12:19:47 -07:00
twitter-bootstrap-compile.feature Don't test Less on JRuby 2012-06-05 10:28:09 -07:00
wildcard_page_helper.feature Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00