middleman 0.11.5 → 0.12.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -12
- data/README.rdoc +4 -0
- data/Rakefile +6 -56
- data/VERSION +1 -1
- data/features/automatic_image_sizes.feature +14 -0
- data/features/cache_buster.feature +22 -0
- data/features/minify_css.feature +22 -0
- data/features/minify_javascript.feature +12 -0
- data/features/page_alias_and_layouts.feature +12 -0
- data/features/relative_assets.feature +12 -0
- data/features/step_definitions/env.rb +2 -0
- data/features/step_definitions/middleman_steps.rb +22 -0
- data/features/step_definitions/page_layout_steps.rb +13 -0
- data/lib/middleman.rb +1 -2
- data/lib/middleman/base.rb +22 -23
- data/lib/middleman/builder.rb +1 -1
- data/lib/middleman/features/automatic_image_sizes.rb +6 -4
- data/lib/middleman/features/minify_css.rb +15 -6
- data/lib/middleman/features/minify_javascript.rb +13 -9
- data/lib/middleman/features/relative_assets.rb +14 -3
- data/lib/middleman/features/smush_pngs.rb +2 -1
- data/lib/middleman/rack/sprockets.rb +13 -8
- data/lib/middleman/rack/static.rb +8 -1
- data/lib/middleman/sass.rb +12 -2
- data/lib/middleman/vendor/bin/compass +3 -0
- data/lib/middleman/vendor/bin/css2sass +3 -0
- data/lib/middleman/vendor/bin/edit_json.rb +3 -0
- data/lib/middleman/vendor/bin/haml +3 -0
- data/lib/middleman/vendor/bin/html2haml +3 -0
- data/lib/middleman/vendor/bin/htmldiff +3 -0
- data/lib/middleman/vendor/bin/launchy +3 -0
- data/lib/middleman/vendor/bin/ldiff +3 -0
- data/lib/middleman/vendor/bin/prettify_json.rb +3 -0
- data/lib/middleman/vendor/bin/rackup +3 -0
- data/lib/middleman/vendor/bin/rake +3 -0
- data/lib/middleman/vendor/bin/sass +3 -0
- data/lib/middleman/vendor/bin/shotgun +3 -0
- data/lib/middleman/vendor/bin/smusher +3 -0
- data/lib/middleman/vendor/bin/sprocketize +3 -0
- data/lib/middleman/vendor/gems/cache/compass-0.8.17.gem +0 -0
- data/lib/middleman/vendor/gems/cache/compass-slickmap-0.2.1.gem +0 -0
- data/lib/middleman/vendor/gems/cache/configuration-1.1.0.gem +0 -0
- data/lib/middleman/vendor/gems/cache/diff-lcs-1.1.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/extlib-0.9.13.gem +0 -0
- data/lib/middleman/vendor/gems/cache/haml-2.2.14.gem +0 -0
- data/lib/middleman/vendor/gems/cache/highline-1.5.1.gem +0 -0
- data/lib/middleman/vendor/gems/cache/httpclient-2.1.5.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/json-1.2.0.gem +0 -0
- data/lib/middleman/vendor/gems/cache/json_pure-1.2.0.gem +0 -0
- data/lib/middleman/vendor/gems/cache/launchy-0.3.3.gem +0 -0
- data/lib/middleman/vendor/gems/cache/rack-1.0.1.gem +0 -0
- data/lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/rake-0.8.7.gem +0 -0
- data/lib/middleman/vendor/gems/cache/shotgun-0.4.gem +0 -0
- data/lib/middleman/vendor/gems/cache/sinatra-0.9.4.gem +0 -0
- data/lib/middleman/vendor/gems/cache/sinatra-content-for-0.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/smusher-0.4.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/sprockets-1.0.2.gem +0 -0
- data/lib/middleman/vendor/gems/cache/templater-1.0.0.gem +0 -0
- data/lib/middleman/vendor/gems/cache/yui-compressor-0.9.1.gem +0 -0
- data/lib/middleman/vendor/gems/environment.rb +144 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown +557 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/LICENSE.markdown +29 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown +44 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/REVISION +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile +127 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml +4 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass +8 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/deps.rip +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/README.markdown +4 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/config.rb +7 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml +85 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/elements.html.haml +282 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml +190 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/grid.html.haml +274 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test-small.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/valid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass +8 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/config.rb +8 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/email.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/external.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/im.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test-small.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/valid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml +96 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass +11 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass +4 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/screen.sass +10 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/config.rb +7 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/index.html.haml +86 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test-small.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/valid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass +70 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass +71 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/compass.html.haml +39 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/config.rb +7 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/images/blue_arrow.gif +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/compass.sass +47 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/images/blue_arrow.gif +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/sticky_footer.sass +11 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass +108 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/sticky_footer.html.haml +14 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/utilities.html.haml +189 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/logo.html.haml +40 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/ie.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/print.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/screen.sass +29 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/divisions.html.haml +179 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/index.html.haml +19 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/src/screen.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/sub_divisions.html.haml +169 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/templates.html.haml +54 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/test.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/typography.html.haml +132 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb +2 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass +93 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +155 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass +15 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass +40 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb +2 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_utilities.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +12 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/ie.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/print.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/screen.sass +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb +2 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/manifest.rb +1 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/screen.sass +4 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb +23 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb +110 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb +43 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb +12 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb +15 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/urls.rb +14 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb +33 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb +19 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb +24 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb +31 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb +23 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb +112 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb +33 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb +34 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb +21 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb +64 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb +28 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb +54 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb +324 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/core_ext.rb +14 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb +10 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb +7 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb +251 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb +29 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb +72 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb +158 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb +58 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb +135 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb +60 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb +42 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb +19 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/display.rb +22 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb +39 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb +105 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/test_case.rb +38 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb +10 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/version.rb +57 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm.rb +41 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/fsevents.rb +37 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/polling.rb +26 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/cache.rb +193 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/ext.rb +37 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/fsevents.rb +129 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/monitor.rb +25 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/path.rb +91 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb +54 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/support.rb +22 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/tree.rb +176 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb +102 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb +66 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb +141 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb +118 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/config.rb +9 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/config.rb +9 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css +18 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css +60 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/config.rb +17 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb +9 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb +83 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb +31 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_case_helper.rb +13 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb +21 -0
- data/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_rails_helper.rb +20 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/.gitignore +3 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/Rakefile +20 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/VERSION +1 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/compass-slickmap.gemspec +53 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap.rb +45 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap/compass_plugin.rb +5 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/sass/_slickmap.sass +206 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-center.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-left.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-right.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-bottom.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-center.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-li-top.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-ul-top.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/vertical-line.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/white-highlight.png +0 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/manifest.rb +10 -0
- data/lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/sitemap.sass +3 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/README +197 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/README.erb +69 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/Rakefile +241 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/a.rb +5 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/b.rb +19 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/c.rb +8 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/d.rb +5 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/config/e.rb +13 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/configuration.gemspec +28 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/lib/configuration.rb +199 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/a.rb +11 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/b.rb +11 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/c.rb +11 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/d.rb +14 -0
- data/lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/e.rb +12 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/ChangeLog +46 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Install +6 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/README +76 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Rakefile +116 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/htmldiff +112 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/ldiff +45 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +1105 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +21 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +51 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +322 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +169 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +257 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +226 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +19 -0
- data/lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/tests/00test.rb +626 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/History.txt +77 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/LICENSE +47 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/README +0 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/Rakefile +180 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib.rb +50 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/array.rb +36 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/assertions.rb +8 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/blank.rb +89 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/boolean.rb +11 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/byte_array.rb +6 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/class.rb +177 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/datetime.rb +29 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/dictionary.rb +433 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hash.rb +442 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hook.rb +401 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/inflection.rb +434 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_array.rb +457 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_module.rb +18 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/logger.rb +198 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/mash.rb +155 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/module.rb +47 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/nil.rb +5 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/numeric.rb +5 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object.rb +175 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object_space.rb +13 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pathname.rb +20 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pooling.rb +235 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/rubygems.rb +38 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/simple_set.rb +66 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/string.rb +175 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/struct.rb +17 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/symbol.rb +21 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb +15 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/time.rb +43 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/version.rb +3 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb +10 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/array_spec.rb +39 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/blank_spec.rb +85 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/byte_array_spec.rb +7 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/class_spec.rb +157 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/datetime_spec.rb +22 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hash_spec.rb +537 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hook_spec.rb +1234 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/plural_spec.rb +564 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/singular_spec.rb +497 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection_extras_spec.rb +93 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_array_spec.rb +1932 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_module_spec.rb +38 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/mash_spec.rb +311 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/module_spec.rb +70 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_space_spec.rb +9 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_spec.rb +114 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/pooling_spec.rb +511 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/simple_set_spec.rb +57 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec.opts +3 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec_helper.rb +10 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/string_spec.rb +220 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/struct_spec.rb +12 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/symbol_spec.rb +8 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/time_spec.rb +29 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_call_spec.rb +73 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_dup_spec.rb +45 -0
- data/lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/virtual_file_spec.rb +21 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/.yardopts +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/CONTRIBUTING +4 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/MIT-LICENSE +20 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/README.md +357 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/REVISION +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/Rakefile +379 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION_NAME +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/css2sass +7 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/haml +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/html2haml +7 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/bin/sass +8 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/haml-mode.el +662 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/sass-mode.el +206 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/extra/update_watch.rb +13 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/init.rb +16 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml.rb +40 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/buffer.rb +302 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/engine.rb +299 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/error.rb +22 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/exec.rb +459 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/filters.rb +341 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers.rb +563 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_extensions.rb +55 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_mods.rb +177 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/xss_mods.rb +95 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/html.rb +259 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/precompiler.rb +1037 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/shared.rb +78 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template.rb +85 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/patch.rb +58 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/plugin.rb +71 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/util.rb +276 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/version.rb +64 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass.rb +24 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/css.rb +404 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/engine.rb +475 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/environment.rb +79 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/error.rb +57 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/files.rb +139 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin.rb +225 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/merb.rb +49 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rack.rb +65 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rails.rb +24 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/repl.rb +58 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script.rb +59 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/bool.rb +17 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/color.rb +201 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/funcall.rb +50 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/functions.rb +250 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/lexer.rb +191 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/literal.rb +177 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/node.rb +14 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/number.rb +381 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/operation.rb +45 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/parser.rb +222 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/string.rb +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/unary_operation.rb +34 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/variable.rb +31 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/comment_node.rb +84 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/debug_node.rb +30 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/directive_node.rb +68 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/for_node.rb +48 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/if_node.rb +54 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/import_node.rb +65 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_def_node.rb +29 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_node.rb +48 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/node.rb +251 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/prop_node.rb +121 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/rule_node.rb +223 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/variable_node.rb +34 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/while_node.rb +31 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/rails/init.rb +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/benchmark.rb +99 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/engine_test.rb +1237 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/helper_test.rb +282 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/html2haml_test.rb +139 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/markaby/standard.mab +52 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/mocks/article.rb +6 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/content_for_layout.xhtml +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/eval_suppressed.xhtml +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/filters.xhtml +62 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpers.xhtml +93 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpful.xhtml +10 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/just_stuff.xhtml +68 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/list.xhtml +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/original_engine.xhtml +20 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partial_layout.xhtml +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partials.xhtml +21 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/render_layout.xhtml +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/silent_script.xhtml +74 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/standard.xhtml +162 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/tag_parsing.xhtml +23 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/very_basic.xhtml +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/whitespace_handling.xhtml +89 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_1.rhtml +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_2.rhtml +8 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/action_view.rhtml +62 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/standard.rhtml +54 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/README.md +97 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/lua_haml_spec.lua +30 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/ruby_haml_test.rb +19 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/tests.json +488 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/template_test.rb +296 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1.haml +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1_ugly.haml +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2.haml +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2_ugly.haml +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout.erb +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout_for_partial.haml +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_partial.haml +8 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_text_area.haml +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view.haml +47 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view_ugly.haml +47 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/breakage.haml +8 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/content_for_layout.haml +8 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/eval_suppressed.haml +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/filters.haml +66 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpers.haml +95 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpful.haml +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/just_stuff.haml +83 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/list.haml +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_inner_whitespace.haml +32 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_outer_whitespace.haml +144 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/original_engine.haml +17 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partial_layout.haml +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partialize.haml +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partials.haml +12 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/render_layout.haml +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/silent_script.haml +40 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard.haml +42 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard_ugly.haml +42 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/tag_parsing.haml +21 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/very_basic.haml +4 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/whitespace_handling.haml +87 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/util_test.rb +107 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/linked_rails.rb +21 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/css2sass_test.rb +251 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/engine_test.rb +914 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/functions_test.rb +159 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1.css +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more_import.css +29 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/_more_partial.sass +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more1.sass +23 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more_import.sass +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/plugin_test.rb +222 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/alt.css +4 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/basic.css +9 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compact.css +5 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/complex.css +87 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compressed.css +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/expanded.css +19 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/import.css +29 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/line_numbers.css +49 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/mixins.css +95 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/multiline.css +24 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/nested.css +22 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/parent_ref.css +13 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/script.css +16 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/subdir.css +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/units.css +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/script_test.rb +267 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/_partial.sass +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/alt.sass +16 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/basic.sass +23 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork.sass +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork2.sass +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compact.sass +17 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/complex.sass +307 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compressed.sass +15 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/expanded.sass +17 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/import.sass +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/importee.sass +19 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/line_numbers.sass +13 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/mixins.sass +76 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/multiline.sass +20 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/nested.sass +25 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/parent_ref.sass +25 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/script.sass +101 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/subdir.sass +6 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/units.sass +11 -0
- data/lib/middleman/vendor/gems/gems/haml-2.2.14/test/test_helper.rb +35 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/CHANGELOG +222 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/INSTALL +35 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/LICENSE +7 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/README +63 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/Rakefile +82 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/TODO +6 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/ansi_colors.rb +38 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/asking_for_arrays.rb +18 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/basic_usage.rb +75 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/color_scheme.rb +32 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/limit.rb +12 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/menus.rb +65 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/overwrite.rb +19 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/page_and_wrap.rb +322 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/password.rb +7 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/trapping_eof.rb +22 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/examples/using_readline.rb +17 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline.rb +758 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/color_scheme.rb +120 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/compatibility.rb +17 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/import.rb +43 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/menu.rb +395 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/question.rb +463 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/system_extensions.rb +193 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/setup.rb +1360 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_color_scheme.rb +56 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_highline.rb +823 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_import.rb +54 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_menu.rb +429 -0
- data/lib/middleman/vendor/gems/gems/highline-1.5.1/test/ts_all.rb +15 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2.rb +53 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/cookie.rb +1 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/http.rb +1 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient.rb +1020 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/auth.rb +522 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert.p7s +1579 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert_sha1.p7s +1579 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/connection.rb +84 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cookie.rb +562 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/http.rb +867 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/session.rb +863 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/ssl_config.rb +417 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/timeout.rb +136 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/util.rb +86 -0
- data/lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/tags +908 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/.require_paths +4 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/CHANGES +136 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/COPYING +58 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/GPL +340 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/README +360 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/Rakefile +287 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/TODO +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/VERSION +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/generator_benchmark.rb +165 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/parser_benchmark.rb +197 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/bin/edit_json.rb +9 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/bin/prettify_json.rb +75 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/data/example.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/data/index.html +38 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/data/prototype.js +4184 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator.bundle +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/Makefile +181 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/extconf.rb +11 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.bundle +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.c +935 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.o +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/mkmf.log +32 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.c +180 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.h +53 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.o +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser.bundle +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/Makefile +181 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/extconf.rb +11 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/mkmf.log +33 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.bundle +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.c +1880 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.o +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.rl +737 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.c +154 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.h +58 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.o +0 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/install.rb +26 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json.rb +10 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Array.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/FalseClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Hash.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Key.xpm +73 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/NilClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Numeric.xpm +28 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/String.xpm +96 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/TrueClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/core.rb +135 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/rails.rb +58 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/common.rb +371 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/editor.rb +1371 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/ext.rb +15 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/json.xpm +1499 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure.rb +77 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/generator.rb +443 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/parser.rb +303 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/version.rb +8 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail1.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail10.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail11.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail12.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail13.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail14.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail18.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail19.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail2.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail20.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail21.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail22.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail23.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail24.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail25.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail27.json +2 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail28.json +2 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail3.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail4.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail5.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail6.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail7.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail8.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail9.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass1.json +56 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass15.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass16.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass17.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass2.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass26.json +1 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass3.json +6 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json.rb +320 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_addition.rb +164 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_encoding.rb +67 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_fixtures.rb +34 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_generate.rb +120 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_rails.rb +146 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_unicode.rb +62 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tools/fuzz.rb +139 -0
- data/lib/middleman/vendor/gems/gems/json-1.2.0/tools/server.rb +61 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/CHANGES +136 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/COPYING +58 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/GPL +340 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/README +360 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/Rakefile +287 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/TODO +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/VERSION +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/generator_benchmark.rb +165 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/parser_benchmark.rb +197 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/edit_json.rb +9 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/prettify_json.rb +75 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/example.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/index.html +38 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/prototype.js +4184 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/extconf.rb +11 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/generator.c +935 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.c +180 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.h +53 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/extconf.rb +11 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.c +1880 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.rl +737 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.c +154 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.h +58 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/install.rb +26 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json.rb +10 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Array.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/FalseClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Hash.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Key.xpm +73 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/NilClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Numeric.xpm +28 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/String.xpm +96 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/TrueClass.xpm +21 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/core.rb +135 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/rails.rb +58 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/common.rb +371 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/editor.rb +1371 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/ext.rb +15 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/json.xpm +1499 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure.rb +77 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/generator.rb +443 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/parser.rb +303 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/version.rb +8 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail1.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail10.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail11.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail12.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail13.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail14.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail18.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail19.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail2.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail20.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail21.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail22.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail23.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail24.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail25.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail27.json +2 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail28.json +2 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail3.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail4.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail5.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail6.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail7.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail8.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail9.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass1.json +56 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass15.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass16.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass17.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass2.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass26.json +1 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass3.json +6 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json.rb +320 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_addition.rb +164 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_encoding.rb +67 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_fixtures.rb +34 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_generate.rb +120 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_rails.rb +146 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_unicode.rb +62 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/fuzz.rb +139 -0
- data/lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/server.rb +61 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/HISTORY +57 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/LICENSE +31 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/README +49 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/Rakefile +62 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/bin/launchy +12 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/gemspec.rb +41 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy.rb +53 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/application.rb +174 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/browser.rb +98 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/command_line.rb +48 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/paths.rb +53 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/version.rb +17 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/application_spec.rb +58 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/browser_spec.rb +50 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/launchy_spec.rb +18 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/paths_spec.rb +15 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/spec_helper.rb +5 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/version_spec.rb +11 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/announce.rake +39 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/config.rb +107 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/distribution.rake +46 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/documentation.rake +32 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rspec.rake +29 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rubyforge.rake +52 -0
- data/lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/utils.rb +80 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/COPYING +18 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/KNOWN-ISSUES +18 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/RDOX +428 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/README +364 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/Rakefile +164 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/SPEC +164 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/bin/rackup +176 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/contrib/rack_logo.svg +111 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/lobster.ru +4 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.rb +14 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.ru +8 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack.rb +90 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/adapter/camping.rb +22 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/handler.rb +37 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/request.rb +37 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/basic.rb +58 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/md5.rb +124 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/nonce.rb +51 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/params.rb +55 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/request.rb +40 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/openid.rb +480 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/builder.rb +63 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/cascade.rb +36 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/chunked.rb +49 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/commonlogger.rb +61 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/conditionalget.rb +47 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_length.rb +29 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_type.rb +23 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/deflater.rb +96 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/directory.rb +153 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/file.rb +88 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler.rb +69 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/cgi.rb +61 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/evented_mongrel.rb +8 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb +90 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/lsws.rb +60 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/mongrel.rb +87 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/scgi.rb +62 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/thin.rb +18 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/webrick.rb +71 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/head.rb +19 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lint.rb +546 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lobster.rb +65 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lock.rb +16 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/methodoverride.rb +27 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mime.rb +204 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mock.rb +163 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/recursive.rb +57 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/reloader.rb +106 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/request.rb +246 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/response.rb +183 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/rewindable_input.rb +100 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/abstract/id.rb +142 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/cookie.rb +91 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/memcache.rb +109 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/pool.rb +100 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showexceptions.rb +349 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showstatus.rb +106 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/static.rb +38 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/urlmap.rb +55 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/utils.rb +401 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/rack.gemspec +54 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/lighttpd.conf +20 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test +9 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.fcgi +8 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.ru +7 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/binary +0 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/empty +10 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/ie +6 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/nested +10 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/none +9 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/semicolon +6 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/text +10 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_basic.rb +73 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_digest.rb +226 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_openid.rb +84 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_builder.rb +84 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_camping.rb +51 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cascade.rb +50 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cgi.rb +89 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_chunked.rb +62 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_commonlogger.rb +32 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_conditionalget.rb +41 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_length.rb +43 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_type.rb +30 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_deflater.rb +127 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_directory.rb +61 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_fastcgi.rb +89 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_file.rb +75 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_handler.rb +43 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_head.rb +30 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lint.rb +521 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lobster.rb +45 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lock.rb +38 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_methodoverride.rb +60 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mock.rb +157 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mongrel.rb +189 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_recursive.rb +77 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_request.rb +504 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_response.rb +218 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_rewindable_input.rb +118 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_cookie.rb +82 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_memcache.rb +240 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_pool.rb +172 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showexceptions.rb +21 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showstatus.rb +72 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_static.rb +37 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_thin.rb +91 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_urlmap.rb +185 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_utils.rb +387 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_webrick.rb +130 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/testrequest.rb +57 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.document +4 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.gitignore +4 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt +101 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/MIT-LICENSE.txt +19 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/README.rdoc +57 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Rakefile +39 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Thorfile +114 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/mock_session.rb +61 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb +276 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb +171 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/methods.rb +80 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/mock_digest_request.rb +29 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/uploaded_file.rb +46 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/utils.rb +101 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec +73 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/config.ru +3 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb +115 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/foo.txt +1 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb +190 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/digest_auth_spec.rb +48 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/multipart_spec.rb +87 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/utils_spec.rb +97 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test_spec.rb +443 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec.opts +2 -0
- data/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec_helper.rb +52 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/CHANGES +440 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/MIT-LICENSE +21 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/README +196 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/Rakefile +430 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/TODO +20 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/bin/rake +31 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/command_line_usage.rdoc +102 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile1 +38 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile2 +35 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/a.c +6 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/b.c +6 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/main.c +11 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/glossary.rdoc +51 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/jamis.rb +591 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/proto_rake.rdoc +127 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rake.1.gz +0 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rakefile.rdoc +534 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rational.rdoc +151 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/install.rb +88 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake.rb +2506 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/alt_system.rb +108 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/classic_namespace.rb +8 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/clean.rb +33 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb +24 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/ftptools.rb +153 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/publisher.rb +75 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sshpublisher.rb +47 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sys.rb +209 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/gempackagetask.rb +97 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/loaders/makefile.rb +42 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/packagetask.rb +184 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rake_test_loader.rb +5 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rdoctask.rb +209 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb +23 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/runtest.rb +23 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/tasklib.rb +23 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/testtask.rb +161 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/win32.rb +55 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/capture_stdout.rb +26 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_expansion.rb +5 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_no_expansion.rb +5 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/contrib/test_sys.rb +47 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/chains/Rakefile +15 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/default/Rakefile +19 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/dryrun/Rakefile +22 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/file_creation_task/Rakefile +33 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/Rakefile +19 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/deps.mf +1 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/multidesc/Rakefile +17 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/namespace/Rakefile +57 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rakelib/test1.rb +3 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rbext/rakefile.rb +3 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/sample.mf +14 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/statusreturn/Rakefile +8 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/unittest/Rakefile +1 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/filecreation.rb +32 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/functional.rb +15 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/in_environment.rb +30 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/rake_test_setup.rb +24 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile.rb +3 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile2.rb +3 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/session_functional.rb +339 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/shellcommand.rb +3 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_application.rb +675 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_clean.rb +14 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_definitions.rb +85 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_earlytime.rb +35 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_extension.rb +63 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_creation_task.rb +62 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_task.rb +143 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_filelist.rb +623 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_fileutils.rb +251 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_ftp.rb +59 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_invocation_chain.rb +81 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_makefile_loader.rb +26 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_multitask.rb +45 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_namespace.rb +55 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_package_task.rb +118 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pathmap.rb +210 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pseudo_status.rb +26 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rake.rb +41 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rdoc_task.rb +88 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_require.rb +35 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rules.rb +349 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_arguments.rb +89 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_manager.rb +173 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasklib.rb +12 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasks.rb +374 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_test_task.rb +77 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_top_level_functions.rb +86 -0
- data/lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_win32.rb +72 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/COPYING +18 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/README +46 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/Rakefile +56 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/bin/shotgun +136 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/lib/shotgun.rb +99 -0
- data/lib/middleman/vendor/gems/gems/shotgun-0.4/shotgun.gemspec +34 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/AUTHORS +41 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/CHANGES +385 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/LICENSE +22 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/README.rdoc +573 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/Rakefile +138 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/app_test.rb +282 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/application_test.rb +262 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/builder_test.rb +101 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/compat_test.rb +12 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/custom_error_test.rb +62 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/erb_test.rb +136 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/events_test.rb +78 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/filter_test.rb +30 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/haml_test.rb +236 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/helper.rb +33 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/mapped_error_test.rb +72 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/pipeline_test.rb +45 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/public/foo.xml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sass_test.rb +67 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sessions_test.rb +42 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/streaming_test.rb +133 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sym_params_test.rb +19 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/template_test.rb +30 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/use_in_file_templates_test.rb +47 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.builder +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.erb +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.haml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.sass +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.erb +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.haml +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.builder +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.erb +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.haml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.sass +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.builder +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.erb +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.haml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.sass +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.builder +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.haml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra.rb +8 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/base.rb +1119 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/compat.rb +266 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/404.png +0 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/500.png +0 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/main.rb +35 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/showexceptions.rb +303 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test.rb +128 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb +19 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/rspec.rb +13 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/spec.rb +11 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/unit.rb +13 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/sinatra.gemspec +125 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/base_test.rb +160 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/builder_test.rb +65 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/contest.rb +64 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/data/reload_app_file.rb +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/erb_test.rb +81 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/extensions_test.rb +100 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/filter_test.rb +99 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/haml_test.rb +90 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helper.rb +76 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helpers_test.rb +503 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/mapped_error_test.rb +155 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/middleware_test.rb +68 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/options_test.rb +372 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/render_backtrace_test.rb +145 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/request_test.rb +18 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/response_test.rb +42 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/result_test.rb +98 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/route_added_hook_test.rb +59 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/routing_test.rb +784 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sass_test.rb +79 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/server_test.rb +47 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sinatra_test.rb +13 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/static_test.rb +80 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/templates_test.rb +122 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/test_test.rb +152 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.builder +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.erb +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.haml +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.sass +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/foo/hello.test +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.builder +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.erb +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.haml +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.sass +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.test +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.builder +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.erb +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.haml +2 -0
- data/lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.test +1 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/.gitignore +3 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/LICENSE +22 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/README.rdoc +41 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/lib/sinatra/content_for.rb +58 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/sinatra-content-for.gemspec +34 -0
- data/lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/test/content_for_test.rb +156 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/.gitignore +2 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/README.markdown +59 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/Rakefile +20 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/VERSION +1 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/bin/smusher +35 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher.rb +97 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/puny_png.rb +17 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/smush_it.rb +22 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/smusher.gemspec +78 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/empty/.gitignore +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/ad.gif +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/add.png +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/drink_empty.png +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/logo.gif +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/people.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/water.JPG +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/woman.jpeg +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/ad.gif +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/people.jpg +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add.png +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add_puny.png +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/fam.png +0 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/puny_png_spec.rb +12 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/smush_it_spec.rb +12 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher_spec.rb +181 -0
- data/lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/spec_helper.rb +8 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/Rakefile +19 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/bin/sprocketize +54 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/ext/nph-sprockets.cgi +127 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets.rb +42 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/concatenation.rb +36 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/environment.rb +52 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/error.rb +5 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/pathname.rb +37 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/preprocessor.rb +91 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/secretary.rb +106 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_file.rb +54 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_line.rb +82 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/version.rb +9 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/one.png +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/two.png +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/stylesheets/script_with_assets.css +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/constants.yml +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_ignored_when_strip_comments_is_false.js +8 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_removed_by_default.js +2 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/multiline_comments_should_be_removed_by_default.js +4 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_after_it_has_already_been_required_should_do_nothing.js +5 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_that_does_not_exist_should_raise_an_error.js +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents.js +3 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_the_current_file_should_do_nothing.js +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/constants.yml +3 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo.js +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/bar.js +4 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/foo.js +1 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/script_with_assets.js +3 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_concatenation.rb +28 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_environment.rb +64 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_helper.rb +55 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_pathname.rb +43 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_preprocessor.rb +107 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_secretary.rb +83 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_file.rb +34 -0
- data/lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_line.rb +89 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/History.txt +3 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/Manifest.txt +64 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/README.rdoc +266 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/Rakefile +23 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater.rb +49 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/action.rb +43 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/directory.rb +22 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/empty_directory.rb +57 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/file.rb +60 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/template.rb +61 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/capture_helpers.rb +62 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/generator.rb +175 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/manifold.rb +59 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/parser.rb +85 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/kernel.rb +14 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/string.rb +17 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/description.rb +78 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/discovery.rb +86 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/generator.rb +644 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/manifold.rb +98 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/spec/helpers.rb +67 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/console +10 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/destroy +14 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/script/generate +14 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/directory_spec.rb +21 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/empty_directory_spec.rb +108 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/file_spec.rb +112 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/template_spec.rb +141 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/core_ext/string_spec.rb +39 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/actions_spec.rb +111 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/arguments_spec.rb +225 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/desc_spec.rb +10 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb +9 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/empty_directories_spec.rb +148 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/files_spec.rb +199 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/generators_spec.rb +63 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/glob_spec.rb +94 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invocations_spec.rb +173 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invoke_spec.rb +21 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/options_spec.rb +46 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/render_spec.rb +21 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/source_root_spec.rb +18 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/templates_spec.rb +209 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/manifold_spec.rb +146 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/options_parser_spec.rb +20 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/erb.rbs +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/file.rbs +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/random.rbs +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/simple_erb.rbs +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helper.rb +65 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helpers_spec.rb +85 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templater_spec.rb +7 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/erb.rbt +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/README +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/arg.js +3 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.%feh% +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.html.%feh% +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/jessica_alba.jpg +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/monkey.rb +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/test.rb +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/literals_erb.rbt +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple.rbt +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple_erb.rbt +1 -0
- data/lib/middleman/vendor/gems/gems/templater-1.0.0/templater.gemspec +54 -0
- data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/Rakefile +21 -0
- data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/lib/yui/compressor.rb +200 -0
- data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/test/compressor_test.rb +94 -0
- data/lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/vendor/yuicompressor-2.4.2.jar +0 -0
- data/lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec +36 -0
- data/lib/middleman/vendor/gems/specifications/compass-slickmap-0.2.1.gemspec +31 -0
- data/lib/middleman/vendor/gems/specifications/configuration-1.1.0.gemspec +27 -0
- data/lib/middleman/vendor/gems/specifications/diff-lcs-1.1.2.gemspec +34 -0
- data/lib/middleman/vendor/gems/specifications/extlib-0.9.13.gemspec +28 -0
- data/lib/middleman/vendor/gems/specifications/haml-2.2.14.gemspec +45 -0
- data/lib/middleman/vendor/gems/specifications/highline-1.5.1.gemspec +31 -0
- data/lib/middleman/vendor/gems/specifications/httpclient-2.1.5.2.gemspec +26 -0
- data/lib/middleman/vendor/gems/specifications/json-1.2.0.gemspec +34 -0
- data/lib/middleman/vendor/gems/specifications/json_pure-1.2.0.gemspec +33 -0
- data/lib/middleman/vendor/gems/specifications/launchy-0.3.3.gemspec +38 -0
- data/lib/middleman/vendor/gems/specifications/rack-1.0.1.gemspec +53 -0
- data/lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec +36 -0
- data/lib/middleman/vendor/gems/specifications/rake-0.8.7.gemspec +32 -0
- data/lib/middleman/vendor/gems/specifications/shotgun-0.4.gemspec +37 -0
- data/lib/middleman/vendor/gems/specifications/sinatra-0.9.4.gemspec +40 -0
- data/lib/middleman/vendor/gems/specifications/sinatra-content-for-0.2.gemspec +40 -0
- data/lib/middleman/vendor/gems/specifications/smusher-0.4.2.gemspec +40 -0
- data/lib/middleman/vendor/gems/specifications/sprockets-1.0.2.gemspec +31 -0
- data/lib/middleman/vendor/gems/specifications/templater-1.0.0.gemspec +54 -0
- data/lib/middleman/vendor/gems/specifications/yui-compressor-0.9.1.gemspec +29 -0
- data/middleman.gemspec +1445 -18
- metadata +1459 -18
- data/spec/auto_image_sizes.rb +0 -22
- data/spec/cache_buster_off_spec.rb +0 -20
- data/spec/cache_buster_on_spec.rb +0 -20
- data/spec/minify_css_spec.rb +0 -20
- data/spec/minify_javascript_spec.rb +0 -20
- data/spec/page_alias_and_layouts_spec.rb +0 -22
- data/spec/relative_assets_spec.rb +0 -20
@@ -0,0 +1,1237 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
+
|
5
|
+
class EngineTest < Test::Unit::TestCase
|
6
|
+
# A map of erroneous Haml documents to the error messages they should produce.
|
7
|
+
# The error messages may be arrays;
|
8
|
+
# if so, the second element should be the line number that should be reported for the error.
|
9
|
+
# If this isn't provided, the tests will assume the line number should be the last line of the document.
|
10
|
+
EXCEPTION_MAP = {
|
11
|
+
"!!!\n a" => "Illegal nesting: nesting within a header command is illegal.",
|
12
|
+
"a\n b" => "Illegal nesting: nesting within plain text is illegal.",
|
13
|
+
"/ a\n b" => "Illegal nesting: nesting within a tag that already has content is illegal.",
|
14
|
+
"% a" => 'Invalid tag: "% a".',
|
15
|
+
"%p a\n b" => "Illegal nesting: content can't be both given on the same line as %p and nested within it.",
|
16
|
+
"%p=" => "There's no Ruby code for = to evaluate.",
|
17
|
+
"%p~" => "There's no Ruby code for ~ to evaluate.",
|
18
|
+
"~" => "There's no Ruby code for ~ to evaluate.",
|
19
|
+
"=" => "There's no Ruby code for = to evaluate.",
|
20
|
+
"%p/\n a" => "Illegal nesting: nesting within a self-closing tag is illegal.",
|
21
|
+
":a\n b" => ['Filter "a" is not defined.', 1],
|
22
|
+
":a= b" => 'Invalid filter name ":a= b".',
|
23
|
+
"." => "Illegal element: classes and ids must have values.",
|
24
|
+
".#" => "Illegal element: classes and ids must have values.",
|
25
|
+
".{} a" => "Illegal element: classes and ids must have values.",
|
26
|
+
".() a" => "Illegal element: classes and ids must have values.",
|
27
|
+
".= a" => "Illegal element: classes and ids must have values.",
|
28
|
+
"%p..a" => "Illegal element: classes and ids must have values.",
|
29
|
+
"%a/ b" => "Self-closing tags can't have content.",
|
30
|
+
"%p{:a => 'b',\n:c => 'd'}/ e" => ["Self-closing tags can't have content.", 2],
|
31
|
+
"%p{:a => 'b',\n:c => 'd'}=" => ["There's no Ruby code for = to evaluate.", 2],
|
32
|
+
"%p.{:a => 'b',\n:c => 'd'} e" => ["Illegal element: classes and ids must have values.", 1],
|
33
|
+
"%p{:a => 'b',\n:c => 'd',\n:e => 'f'}\n%p/ a" => ["Self-closing tags can't have content.", 4],
|
34
|
+
"%p{:a => 'b',\n:c => 'd',\n:e => 'f'}\n- raise 'foo'" => ["foo", 4],
|
35
|
+
"%p{:a => 'b',\n:c => raise('foo'),\n:e => 'f'}" => ["foo", 2],
|
36
|
+
"%p{:a => 'b',\n:c => 'd',\n:e => raise('foo')}" => ["foo", 3],
|
37
|
+
" %p foo" => "Indenting at the beginning of the document is illegal.",
|
38
|
+
" %p foo" => "Indenting at the beginning of the document is illegal.",
|
39
|
+
"- end" => "You don't need to use \"- end\" in Haml. Use indentation instead:\n- if foo?\n %strong Foo!\n- else\n Not foo.",
|
40
|
+
" \n\t\n %p foo" => ["Indenting at the beginning of the document is illegal.", 3],
|
41
|
+
"\n\n %p foo" => ["Indenting at the beginning of the document is illegal.", 3],
|
42
|
+
"%p\n foo\n foo" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
43
|
+
"%p\n foo\n%p\n foo" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
44
|
+
"%p\n\t\tfoo\n\tfoo" => ["Inconsistent indentation: 1 tab was used for indentation, but the rest of the document was indented using 2 tabs.", 3],
|
45
|
+
"%p\n foo\n foo" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 3],
|
46
|
+
"%p\n foo\n %p\n bar" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 4],
|
47
|
+
"%p\n :plain\n bar\n \t baz" => ['Inconsistent indentation: " \t " was used for indentation, but the rest of the document was indented using 2 spaces.', 4],
|
48
|
+
"%p\n foo\n%p\n bar" => ["The line was indented 2 levels deeper than the previous line.", 4],
|
49
|
+
"%p\n foo\n %p\n bar" => ["The line was indented 3 levels deeper than the previous line.", 4],
|
50
|
+
"%p\n \tfoo" => ["Indentation can't use both tabs and spaces.", 2],
|
51
|
+
"%p(" => "Invalid attribute list: \"(\".",
|
52
|
+
"%p(foo=\nbar)" => ["Invalid attribute list: \"(foo=\".", 1],
|
53
|
+
"%p(foo=)" => "Invalid attribute list: \"(foo=)\".",
|
54
|
+
"%p(foo 'bar')" => "Invalid attribute list: \"(foo 'bar')\".",
|
55
|
+
"%p(foo 'bar'\nbaz='bang')" => ["Invalid attribute list: \"(foo 'bar'\".", 1],
|
56
|
+
"%p(foo='bar'\nbaz 'bang'\nbip='bop')" => ["Invalid attribute list: \"(foo='bar' baz 'bang'\".", 2],
|
57
|
+
"%p{:foo => 'bar' :bar => 'baz'}" => :compile,
|
58
|
+
"%p{:foo => }" => :compile,
|
59
|
+
"%p{=> 'bar'}" => :compile,
|
60
|
+
"%p{:foo => 'bar}" => :compile,
|
61
|
+
"%p{'foo => 'bar'}" => :compile,
|
62
|
+
"%p{:foo => 'bar\"}" => :compile,
|
63
|
+
|
64
|
+
# Regression tests
|
65
|
+
"- raise 'foo'\n\n\n\nbar" => ["foo", 1],
|
66
|
+
"= 'foo'\n-raise 'foo'" => ["foo", 2],
|
67
|
+
"\n\n\n- raise 'foo'" => ["foo", 4],
|
68
|
+
"%p foo |\n bar |\n baz |\nbop\n- raise 'foo'" => ["foo", 5],
|
69
|
+
"foo\n\n\n bar" => ["Illegal nesting: nesting within plain text is illegal.", 4],
|
70
|
+
"%p/\n\n bar" => ["Illegal nesting: nesting within a self-closing tag is illegal.", 3],
|
71
|
+
"%p foo\n\n bar" => ["Illegal nesting: content can't be both given on the same line as %p and nested within it.", 3],
|
72
|
+
"/ foo\n\n bar" => ["Illegal nesting: nesting within a tag that already has content is illegal.", 3],
|
73
|
+
"!!!\n\n bar" => ["Illegal nesting: nesting within a header command is illegal.", 3],
|
74
|
+
"foo\n:ruby\n 1\n 2\n 3\n- raise 'foo'" => ["foo", 6],
|
75
|
+
"= raise 'foo'\nfoo\nbar\nbaz\nbang" => ["foo", 1],
|
76
|
+
}
|
77
|
+
|
78
|
+
User = Struct.new('User', :id)
|
79
|
+
|
80
|
+
def render(text, options = {}, &block)
|
81
|
+
scope = options.delete(:scope) || Object.new
|
82
|
+
locals = options.delete(:locals) || {}
|
83
|
+
engine(text, options).to_html(scope, locals, &block)
|
84
|
+
end
|
85
|
+
|
86
|
+
def engine(text, options = {})
|
87
|
+
unless options[:filename]
|
88
|
+
# use caller method name as fake filename. useful for debugging
|
89
|
+
i = -1
|
90
|
+
caller[i+=1] =~ /`(.+?)'/ until $1 and $1.index('test_') == 0
|
91
|
+
options[:filename] = "(#{$1})"
|
92
|
+
end
|
93
|
+
Haml::Engine.new(text, options)
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_empty_render
|
97
|
+
assert_equal "", render("")
|
98
|
+
end
|
99
|
+
|
100
|
+
def test_flexible_tabulation
|
101
|
+
assert_equal("<p>\n foo\n</p>\n<q>\n bar\n <a>\n baz\n </a>\n</q>\n",
|
102
|
+
render("%p\n foo\n%q\n bar\n %a\n baz"))
|
103
|
+
assert_equal("<p>\n foo\n</p>\n<q>\n bar\n <a>\n baz\n </a>\n</q>\n",
|
104
|
+
render("%p\n\tfoo\n%q\n\tbar\n\t%a\n\t\tbaz"))
|
105
|
+
assert_equal("<p>\n \t \t bar\n baz\n</p>\n",
|
106
|
+
render("%p\n :plain\n \t \t bar\n baz"))
|
107
|
+
end
|
108
|
+
|
109
|
+
def test_empty_render_should_remain_empty
|
110
|
+
assert_equal('', render(''))
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_attributes_should_render_correctly
|
114
|
+
assert_equal("<div class='atlantis' style='ugly'></div>", render(".atlantis{:style => 'ugly'}").chomp)
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_css_id_as_attribute_should_be_appended_with_underscore
|
118
|
+
assert_equal("<div id='my_id_1'></div>", render("#my_id{:id => '1'}").chomp)
|
119
|
+
assert_equal("<div id='my_id_1'></div>", render("#my_id{:id => 1}").chomp)
|
120
|
+
end
|
121
|
+
|
122
|
+
def test_ruby_code_should_work_inside_attributes
|
123
|
+
author = 'hcatlin'
|
124
|
+
assert_equal("<p class='3'>foo</p>", render("%p{:class => 1+2} foo").chomp)
|
125
|
+
end
|
126
|
+
|
127
|
+
def test_dynamic_attributes_with_no_content
|
128
|
+
assert_equal(<<HTML, render(<<HAML))
|
129
|
+
<p>
|
130
|
+
<a href='http://haml-lang.com'></a>
|
131
|
+
</p>
|
132
|
+
HTML
|
133
|
+
%p
|
134
|
+
%a{:href => "http://" + "haml-lang.com"}
|
135
|
+
HAML
|
136
|
+
end
|
137
|
+
|
138
|
+
def test_nil_should_render_empty_tag
|
139
|
+
assert_equal("<div class='no_attributes'></div>",
|
140
|
+
render(".no_attributes{:nil => nil}").chomp)
|
141
|
+
end
|
142
|
+
|
143
|
+
def test_strings_should_get_stripped_inside_tags
|
144
|
+
assert_equal("<div class='stripped'>This should have no spaces in front of it</div>",
|
145
|
+
render(".stripped This should have no spaces in front of it").chomp)
|
146
|
+
end
|
147
|
+
|
148
|
+
def test_one_liner_should_be_one_line
|
149
|
+
assert_equal("<p>Hello</p>", render('%p Hello').chomp)
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_one_liner_with_newline_shouldnt_be_one_line
|
153
|
+
assert_equal("<p>\n foo\n bar\n</p>", render('%p= "foo\nbar"').chomp)
|
154
|
+
end
|
155
|
+
|
156
|
+
def test_multi_render
|
157
|
+
engine = engine("%strong Hi there!")
|
158
|
+
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
159
|
+
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
160
|
+
assert_equal("<strong>Hi there!</strong>\n", engine.to_html)
|
161
|
+
end
|
162
|
+
|
163
|
+
def test_interpolation
|
164
|
+
assert_equal("<p>Hello World</p>\n", render('%p Hello #{who}', :locals => {:who => 'World'}))
|
165
|
+
assert_equal("<p>\n Hello World\n</p>\n", render("%p\n Hello \#{who}", :locals => {:who => 'World'}))
|
166
|
+
end
|
167
|
+
|
168
|
+
def test_interpolation_in_the_middle_of_a_string
|
169
|
+
assert_equal("\"title 'Title'. \"\n",
|
170
|
+
render("\"title '\#{\"Title\"}'. \""))
|
171
|
+
end
|
172
|
+
|
173
|
+
def test_interpolation_at_the_beginning_of_a_line
|
174
|
+
assert_equal("<p>2</p>\n", render('%p #{1 + 1}'))
|
175
|
+
assert_equal("<p>\n 2\n</p>\n", render("%p\n \#{1 + 1}"))
|
176
|
+
end
|
177
|
+
|
178
|
+
def test_escaped_interpolation
|
179
|
+
assert_equal("<p>Foo & Bar & Baz</p>\n", render('%p& Foo #{"&"} Bar & Baz'))
|
180
|
+
end
|
181
|
+
|
182
|
+
def test_nil_tag_value_should_render_as_empty
|
183
|
+
assert_equal("<p></p>\n", render("%p= nil"))
|
184
|
+
end
|
185
|
+
|
186
|
+
def test_tag_with_failed_if_should_render_as_empty
|
187
|
+
assert_equal("<p></p>\n", render("%p= 'Hello' if false"))
|
188
|
+
end
|
189
|
+
|
190
|
+
def test_static_attributes_with_empty_attr
|
191
|
+
assert_equal("<img alt='' src='/foo.png' />\n", render("%img{:src => '/foo.png', :alt => ''}"))
|
192
|
+
end
|
193
|
+
|
194
|
+
def test_dynamic_attributes_with_empty_attr
|
195
|
+
assert_equal("<img alt='' src='/foo.png' />\n", render("%img{:width => nil, :src => '/foo.png', :alt => String.new}"))
|
196
|
+
end
|
197
|
+
|
198
|
+
def test_attribute_hash_with_newlines
|
199
|
+
assert_equal("<p a='b' c='d'>foop</p>\n", render("%p{:a => 'b',\n :c => 'd'} foop"))
|
200
|
+
assert_equal("<p a='b' c='d'>\n foop\n</p>\n", render("%p{:a => 'b',\n :c => 'd'}\n foop"))
|
201
|
+
assert_equal("<p a='b' c='d' />\n", render("%p{:a => 'b',\n :c => 'd'}/"))
|
202
|
+
assert_equal("<p a='b' c='d' e='f'></p>\n", render("%p{:a => 'b',\n :c => 'd',\n :e => 'f'}"))
|
203
|
+
end
|
204
|
+
|
205
|
+
def test_attr_hashes_not_modified
|
206
|
+
hash = {:color => 'red'}
|
207
|
+
assert_equal(<<HTML, render(<<HAML, :locals => {:hash => hash}))
|
208
|
+
<div color='red'></div>
|
209
|
+
<div class='special' color='red'></div>
|
210
|
+
<div color='red'></div>
|
211
|
+
HTML
|
212
|
+
%div{hash}
|
213
|
+
.special{hash}
|
214
|
+
%div{hash}
|
215
|
+
HAML
|
216
|
+
assert_equal(hash, {:color => 'red'})
|
217
|
+
end
|
218
|
+
|
219
|
+
def test_end_of_file_multiline
|
220
|
+
assert_equal("<p>0</p>\n<p>1</p>\n<p>2</p>\n", render("- for i in (0...3)\n %p= |\n i |"))
|
221
|
+
end
|
222
|
+
|
223
|
+
def test_cr_newline
|
224
|
+
assert_equal("<p>foo</p>\n<p>bar</p>\n<p>baz</p>\n<p>boom</p>\n", render("%p foo\r%p bar\r\n%p baz\n\r%p boom"))
|
225
|
+
end
|
226
|
+
|
227
|
+
def test_textareas
|
228
|
+
assert_equal("<textarea>Foo
 bar
 baz</textarea>\n",
|
229
|
+
render('%textarea= "Foo\n bar\n baz"'))
|
230
|
+
|
231
|
+
assert_equal("<pre>Foo
 bar
 baz</pre>\n",
|
232
|
+
render('%pre= "Foo\n bar\n baz"'))
|
233
|
+
|
234
|
+
assert_equal("<textarea>#{'a' * 100}</textarea>\n",
|
235
|
+
render("%textarea #{'a' * 100}"))
|
236
|
+
|
237
|
+
assert_equal("<p>\n <textarea>Foo\n Bar\n Baz</textarea>\n</p>\n", render(<<SOURCE))
|
238
|
+
%p
|
239
|
+
%textarea
|
240
|
+
Foo
|
241
|
+
Bar
|
242
|
+
Baz
|
243
|
+
SOURCE
|
244
|
+
end
|
245
|
+
|
246
|
+
def test_pre_code
|
247
|
+
assert_equal(<<HTML, render(<<HAML))
|
248
|
+
<pre><code>Foo
 bar
 baz</code></pre>
|
249
|
+
HTML
|
250
|
+
%pre
|
251
|
+
%code
|
252
|
+
:preserve
|
253
|
+
Foo
|
254
|
+
bar
|
255
|
+
baz
|
256
|
+
HAML
|
257
|
+
end
|
258
|
+
|
259
|
+
def test_boolean_attributes
|
260
|
+
assert_equal("<p bar baz='true' foo='bar'></p>\n",
|
261
|
+
render("%p{:foo => 'bar', :bar => true, :baz => 'true'}", :format => :html4))
|
262
|
+
assert_equal("<p bar='bar' baz='true' foo='bar'></p>\n",
|
263
|
+
render("%p{:foo => 'bar', :bar => true, :baz => 'true'}", :format => :xhtml))
|
264
|
+
|
265
|
+
assert_equal("<p baz='false' foo='bar'></p>\n",
|
266
|
+
render("%p{:foo => 'bar', :bar => false, :baz => 'false'}", :format => :html4))
|
267
|
+
assert_equal("<p baz='false' foo='bar'></p>\n",
|
268
|
+
render("%p{:foo => 'bar', :bar => false, :baz => 'false'}", :format => :xhtml))
|
269
|
+
end
|
270
|
+
|
271
|
+
def test_both_whitespace_nukes_work_together
|
272
|
+
assert_equal(<<RESULT, render(<<SOURCE))
|
273
|
+
<p><q>Foo
|
274
|
+
Bar</q></p>
|
275
|
+
RESULT
|
276
|
+
%p
|
277
|
+
%q><= "Foo\\nBar"
|
278
|
+
SOURCE
|
279
|
+
end
|
280
|
+
|
281
|
+
# Regression tests
|
282
|
+
|
283
|
+
def test_whitespace_nuke_with_both_newlines
|
284
|
+
assert_equal("<p>foo</p>\n", render('%p<= "\nfoo\n"'))
|
285
|
+
assert_equal(<<HTML, render(<<HAML))
|
286
|
+
<p>
|
287
|
+
<p>foo</p>
|
288
|
+
</p>
|
289
|
+
HTML
|
290
|
+
%p
|
291
|
+
%p<= "\\nfoo\\n"
|
292
|
+
HAML
|
293
|
+
end
|
294
|
+
|
295
|
+
def test_whitespace_nuke_with_tags_and_else
|
296
|
+
assert_equal(<<HTML, render(<<HAML))
|
297
|
+
<a>
|
298
|
+
<b>foo</b>
|
299
|
+
</a>
|
300
|
+
HTML
|
301
|
+
%a
|
302
|
+
%b<
|
303
|
+
- if false
|
304
|
+
= "foo"
|
305
|
+
- else
|
306
|
+
foo
|
307
|
+
HAML
|
308
|
+
|
309
|
+
assert_equal(<<HTML, render(<<HAML))
|
310
|
+
<a>
|
311
|
+
<b>
|
312
|
+
foo
|
313
|
+
</b>
|
314
|
+
</a>
|
315
|
+
HTML
|
316
|
+
%a
|
317
|
+
%b
|
318
|
+
- if false
|
319
|
+
= "foo"
|
320
|
+
- else
|
321
|
+
foo
|
322
|
+
HAML
|
323
|
+
end
|
324
|
+
|
325
|
+
def test_outer_whitespace_nuke_with_empty_script
|
326
|
+
assert_equal(<<HTML, render(<<HAML))
|
327
|
+
<p>
|
328
|
+
foo<a></a></p>
|
329
|
+
HTML
|
330
|
+
%p
|
331
|
+
foo
|
332
|
+
= " "
|
333
|
+
%a>
|
334
|
+
HAML
|
335
|
+
end
|
336
|
+
|
337
|
+
def test_both_case_indentation_work_with_deeply_nested_code
|
338
|
+
result = <<RESULT
|
339
|
+
<h2>
|
340
|
+
other
|
341
|
+
</h2>
|
342
|
+
RESULT
|
343
|
+
assert_equal(result, render(<<HAML))
|
344
|
+
- case 'other'
|
345
|
+
- when 'test'
|
346
|
+
%h2
|
347
|
+
hi
|
348
|
+
- when 'other'
|
349
|
+
%h2
|
350
|
+
other
|
351
|
+
HAML
|
352
|
+
assert_equal(result, render(<<HAML))
|
353
|
+
- case 'other'
|
354
|
+
- when 'test'
|
355
|
+
%h2
|
356
|
+
hi
|
357
|
+
- when 'other'
|
358
|
+
%h2
|
359
|
+
other
|
360
|
+
HAML
|
361
|
+
end
|
362
|
+
|
363
|
+
def test_equals_block_with_ugly
|
364
|
+
assert_equal("foo\n", render(<<HAML, :ugly => true))
|
365
|
+
= capture_haml do
|
366
|
+
foo
|
367
|
+
HAML
|
368
|
+
end
|
369
|
+
|
370
|
+
def test_plain_equals_with_ugly
|
371
|
+
assert_equal("foo\nbar\n", render(<<HAML, :ugly => true))
|
372
|
+
= "foo"
|
373
|
+
bar
|
374
|
+
HAML
|
375
|
+
end
|
376
|
+
|
377
|
+
def test_inline_if
|
378
|
+
assert_equal(<<HTML, render(<<HAML))
|
379
|
+
<p>One</p>
|
380
|
+
<p></p>
|
381
|
+
<p>Three</p>
|
382
|
+
HTML
|
383
|
+
- for name in ["One", "Two", "Three"]
|
384
|
+
%p= name unless name == "Two"
|
385
|
+
HAML
|
386
|
+
end
|
387
|
+
|
388
|
+
def test_end_with_method_call
|
389
|
+
assert_equal(<<HTML, render(<<HAML))
|
390
|
+
2|3|4
|
391
|
+
b-a-r
|
392
|
+
HTML
|
393
|
+
= [1, 2, 3].map do |i|
|
394
|
+
- i + 1
|
395
|
+
- end.join("|")
|
396
|
+
= "bar".gsub(/./) do |s|
|
397
|
+
- s + "-"
|
398
|
+
- end.gsub(/-$/) do |s|
|
399
|
+
- ''
|
400
|
+
HAML
|
401
|
+
end
|
402
|
+
|
403
|
+
def test_nested_end_with_method_call
|
404
|
+
assert_equal(<<HTML, render(<<HAML))
|
405
|
+
<p>
|
406
|
+
2|3|4
|
407
|
+
b-a-r
|
408
|
+
</p>
|
409
|
+
HTML
|
410
|
+
%p
|
411
|
+
= [1, 2, 3].map do |i|
|
412
|
+
- i + 1
|
413
|
+
- end.join("|")
|
414
|
+
= "bar".gsub(/./) do |s|
|
415
|
+
- s + "-"
|
416
|
+
- end.gsub(/-$/) do |s|
|
417
|
+
- ''
|
418
|
+
HAML
|
419
|
+
end
|
420
|
+
|
421
|
+
def test_silent_end_with_stuff
|
422
|
+
assert_equal(<<HTML, render(<<HAML))
|
423
|
+
e
|
424
|
+
d
|
425
|
+
c
|
426
|
+
b
|
427
|
+
a
|
428
|
+
HTML
|
429
|
+
- str = "abcde"
|
430
|
+
- if true
|
431
|
+
= str.slice!(-1).chr
|
432
|
+
- end until str.empty?
|
433
|
+
HAML
|
434
|
+
|
435
|
+
assert_equal(<<HTML, render(<<HAML))
|
436
|
+
<p>hi!</p>
|
437
|
+
HTML
|
438
|
+
- if true
|
439
|
+
%p hi!
|
440
|
+
- end if "foo".gsub(/f/) do
|
441
|
+
- "z"
|
442
|
+
- end + "bar"
|
443
|
+
HAML
|
444
|
+
end
|
445
|
+
|
446
|
+
def test_multiline_with_colon_after_filter
|
447
|
+
assert_equal(<<HTML, render(<<HAML))
|
448
|
+
Foo
|
449
|
+
Bar
|
450
|
+
HTML
|
451
|
+
:plain
|
452
|
+
Foo
|
453
|
+
= { :a => "Bar", |
|
454
|
+
:b => "Baz" }[:a] |
|
455
|
+
HAML
|
456
|
+
assert_equal(<<HTML, render(<<HAML))
|
457
|
+
|
458
|
+
Bar
|
459
|
+
HTML
|
460
|
+
:plain
|
461
|
+
= { :a => "Bar", |
|
462
|
+
:b => "Baz" }[:a] |
|
463
|
+
HAML
|
464
|
+
end
|
465
|
+
|
466
|
+
def test_multiline_in_filter
|
467
|
+
assert_equal(<<HTML, render(<<HAML))
|
468
|
+
Foo |
|
469
|
+
Bar |
|
470
|
+
Baz
|
471
|
+
HTML
|
472
|
+
:plain
|
473
|
+
Foo |
|
474
|
+
Bar |
|
475
|
+
Baz
|
476
|
+
HAML
|
477
|
+
end
|
478
|
+
|
479
|
+
def test_curly_brace
|
480
|
+
assert_equal(<<HTML, render(<<HAML))
|
481
|
+
Foo { Bar
|
482
|
+
HTML
|
483
|
+
== Foo { Bar
|
484
|
+
HAML
|
485
|
+
end
|
486
|
+
|
487
|
+
def test_escape_html
|
488
|
+
html = <<HTML
|
489
|
+
&
|
490
|
+
&
|
491
|
+
&
|
492
|
+
HTML
|
493
|
+
|
494
|
+
assert_equal(html, render(<<HAML, :escape_html => true))
|
495
|
+
&= "&"
|
496
|
+
!= "&"
|
497
|
+
= "&"
|
498
|
+
HAML
|
499
|
+
|
500
|
+
assert_equal(html, render(<<HAML, :escape_html => true))
|
501
|
+
&~ "&"
|
502
|
+
!~ "&"
|
503
|
+
~ "&"
|
504
|
+
HAML
|
505
|
+
|
506
|
+
assert_equal(html, render(<<HAML, :escape_html => true))
|
507
|
+
& \#{"&"}
|
508
|
+
! \#{"&"}
|
509
|
+
\#{"&"}
|
510
|
+
HAML
|
511
|
+
|
512
|
+
assert_equal(html, render(<<HAML, :escape_html => true))
|
513
|
+
&== \#{"&"}
|
514
|
+
!== \#{"&"}
|
515
|
+
== \#{"&"}
|
516
|
+
HAML
|
517
|
+
|
518
|
+
tag_html = <<HTML
|
519
|
+
<p>&</p>
|
520
|
+
<p>&</p>
|
521
|
+
<p>&</p>
|
522
|
+
HTML
|
523
|
+
|
524
|
+
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
525
|
+
%p&= "&"
|
526
|
+
%p!= "&"
|
527
|
+
%p= "&"
|
528
|
+
HAML
|
529
|
+
|
530
|
+
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
531
|
+
%p&~ "&"
|
532
|
+
%p!~ "&"
|
533
|
+
%p~ "&"
|
534
|
+
HAML
|
535
|
+
|
536
|
+
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
537
|
+
%p& \#{"&"}
|
538
|
+
%p! \#{"&"}
|
539
|
+
%p \#{"&"}
|
540
|
+
HAML
|
541
|
+
|
542
|
+
assert_equal(tag_html, render(<<HAML, :escape_html => true))
|
543
|
+
%p&== \#{"&"}
|
544
|
+
%p!== \#{"&"}
|
545
|
+
%p== \#{"&"}
|
546
|
+
HAML
|
547
|
+
end
|
548
|
+
|
549
|
+
def test_new_attrs_with_hash
|
550
|
+
assert_equal("<a href='#'></a>\n", render('%a(href="#")'))
|
551
|
+
end
|
552
|
+
|
553
|
+
def test_javascript_filter_with_dynamic_interp_and_escape_html
|
554
|
+
assert_equal(<<HTML, render(<<HAML, :escape_html => true))
|
555
|
+
<script type='text/javascript'>
|
556
|
+
//<![CDATA[
|
557
|
+
& < > &
|
558
|
+
//]]>
|
559
|
+
</script>
|
560
|
+
HTML
|
561
|
+
:javascript
|
562
|
+
& < > \#{"&"}
|
563
|
+
HAML
|
564
|
+
end
|
565
|
+
|
566
|
+
def test_silent_script_with_hyphen_case
|
567
|
+
assert_equal("", render("- 'foo-case-bar-case'"))
|
568
|
+
end
|
569
|
+
|
570
|
+
def test_silent_script_with_hyphen_end
|
571
|
+
assert_equal("", render("- 'foo-end-bar-end'"))
|
572
|
+
end
|
573
|
+
|
574
|
+
def test_silent_script_with_hyphen_end_and_block
|
575
|
+
assert_equal(<<HTML, render(<<HAML))
|
576
|
+
<p>foo-end</p>
|
577
|
+
<p>bar-end</p>
|
578
|
+
HTML
|
579
|
+
- "foo-end-bar-end".gsub(/\\w+-end/) do |s|
|
580
|
+
%p= s
|
581
|
+
HAML
|
582
|
+
end
|
583
|
+
|
584
|
+
# HTML escaping tests
|
585
|
+
|
586
|
+
def test_ampersand_equals_should_escape
|
587
|
+
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n &= 'foo & bar'", :escape_html => false))
|
588
|
+
end
|
589
|
+
|
590
|
+
def test_ampersand_equals_inline_should_escape
|
591
|
+
assert_equal("<p>foo & bar</p>\n", render("%p&= 'foo & bar'", :escape_html => false))
|
592
|
+
end
|
593
|
+
|
594
|
+
def test_ampersand_equals_should_escape_before_preserve
|
595
|
+
assert_equal("<textarea>foo
bar</textarea>\n", render('%textarea&= "foo\nbar"', :escape_html => false))
|
596
|
+
end
|
597
|
+
|
598
|
+
def test_bang_equals_should_not_escape
|
599
|
+
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n != 'foo & bar'", :escape_html => true))
|
600
|
+
end
|
601
|
+
|
602
|
+
def test_bang_equals_inline_should_not_escape
|
603
|
+
assert_equal("<p>foo & bar</p>\n", render("%p!= 'foo & bar'", :escape_html => true))
|
604
|
+
end
|
605
|
+
|
606
|
+
def test_static_attributes_should_be_escaped
|
607
|
+
assert_equal("<img class='atlantis' style='ugly&stupid' />\n",
|
608
|
+
render("%img.atlantis{:style => 'ugly&stupid'}"))
|
609
|
+
assert_equal("<div class='atlantis' style='ugly&stupid'>foo</div>\n",
|
610
|
+
render(".atlantis{:style => 'ugly&stupid'} foo"))
|
611
|
+
assert_equal("<p class='atlantis' style='ugly&stupid'>foo</p>\n",
|
612
|
+
render("%p.atlantis{:style => 'ugly&stupid'}= 'foo'"))
|
613
|
+
assert_equal("<p class='atlantis' style='ugly
stupid'></p>\n",
|
614
|
+
render("%p.atlantis{:style => \"ugly\\nstupid\"}"))
|
615
|
+
end
|
616
|
+
|
617
|
+
def test_dynamic_attributes_should_be_escaped
|
618
|
+
assert_equal("<img alt='' src='&foo.png' />\n",
|
619
|
+
render("%img{:width => nil, :src => '&foo.png', :alt => String.new}"))
|
620
|
+
assert_equal("<p alt='' src='&foo.png'>foo</p>\n",
|
621
|
+
render("%p{:width => nil, :src => '&foo.png', :alt => String.new} foo"))
|
622
|
+
assert_equal("<div alt='' src='&foo.png'>foo</div>\n",
|
623
|
+
render("%div{:width => nil, :src => '&foo.png', :alt => String.new}= 'foo'"))
|
624
|
+
assert_equal("<img alt='' src='foo
.png' />\n",
|
625
|
+
render("%img{:width => nil, :src => \"foo\\n.png\", :alt => String.new}"))
|
626
|
+
end
|
627
|
+
|
628
|
+
def test_string_double_equals_should_be_esaped
|
629
|
+
assert_equal("<p>4&<</p>\n", render("%p== \#{2+2}&\#{'<'}", :escape_html => true))
|
630
|
+
assert_equal("<p>4&<</p>\n", render("%p== \#{2+2}&\#{'<'}", :escape_html => false))
|
631
|
+
end
|
632
|
+
|
633
|
+
def test_escaped_inline_string_double_equals
|
634
|
+
assert_equal("<p>4&<</p>\n", render("%p&== \#{2+2}&\#{'<'}", :escape_html => true))
|
635
|
+
assert_equal("<p>4&<</p>\n", render("%p&== \#{2+2}&\#{'<'}", :escape_html => false))
|
636
|
+
end
|
637
|
+
|
638
|
+
def test_unescaped_inline_string_double_equals
|
639
|
+
assert_equal("<p>4&<</p>\n", render("%p!== \#{2+2}&\#{'<'}", :escape_html => true))
|
640
|
+
assert_equal("<p>4&<</p>\n", render("%p!== \#{2+2}&\#{'<'}", :escape_html => false))
|
641
|
+
end
|
642
|
+
|
643
|
+
def test_escaped_string_double_equals
|
644
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n &== \#{2+2}&\#{'<'}", :escape_html => true))
|
645
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n &== \#{2+2}&\#{'<'}", :escape_html => false))
|
646
|
+
end
|
647
|
+
|
648
|
+
def test_unescaped_string_double_equals
|
649
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n !== \#{2+2}&\#{'<'}", :escape_html => true))
|
650
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n !== \#{2+2}&\#{'<'}", :escape_html => false))
|
651
|
+
end
|
652
|
+
|
653
|
+
def test_string_interpolation_should_be_esaped
|
654
|
+
assert_equal("<p>4&<</p>\n", render("%p \#{2+2}&\#{'<'}", :escape_html => true))
|
655
|
+
assert_equal("<p>4&<</p>\n", render("%p \#{2+2}&\#{'<'}", :escape_html => false))
|
656
|
+
end
|
657
|
+
|
658
|
+
def test_escaped_inline_string_interpolation
|
659
|
+
assert_equal("<p>4&<</p>\n", render("%p& \#{2+2}&\#{'<'}", :escape_html => true))
|
660
|
+
assert_equal("<p>4&<</p>\n", render("%p& \#{2+2}&\#{'<'}", :escape_html => false))
|
661
|
+
end
|
662
|
+
|
663
|
+
def test_unescaped_inline_string_interpolation
|
664
|
+
assert_equal("<p>4&<</p>\n", render("%p! \#{2+2}&\#{'<'}", :escape_html => true))
|
665
|
+
assert_equal("<p>4&<</p>\n", render("%p! \#{2+2}&\#{'<'}", :escape_html => false))
|
666
|
+
end
|
667
|
+
|
668
|
+
def test_escaped_string_interpolation
|
669
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n & \#{2+2}&\#{'<'}", :escape_html => true))
|
670
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n & \#{2+2}&\#{'<'}", :escape_html => false))
|
671
|
+
end
|
672
|
+
|
673
|
+
def test_unescaped_string_interpolation
|
674
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n ! \#{2+2}&\#{'<'}", :escape_html => true))
|
675
|
+
assert_equal("<p>\n 4&<\n</p>\n", render("%p\n ! \#{2+2}&\#{'<'}", :escape_html => false))
|
676
|
+
end
|
677
|
+
|
678
|
+
def test_scripts_should_respect_escape_html_option
|
679
|
+
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n = 'foo & bar'", :escape_html => true))
|
680
|
+
assert_equal("<p>\n foo & bar\n</p>\n", render("%p\n = 'foo & bar'", :escape_html => false))
|
681
|
+
end
|
682
|
+
|
683
|
+
def test_inline_scripts_should_respect_escape_html_option
|
684
|
+
assert_equal("<p>foo & bar</p>\n", render("%p= 'foo & bar'", :escape_html => true))
|
685
|
+
assert_equal("<p>foo & bar</p>\n", render("%p= 'foo & bar'", :escape_html => false))
|
686
|
+
end
|
687
|
+
|
688
|
+
def test_script_ending_in_comment_should_render_when_html_is_escaped
|
689
|
+
assert_equal("foo&bar\n", render("= 'foo&bar' #comment", :escape_html => true))
|
690
|
+
end
|
691
|
+
|
692
|
+
def test_script_with_if_shouldnt_output
|
693
|
+
assert_equal(<<HTML, render(<<HAML))
|
694
|
+
<p>foo</p>
|
695
|
+
<p></p>
|
696
|
+
HTML
|
697
|
+
%p= "foo"
|
698
|
+
%p= "bar" if false
|
699
|
+
HAML
|
700
|
+
end
|
701
|
+
|
702
|
+
# Options tests
|
703
|
+
|
704
|
+
def test_filename_and_line
|
705
|
+
begin
|
706
|
+
render("\n\n = abc", :filename => 'test', :line => 2)
|
707
|
+
rescue Exception => e
|
708
|
+
assert_kind_of Haml::SyntaxError, e
|
709
|
+
assert_match(/test:4/, e.backtrace.first)
|
710
|
+
end
|
711
|
+
|
712
|
+
begin
|
713
|
+
render("\n\n= 123\n\n= nil[]", :filename => 'test', :line => 2)
|
714
|
+
rescue Exception => e
|
715
|
+
assert_kind_of NoMethodError, e
|
716
|
+
assert_match(/test:6/, e.backtrace.first)
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
def test_stop_eval
|
721
|
+
assert_equal("", render("= 'Hello'", :suppress_eval => true))
|
722
|
+
assert_equal("", render("- haml_concat 'foo'", :suppress_eval => true))
|
723
|
+
assert_equal("<div id='foo' yes='no' />\n", render("#foo{:yes => 'no'}/", :suppress_eval => true))
|
724
|
+
assert_equal("<div id='foo' />\n", render("#foo{:yes => 'no', :call => a_function() }/", :suppress_eval => true))
|
725
|
+
assert_equal("<div />\n", render("%div[1]/", :suppress_eval => true))
|
726
|
+
assert_equal("", render(":ruby\n Kernel.puts 'hello'", :suppress_eval => true))
|
727
|
+
end
|
728
|
+
|
729
|
+
def test_doctypes
|
730
|
+
assert_equal('<!DOCTYPE html>',
|
731
|
+
render('!!!', :format => :html5).strip)
|
732
|
+
assert_equal('<!DOCTYPE html>', render('!!! 5').strip)
|
733
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
734
|
+
render('!!! strict').strip)
|
735
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
736
|
+
render('!!! frameset').strip)
|
737
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">',
|
738
|
+
render('!!! mobile').strip)
|
739
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',
|
740
|
+
render('!!! basic').strip)
|
741
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
742
|
+
render('!!! transitional').strip)
|
743
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
744
|
+
render('!!!').strip)
|
745
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
746
|
+
render('!!! strict', :format => :html4).strip)
|
747
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">',
|
748
|
+
render('!!! frameset', :format => :html4).strip)
|
749
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
750
|
+
render('!!! transitional', :format => :html4).strip)
|
751
|
+
assert_equal('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
752
|
+
render('!!!', :format => :html4).strip)
|
753
|
+
end
|
754
|
+
|
755
|
+
def test_attr_wrapper
|
756
|
+
assert_equal("<p strange=*attrs*></p>\n", render("%p{ :strange => 'attrs'}", :attr_wrapper => '*'))
|
757
|
+
assert_equal("<p escaped='quo\"te'></p>\n", render("%p{ :escaped => 'quo\"te'}", :attr_wrapper => '"'))
|
758
|
+
assert_equal("<p escaped=\"quo'te\"></p>\n", render("%p{ :escaped => 'quo\\'te'}", :attr_wrapper => '"'))
|
759
|
+
assert_equal("<p escaped=\"q'uo"te\"></p>\n", render("%p{ :escaped => 'q\\'uo\"te'}", :attr_wrapper => '"'))
|
760
|
+
assert_equal("<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n", render("!!! XML", :attr_wrapper => '"'))
|
761
|
+
end
|
762
|
+
|
763
|
+
def test_attrs_parsed_correctly
|
764
|
+
assert_equal("<p boom=>biddly='bar => baz'></p>\n", render("%p{'boom=>biddly' => 'bar => baz'}"))
|
765
|
+
assert_equal("<p foo,bar='baz, qux'></p>\n", render("%p{'foo,bar' => 'baz, qux'}"))
|
766
|
+
assert_equal("<p escaped='quo
te'></p>\n", render("%p{ :escaped => \"quo\\nte\"}"))
|
767
|
+
assert_equal("<p escaped='quo4te'></p>\n", render("%p{ :escaped => \"quo\#{2 + 2}te\"}"))
|
768
|
+
end
|
769
|
+
|
770
|
+
def test_correct_parsing_with_brackets
|
771
|
+
assert_equal("<p class='foo'>{tada} foo</p>\n", render("%p{:class => 'foo'} {tada} foo"))
|
772
|
+
assert_equal("<p class='foo'>deep {nested { things }}</p>\n", render("%p{:class => 'foo'} deep {nested { things }}"))
|
773
|
+
assert_equal("<p class='bar foo'>{a { d</p>\n", render("%p{{:class => 'foo'}, :class => 'bar'} {a { d"))
|
774
|
+
assert_equal("<p foo='bar'>a}</p>\n", render("%p{:foo => 'bar'} a}"))
|
775
|
+
|
776
|
+
foo = []
|
777
|
+
foo[0] = Struct.new('Foo', :id).new
|
778
|
+
assert_equal("<p class='struct_foo' id='struct_foo_new'>New User]</p>\n",
|
779
|
+
render("%p[foo[0]] New User]", :locals => {:foo => foo}))
|
780
|
+
assert_equal("<p class='prefix_struct_foo' id='prefix_struct_foo_new'>New User]</p>\n",
|
781
|
+
render("%p[foo[0], :prefix] New User]", :locals => {:foo => foo}))
|
782
|
+
|
783
|
+
foo[0].id = 1
|
784
|
+
assert_equal("<p class='struct_foo' id='struct_foo_1'>New User]</p>\n",
|
785
|
+
render("%p[foo[0]] New User]", :locals => {:foo => foo}))
|
786
|
+
assert_equal("<p class='prefix_struct_foo' id='prefix_struct_foo_1'>New User]</p>\n",
|
787
|
+
render("%p[foo[0], :prefix] New User]", :locals => {:foo => foo}))
|
788
|
+
end
|
789
|
+
|
790
|
+
def test_empty_attrs
|
791
|
+
assert_equal("<p attr=''>empty</p>\n", render("%p{ :attr => '' } empty"))
|
792
|
+
assert_equal("<p attr=''>empty</p>\n", render("%p{ :attr => x } empty", :locals => {:x => ''}))
|
793
|
+
end
|
794
|
+
|
795
|
+
def test_nil_attrs
|
796
|
+
assert_equal("<p>nil</p>\n", render("%p{ :attr => nil } nil"))
|
797
|
+
assert_equal("<p>nil</p>\n", render("%p{ :attr => x } nil", :locals => {:x => nil}))
|
798
|
+
end
|
799
|
+
|
800
|
+
def test_nil_id_with_syntactic_id
|
801
|
+
assert_equal("<p id='foo'>nil</p>\n", render("%p#foo{:id => nil} nil"))
|
802
|
+
assert_equal("<p id='foo_bar'>nil</p>\n", render("%p#foo{{:id => 'bar'}, :id => nil} nil"))
|
803
|
+
assert_equal("<p id='foo_bar'>nil</p>\n", render("%p#foo{{:id => nil}, :id => 'bar'} nil"))
|
804
|
+
end
|
805
|
+
|
806
|
+
def test_nil_class_with_syntactic_class
|
807
|
+
assert_equal("<p class='foo'>nil</p>\n", render("%p.foo{:class => nil} nil"))
|
808
|
+
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.bar.foo{:class => nil} nil"))
|
809
|
+
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.foo{{:class => 'bar'}, :class => nil} nil"))
|
810
|
+
assert_equal("<p class='bar foo'>nil</p>\n", render("%p.foo{{:class => nil}, :class => 'bar'} nil"))
|
811
|
+
end
|
812
|
+
|
813
|
+
def test_locals
|
814
|
+
assert_equal("<p>Paragraph!</p>\n", render("%p= text", :locals => { :text => "Paragraph!" }))
|
815
|
+
end
|
816
|
+
|
817
|
+
def test_dynamic_attrs_shouldnt_register_as_literal_values
|
818
|
+
assert_equal("<p a='b2c'></p>\n", render('%p{:a => "b#{1 + 1}c"}'))
|
819
|
+
assert_equal("<p a='b2c'></p>\n", render("%p{:a => 'b' + (1 + 1).to_s + 'c'}"))
|
820
|
+
end
|
821
|
+
|
822
|
+
def test_dynamic_attrs_with_self_closed_tag
|
823
|
+
assert_equal("<a b='2' />\nc\n", render("%a{'b' => 1 + 1}/\n= 'c'\n"))
|
824
|
+
end
|
825
|
+
|
826
|
+
EXCEPTION_MAP.each do |key, value|
|
827
|
+
define_method("test_exception (#{key.inspect})") do
|
828
|
+
begin
|
829
|
+
render(key, :filename => __FILE__)
|
830
|
+
rescue Exception => err
|
831
|
+
value = [value] unless value.is_a?(Array)
|
832
|
+
expected_message, line_no = value
|
833
|
+
line_no ||= key.split("\n").length
|
834
|
+
|
835
|
+
if expected_message == :compile
|
836
|
+
if Haml::Util.ruby1_8?
|
837
|
+
assert_match(/^compile error\n/, err.message, "Line: #{key}")
|
838
|
+
else
|
839
|
+
assert_match(/^#{Regexp.quote __FILE__}:#{line_no}: syntax error,/, err.message, "Line: #{key}")
|
840
|
+
end
|
841
|
+
else
|
842
|
+
assert_equal(expected_message, err.message, "Line: #{key}")
|
843
|
+
end
|
844
|
+
|
845
|
+
if Haml::Util.ruby1_8?
|
846
|
+
assert_match(/^#{Regexp.escape(__FILE__)}:#{line_no}/, err.backtrace[0], "Line: #{key}")
|
847
|
+
end
|
848
|
+
else
|
849
|
+
assert(false, "Exception not raised for\n#{key}")
|
850
|
+
end
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
def test_exception_line
|
855
|
+
render("a\nb\n!!!\n c\nd")
|
856
|
+
rescue Haml::SyntaxError => e
|
857
|
+
assert_equal("(test_exception_line):4", e.backtrace[0])
|
858
|
+
else
|
859
|
+
assert(false, '"a\nb\n!!!\n c\nd" doesn\'t produce an exception')
|
860
|
+
end
|
861
|
+
|
862
|
+
def test_exception
|
863
|
+
render("%p\n hi\n %a= undefined\n= 12")
|
864
|
+
rescue Exception => e
|
865
|
+
assert_match("(test_exception):3", e.backtrace[0])
|
866
|
+
else
|
867
|
+
# Test failed... should have raised an exception
|
868
|
+
assert(false)
|
869
|
+
end
|
870
|
+
|
871
|
+
def test_compile_error
|
872
|
+
render("a\nb\n- fee)\nc")
|
873
|
+
rescue Exception => e
|
874
|
+
assert_match(/\(test_compile_error\):3: syntax error/i, e.message)
|
875
|
+
else
|
876
|
+
assert(false,
|
877
|
+
'"a\nb\n- fee)\nc" doesn\'t produce an exception!')
|
878
|
+
end
|
879
|
+
|
880
|
+
def test_unbalanced_brackets
|
881
|
+
render('foo #{1 + 5} foo #{6 + 7 bar #{8 + 9}')
|
882
|
+
rescue Haml::SyntaxError => e
|
883
|
+
assert_equal("Unbalanced brackets.", e.message)
|
884
|
+
end
|
885
|
+
|
886
|
+
def test_balanced_conditional_comments
|
887
|
+
assert_equal("<!--[if !(IE 6)|(IE 7)]> Bracket: ] <![endif]-->\n",
|
888
|
+
render("/[if !(IE 6)|(IE 7)] Bracket: ]"))
|
889
|
+
end
|
890
|
+
|
891
|
+
def test_empty_filter
|
892
|
+
assert_equal(<<END, render(':javascript'))
|
893
|
+
<script type='text/javascript'>
|
894
|
+
//<![CDATA[
|
895
|
+
|
896
|
+
//]]>
|
897
|
+
</script>
|
898
|
+
END
|
899
|
+
end
|
900
|
+
|
901
|
+
def test_ugly_filter
|
902
|
+
assert_equal(<<END, render(":sass\n #foo\n bar: baz", :ugly => true))
|
903
|
+
#foo {
|
904
|
+
bar: baz; }
|
905
|
+
END
|
906
|
+
end
|
907
|
+
|
908
|
+
def test_local_assigns_dont_modify_class
|
909
|
+
assert_equal("bar\n", render("= foo", :locals => {:foo => 'bar'}))
|
910
|
+
assert_equal(nil, defined?(foo))
|
911
|
+
end
|
912
|
+
|
913
|
+
def test_object_ref_with_nil_id
|
914
|
+
user = User.new
|
915
|
+
assert_equal("<p class='struct_user' id='struct_user_new'>New User</p>\n",
|
916
|
+
render("%p[user] New User", :locals => {:user => user}))
|
917
|
+
end
|
918
|
+
|
919
|
+
def test_object_ref_before_attrs
|
920
|
+
user = User.new 42
|
921
|
+
assert_equal("<p class='struct_user' id='struct_user_42' style='width: 100px;'>New User</p>\n",
|
922
|
+
render("%p[user]{:style => 'width: 100px;'} New User", :locals => {:user => user}))
|
923
|
+
end
|
924
|
+
|
925
|
+
def test_non_literal_attributes
|
926
|
+
assert_equal("<p a1='foo' a2='bar' a3='baz' />\n",
|
927
|
+
render("%p{a2, a1, :a3 => 'baz'}/",
|
928
|
+
:locals => {:a1 => {:a1 => 'foo'}, :a2 => {:a2 => 'bar'}}))
|
929
|
+
end
|
930
|
+
|
931
|
+
def test_render_should_accept_a_binding_as_scope
|
932
|
+
string = "This is a string!"
|
933
|
+
string.instance_variable_set("@var", "Instance variable")
|
934
|
+
b = string.instance_eval do
|
935
|
+
var = "Local variable"
|
936
|
+
binding
|
937
|
+
end
|
938
|
+
|
939
|
+
assert_equal("<p>THIS IS A STRING!</p>\n<p>Instance variable</p>\n<p>Local variable</p>\n",
|
940
|
+
render("%p= upcase\n%p= @var\n%p= var", :scope => b))
|
941
|
+
end
|
942
|
+
|
943
|
+
def test_yield_should_work_with_binding
|
944
|
+
assert_equal("12\nFOO\n", render("= yield\n= upcase", :scope => "foo".instance_eval{binding}) { 12 })
|
945
|
+
end
|
946
|
+
|
947
|
+
def test_yield_should_work_with_def_method
|
948
|
+
s = "foo"
|
949
|
+
engine("= yield\n= upcase").def_method(s, :render)
|
950
|
+
assert_equal("12\nFOO\n", s.render { 12 })
|
951
|
+
end
|
952
|
+
|
953
|
+
def test_def_method_with_module
|
954
|
+
engine("= yield\n= upcase").def_method(String, :render_haml)
|
955
|
+
assert_equal("12\nFOO\n", "foo".render_haml { 12 })
|
956
|
+
end
|
957
|
+
|
958
|
+
def test_def_method_locals
|
959
|
+
obj = Object.new
|
960
|
+
engine("%p= foo\n.bar{:baz => baz}= boom").def_method(obj, :render, :foo, :baz, :boom)
|
961
|
+
assert_equal("<p>1</p>\n<div baz='2' class='bar'>3</div>\n", obj.render(:foo => 1, :baz => 2, :boom => 3))
|
962
|
+
end
|
963
|
+
|
964
|
+
def test_render_proc_locals
|
965
|
+
proc = engine("%p= foo\n.bar{:baz => baz}= boom").render_proc(Object.new, :foo, :baz, :boom)
|
966
|
+
assert_equal("<p>1</p>\n<div baz='2' class='bar'>3</div>\n", proc[:foo => 1, :baz => 2, :boom => 3])
|
967
|
+
end
|
968
|
+
|
969
|
+
def test_render_proc_with_binding
|
970
|
+
assert_equal("FOO\n", engine("= upcase").render_proc("foo".instance_eval{binding}).call)
|
971
|
+
end
|
972
|
+
|
973
|
+
def test_haml_buffer_gets_reset_even_with_exception
|
974
|
+
scope = Object.new
|
975
|
+
render("- raise Haml::Error", :scope => scope)
|
976
|
+
assert(false, "Expected exception")
|
977
|
+
rescue Exception
|
978
|
+
assert_nil(scope.send(:haml_buffer))
|
979
|
+
end
|
980
|
+
|
981
|
+
def test_def_method_haml_buffer_gets_reset_even_with_exception
|
982
|
+
scope = Object.new
|
983
|
+
engine("- raise Haml::Error").def_method(scope, :render)
|
984
|
+
scope.render
|
985
|
+
assert(false, "Expected exception")
|
986
|
+
rescue Exception
|
987
|
+
assert_nil(scope.send(:haml_buffer))
|
988
|
+
end
|
989
|
+
|
990
|
+
def test_render_proc_haml_buffer_gets_reset_even_with_exception
|
991
|
+
scope = Object.new
|
992
|
+
proc = engine("- raise Haml::Error").render_proc(scope)
|
993
|
+
proc.call
|
994
|
+
assert(false, "Expected exception")
|
995
|
+
rescue Exception
|
996
|
+
assert_nil(scope.send(:haml_buffer))
|
997
|
+
end
|
998
|
+
|
999
|
+
def test_ugly_true
|
1000
|
+
assert_equal("<div id='outer'>\n<div id='inner'>\n<p>hello world</p>\n</div>\n</div>\n",
|
1001
|
+
render("#outer\n #inner\n %p hello world", :ugly => true))
|
1002
|
+
|
1003
|
+
assert_equal("<p>#{'s' * 75}</p>\n",
|
1004
|
+
render("%p #{'s' * 75}", :ugly => true))
|
1005
|
+
|
1006
|
+
assert_equal("<p>#{'s' * 75}</p>\n",
|
1007
|
+
render("%p= 's' * 75", :ugly => true))
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def test_auto_preserve_unless_ugly
|
1011
|
+
assert_equal("<pre>foo
bar</pre>\n", render('%pre="foo\nbar"'))
|
1012
|
+
assert_equal("<pre>foo\nbar</pre>\n", render("%pre\n foo\n bar"))
|
1013
|
+
assert_equal("<pre>foo\nbar</pre>\n", render('%pre="foo\nbar"', :ugly => true))
|
1014
|
+
assert_equal("<pre>foo\nbar</pre>\n", render("%pre\n foo\n bar", :ugly => true))
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
def test_xhtml_output_option
|
1018
|
+
assert_equal "<p>\n <br />\n</p>\n", render("%p\n %br", :format => :xhtml)
|
1019
|
+
assert_equal "<a />\n", render("%a/", :format => :xhtml)
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
def test_arbitrary_output_option
|
1023
|
+
assert_raise(Haml::Error, "Invalid output format :html1") { engine("%br", :format => :html1) }
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
def test_static_hashes
|
1027
|
+
assert_equal("<a b='a => b'></a>\n", render("%a{:b => 'a => b'}", :suppress_eval => true))
|
1028
|
+
assert_equal("<a b='a, b'></a>\n", render("%a{:b => 'a, b'}", :suppress_eval => true))
|
1029
|
+
assert_equal("<a b='a\tb'></a>\n", render('%a{:b => "a\tb"}', :suppress_eval => true))
|
1030
|
+
assert_equal("<a b='a\#{foo}b'></a>\n", render('%a{:b => "a\\#{foo}b"}', :suppress_eval => true))
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
def test_dynamic_hashes_with_suppress_eval
|
1034
|
+
assert_equal("<a></a>\n", render('%a{:b => "a #{1 + 1} b", :c => "d"}', :suppress_eval => true))
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
def test_utf8_attrs
|
1038
|
+
assert_equal("<a href='héllo'></a>\n", render("%a{:href => 'héllo'}"))
|
1039
|
+
assert_equal("<a href='héllo'></a>\n", render("%a(href='héllo')"))
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# HTML 4.0
|
1043
|
+
|
1044
|
+
def test_html_has_no_self_closing_tags
|
1045
|
+
assert_equal "<p>\n <br>\n</p>\n", render("%p\n %br", :format => :html4)
|
1046
|
+
assert_equal "<br>\n", render("%br/", :format => :html4)
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
def test_html_renders_empty_node_with_closing_tag
|
1050
|
+
assert_equal "<div class='foo'></div>\n", render(".foo", :format => :html4)
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
def test_html_doesnt_add_slash_to_self_closing_tags
|
1054
|
+
assert_equal "<a>\n", render("%a/", :format => :html4)
|
1055
|
+
assert_equal "<a foo='2'>\n", render("%a{:foo => 1 + 1}/", :format => :html4)
|
1056
|
+
assert_equal "<meta>\n", render("%meta", :format => :html4)
|
1057
|
+
assert_equal "<meta foo='2'>\n", render("%meta{:foo => 1 + 1}", :format => :html4)
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
def test_html_ignores_xml_prolog_declaration
|
1061
|
+
assert_equal "", render('!!! XML', :format => :html4)
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def test_html_has_different_doctype
|
1065
|
+
assert_equal %{<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n},
|
1066
|
+
render('!!!', :format => :html4)
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# because anything before the doctype triggers quirks mode in IE
|
1070
|
+
def test_xml_prolog_and_doctype_dont_result_in_a_leading_whitespace_in_html
|
1071
|
+
assert_no_match(/^\s+/, render("!!! xml\n!!!", :format => :html4))
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
# HTML5
|
1075
|
+
def test_html5_doctype
|
1076
|
+
assert_equal %{<!DOCTYPE html>\n}, render('!!!', :format => :html5)
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# New attributes
|
1080
|
+
|
1081
|
+
def test_basic_new_attributes
|
1082
|
+
assert_equal("<a>bar</a>\n", render("%a() bar"))
|
1083
|
+
assert_equal("<a href='foo'>bar</a>\n", render("%a(href='foo') bar"))
|
1084
|
+
assert_equal("<a b='c' c='d' d='e'>baz</a>\n", render(%q{%a(b="c" c='d' d="e") baz}))
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
def test_new_attribute_ids
|
1088
|
+
assert_equal("<div id='foo_bar'></div>\n", render("#foo(id='bar')"))
|
1089
|
+
assert_equal("<div id='foo_bar_baz'></div>\n", render("#foo{:id => 'bar'}(id='baz')"))
|
1090
|
+
assert_equal("<div id='foo_baz_bar'></div>\n", render("#foo(id='baz'){:id => 'bar'}"))
|
1091
|
+
foo = User.new(42)
|
1092
|
+
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1093
|
+
render("#foo(id='baz'){:id => 'bar'}[foo]", :locals => {:foo => foo}))
|
1094
|
+
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1095
|
+
render("#foo(id='baz')[foo]{:id => 'bar'}", :locals => {:foo => foo}))
|
1096
|
+
assert_equal("<div class='struct_user' id='foo_baz_bar_struct_user_42'></div>\n",
|
1097
|
+
render("#foo[foo](id='baz'){:id => 'bar'}", :locals => {:foo => foo}))
|
1098
|
+
assert_equal("<div class='struct_user' id='foo_bar_baz_struct_user_42'></div>\n",
|
1099
|
+
render("#foo[foo]{:id => 'bar'}(id='baz')", :locals => {:foo => foo}))
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def test_new_attribute_classes
|
1103
|
+
assert_equal("<div class='bar foo'></div>\n", render(".foo(class='bar')"))
|
1104
|
+
assert_equal("<div class='bar baz foo'></div>\n", render(".foo{:class => 'bar'}(class='baz')"))
|
1105
|
+
assert_equal("<div class='bar baz foo'></div>\n", render(".foo(class='baz'){:class => 'bar'}"))
|
1106
|
+
foo = User.new(42)
|
1107
|
+
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1108
|
+
render(".foo(class='baz'){:class => 'bar'}[foo]", :locals => {:foo => foo}))
|
1109
|
+
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1110
|
+
render(".foo[foo](class='baz'){:class => 'bar'}", :locals => {:foo => foo}))
|
1111
|
+
assert_equal("<div class='bar baz foo struct_user' id='struct_user_42'></div>\n",
|
1112
|
+
render(".foo[foo]{:class => 'bar'}(class='baz')", :locals => {:foo => foo}))
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def test_dynamic_new_attributes
|
1116
|
+
assert_equal("<a href='12'>bar</a>\n", render("%a(href=foo) bar", :locals => {:foo => 12}))
|
1117
|
+
assert_equal("<a b='12' c='13' d='14'>bar</a>\n", render("%a(b=b c='13' d=d) bar", :locals => {:b => 12, :d => 14}))
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def test_new_attribute_interpolation
|
1121
|
+
assert_equal("<a href='12'>bar</a>\n", render('%a(href="1#{1 + 1}") bar'))
|
1122
|
+
assert_equal("<a href='2: 2, 3: 3'>bar</a>\n", render(%q{%a(href='2: #{1 + 1}, 3: #{foo}') bar}, :locals => {:foo => 3}))
|
1123
|
+
assert_equal(%Q{<a href='1\#{1 + 1}'>bar</a>\n}, render('%a(href="1\#{1 + 1}") bar'))
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def test_truthy_new_attributes
|
1127
|
+
assert_equal("<a href='href'>bar</a>\n", render("%a(href) bar"))
|
1128
|
+
assert_equal("<a bar='baz' href>bar</a>\n", render("%a(href bar='baz') bar", :format => :html5))
|
1129
|
+
assert_equal("<a href='href'>bar</a>\n", render("%a(href=true) bar"))
|
1130
|
+
assert_equal("<a>bar</a>\n", render("%a(href=false) bar"))
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def test_new_attribute_parsing
|
1134
|
+
assert_equal("<a a2='b2'>bar</a>\n", render("%a(a2=b2) bar", :locals => {:b2 => 'b2'}))
|
1135
|
+
assert_equal(%Q{<a a='foo"bar'>bar</a>\n}, render(%q{%a(a="#{'foo"bar'}") bar})) #'
|
1136
|
+
assert_equal(%Q{<a a="foo'bar">bar</a>\n}, render(%q{%a(a="#{"foo'bar"}") bar})) #'
|
1137
|
+
assert_equal(%Q{<a a='foo"bar'>bar</a>\n}, render(%q{%a(a='foo"bar') bar}))
|
1138
|
+
assert_equal(%Q{<a a="foo'bar">bar</a>\n}, render(%q{%a(a="foo'bar") bar}))
|
1139
|
+
assert_equal("<a a:b='foo'>bar</a>\n", render("%a(a:b='foo') bar"))
|
1140
|
+
assert_equal("<a a='foo' b='bar'>bar</a>\n", render("%a(a = 'foo' b = 'bar') bar"))
|
1141
|
+
assert_equal("<a a='foo' b='bar'>bar</a>\n", render("%a(a = foo b = bar) bar", :locals => {:foo => 'foo', :bar => 'bar'}))
|
1142
|
+
assert_equal("<a a='foo'>(b='bar')</a>\n", render("%a(a='foo')(b='bar')"))
|
1143
|
+
assert_equal("<a a='foo)bar'>baz</a>\n", render("%a(a='foo)bar') baz"))
|
1144
|
+
assert_equal("<a a='foo'>baz</a>\n", render("%a( a = 'foo' ) baz"))
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
def test_new_attribute_escaping
|
1148
|
+
assert_equal(%Q{<a a='foo " bar'>bar</a>\n}, render(%q{%a(a="foo \" bar") bar}))
|
1149
|
+
assert_equal(%Q{<a a='foo \\" bar'>bar</a>\n}, render(%q{%a(a="foo \\\\\" bar") bar}))
|
1150
|
+
|
1151
|
+
assert_equal(%Q{<a a="foo ' bar">bar</a>\n}, render(%q{%a(a='foo \' bar') bar}))
|
1152
|
+
assert_equal(%Q{<a a="foo \\' bar">bar</a>\n}, render(%q{%a(a='foo \\\\\' bar') bar}))
|
1153
|
+
|
1154
|
+
assert_equal(%Q{<a a='foo \\ bar'>bar</a>\n}, render(%q{%a(a="foo \\\\ bar") bar}))
|
1155
|
+
assert_equal(%Q{<a a='foo \#{1 + 1} bar'>bar</a>\n}, render(%q{%a(a="foo \#{1 + 1} bar") bar}))
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
def test_multiline_new_attribute
|
1159
|
+
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(a='b'\n c='d') bar"))
|
1160
|
+
assert_equal("<a a='b' b='c' c='d' d='e' e='f' f='j'>bar</a>\n",
|
1161
|
+
render("%a(a='b' b='c'\n c='d' d=e\n e='f' f='j') bar", :locals => {:e => 'e'}))
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def test_new_and_old_attributes
|
1165
|
+
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(a='b'){:c => 'd'} bar"))
|
1166
|
+
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a{:c => 'd'}(a='b') bar"))
|
1167
|
+
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a(c='d'){:a => 'b'} bar"))
|
1168
|
+
assert_equal("<a a='b' c='d'>bar</a>\n", render("%a{:a => 'b'}(c='d') bar"))
|
1169
|
+
|
1170
|
+
assert_equal("<a a='d'>bar</a>\n", render("%a{:a => 'b'}(a='d') bar"))
|
1171
|
+
assert_equal("<a a='b'>bar</a>\n", render("%a(a='d'){:a => 'b'} bar"))
|
1172
|
+
|
1173
|
+
assert_equal("<a a='b' b='c' c='d' d='e'>bar</a>\n",
|
1174
|
+
render("%a{:a => 'b',\n:b => 'c'}(c='d'\nd='e') bar"))
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
# Encodings
|
1178
|
+
|
1179
|
+
unless Haml::Util.ruby1_8?
|
1180
|
+
def test_default_encoding
|
1181
|
+
assert_equal(Encoding.find("utf-8"), render(<<HAML.encode("us-ascii")).encoding)
|
1182
|
+
HTML
|
1183
|
+
%p bar
|
1184
|
+
%p foo
|
1185
|
+
HAML
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
def test_convert_template_render
|
1189
|
+
assert_equal(<<HTML, render(<<HAML.encode("iso-8859-1"), :encoding => "utf-8"))
|
1190
|
+
<p>bâr</p>
|
1191
|
+
<p>föö</p>
|
1192
|
+
HTML
|
1193
|
+
%p bâr
|
1194
|
+
%p föö
|
1195
|
+
HAML
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def test_fake_ascii_encoding
|
1199
|
+
assert_equal(<<HTML.force_encoding("ascii-8bit"), render(<<HAML, :encoding => "ascii-8bit"))
|
1200
|
+
<p>bâr</p>
|
1201
|
+
<p>föö</p>
|
1202
|
+
HTML
|
1203
|
+
%p bâr
|
1204
|
+
%p föö
|
1205
|
+
HAML
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
def test_convert_template_render_proc
|
1209
|
+
assert_converts_template_properly {|e| e.render_proc.call}
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
def test_convert_template_render
|
1213
|
+
assert_converts_template_properly {|e| e.render}
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def test_convert_template_def_method
|
1217
|
+
assert_converts_template_properly do |e|
|
1218
|
+
o = Object.new
|
1219
|
+
e.def_method(o, :render)
|
1220
|
+
o.render
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
private
|
1226
|
+
|
1227
|
+
def assert_converts_template_properly
|
1228
|
+
engine = Haml::Engine.new(<<HAML.encode("iso-8859-1"), :encoding => "utf-8")
|
1229
|
+
%p bâr
|
1230
|
+
%p föö
|
1231
|
+
HAML
|
1232
|
+
assert_equal(<<HTML, yield(engine))
|
1233
|
+
<p>bâr</p>
|
1234
|
+
<p>föö</p>
|
1235
|
+
HTML
|
1236
|
+
end
|
1237
|
+
end
|