middleman/middleman-more/fixtures
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
..
asset-hash-app Add test for asset_hashing rack-filtered items. 2012-09-11 00:08:57 -07:00
asset-hash-host-app Tests for using asset_host with asset_hash 2012-04-01 18:05:20 -07:00
asset-host-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
auto-css-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
auto-js-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
automatic-image-size-app Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
cache-buster-app Fix undefined variable error in cache_buster, and make its tests more explicit. 2012-04-01 18:25:57 -07:00
clean-dir-app Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
coffeescript-app Support Haml 4. Tests only run with Haml 4 now. Fixes #783 2013-02-17 19:40:17 -08:00
compass-sprites-app make sure compass sprites get built and copied. closes #228 2012-01-06 00:01:24 -08:00
content-for-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
different-engine-partial asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
extensionless-text-files-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
fonts-app Start getting middleman-more tests passing. About 50% done 2011-12-29 19:04:39 -08:00
frontmatter-settings-app Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
gzip-app Rename gzip_assets to just gzip since it does HTML too 2012-03-12 21:31:05 -07:00
i18n-alt-root-app asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
i18n-force-locale Fix several issues around i18n and resource metadata. 2013-04-03 00:07:31 -07:00
i18n-test-app Test relative_assets with i18n 2012-09-02 10:04:43 -07:00
ignore-app/source Move off-by-default extensions into middleman-more, make middleman-more itself an extension 2012-05-24 16:14:17 -07:00
implied-extensions-app Add tests for more implied extensions 2012-07-04 16:45:27 -07:00
indexable-app also "build" .htpasswd files 2013-01-21 11:21:48 -08:00
instance-vars-app asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
liquid-app fix remaining middleman-more tests 2011-12-29 19:28:49 -08:00
lorem-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
markdown-app Test for Redcarpet using our link_to and image_tag helpers 2012-07-18 22:57:52 -07:00
minify-css-app/source Disable buggy color-compression in built-in Rainpress CSS minification. Fixes #576 2012-08-28 16:08:34 -07:00
minify-js-app Support Haml 4. Tests only run with Haml 4 now. Fixes #783 2013-02-17 19:40:17 -08:00
nested-layout-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
padrino-helpers-app 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
page-classes-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
partials-app asset urls, padrino helpers and i18n belong in more 2012-05-24 16:31:21 -07:00
passthrough-app/source Support Haml 4. Tests only run with Haml 4 now. Fixes #783 2013-02-17 19:40:17 -08:00
preview-app split into middleman-core and middleman-more 2011-12-29 15:09:51 -08:00
relative-app Start getting middleman-more tests passing. About 50% done 2011-12-29 19:04:39 -08:00
relative-assets-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
sass-assets-path-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
sass-cache-path-custom-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
sass-cache-path-default-app use .sass-cache everywhere 2013-01-13 15:22:36 -08:00
scss-app Start getting middleman-more tests passing. About 50% done 2011-12-29 19:04:39 -08:00
stylus-preview-app Stylus support and tests. Fixes #649 2012-10-28 12:18:29 -07:00
traversal-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
twitter-bootstrap-app Fix Less load paths, simplify builder error output. Fixes #461 2012-06-05 10:24:00 -07:00
wildcard-directory-index-app Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00