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,47 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/helper'
|
2
|
+
|
3
|
+
context "Rendering in file templates" do
|
4
|
+
|
5
|
+
setup do
|
6
|
+
Sinatra.application = nil
|
7
|
+
use_in_file_templates!
|
8
|
+
end
|
9
|
+
|
10
|
+
specify "should set template" do
|
11
|
+
assert Sinatra.application.templates[:foo]
|
12
|
+
end
|
13
|
+
|
14
|
+
specify "should set layout" do
|
15
|
+
assert Sinatra.application.templates[:layout]
|
16
|
+
end
|
17
|
+
|
18
|
+
specify "should render without layout if specified" do
|
19
|
+
get '/' do
|
20
|
+
haml :foo, :layout => false
|
21
|
+
end
|
22
|
+
|
23
|
+
get_it '/'
|
24
|
+
assert_equal "this is foo\n", body
|
25
|
+
end
|
26
|
+
|
27
|
+
specify "should render with layout if specified" do
|
28
|
+
get '/' do
|
29
|
+
haml :foo
|
30
|
+
end
|
31
|
+
|
32
|
+
get_it '/'
|
33
|
+
assert_equal "X\nthis is foo\nX\n", body
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
__END__
|
39
|
+
|
40
|
+
@@ foo
|
41
|
+
this is foo
|
42
|
+
|
43
|
+
@@ layout
|
44
|
+
X
|
45
|
+
= yield
|
46
|
+
X
|
47
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
xml.exclaim "You rock #{@name}!"
|
@@ -0,0 +1 @@
|
|
1
|
+
You rock <%= @name %>!
|
@@ -0,0 +1 @@
|
|
1
|
+
== You rock #{@name}!
|
@@ -0,0 +1 @@
|
|
1
|
+
xml.this "is foo!"
|
@@ -0,0 +1 @@
|
|
1
|
+
This is foo!
|
@@ -0,0 +1 @@
|
|
1
|
+
This is foo!
|
@@ -0,0 +1 @@
|
|
1
|
+
x <%= yield %> x
|
@@ -0,0 +1 @@
|
|
1
|
+
== x #{yield} x
|
@@ -0,0 +1 @@
|
|
1
|
+
xml.foo "No Layout!"
|
@@ -0,0 +1 @@
|
|
1
|
+
%h1 No Layout!
|
@@ -0,0 +1,1119 @@
|
|
1
|
+
require 'thread'
|
2
|
+
require 'time'
|
3
|
+
require 'uri'
|
4
|
+
require 'rack'
|
5
|
+
require 'rack/builder'
|
6
|
+
require 'sinatra/showexceptions'
|
7
|
+
|
8
|
+
module Sinatra
|
9
|
+
VERSION = '0.9.4'
|
10
|
+
|
11
|
+
# The request object. See Rack::Request for more info:
|
12
|
+
# http://rack.rubyforge.org/doc/classes/Rack/Request.html
|
13
|
+
class Request < Rack::Request
|
14
|
+
def user_agent
|
15
|
+
@env['HTTP_USER_AGENT']
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns an array of acceptable media types for the response
|
19
|
+
def accept
|
20
|
+
@env['HTTP_ACCEPT'].to_s.split(',').map { |a| a.strip }
|
21
|
+
end
|
22
|
+
|
23
|
+
# Override Rack 0.9.x's #params implementation (see #72 in lighthouse)
|
24
|
+
def params
|
25
|
+
self.GET.update(self.POST)
|
26
|
+
rescue EOFError, Errno::ESPIPE
|
27
|
+
self.GET
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# The response object. See Rack::Response and Rack::ResponseHelpers for
|
32
|
+
# more info:
|
33
|
+
# http://rack.rubyforge.org/doc/classes/Rack/Response.html
|
34
|
+
# http://rack.rubyforge.org/doc/classes/Rack/Response/Helpers.html
|
35
|
+
class Response < Rack::Response
|
36
|
+
def finish
|
37
|
+
@body = block if block_given?
|
38
|
+
if [204, 304].include?(status.to_i)
|
39
|
+
header.delete "Content-Type"
|
40
|
+
[status.to_i, header.to_hash, []]
|
41
|
+
else
|
42
|
+
body = @body || []
|
43
|
+
body = [body] if body.respond_to? :to_str
|
44
|
+
if body.respond_to?(:to_ary)
|
45
|
+
header["Content-Length"] = body.to_ary.
|
46
|
+
inject(0) { |len, part| len + part.bytesize }.to_s
|
47
|
+
end
|
48
|
+
[status.to_i, header.to_hash, body]
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
class NotFound < NameError #:nodoc:
|
54
|
+
def code ; 404 ; end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Methods available to routes, before filters, and views.
|
58
|
+
module Helpers
|
59
|
+
# Set or retrieve the response status code.
|
60
|
+
def status(value=nil)
|
61
|
+
response.status = value if value
|
62
|
+
response.status
|
63
|
+
end
|
64
|
+
|
65
|
+
# Set or retrieve the response body. When a block is given,
|
66
|
+
# evaluation is deferred until the body is read with #each.
|
67
|
+
def body(value=nil, &block)
|
68
|
+
if block_given?
|
69
|
+
def block.each ; yield call ; end
|
70
|
+
response.body = block
|
71
|
+
else
|
72
|
+
response.body = value
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Halt processing and redirect to the URI provided.
|
77
|
+
def redirect(uri, *args)
|
78
|
+
status 302
|
79
|
+
response['Location'] = uri
|
80
|
+
halt(*args)
|
81
|
+
end
|
82
|
+
|
83
|
+
# Halt processing and return the error status provided.
|
84
|
+
def error(code, body=nil)
|
85
|
+
code, body = 500, code.to_str if code.respond_to? :to_str
|
86
|
+
response.body = body unless body.nil?
|
87
|
+
halt code
|
88
|
+
end
|
89
|
+
|
90
|
+
# Halt processing and return a 404 Not Found.
|
91
|
+
def not_found(body=nil)
|
92
|
+
error 404, body
|
93
|
+
end
|
94
|
+
|
95
|
+
# Set multiple response headers with Hash.
|
96
|
+
def headers(hash=nil)
|
97
|
+
response.headers.merge! hash if hash
|
98
|
+
response.headers
|
99
|
+
end
|
100
|
+
|
101
|
+
# Access the underlying Rack session.
|
102
|
+
def session
|
103
|
+
env['rack.session'] ||= {}
|
104
|
+
end
|
105
|
+
|
106
|
+
# Look up a media type by file extension in Rack's mime registry.
|
107
|
+
def media_type(type)
|
108
|
+
Base.media_type(type)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Set the Content-Type of the response body given a media type or file
|
112
|
+
# extension.
|
113
|
+
def content_type(type, params={})
|
114
|
+
media_type = self.media_type(type)
|
115
|
+
fail "Unknown media type: %p" % type if media_type.nil?
|
116
|
+
if params.any?
|
117
|
+
params = params.collect { |kv| "%s=%s" % kv }.join(', ')
|
118
|
+
response['Content-Type'] = [media_type, params].join(";")
|
119
|
+
else
|
120
|
+
response['Content-Type'] = media_type
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# Set the Content-Disposition to "attachment" with the specified filename,
|
125
|
+
# instructing the user agents to prompt to save.
|
126
|
+
def attachment(filename=nil)
|
127
|
+
response['Content-Disposition'] = 'attachment'
|
128
|
+
if filename
|
129
|
+
params = '; filename="%s"' % File.basename(filename)
|
130
|
+
response['Content-Disposition'] << params
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# Use the contents of the file at +path+ as the response body.
|
135
|
+
def send_file(path, opts={})
|
136
|
+
stat = File.stat(path)
|
137
|
+
last_modified stat.mtime
|
138
|
+
|
139
|
+
content_type media_type(opts[:type]) ||
|
140
|
+
media_type(File.extname(path)) ||
|
141
|
+
response['Content-Type'] ||
|
142
|
+
'application/octet-stream'
|
143
|
+
|
144
|
+
response['Content-Length'] ||= (opts[:length] || stat.size).to_s
|
145
|
+
|
146
|
+
if opts[:disposition] == 'attachment' || opts[:filename]
|
147
|
+
attachment opts[:filename] || path
|
148
|
+
elsif opts[:disposition] == 'inline'
|
149
|
+
response['Content-Disposition'] = 'inline'
|
150
|
+
end
|
151
|
+
|
152
|
+
halt StaticFile.open(path, 'rb')
|
153
|
+
rescue Errno::ENOENT
|
154
|
+
not_found
|
155
|
+
end
|
156
|
+
|
157
|
+
# Rack response body used to deliver static files. The file contents are
|
158
|
+
# generated iteratively in 8K chunks.
|
159
|
+
class StaticFile < ::File #:nodoc:
|
160
|
+
alias_method :to_path, :path
|
161
|
+
def each
|
162
|
+
rewind
|
163
|
+
while buf = read(8192)
|
164
|
+
yield buf
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# Set the last modified time of the resource (HTTP 'Last-Modified' header)
|
170
|
+
# and halt if conditional GET matches. The +time+ argument is a Time,
|
171
|
+
# DateTime, or other object that responds to +to_time+.
|
172
|
+
#
|
173
|
+
# When the current request includes an 'If-Modified-Since' header that
|
174
|
+
# matches the time specified, execution is immediately halted with a
|
175
|
+
# '304 Not Modified' response.
|
176
|
+
def last_modified(time)
|
177
|
+
time = time.to_time if time.respond_to?(:to_time)
|
178
|
+
time = time.httpdate if time.respond_to?(:httpdate)
|
179
|
+
response['Last-Modified'] = time
|
180
|
+
halt 304 if time == request.env['HTTP_IF_MODIFIED_SINCE']
|
181
|
+
time
|
182
|
+
end
|
183
|
+
|
184
|
+
# Set the response entity tag (HTTP 'ETag' header) and halt if conditional
|
185
|
+
# GET matches. The +value+ argument is an identifier that uniquely
|
186
|
+
# identifies the current version of the resource. The +strength+ argument
|
187
|
+
# indicates whether the etag should be used as a :strong (default) or :weak
|
188
|
+
# cache validator.
|
189
|
+
#
|
190
|
+
# When the current request includes an 'If-None-Match' header with a
|
191
|
+
# matching etag, execution is immediately halted. If the request method is
|
192
|
+
# GET or HEAD, a '304 Not Modified' response is sent.
|
193
|
+
def etag(value, kind=:strong)
|
194
|
+
raise TypeError, ":strong or :weak expected" if ![:strong,:weak].include?(kind)
|
195
|
+
value = '"%s"' % value
|
196
|
+
value = 'W/' + value if kind == :weak
|
197
|
+
response['ETag'] = value
|
198
|
+
|
199
|
+
# Conditional GET check
|
200
|
+
if etags = env['HTTP_IF_NONE_MATCH']
|
201
|
+
etags = etags.split(/\s*,\s*/)
|
202
|
+
halt 304 if etags.include?(value) || etags.include?('*')
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
## Sugar for redirect (example: redirect back)
|
207
|
+
def back ; request.referer ; end
|
208
|
+
|
209
|
+
end
|
210
|
+
|
211
|
+
# Template rendering methods. Each method takes a the name of a template
|
212
|
+
# to render as a Symbol and returns a String with the rendered output,
|
213
|
+
# as well as an optional hash with additional options.
|
214
|
+
#
|
215
|
+
# `template` is either the name or path of the template as symbol
|
216
|
+
# (Use `:'subdir/myview'` for views in subdirectories), or a string
|
217
|
+
# that will be rendered.
|
218
|
+
#
|
219
|
+
# Possible options are:
|
220
|
+
# :layout If set to false, no layout is rendered, otherwise
|
221
|
+
# the specified layout is used (Ignored for `sass`)
|
222
|
+
# :locals A hash with local variables that should be available
|
223
|
+
# in the template
|
224
|
+
module Templates
|
225
|
+
def erb(template, options={}, locals={})
|
226
|
+
require_warn('ERB') unless defined?(::ERB)
|
227
|
+
|
228
|
+
render :erb, template, options, locals
|
229
|
+
end
|
230
|
+
|
231
|
+
def haml(template, options={}, locals={})
|
232
|
+
require_warn('Haml') unless defined?(::Haml::Engine)
|
233
|
+
|
234
|
+
render :haml, template, options, locals
|
235
|
+
end
|
236
|
+
|
237
|
+
def sass(template, options={}, locals={})
|
238
|
+
require_warn('Sass') unless defined?(::Sass::Engine)
|
239
|
+
|
240
|
+
options[:layout] = false
|
241
|
+
render :sass, template, options, locals
|
242
|
+
end
|
243
|
+
|
244
|
+
def builder(template=nil, options={}, locals={}, &block)
|
245
|
+
require_warn('Builder') unless defined?(::Builder)
|
246
|
+
|
247
|
+
options, template = template, nil if template.is_a?(Hash)
|
248
|
+
template = lambda { block } if template.nil?
|
249
|
+
render :builder, template, options, locals
|
250
|
+
end
|
251
|
+
|
252
|
+
private
|
253
|
+
def render(engine, template, options={}, locals={})
|
254
|
+
# merge app-level options
|
255
|
+
options = self.class.send(engine).merge(options) if self.class.respond_to?(engine)
|
256
|
+
|
257
|
+
# extract generic options
|
258
|
+
layout = options.delete(:layout)
|
259
|
+
layout = :layout if layout.nil? || layout == true
|
260
|
+
views = options.delete(:views) || self.class.views || "./views"
|
261
|
+
locals = options.delete(:locals) || locals || {}
|
262
|
+
|
263
|
+
# render template
|
264
|
+
data, options[:filename], options[:line] = lookup_template(engine, template, views)
|
265
|
+
output = __send__("render_#{engine}", template, data, options, locals)
|
266
|
+
|
267
|
+
# render layout
|
268
|
+
if layout
|
269
|
+
data, options[:filename], options[:line] = lookup_layout(engine, layout, views)
|
270
|
+
if data
|
271
|
+
output = __send__("render_#{engine}", layout, data, options, locals) { output }
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
output
|
276
|
+
end
|
277
|
+
|
278
|
+
def lookup_template(engine, template, views_dir, filename = nil, line = nil)
|
279
|
+
case template
|
280
|
+
when Symbol
|
281
|
+
if cached = self.class.templates[template]
|
282
|
+
lookup_template(engine, cached[:template], views_dir, cached[:filename], cached[:line])
|
283
|
+
else
|
284
|
+
path = ::File.join(views_dir, "#{template}.#{engine}")
|
285
|
+
[ ::File.read(path), path, 1 ]
|
286
|
+
end
|
287
|
+
when Proc
|
288
|
+
filename, line = self.class.caller_locations.first if filename.nil?
|
289
|
+
[ template.call, filename, line.to_i ]
|
290
|
+
when String
|
291
|
+
filename, line = self.class.caller_locations.first if filename.nil?
|
292
|
+
[ template, filename, line.to_i ]
|
293
|
+
else
|
294
|
+
raise ArgumentError
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
def lookup_layout(engine, template, views_dir)
|
299
|
+
lookup_template(engine, template, views_dir)
|
300
|
+
rescue Errno::ENOENT
|
301
|
+
nil
|
302
|
+
end
|
303
|
+
|
304
|
+
def render_erb(template, data, options, locals, &block)
|
305
|
+
original_out_buf = defined?(@_out_buf) && @_out_buf
|
306
|
+
data = data.call if data.kind_of? Proc
|
307
|
+
|
308
|
+
instance = ::ERB.new(data, nil, nil, '@_out_buf')
|
309
|
+
locals_assigns = locals.to_a.collect { |k,v| "#{k} = locals[:#{k}]" }
|
310
|
+
|
311
|
+
filename = options.delete(:filename) || '(__ERB__)'
|
312
|
+
line = options.delete(:line) || 1
|
313
|
+
line -= 1 if instance.src =~ /^#coding:/
|
314
|
+
|
315
|
+
render_binding = binding
|
316
|
+
eval locals_assigns.join("\n"), render_binding
|
317
|
+
eval instance.src, render_binding, filename, line
|
318
|
+
@_out_buf, result = original_out_buf, @_out_buf
|
319
|
+
result
|
320
|
+
end
|
321
|
+
|
322
|
+
def render_haml(template, data, options, locals, &block)
|
323
|
+
::Haml::Engine.new(data, options).render(self, locals, &block)
|
324
|
+
end
|
325
|
+
|
326
|
+
def render_sass(template, data, options, locals, &block)
|
327
|
+
::Sass::Engine.new(data, options).render
|
328
|
+
end
|
329
|
+
|
330
|
+
def render_builder(template, data, options, locals, &block)
|
331
|
+
options = { :indent => 2 }.merge(options)
|
332
|
+
filename = options.delete(:filename) || '<BUILDER>'
|
333
|
+
line = options.delete(:line) || 1
|
334
|
+
xml = ::Builder::XmlMarkup.new(options)
|
335
|
+
if data.respond_to?(:to_str)
|
336
|
+
eval data.to_str, binding, filename, line
|
337
|
+
elsif data.kind_of?(Proc)
|
338
|
+
data.call(xml)
|
339
|
+
end
|
340
|
+
xml.target!
|
341
|
+
end
|
342
|
+
|
343
|
+
def require_warn(engine)
|
344
|
+
warn "Auto-require of #{engine} is deprecated; add require '#{engine}' to your app."
|
345
|
+
require engine.downcase
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# Base class for all Sinatra applications and middleware.
|
350
|
+
class Base
|
351
|
+
include Rack::Utils
|
352
|
+
include Helpers
|
353
|
+
include Templates
|
354
|
+
|
355
|
+
attr_accessor :app
|
356
|
+
|
357
|
+
def initialize(app=nil)
|
358
|
+
@app = app
|
359
|
+
yield self if block_given?
|
360
|
+
end
|
361
|
+
|
362
|
+
# Rack call interface.
|
363
|
+
def call(env)
|
364
|
+
dup.call!(env)
|
365
|
+
end
|
366
|
+
|
367
|
+
attr_accessor :env, :request, :response, :params
|
368
|
+
|
369
|
+
def call!(env)
|
370
|
+
@env = env
|
371
|
+
@request = Request.new(env)
|
372
|
+
@response = Response.new
|
373
|
+
@params = nil
|
374
|
+
|
375
|
+
invoke { dispatch! }
|
376
|
+
invoke { error_block!(response.status) }
|
377
|
+
|
378
|
+
status, header, body = @response.finish
|
379
|
+
|
380
|
+
# Never produce a body on HEAD requests. Do retain the Content-Length
|
381
|
+
# unless it's "0", in which case we assume it was calculated erroneously
|
382
|
+
# for a manual HEAD response and remove it entirely.
|
383
|
+
if @env['REQUEST_METHOD'] == 'HEAD'
|
384
|
+
body = []
|
385
|
+
header.delete('Content-Length') if header['Content-Length'] == '0'
|
386
|
+
end
|
387
|
+
|
388
|
+
[status, header, body]
|
389
|
+
end
|
390
|
+
|
391
|
+
# Access options defined with Base.set.
|
392
|
+
def options
|
393
|
+
self.class
|
394
|
+
end
|
395
|
+
|
396
|
+
# Exit the current block, halts any further processing
|
397
|
+
# of the request, and returns the specified response.
|
398
|
+
def halt(*response)
|
399
|
+
response = response.first if response.length == 1
|
400
|
+
throw :halt, response
|
401
|
+
end
|
402
|
+
|
403
|
+
# Pass control to the next matching route.
|
404
|
+
# If there are no more matching routes, Sinatra will
|
405
|
+
# return a 404 response.
|
406
|
+
def pass
|
407
|
+
throw :pass
|
408
|
+
end
|
409
|
+
|
410
|
+
# Forward the request to the downstream app -- middleware only.
|
411
|
+
def forward
|
412
|
+
fail "downstream app not set" unless @app.respond_to? :call
|
413
|
+
status, headers, body = @app.call(@request.env)
|
414
|
+
@response.status = status
|
415
|
+
@response.body = body
|
416
|
+
@response.headers.merge! headers
|
417
|
+
nil
|
418
|
+
end
|
419
|
+
|
420
|
+
private
|
421
|
+
# Run before filters and then locate and run a matching route.
|
422
|
+
def route!
|
423
|
+
# enable nested params in Rack < 1.0; allow indifferent access
|
424
|
+
@params =
|
425
|
+
if Rack::Utils.respond_to?(:parse_nested_query)
|
426
|
+
indifferent_params(@request.params)
|
427
|
+
else
|
428
|
+
nested_params(@request.params)
|
429
|
+
end
|
430
|
+
|
431
|
+
# before filters
|
432
|
+
self.class.filters.each { |block| instance_eval(&block) }
|
433
|
+
|
434
|
+
# routes
|
435
|
+
if routes = self.class.routes[@request.request_method]
|
436
|
+
original_params = @params
|
437
|
+
path = unescape(@request.path_info)
|
438
|
+
|
439
|
+
routes.each do |pattern, keys, conditions, block|
|
440
|
+
if match = pattern.match(path)
|
441
|
+
values = match.captures.to_a
|
442
|
+
params =
|
443
|
+
if keys.any?
|
444
|
+
keys.zip(values).inject({}) do |hash,(k,v)|
|
445
|
+
if k == 'splat'
|
446
|
+
(hash[k] ||= []) << v
|
447
|
+
else
|
448
|
+
hash[k] = v
|
449
|
+
end
|
450
|
+
hash
|
451
|
+
end
|
452
|
+
elsif values.any?
|
453
|
+
{'captures' => values}
|
454
|
+
else
|
455
|
+
{}
|
456
|
+
end
|
457
|
+
@params = original_params.merge(params)
|
458
|
+
@block_params = values
|
459
|
+
|
460
|
+
catch(:pass) do
|
461
|
+
conditions.each { |cond|
|
462
|
+
throw :pass if instance_eval(&cond) == false }
|
463
|
+
route_eval(&block)
|
464
|
+
end
|
465
|
+
end
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
route_missing
|
470
|
+
end
|
471
|
+
|
472
|
+
# Run a route block and throw :halt with the result.
|
473
|
+
def route_eval(&block)
|
474
|
+
throw :halt, instance_eval(&block)
|
475
|
+
end
|
476
|
+
|
477
|
+
# No matching route was found or all routes passed. The default
|
478
|
+
# implementation is to forward the request downstream when running
|
479
|
+
# as middleware (@app is non-nil); when no downstream app is set, raise
|
480
|
+
# a NotFound exception. Subclasses can override this method to perform
|
481
|
+
# custom route miss logic.
|
482
|
+
def route_missing
|
483
|
+
if @app
|
484
|
+
forward
|
485
|
+
else
|
486
|
+
raise NotFound
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
# Enable string or symbol key access to the nested params hash.
|
491
|
+
def indifferent_params(params)
|
492
|
+
params = indifferent_hash.merge(params)
|
493
|
+
params.each do |key, value|
|
494
|
+
next unless value.is_a?(Hash)
|
495
|
+
params[key] = indifferent_params(value)
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
# Recursively replace the params hash with a nested indifferent
|
500
|
+
# hash. Rack 1.0 has a built in implementation of this method - remove
|
501
|
+
# this once Rack 1.0 is required.
|
502
|
+
def nested_params(params)
|
503
|
+
return indifferent_hash.merge(params) if !params.keys.join.include?('[')
|
504
|
+
params.inject indifferent_hash do |res, (key,val)|
|
505
|
+
if key.include?('[')
|
506
|
+
head = key.split(/[\]\[]+/)
|
507
|
+
last = head.pop
|
508
|
+
head.inject(res){ |hash,k| hash[k] ||= indifferent_hash }[last] = val
|
509
|
+
else
|
510
|
+
res[key] = val
|
511
|
+
end
|
512
|
+
res
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
def indifferent_hash
|
517
|
+
Hash.new {|hash,key| hash[key.to_s] if Symbol === key }
|
518
|
+
end
|
519
|
+
|
520
|
+
# Run the block with 'throw :halt' support and apply result to the response.
|
521
|
+
def invoke(&block)
|
522
|
+
res = catch(:halt) { instance_eval(&block) }
|
523
|
+
return if res.nil?
|
524
|
+
|
525
|
+
case
|
526
|
+
when res.respond_to?(:to_str)
|
527
|
+
@response.body = [res]
|
528
|
+
when res.respond_to?(:to_ary)
|
529
|
+
res = res.to_ary
|
530
|
+
if Fixnum === res.first
|
531
|
+
if res.length == 3
|
532
|
+
@response.status, headers, body = res
|
533
|
+
@response.body = body if body
|
534
|
+
headers.each { |k, v| @response.headers[k] = v } if headers
|
535
|
+
elsif res.length == 2
|
536
|
+
@response.status = res.first
|
537
|
+
@response.body = res.last
|
538
|
+
else
|
539
|
+
raise TypeError, "#{res.inspect} not supported"
|
540
|
+
end
|
541
|
+
else
|
542
|
+
@response.body = res
|
543
|
+
end
|
544
|
+
when res.respond_to?(:each)
|
545
|
+
@response.body = res
|
546
|
+
when (100...599) === res
|
547
|
+
@response.status = res
|
548
|
+
end
|
549
|
+
|
550
|
+
res
|
551
|
+
end
|
552
|
+
|
553
|
+
# Dispatch a request with error handling.
|
554
|
+
def dispatch!
|
555
|
+
route!
|
556
|
+
rescue NotFound => boom
|
557
|
+
handle_not_found!(boom)
|
558
|
+
rescue ::Exception => boom
|
559
|
+
handle_exception!(boom)
|
560
|
+
end
|
561
|
+
|
562
|
+
def handle_not_found!(boom)
|
563
|
+
@env['sinatra.error'] = boom
|
564
|
+
@response.status = 404
|
565
|
+
@response.body = ['<h1>Not Found</h1>']
|
566
|
+
error_block! boom.class, NotFound
|
567
|
+
end
|
568
|
+
|
569
|
+
def handle_exception!(boom)
|
570
|
+
@env['sinatra.error'] = boom
|
571
|
+
|
572
|
+
dump_errors!(boom) if options.dump_errors?
|
573
|
+
raise boom if options.raise_errors? || options.show_exceptions?
|
574
|
+
|
575
|
+
@response.status = 500
|
576
|
+
error_block! boom.class, Exception
|
577
|
+
end
|
578
|
+
|
579
|
+
# Find an custom error block for the key(s) specified.
|
580
|
+
def error_block!(*keys)
|
581
|
+
errmap = self.class.errors
|
582
|
+
keys.each do |key|
|
583
|
+
if block = errmap[key]
|
584
|
+
res = instance_eval(&block)
|
585
|
+
return res
|
586
|
+
end
|
587
|
+
end
|
588
|
+
nil
|
589
|
+
end
|
590
|
+
|
591
|
+
def dump_errors!(boom)
|
592
|
+
backtrace = clean_backtrace(boom.backtrace)
|
593
|
+
msg = ["#{boom.class} - #{boom.message}:",
|
594
|
+
*backtrace].join("\n ")
|
595
|
+
@env['rack.errors'].write(msg)
|
596
|
+
end
|
597
|
+
|
598
|
+
def clean_backtrace(trace)
|
599
|
+
return trace unless options.clean_trace?
|
600
|
+
|
601
|
+
trace.reject { |line|
|
602
|
+
line =~ /lib\/sinatra.*\.rb/ ||
|
603
|
+
(defined?(Gem) && line.include?(Gem.dir))
|
604
|
+
}.map! { |line| line.gsub(/^\.\//, '') }
|
605
|
+
end
|
606
|
+
|
607
|
+
@routes = {}
|
608
|
+
@filters = []
|
609
|
+
@conditions = []
|
610
|
+
@templates = {}
|
611
|
+
@middleware = []
|
612
|
+
@errors = {}
|
613
|
+
@prototype = nil
|
614
|
+
@extensions = []
|
615
|
+
|
616
|
+
class << self
|
617
|
+
attr_accessor :routes, :filters, :conditions, :templates,
|
618
|
+
:middleware, :errors
|
619
|
+
|
620
|
+
# Sets an option to the given value. If the value is a proc,
|
621
|
+
# the proc will be called every time the option is accessed.
|
622
|
+
def set(option, value=self)
|
623
|
+
if value.kind_of?(Proc)
|
624
|
+
metadef(option, &value)
|
625
|
+
metadef("#{option}?") { !!__send__(option) }
|
626
|
+
metadef("#{option}=") { |val| set(option, Proc.new{val}) }
|
627
|
+
elsif value == self && option.respond_to?(:to_hash)
|
628
|
+
option.to_hash.each { |k,v| set(k, v) }
|
629
|
+
elsif respond_to?("#{option}=")
|
630
|
+
__send__ "#{option}=", value
|
631
|
+
else
|
632
|
+
set option, Proc.new{value}
|
633
|
+
end
|
634
|
+
self
|
635
|
+
end
|
636
|
+
|
637
|
+
# Same as calling `set :option, true` for each of the given options.
|
638
|
+
def enable(*opts)
|
639
|
+
opts.each { |key| set(key, true) }
|
640
|
+
end
|
641
|
+
|
642
|
+
# Same as calling `set :option, false` for each of the given options.
|
643
|
+
def disable(*opts)
|
644
|
+
opts.each { |key| set(key, false) }
|
645
|
+
end
|
646
|
+
|
647
|
+
# Define a custom error handler. Optionally takes either an Exception
|
648
|
+
# class, or an HTTP status code to specify which errors should be
|
649
|
+
# handled.
|
650
|
+
def error(codes=Exception, &block)
|
651
|
+
if codes.respond_to? :each
|
652
|
+
codes.each { |err| error(err, &block) }
|
653
|
+
else
|
654
|
+
@errors[codes] = block
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
# Sugar for `error(404) { ... }`
|
659
|
+
def not_found(&block)
|
660
|
+
error 404, &block
|
661
|
+
end
|
662
|
+
|
663
|
+
# Define a named template. The block must return the template source.
|
664
|
+
def template(name, &block)
|
665
|
+
filename, line = caller_locations.first
|
666
|
+
templates[name] = { :filename => filename, :line => line, :template => block }
|
667
|
+
end
|
668
|
+
|
669
|
+
# Define the layout template. The block must return the template source.
|
670
|
+
def layout(name=:layout, &block)
|
671
|
+
template name, &block
|
672
|
+
end
|
673
|
+
|
674
|
+
# Load embeded templates from the file; uses the caller's __FILE__
|
675
|
+
# when no file is specified.
|
676
|
+
def use_in_file_templates!(file=nil)
|
677
|
+
file ||= caller_files.first
|
678
|
+
app, data =
|
679
|
+
::IO.read(file).split(/^__END__$/, 2) rescue nil
|
680
|
+
|
681
|
+
if data
|
682
|
+
data.gsub!(/\r\n/, "\n")
|
683
|
+
lines = app.count("\n") + 1
|
684
|
+
template = nil
|
685
|
+
data.each_line do |line|
|
686
|
+
lines += 1
|
687
|
+
if line =~ /^@@\s*(.*)/
|
688
|
+
template = ''
|
689
|
+
templates[$1.to_sym] = { :filename => file, :line => lines, :template => template }
|
690
|
+
elsif template
|
691
|
+
template << line
|
692
|
+
end
|
693
|
+
end
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# Look up a media type by file extension in Rack's mime registry.
|
698
|
+
def media_type(type)
|
699
|
+
return type if type.nil? || type.to_s.include?('/')
|
700
|
+
type = ".#{type}" unless type.to_s[0] == ?.
|
701
|
+
Rack::Mime.mime_type(type, nil)
|
702
|
+
end
|
703
|
+
|
704
|
+
# Define a before filter. Filters are run before all requests
|
705
|
+
# within the same context as route handlers and may access/modify the
|
706
|
+
# request and response.
|
707
|
+
def before(&block)
|
708
|
+
@filters << block
|
709
|
+
end
|
710
|
+
|
711
|
+
# Add a route condition. The route is considered non-matching when the
|
712
|
+
# block returns false.
|
713
|
+
def condition(&block)
|
714
|
+
@conditions << block
|
715
|
+
end
|
716
|
+
|
717
|
+
private
|
718
|
+
def host_name(pattern)
|
719
|
+
condition { pattern === request.host }
|
720
|
+
end
|
721
|
+
|
722
|
+
def user_agent(pattern)
|
723
|
+
condition {
|
724
|
+
if request.user_agent =~ pattern
|
725
|
+
@params[:agent] = $~[1..-1]
|
726
|
+
true
|
727
|
+
else
|
728
|
+
false
|
729
|
+
end
|
730
|
+
}
|
731
|
+
end
|
732
|
+
alias_method :agent, :user_agent
|
733
|
+
|
734
|
+
def provides(*types)
|
735
|
+
types = [types] unless types.kind_of? Array
|
736
|
+
types.map!{|t| media_type(t)}
|
737
|
+
|
738
|
+
condition {
|
739
|
+
matching_types = (request.accept & types)
|
740
|
+
unless matching_types.empty?
|
741
|
+
response.headers['Content-Type'] = matching_types.first
|
742
|
+
true
|
743
|
+
else
|
744
|
+
false
|
745
|
+
end
|
746
|
+
}
|
747
|
+
end
|
748
|
+
|
749
|
+
public
|
750
|
+
# Defining a `GET` handler also automatically defines
|
751
|
+
# a `HEAD` handler.
|
752
|
+
def get(path, opts={}, &block)
|
753
|
+
conditions = @conditions.dup
|
754
|
+
route('GET', path, opts, &block)
|
755
|
+
|
756
|
+
@conditions = conditions
|
757
|
+
route('HEAD', path, opts, &block)
|
758
|
+
end
|
759
|
+
|
760
|
+
def put(path, opts={}, &bk); route 'PUT', path, opts, &bk end
|
761
|
+
def post(path, opts={}, &bk); route 'POST', path, opts, &bk end
|
762
|
+
def delete(path, opts={}, &bk); route 'DELETE', path, opts, &bk end
|
763
|
+
def head(path, opts={}, &bk); route 'HEAD', path, opts, &bk end
|
764
|
+
|
765
|
+
private
|
766
|
+
def route(verb, path, options={}, &block)
|
767
|
+
# Because of self.options.host
|
768
|
+
host_name(options.delete(:host)) if options.key?(:host)
|
769
|
+
|
770
|
+
options.each {|option, args| send(option, *args)}
|
771
|
+
|
772
|
+
pattern, keys = compile(path)
|
773
|
+
conditions, @conditions = @conditions, []
|
774
|
+
|
775
|
+
define_method "#{verb} #{path}", &block
|
776
|
+
unbound_method = instance_method("#{verb} #{path}")
|
777
|
+
block =
|
778
|
+
if block.arity != 0
|
779
|
+
lambda { unbound_method.bind(self).call(*@block_params) }
|
780
|
+
else
|
781
|
+
lambda { unbound_method.bind(self).call }
|
782
|
+
end
|
783
|
+
|
784
|
+
invoke_hook(:route_added, verb, path, block)
|
785
|
+
|
786
|
+
(routes[verb] ||= []).
|
787
|
+
push([pattern, keys, conditions, block]).last
|
788
|
+
end
|
789
|
+
|
790
|
+
def invoke_hook(name, *args)
|
791
|
+
extensions.each { |e| e.send(name, *args) if e.respond_to?(name) }
|
792
|
+
end
|
793
|
+
|
794
|
+
def compile(path)
|
795
|
+
keys = []
|
796
|
+
if path.respond_to? :to_str
|
797
|
+
special_chars = %w{. + ( )}
|
798
|
+
pattern =
|
799
|
+
path.to_str.gsub(/((:\w+)|[\*#{special_chars.join}])/) do |match|
|
800
|
+
case match
|
801
|
+
when "*"
|
802
|
+
keys << 'splat'
|
803
|
+
"(.*?)"
|
804
|
+
when *special_chars
|
805
|
+
Regexp.escape(match)
|
806
|
+
else
|
807
|
+
keys << $2[1..-1]
|
808
|
+
"([^/?&#]+)"
|
809
|
+
end
|
810
|
+
end
|
811
|
+
[/^#{pattern}$/, keys]
|
812
|
+
elsif path.respond_to?(:keys) && path.respond_to?(:match)
|
813
|
+
[path, path.keys]
|
814
|
+
elsif path.respond_to? :match
|
815
|
+
[path, keys]
|
816
|
+
else
|
817
|
+
raise TypeError, path
|
818
|
+
end
|
819
|
+
end
|
820
|
+
|
821
|
+
public
|
822
|
+
# Makes the methods defined in the block and in the Modules given
|
823
|
+
# in `extensions` available to the handlers and templates
|
824
|
+
def helpers(*extensions, &block)
|
825
|
+
class_eval(&block) if block_given?
|
826
|
+
include(*extensions) if extensions.any?
|
827
|
+
end
|
828
|
+
|
829
|
+
def extensions
|
830
|
+
(@extensions + (superclass.extensions rescue [])).uniq
|
831
|
+
end
|
832
|
+
|
833
|
+
def register(*extensions, &block)
|
834
|
+
extensions << Module.new(&block) if block_given?
|
835
|
+
@extensions += extensions
|
836
|
+
extensions.each do |extension|
|
837
|
+
extend extension
|
838
|
+
extension.registered(self) if extension.respond_to?(:registered)
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
def development?; environment == :development end
|
843
|
+
def production?; environment == :production end
|
844
|
+
def test?; environment == :test end
|
845
|
+
|
846
|
+
# Set configuration options for Sinatra and/or the app.
|
847
|
+
# Allows scoping of settings for certain environments.
|
848
|
+
def configure(*envs, &block)
|
849
|
+
yield self if envs.empty? || envs.include?(environment.to_sym)
|
850
|
+
end
|
851
|
+
|
852
|
+
# Use the specified Rack middleware
|
853
|
+
def use(middleware, *args, &block)
|
854
|
+
@prototype = nil
|
855
|
+
@middleware << [middleware, args, block]
|
856
|
+
end
|
857
|
+
|
858
|
+
# Run the Sinatra app as a self-hosted server using
|
859
|
+
# Thin, Mongrel or WEBrick (in that order)
|
860
|
+
def run!(options={})
|
861
|
+
set options
|
862
|
+
handler = detect_rack_handler
|
863
|
+
handler_name = handler.name.gsub(/.*::/, '')
|
864
|
+
puts "== Sinatra/#{Sinatra::VERSION} has taken the stage " +
|
865
|
+
"on #{port} for #{environment} with backup from #{handler_name}" unless handler_name =~/cgi/i
|
866
|
+
handler.run self, :Host => host, :Port => port do |server|
|
867
|
+
trap(:INT) do
|
868
|
+
## Use thins' hard #stop! if available, otherwise just #stop
|
869
|
+
server.respond_to?(:stop!) ? server.stop! : server.stop
|
870
|
+
puts "\n== Sinatra has ended his set (crowd applauds)" unless handler_name =~/cgi/i
|
871
|
+
end
|
872
|
+
end
|
873
|
+
rescue Errno::EADDRINUSE => e
|
874
|
+
puts "== Someone is already performing on port #{port}!"
|
875
|
+
end
|
876
|
+
|
877
|
+
# The prototype instance used to process requests.
|
878
|
+
def prototype
|
879
|
+
@prototype ||= new
|
880
|
+
end
|
881
|
+
|
882
|
+
# Create a new instance of the class fronted by its middleware
|
883
|
+
# pipeline. The object is guaranteed to respond to #call but may not be
|
884
|
+
# an instance of the class new was called on.
|
885
|
+
def new(*args, &bk)
|
886
|
+
builder = Rack::Builder.new
|
887
|
+
builder.use Rack::Session::Cookie if sessions? && !test?
|
888
|
+
builder.use Rack::CommonLogger if logging?
|
889
|
+
builder.use Rack::MethodOverride if methodoverride?
|
890
|
+
builder.use ShowExceptions if show_exceptions?
|
891
|
+
|
892
|
+
@middleware.each { |c,a,b| builder.use(c, *a, &b) }
|
893
|
+
builder.run super
|
894
|
+
builder.to_app
|
895
|
+
end
|
896
|
+
|
897
|
+
def call(env)
|
898
|
+
synchronize { prototype.call(env) }
|
899
|
+
end
|
900
|
+
|
901
|
+
def reset!(base=superclass)
|
902
|
+
@routes = base.dupe_routes
|
903
|
+
@templates = base.templates.dup
|
904
|
+
@conditions = []
|
905
|
+
@filters = base.filters.dup
|
906
|
+
@errors = base.errors.dup
|
907
|
+
@middleware = base.middleware.dup
|
908
|
+
@prototype = nil
|
909
|
+
@extensions = []
|
910
|
+
end
|
911
|
+
|
912
|
+
protected
|
913
|
+
def dupe_routes
|
914
|
+
routes.inject({}) do |hash,(request_method,routes)|
|
915
|
+
hash[request_method] = routes.dup
|
916
|
+
hash
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
private
|
921
|
+
def detect_rack_handler
|
922
|
+
servers = Array(self.server)
|
923
|
+
servers.each do |server_name|
|
924
|
+
begin
|
925
|
+
return Rack::Handler.get(server_name.downcase)
|
926
|
+
rescue LoadError
|
927
|
+
rescue NameError
|
928
|
+
end
|
929
|
+
end
|
930
|
+
fail "Server handler (#{servers.join(',')}) not found."
|
931
|
+
end
|
932
|
+
|
933
|
+
def inherited(subclass)
|
934
|
+
subclass.reset! self
|
935
|
+
super
|
936
|
+
end
|
937
|
+
|
938
|
+
@@mutex = Mutex.new
|
939
|
+
def synchronize(&block)
|
940
|
+
if lock?
|
941
|
+
@@mutex.synchronize(&block)
|
942
|
+
else
|
943
|
+
yield
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
def metadef(message, &block)
|
948
|
+
(class << self; self; end).
|
949
|
+
send :define_method, message, &block
|
950
|
+
end
|
951
|
+
|
952
|
+
public
|
953
|
+
CALLERS_TO_IGNORE = [
|
954
|
+
/\/sinatra(\/(base|main|showexceptions|compat))?\.rb$/, # all sinatra code
|
955
|
+
/\(.*\)/, # generated code
|
956
|
+
/custom_require\.rb$/, # rubygems require hacks
|
957
|
+
/active_support/, # active_support require hacks
|
958
|
+
] unless self.const_defined?('CALLERS_TO_IGNORE')
|
959
|
+
|
960
|
+
# add rubinius (and hopefully other VM impls) ignore patterns ...
|
961
|
+
CALLERS_TO_IGNORE.concat(RUBY_IGNORE_CALLERS) if defined?(RUBY_IGNORE_CALLERS)
|
962
|
+
|
963
|
+
# Like Kernel#caller but excluding certain magic entries and without
|
964
|
+
# line / method information; the resulting array contains filenames only.
|
965
|
+
def caller_files
|
966
|
+
caller_locations.
|
967
|
+
map { |file,line| file }
|
968
|
+
end
|
969
|
+
|
970
|
+
def caller_locations
|
971
|
+
caller(1).
|
972
|
+
map { |line| line.split(/:(?=\d|in )/)[0,2] }.
|
973
|
+
reject { |file,line| CALLERS_TO_IGNORE.any? { |pattern| file =~ pattern } }
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
set :raise_errors, true
|
978
|
+
set :dump_errors, false
|
979
|
+
set :clean_trace, true
|
980
|
+
set :show_exceptions, false
|
981
|
+
set :sessions, false
|
982
|
+
set :logging, false
|
983
|
+
set :methodoverride, false
|
984
|
+
set :static, false
|
985
|
+
set :environment, (ENV['RACK_ENV'] || :development).to_sym
|
986
|
+
|
987
|
+
set :run, false
|
988
|
+
set :server, %w[thin mongrel webrick]
|
989
|
+
set :host, '0.0.0.0'
|
990
|
+
set :port, 4567
|
991
|
+
|
992
|
+
set :app_file, nil
|
993
|
+
set :root, Proc.new { app_file && File.expand_path(File.dirname(app_file)) }
|
994
|
+
set :views, Proc.new { root && File.join(root, 'views') }
|
995
|
+
set :public, Proc.new { root && File.join(root, 'public') }
|
996
|
+
set :lock, false
|
997
|
+
|
998
|
+
# static files route
|
999
|
+
get(/.*[^\/]$/) do
|
1000
|
+
pass unless options.static? && options.public?
|
1001
|
+
public_dir = File.expand_path(options.public)
|
1002
|
+
path = File.expand_path(public_dir + unescape(request.path_info))
|
1003
|
+
pass if path[0, public_dir.length] != public_dir
|
1004
|
+
pass unless File.file?(path)
|
1005
|
+
send_file path, :disposition => nil
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
error ::Exception do
|
1009
|
+
response.status = 500
|
1010
|
+
content_type 'text/html'
|
1011
|
+
'<h1>Internal Server Error</h1>'
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
configure :development do
|
1015
|
+
get '/__sinatra__/:image.png' do
|
1016
|
+
filename = File.dirname(__FILE__) + "/images/#{params[:image]}.png"
|
1017
|
+
content_type :png
|
1018
|
+
send_file filename
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
error NotFound do
|
1022
|
+
content_type 'text/html'
|
1023
|
+
|
1024
|
+
(<<-HTML).gsub(/^ {8}/, '')
|
1025
|
+
<!DOCTYPE html>
|
1026
|
+
<html>
|
1027
|
+
<head>
|
1028
|
+
<style type="text/css">
|
1029
|
+
body { text-align:center;font-family:helvetica,arial;font-size:22px;
|
1030
|
+
color:#888;margin:20px}
|
1031
|
+
#c {margin:0 auto;width:500px;text-align:left}
|
1032
|
+
</style>
|
1033
|
+
</head>
|
1034
|
+
<body>
|
1035
|
+
<h2>Sinatra doesn't know this ditty.</h2>
|
1036
|
+
<img src='/__sinatra__/404.png'>
|
1037
|
+
<div id="c">
|
1038
|
+
Try this:
|
1039
|
+
<pre>#{request.request_method.downcase} '#{request.path_info}' do\n "Hello World"\nend</pre>
|
1040
|
+
</div>
|
1041
|
+
</body>
|
1042
|
+
</html>
|
1043
|
+
HTML
|
1044
|
+
end
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# Base class for classic style (top-level) applications.
|
1049
|
+
class Default < Base
|
1050
|
+
set :raise_errors, Proc.new { test? }
|
1051
|
+
set :show_exceptions, Proc.new { development? }
|
1052
|
+
set :dump_errors, true
|
1053
|
+
set :sessions, false
|
1054
|
+
set :logging, Proc.new { ! test? }
|
1055
|
+
set :methodoverride, true
|
1056
|
+
set :static, true
|
1057
|
+
set :run, Proc.new { ! test? }
|
1058
|
+
|
1059
|
+
def self.register(*extensions, &block) #:nodoc:
|
1060
|
+
added_methods = extensions.map {|m| m.public_instance_methods }.flatten
|
1061
|
+
Delegator.delegate(*added_methods)
|
1062
|
+
super(*extensions, &block)
|
1063
|
+
end
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# The top-level Application. All DSL methods executed on main are delegated
|
1067
|
+
# to this class.
|
1068
|
+
class Application < Default
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# Sinatra delegation mixin. Mixing this module into an object causes all
|
1072
|
+
# methods to be delegated to the Sinatra::Application class. Used primarily
|
1073
|
+
# at the top-level.
|
1074
|
+
module Delegator #:nodoc:
|
1075
|
+
def self.delegate(*methods)
|
1076
|
+
methods.each do |method_name|
|
1077
|
+
eval <<-RUBY, binding, '(__DELEGATE__)', 1
|
1078
|
+
def #{method_name}(*args, &b)
|
1079
|
+
::Sinatra::Application.send(#{method_name.inspect}, *args, &b)
|
1080
|
+
end
|
1081
|
+
private #{method_name.inspect}
|
1082
|
+
RUBY
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
delegate :get, :put, :post, :delete, :head, :template, :layout, :before,
|
1087
|
+
:error, :not_found, :configures, :configure, :set, :set_option,
|
1088
|
+
:set_options, :enable, :disable, :use, :development?, :test?,
|
1089
|
+
:production?, :use_in_file_templates!, :helpers
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Create a new Sinatra application. The block is evaluated in the new app's
|
1093
|
+
# class scope.
|
1094
|
+
def self.new(base=Base, options={}, &block)
|
1095
|
+
base = Class.new(base)
|
1096
|
+
base.send :class_eval, &block if block_given?
|
1097
|
+
base
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
# Extend the top-level DSL with the modules provided.
|
1101
|
+
def self.register(*extensions, &block)
|
1102
|
+
Default.register(*extensions, &block)
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# Include the helper modules provided in Sinatra's request context.
|
1106
|
+
def self.helpers(*extensions, &block)
|
1107
|
+
Default.helpers(*extensions, &block)
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
class String #:nodoc:
|
1112
|
+
# Define String#each under 1.9 for Rack compatibility. This should be
|
1113
|
+
# removed once Rack is fully 1.9 compatible.
|
1114
|
+
alias_method :each, :each_line unless ''.respond_to? :each
|
1115
|
+
|
1116
|
+
# Define String#bytesize as an alias to String#length for Ruby 1.8.6 and
|
1117
|
+
# earlier.
|
1118
|
+
alias_method :bytesize, :length unless ''.respond_to? :bytesize
|
1119
|
+
end
|