compass 0.8.17 → 0.10.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +165 -0
- data/README.markdown +15 -3
- data/Rakefile +46 -7
- data/VERSION.yml +3 -2
- data/bin/compass +22 -4
- data/examples/blueprint_default/index.html.haml +3 -3
- data/examples/blueprint_default/parts/forms.html.haml +2 -0
- data/examples/blueprint_default/src/screen.sass +1 -1
- data/examples/blueprint_plugins/index.html.haml +6 -6
- data/examples/blueprint_plugins/src/buttons.sass +2 -2
- data/examples/blueprint_plugins/src/link_icons.sass +1 -1
- data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
- data/examples/blueprint_plugins/src/screen.sass +2 -2
- data/examples/blueprint_scoped/src/ie.sass +2 -1
- data/examples/blueprint_scoped/src/print.sass +2 -1
- data/examples/blueprint_scoped/src/screen.sass +2 -1
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +1 -1
- data/examples/blueprint_semantic/src/liquid.sass +5 -6
- data/examples/blueprint_semantic/src/screen.sass +4 -5
- data/examples/compass/bootstrap.rb +3 -0
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/_yui.sass +0 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_fonts.sass +8 -1
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_grids.sass +174 -130
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_reset.sass +0 -0
- data/{frameworks → examples/compass/extensions}/yui/templates/project/manifest.rb +0 -0
- data/{frameworks → examples/compass/extensions}/yui/templates/project/screen.sass +0 -0
- data/examples/compass/src/utilities.sass +2 -2
- data/examples/css3/config.rb +6 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +7 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
- data/examples/css3/images/fresh-peas.jpg +0 -0
- data/examples/css3/index.html.haml +55 -0
- data/examples/css3/src/_base.sass +14 -0
- data/examples/css3/src/fancy-fonts.sass +7 -0
- data/examples/css3/src/gradient.sass +10 -0
- data/examples/css3/src/main.sass +80 -0
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/downloader.rb +57 -0
- data/examples/ninesixty/bootstrap.rb +4 -0
- data/examples/ninesixty/config.rb +9 -0
- data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
- data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
- data/examples/ninesixty/src/grid.sass +16 -0
- data/examples/ninesixty/src/text.sass +10 -0
- data/examples/susy/bootstrap.rb +3 -0
- data/examples/susy/config.rb +9 -0
- data/examples/susy/extensions/susy/LICENSE.txt +28 -0
- data/examples/susy/extensions/susy/README.mkdn +235 -0
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +63 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +301 -0
- data/examples/susy/extensions/susy/lib/susy.rb +2 -0
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
- data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
- data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
- data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
- data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
- data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
- data/examples/susy/src/_base.sass +62 -0
- data/examples/susy/src/_defaults.sass +148 -0
- data/examples/susy/src/screen.sass +114 -0
- data/examples/yui/bootstrap.rb +3 -0
- data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
- data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
- data/features/command_line.feature +226 -0
- data/features/extensions.feature +20 -0
- data/features/step_definitions/command_line_steps.rb +223 -0
- data/features/step_definitions/extension_steps.rb +13 -0
- data/lib/compass.rb +6 -7
- data/lib/compass/actions.rb +7 -1
- data/lib/compass/app_integration.rb +23 -4
- data/lib/compass/app_integration/merb.rb +1 -43
- data/lib/compass/app_integration/merb/runtime.rb +63 -0
- data/lib/compass/app_integration/rails.rb +24 -10
- data/lib/compass/app_integration/rails/configuration_defaults.rb +45 -0
- data/lib/compass/app_integration/rails/installer.rb +127 -0
- data/lib/compass/app_integration/rails/runtime.rb +14 -0
- data/lib/compass/app_integration/stand_alone.rb +22 -0
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +28 -0
- data/lib/compass/app_integration/stand_alone/installer.rb +83 -0
- data/lib/compass/commands.rb +11 -0
- data/lib/compass/commands/base.rb +4 -1
- data/lib/compass/commands/create_project.rb +108 -5
- data/lib/compass/commands/generate_grid_background.rb +73 -6
- data/lib/compass/commands/help.rb +89 -0
- data/lib/compass/commands/installer_command.rb +20 -13
- data/lib/compass/commands/interactive.rb +61 -0
- data/lib/compass/commands/list_frameworks.rb +2 -2
- data/lib/compass/commands/print_version.rb +72 -4
- data/lib/compass/commands/project_base.rb +14 -34
- data/lib/compass/commands/project_stats.rb +162 -0
- data/lib/compass/commands/registry.rb +22 -0
- data/lib/compass/commands/stamp_pattern.rb +56 -3
- data/lib/compass/commands/update_project.rb +60 -6
- data/lib/compass/commands/validate_project.rb +62 -6
- data/lib/compass/commands/watch_project.rb +12 -5
- data/lib/compass/commands/write_configuration.rb +89 -4
- data/lib/compass/compiler.rb +13 -4
- data/lib/compass/configuration.rb +29 -310
- data/lib/compass/configuration/adapters.rb +59 -0
- data/lib/compass/configuration/comments.rb +22 -0
- data/lib/compass/configuration/data.rb +106 -0
- data/lib/compass/configuration/defaults.rb +138 -0
- data/lib/compass/configuration/helpers.rb +120 -0
- data/lib/compass/configuration/inheritance.rb +170 -0
- data/lib/compass/configuration/serialization.rb +86 -0
- data/lib/compass/dependencies.rb +4 -8
- data/lib/compass/errors.rb +4 -1
- data/lib/compass/exec.rb +11 -246
- data/lib/compass/exec/command_option_parser.rb +23 -0
- data/lib/compass/exec/global_options_parser.rb +37 -0
- data/lib/compass/exec/helpers.rb +28 -0
- data/lib/compass/exec/project_options_parser.rb +46 -0
- data/lib/compass/exec/sub_command_ui.rb +45 -0
- data/lib/compass/exec/switch_ui.rb +166 -0
- data/lib/compass/frameworks.rb +70 -7
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +31 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_buttons.sass +27 -27
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_colors.sass +0 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_debug.sass +2 -2
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_fancy_type.sass +19 -19
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_grid.sass +34 -33
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_link_icons.sass +9 -9
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_liquid.sass +29 -29
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +87 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_reset.sass +20 -18
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_scaffolding.sass +6 -4
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_utilities.sass +15 -15
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons.sass +4 -4
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +17 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +23 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/grid.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
- data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +32 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
- data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/screen.sass +3 -2
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +21 -0
- data/lib/compass/frameworks/compass/stylesheets/_compass.sass +2 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +14 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_misc.sass +12 -12
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +47 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +20 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +13 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass +37 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +7 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +62 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +9 -7
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_links.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +7 -7
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +28 -28
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +6 -6
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +9 -9
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
- data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +27 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
- data/lib/compass/frameworks/compass/templates/extension/manifest.rb +20 -0
- data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
- data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +32 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/ie.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/manifest.rb +1 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/print.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/screen.sass +0 -0
- data/lib/compass/grid_builder.rb +15 -11
- data/lib/compass/installers.rb +3 -5
- data/lib/compass/installers/bare_installer.rb +58 -0
- data/lib/compass/installers/base.rb +40 -51
- data/lib/compass/installers/manifest.rb +55 -2
- data/lib/compass/installers/manifest_installer.rb +59 -0
- data/lib/compass/installers/template_context.rb +44 -0
- data/lib/compass/logger.rb +28 -2
- data/lib/compass/sass_extensions.rb +2 -2
- data/lib/compass/sass_extensions/functions.rb +4 -2
- data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
- data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
- data/lib/compass/sass_extensions/functions/selectors.rb +4 -1
- data/lib/compass/sass_extensions/functions/urls.rb +22 -2
- data/lib/compass/sass_extensions/monkey_patches.rb +3 -3
- data/lib/compass/sass_extensions/monkey_patches/traversal.rb +23 -0
- data/lib/compass/stats.rb +92 -0
- data/lib/compass/validator.rb +2 -3
- data/lib/vendor/fssm/state.rb +1 -1
- data/test/command_line_helper.rb +19 -16
- data/test/command_line_test.rb +5 -4
- data/test/compass_test.rb +16 -15
- data/test/configuration_test.rb +24 -19
- data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
- data/test/fixtures/stylesheets/compass/css/layout.css +2 -0
- data/test/fixtures/stylesheets/compass/css/print.css +2 -8
- data/test/fixtures/stylesheets/compass/css/reset.css +3 -3
- data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +9 -0
- data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
- data/test/fixtures/stylesheets/relative/css/print.css +1 -0
- data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
- data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
- data/test/io_helper.rb +36 -0
- data/test/rails_helper.rb +40 -0
- data/test/rails_integration_test.rb +7 -44
- data/test/sass_extensions_test.rb +2 -2
- data/test/test_helper.rb +9 -2
- metadata +257 -110
- data/frameworks/blueprint.rb +0 -2
- data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -93
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -83
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -15
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -55
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -58
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -104
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -155
- data/frameworks/blueprint/templates/buttons/manifest.rb +0 -5
- data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -10
- data/frameworks/blueprint/templates/project/ie.sass +0 -15
- data/frameworks/blueprint/templates/project/manifest.rb +0 -6
- data/frameworks/blueprint/templates/project/print.sass +0 -3
- data/frameworks/compass.rb +0 -2
- data/frameworks/compass/stylesheets/_compass.sass +0 -1
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +0 -6
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -12
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
- data/frameworks/compass/templates/ellipsis/manifest.rb +0 -2
- data/frameworks/yui.rb +0 -2
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +0 -60
- data/lib/compass/installers/rails.rb +0 -135
- data/lib/compass/installers/stand_alone.rb +0 -60
- data/test/fixtures/stylesheets/yui/config.rb +0 -9
- data/test/fixtures/stylesheets/yui/css/mixins.css +0 -13
- data/test/fixtures/stylesheets/yui/sass/base.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/fonts.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/grids.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/mixins.sass +0 -16
data/test/configuration_test.rb
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
require 'compass'
|
3
|
+
require 'stringio'
|
3
4
|
|
4
5
|
class ConfigurationTest < Test::Unit::TestCase
|
6
|
+
include Compass::IoHelper
|
5
7
|
|
6
8
|
def setup
|
7
|
-
Compass.
|
9
|
+
Compass.reset_configuration!
|
8
10
|
end
|
9
11
|
|
10
12
|
def test_parse_and_serialize
|
11
|
-
contents = <<-CONFIG
|
13
|
+
contents = StringIO.new(<<-CONFIG)
|
12
14
|
require 'compass'
|
13
15
|
# Require any additional compass plugins here.
|
14
16
|
|
@@ -24,48 +26,50 @@ class ConfigurationTest < Test::Unit::TestCase
|
|
24
26
|
# relative_assets = true
|
25
27
|
CONFIG
|
26
28
|
|
27
|
-
Compass.
|
29
|
+
Compass.add_configuration(contents, "test_parse")
|
28
30
|
|
29
31
|
assert_equal 'sass', Compass.configuration.sass_dir
|
30
32
|
assert_equal 'css', Compass.configuration.css_dir
|
31
33
|
assert_equal 'img', Compass.configuration.images_dir
|
32
34
|
assert_equal 'js', Compass.configuration.javascripts_dir
|
33
35
|
|
34
|
-
expected_lines = contents.split("\n").map{|l|l.strip}
|
36
|
+
expected_lines = contents.string.split("\n").map{|l|l.strip}
|
35
37
|
actual_lines = Compass.configuration.serialize.split("\n").map{|l|l.strip}
|
36
38
|
assert_equal expected_lines, actual_lines
|
37
39
|
end
|
38
40
|
|
39
|
-
def
|
40
|
-
contents = <<-CONFIG
|
41
|
+
def test_serialization_warns_with_asset_host_set
|
42
|
+
contents = StringIO.new(<<-CONFIG)
|
41
43
|
asset_host do |path|
|
42
44
|
"http://example.com"
|
43
45
|
end
|
44
46
|
CONFIG
|
45
47
|
|
46
|
-
Compass.
|
48
|
+
Compass.add_configuration(contents, "test_serialization_warns_with_asset_host_set")
|
47
49
|
|
48
|
-
|
50
|
+
warning = capture_warning do
|
49
51
|
Compass.configuration.serialize
|
50
52
|
end
|
53
|
+
assert_equal "WARNING: asset_host is code and cannot be written to a file. You'll need to copy it yourself.\n", warning
|
51
54
|
end
|
52
55
|
|
53
|
-
def
|
54
|
-
contents = <<-CONFIG
|
56
|
+
def test_serialization_warns_with_asset_cache_buster_set
|
57
|
+
contents = StringIO.new(<<-CONFIG)
|
55
58
|
asset_cache_buster do |path|
|
56
59
|
"http://example.com"
|
57
60
|
end
|
58
61
|
CONFIG
|
59
62
|
|
60
|
-
Compass.
|
63
|
+
Compass.add_configuration(contents, "test_serialization_warns_with_asset_cache_buster_set")
|
61
64
|
|
62
|
-
|
65
|
+
warning = capture_warning do
|
63
66
|
Compass.configuration.serialize
|
64
67
|
end
|
68
|
+
assert_equal "WARNING: asset_cache_buster is code and cannot be written to a file. You'll need to copy it yourself.\n", warning
|
65
69
|
end
|
66
70
|
|
67
71
|
def test_additional_import_paths
|
68
|
-
contents = <<-CONFIG
|
72
|
+
contents = StringIO.new(<<-CONFIG)
|
69
73
|
http_path = "/"
|
70
74
|
project_path = "/home/chris/my_compass_project"
|
71
75
|
css_dir = "css"
|
@@ -73,7 +77,7 @@ class ConfigurationTest < Test::Unit::TestCase
|
|
73
77
|
add_import_path "/path/to/my/framework"
|
74
78
|
CONFIG
|
75
79
|
|
76
|
-
Compass.
|
80
|
+
Compass.add_configuration(contents, "test_additional_import_paths")
|
77
81
|
|
78
82
|
assert Compass.configuration.to_sass_engine_options[:load_paths].include?("/home/chris/my_compass_project/../foo")
|
79
83
|
assert Compass.configuration.to_sass_engine_options[:load_paths].include?("/path/to/my/framework"), Compass.configuration.to_sass_engine_options[:load_paths].inspect
|
@@ -91,15 +95,15 @@ css_dir = "css"
|
|
91
95
|
additional_import_paths = ["../foo", "/path/to/my/framework"]
|
92
96
|
EXPECTED
|
93
97
|
assert_equal "/", Compass.configuration.http_path
|
94
|
-
assert_equal expected_serialization, Compass.configuration.serialize
|
98
|
+
assert_equal expected_serialization.split("\n"), Compass.configuration.serialize.split("\n")
|
95
99
|
end
|
96
100
|
|
97
101
|
def test_sass_options
|
98
|
-
contents = <<-CONFIG
|
102
|
+
contents = StringIO.new(<<-CONFIG)
|
99
103
|
sass_options = {:foo => 'bar'}
|
100
104
|
CONFIG
|
101
105
|
|
102
|
-
Compass.
|
106
|
+
Compass.add_configuration(contents, "test_sass_options")
|
103
107
|
|
104
108
|
assert_equal 'bar', Compass.configuration.to_sass_engine_options[:foo]
|
105
109
|
assert_equal 'bar', Compass.configuration.to_sass_plugin_options[:foo]
|
@@ -107,6 +111,7 @@ EXPECTED
|
|
107
111
|
expected_serialization = <<EXPECTED
|
108
112
|
# Require any additional compass plugins here.
|
109
113
|
# Set this to the root of your project when deployed:
|
114
|
+
http_path = "/"
|
110
115
|
# To enable relative paths to assets via compass helper functions. Uncomment:
|
111
116
|
# relative_assets = true
|
112
117
|
sass_options = {:foo=>"bar"}
|
@@ -115,4 +120,4 @@ EXPECTED
|
|
115
120
|
assert_equal expected_serialization, Compass.configuration.serialize
|
116
121
|
end
|
117
122
|
|
118
|
-
end
|
123
|
+
end
|
@@ -111,14 +111,16 @@ pre, code, tt {
|
|
111
111
|
line-height: 1.5; }
|
112
112
|
|
113
113
|
li ul, li ol {
|
114
|
-
margin: 0
|
114
|
+
margin: 0; }
|
115
|
+
|
116
|
+
ul, ol {
|
117
|
+
margin: 0 1.5em 1.5em 0;
|
118
|
+
padding-left: 3.333em; }
|
115
119
|
|
116
120
|
ul {
|
117
|
-
margin: 0 1.5em 1.5em 1.5em;
|
118
121
|
list-style-type: disc; }
|
119
122
|
|
120
123
|
ol {
|
121
|
-
margin: 0 1.5em 1.5em 1.5em;
|
122
124
|
list-style-type: decimal; }
|
123
125
|
|
124
126
|
dl {
|
@@ -1,3 +1,3 @@
|
|
1
|
-
@import blueprint/
|
1
|
+
@import blueprint/typography.sass
|
2
2
|
|
3
|
-
+blueprint-typography
|
3
|
+
+blueprint-typography
|
@@ -2,16 +2,10 @@
|
|
2
2
|
.no-print {
|
3
3
|
display: none; }
|
4
4
|
|
5
|
-
address.print-only, blockquote.print-only, center.print-only, dir.print-only, div.print-only, dd.print-only, dl.print-only, dt.print-only,
|
6
|
-
fieldset.print-only, form.print-only, frameset.print-only, h1.print-only, h2.print-only, h3.print-only, h4.print-only, h5.print-only, h6.print-only, hr.print-only,
|
7
|
-
isindex.print-only, li.print-only, menu.print-only, noframes.print-only, noscript.print-only, ol.print-only, p.print-only, pre.print-only,
|
8
|
-
table.print-only, tbody.print-only, td.print-only, tfoot.print-only, th.print-only, thead.print-only, tr.print-only, ul.print-only {
|
5
|
+
address.print-only, blockquote.print-only, center.print-only, dir.print-only, div.print-only, dd.print-only, dl.print-only, dt.print-only, fieldset.print-only, form.print-only, frameset.print-only, h1.print-only, h2.print-only, h3.print-only, h4.print-only, h5.print-only, h6.print-only, hr.print-only, isindex.print-only, menu.print-only, noframes.print-only, noscript.print-only, ol.print-only, p.print-only, pre.print-only, ul.print-only {
|
9
6
|
display: block; }
|
10
7
|
|
11
|
-
a.print-only, abbr.print-only, acronym.print-only, b.print-only, basefont.print-only, bdo.print-only, big.print-only, br.print-only, cite.print-only,
|
12
|
-
code.print-only, dfn.print-only, em.print-only, font.print-only, i.print-only, img.print-only, input.print-only, kbd.print-only, label.print-only, q.print-only, s.print-only,
|
13
|
-
samp.print-only, select.print-only, small.print-only, span.print-only, strike.print-only, strong.print-only, sub.print-only, sup.print-only,
|
14
|
-
textarea.print-only, tt.print-only, u.print-only, var.print-only {
|
8
|
+
a.print-only, abbr.print-only, acronym.print-only, b.print-only, basefont.print-only, bdo.print-only, big.print-only, br.print-only, cite.print-only, code.print-only, dfn.print-only, em.print-only, font.print-only, i.print-only, img.print-only, input.print-only, kbd.print-only, label.print-only, q.print-only, s.print-only, samp.print-only, select.print-only, small.print-only, span.print-only, strike.print-only, strong.print-only, sub.print-only, sup.print-only, textarea.print-only, tt.print-only, u.print-only, var.print-only {
|
15
9
|
display: inline; }
|
16
10
|
|
17
11
|
.print-only {
|
@@ -21,7 +21,7 @@ table, caption, tbody, tfoot, thead, tr, th, td {
|
|
21
21
|
|
22
22
|
body {
|
23
23
|
line-height: 1em;
|
24
|
-
color:
|
24
|
+
color: #000;
|
25
25
|
background: #fff; }
|
26
26
|
|
27
27
|
ol, ul {
|
@@ -43,7 +43,7 @@ q, blockquote {
|
|
43
43
|
q:before, q:after, blockquote:before, blockquote:after {
|
44
44
|
content: ""; }
|
45
45
|
|
46
|
-
img
|
46
|
+
a img {
|
47
47
|
border: none; }
|
48
48
|
|
49
49
|
.unregistered-only, .registered-only {
|
@@ -57,4 +57,4 @@ body.registered address.registered-only, body.registered blockquote.registered-o
|
|
57
57
|
body.unregistered a.unregistered-only, body.unregistered abbr.unregistered-only, body.unregistered acronym.unregistered-only, body.unregistered b.unregistered-only, body.unregistered basefont.unregistered-only, body.unregistered bdo.unregistered-only, body.unregistered big.unregistered-only, body.unregistered br.unregistered-only, body.unregistered cite.unregistered-only, body.unregistered code.unregistered-only, body.unregistered dfn.unregistered-only, body.unregistered em.unregistered-only, body.unregistered font.unregistered-only, body.unregistered i.unregistered-only, body.unregistered img.unregistered-only, body.unregistered input.unregistered-only, body.unregistered kbd.unregistered-only, body.unregistered label.unregistered-only, body.unregistered q.unregistered-only, body.unregistered s.unregistered-only, body.unregistered samp.unregistered-only, body.unregistered select.unregistered-only, body.unregistered small.unregistered-only, body.unregistered span.unregistered-only, body.unregistered strike.unregistered-only, body.unregistered strong.unregistered-only, body.unregistered sub.unregistered-only, body.unregistered sup.unregistered-only, body.unregistered textarea.unregistered-only, body.unregistered tt.unregistered-only, body.unregistered u.unregistered-only, body.unregistered var.unregistered-only {
|
58
58
|
display: inline; }
|
59
59
|
body.unregistered address.unregistered-only, body.unregistered blockquote.unregistered-only, body.unregistered center.unregistered-only, body.unregistered dir.unregistered-only, body.unregistered div.unregistered-only, body.unregistered dd.unregistered-only, body.unregistered dl.unregistered-only, body.unregistered dt.unregistered-only, body.unregistered fieldset.unregistered-only, body.unregistered form.unregistered-only, body.unregistered frameset.unregistered-only, body.unregistered h1.unregistered-only, body.unregistered h2.unregistered-only, body.unregistered h3.unregistered-only, body.unregistered h4.unregistered-only, body.unregistered h5.unregistered-only, body.unregistered h6.unregistered-only, body.unregistered hr.unregistered-only, body.unregistered isindex.unregistered-only, body.unregistered menu.unregistered-only, body.unregistered noframes.unregistered-only, body.unregistered noscript.unregistered-only, body.unregistered ol.unregistered-only, body.unregistered p.unregistered-only, body.unregistered pre.unregistered-only, body.unregistered ul.unregistered-only {
|
60
|
-
display: block; }
|
60
|
+
display: block; }
|
@@ -1,3 +1,5 @@
|
|
1
|
+
/* line 1, ../sass/screen.sass */
|
1
2
|
.showgrid { background-image: url('http://assets2.example.com/images/grid.png?busted=true'); }
|
2
3
|
|
4
|
+
/* line 4, ../sass/screen.sass */
|
3
5
|
.inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); }
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Require any additional compass plugins here.
|
2
|
+
css_dir = "tmp"
|
3
|
+
sass_dir = "sass"
|
4
|
+
images_dir = "assets/images"
|
5
|
+
javascripts_dir = "assets/javascripts"
|
6
|
+
# Set this to the root of your project when deployed:
|
7
|
+
http_path = "/"
|
8
|
+
# To enable relative paths to assets via compass helper functions. Uncomment:
|
9
|
+
relative_assets = true
|
@@ -0,0 +1 @@
|
|
1
|
+
/* Welcome to Compass. Use this file to write IE specific override styles. Import this file using the following HTML or equivalent: <!--[if IE]> <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> <![endif]--> */
|
@@ -0,0 +1 @@
|
|
1
|
+
/* Welcome to Compass. Use this file to define print styles. Import this file using the following HTML or equivalent: <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> */
|
@@ -0,0 +1 @@
|
|
1
|
+
test { background: url('../assets/images/testing.png?<%= File.mtime(File.join(Compass.configuration.project_path, 'assets', 'images', 'testing.png')).strftime("%s") %>'); }
|
data/test/io_helper.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
module Compass
|
2
|
+
module IoHelper
|
3
|
+
def capture_output
|
4
|
+
real_stdout, $stdout = $stdout, StringIO.new
|
5
|
+
yield
|
6
|
+
$stdout.string
|
7
|
+
ensure
|
8
|
+
$stdout = real_stdout
|
9
|
+
end
|
10
|
+
|
11
|
+
def capture_warning
|
12
|
+
real_stderr, $stderr = $stderr, StringIO.new
|
13
|
+
yield
|
14
|
+
$stderr.string
|
15
|
+
ensure
|
16
|
+
$stderr = real_stderr
|
17
|
+
end
|
18
|
+
|
19
|
+
def capture_pipe(io, options = {})
|
20
|
+
options[:wait] = 0.25
|
21
|
+
options[:timeout] = 1.0
|
22
|
+
output = ""
|
23
|
+
eof_at = nil
|
24
|
+
while !eof_at || (Time.now - eof_at < options[:wait])
|
25
|
+
if io.eof?
|
26
|
+
eof_at ||= Time.now
|
27
|
+
sleep 0.1
|
28
|
+
else
|
29
|
+
eof_at = nil
|
30
|
+
timeout(options[:timeout]) { output << io.readpartial(1024) }
|
31
|
+
end
|
32
|
+
end
|
33
|
+
output
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Compass
|
2
|
+
module RailsHelper
|
3
|
+
def generate_rails_app_directories(name)
|
4
|
+
Dir.mkdir name
|
5
|
+
Dir.mkdir File.join(name, "config")
|
6
|
+
Dir.mkdir File.join(name, "config", "initializers")
|
7
|
+
end
|
8
|
+
|
9
|
+
# Generate a rails application without polluting our current set of requires
|
10
|
+
# with the rails libraries. This will allow testing against multiple versions of rails
|
11
|
+
# by manipulating the load path.
|
12
|
+
def generate_rails_app(name)
|
13
|
+
if pid = fork
|
14
|
+
Process.wait(pid)
|
15
|
+
if $?.exitstatus == 2
|
16
|
+
raise LoadError, "Couldn't load rails"
|
17
|
+
elsif $?.exitstatus != 0
|
18
|
+
raise "Failed to generate rails application."
|
19
|
+
end
|
20
|
+
else
|
21
|
+
begin
|
22
|
+
require 'rails/version'
|
23
|
+
require 'rails_generator'
|
24
|
+
require 'rails_generator/scripts/generate'
|
25
|
+
Rails::Generator::Base.use_application_sources!
|
26
|
+
capture_output do
|
27
|
+
Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new $stdout
|
28
|
+
Rails::Generator::Scripts::Generate.new.run([name], :generator => 'app')
|
29
|
+
end
|
30
|
+
rescue LoadError
|
31
|
+
Kernel.exit!(2)
|
32
|
+
rescue => e
|
33
|
+
$stderr.puts e
|
34
|
+
Kernel.exit!(1)
|
35
|
+
end
|
36
|
+
Kernel.exit!(0)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
require 'fileutils'
|
3
3
|
require 'compass'
|
4
4
|
require 'compass/exec'
|
@@ -7,9 +7,11 @@ require 'timeout'
|
|
7
7
|
class RailsIntegrationTest < Test::Unit::TestCase
|
8
8
|
include Compass::TestCaseHelper
|
9
9
|
include Compass::CommandLineHelper
|
10
|
+
include Compass::IoHelper
|
11
|
+
include Compass::RailsHelper
|
10
12
|
|
11
13
|
def setup
|
12
|
-
Compass.
|
14
|
+
Compass.reset_configuration!
|
13
15
|
end
|
14
16
|
|
15
17
|
def test_rails_install
|
@@ -17,8 +19,8 @@ class RailsIntegrationTest < Test::Unit::TestCase
|
|
17
19
|
generate_rails_app_directories("compass_rails")
|
18
20
|
Dir.chdir "compass_rails" do
|
19
21
|
compass("--rails", '--trace', ".") do |responder|
|
20
|
-
responder.respond_to "Is this OK? (Y/n)
|
21
|
-
responder.respond_to "Emit compiled stylesheets to public/stylesheets/compiled/? (Y/n)
|
22
|
+
responder.respond_to "Is this OK? (Y/n)", :with => "Y", :required => true
|
23
|
+
responder.respond_to "Emit compiled stylesheets to public/stylesheets/compiled/? (Y/n)", :with => "Y", :required => true
|
22
24
|
end
|
23
25
|
# puts ">>>#{@last_result}<<<"
|
24
26
|
assert_action_performed :create, "./app/stylesheets/screen.sass"
|
@@ -41,43 +43,4 @@ class RailsIntegrationTest < Test::Unit::TestCase
|
|
41
43
|
rescue LoadError
|
42
44
|
puts "Skipping rails test. Couldn't Load rails"
|
43
45
|
end
|
44
|
-
|
45
|
-
|
46
|
-
def generate_rails_app_directories(name)
|
47
|
-
Dir.mkdir name
|
48
|
-
Dir.mkdir File.join(name, "config")
|
49
|
-
Dir.mkdir File.join(name, "config", "initializers")
|
50
|
-
end
|
51
|
-
|
52
|
-
# Generate a rails application without polluting our current set of requires
|
53
|
-
# with the rails libraries. This will allow testing against multiple versions of rails
|
54
|
-
# by manipulating the load path.
|
55
|
-
def generate_rails_app(name)
|
56
|
-
if pid = fork
|
57
|
-
Process.wait(pid)
|
58
|
-
if $?.exitstatus == 2
|
59
|
-
raise LoadError, "Couldn't load rails"
|
60
|
-
elsif $?.exitstatus != 0
|
61
|
-
raise "Failed to generate rails application."
|
62
|
-
end
|
63
|
-
else
|
64
|
-
begin
|
65
|
-
require 'rails/version'
|
66
|
-
require 'rails_generator'
|
67
|
-
require 'rails_generator/scripts/generate'
|
68
|
-
Rails::Generator::Base.use_application_sources!
|
69
|
-
capture_output do
|
70
|
-
Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new $stdout
|
71
|
-
Rails::Generator::Scripts::Generate.new.run([name], :generator => 'app')
|
72
|
-
end
|
73
|
-
rescue LoadError
|
74
|
-
Kernel.exit(2)
|
75
|
-
rescue => e
|
76
|
-
$stderr.puts e
|
77
|
-
Kernel.exit!(1)
|
78
|
-
end
|
79
|
-
Kernel.exit!(0)
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
46
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
|
3
3
|
class SassExtensionsTest < Test::Unit::TestCase
|
4
4
|
def test_simple
|
@@ -28,4 +28,4 @@ protected
|
|
28
28
|
options = arguments.last.is_a?(Hash) ? arguments.pop : Hash.new
|
29
29
|
evaluation_content(options).nest(*arguments.map{|a| Sass::Script::String.new(a)}).to_s
|
30
30
|
end
|
31
|
-
end
|
31
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
need_gems = false
|
2
2
|
|
3
|
+
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
|
4
|
+
$:.unshift(lib_dir) unless $:.include?(lib_dir)
|
5
|
+
test_dir = File.dirname(__FILE__)
|
6
|
+
$:.unshift(test_dir) unless $:.include?(test_dir)
|
7
|
+
|
3
8
|
# allows testing with edge Haml by creating a test/haml symlink
|
4
9
|
linked_haml = File.dirname(__FILE__) + '/haml'
|
5
10
|
|
@@ -17,5 +22,7 @@ require 'compass'
|
|
17
22
|
|
18
23
|
require 'test/unit'
|
19
24
|
|
20
|
-
require
|
21
|
-
require
|
25
|
+
require 'test_case_helper'
|
26
|
+
require 'io_helper'
|
27
|
+
require 'rails_helper'
|
28
|
+
require 'command_line_helper'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Eppstein
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-29 00:00:00 -08:00
|
13
13
|
default_executable: compass
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.2.
|
23
|
+
version: 2.2.14
|
24
24
|
version:
|
25
25
|
description: Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS.
|
26
26
|
email: chris@eppsteins.net
|
@@ -103,8 +103,16 @@ files:
|
|
103
103
|
- examples/blueprint_semantic/src/liquid.sass
|
104
104
|
- examples/blueprint_semantic/src/print.sass
|
105
105
|
- examples/blueprint_semantic/src/screen.sass
|
106
|
+
- examples/compass/bootstrap.rb
|
106
107
|
- examples/compass/compass.html.haml
|
107
108
|
- examples/compass/config.rb
|
109
|
+
- examples/compass/extensions/yui/stylesheets/_yui.sass
|
110
|
+
- examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass
|
111
|
+
- examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass
|
112
|
+
- examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass
|
113
|
+
- examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass
|
114
|
+
- examples/compass/extensions/yui/templates/project/manifest.rb
|
115
|
+
- examples/compass/extensions/yui/templates/project/screen.sass
|
108
116
|
- examples/compass/images/blue_arrow.gif
|
109
117
|
- examples/compass/src/compass.sass
|
110
118
|
- examples/compass/src/images/blue_arrow.gif
|
@@ -112,123 +120,119 @@ files:
|
|
112
120
|
- examples/compass/src/utilities.sass
|
113
121
|
- examples/compass/sticky_footer.html.haml
|
114
122
|
- examples/compass/utilities.html.haml
|
123
|
+
- examples/css3/config.rb
|
124
|
+
- examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf
|
125
|
+
- examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf
|
126
|
+
- examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass
|
127
|
+
- examples/css3/extensions/fancy-fonts/templates/project/manifest.rb
|
128
|
+
- examples/css3/images/fresh-peas.jpg
|
129
|
+
- examples/css3/index.html.haml
|
130
|
+
- examples/css3/src/_base.sass
|
131
|
+
- examples/css3/src/fancy-fonts.sass
|
132
|
+
- examples/css3/src/gradient.sass
|
133
|
+
- examples/css3/src/main.sass
|
134
|
+
- examples/css3/stylesheets/fonts/Vtks Revolt.ttf
|
135
|
+
- examples/css3/stylesheets/fonts/angelina.ttf
|
136
|
+
- examples/downloader.rb
|
115
137
|
- examples/logo/logo.html.haml
|
116
138
|
- examples/logo/src/ie.sass
|
117
139
|
- examples/logo/src/print.sass
|
118
140
|
- examples/logo/src/screen.sass
|
141
|
+
- examples/ninesixty/bootstrap.rb
|
142
|
+
- examples/ninesixty/config.rb
|
143
|
+
- examples/ninesixty/extensions/ninesixty/README.mkdn
|
144
|
+
- examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec
|
145
|
+
- examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb
|
146
|
+
- examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb
|
147
|
+
- examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass
|
148
|
+
- examples/ninesixty/extensions/ninesixty/sass/960/_text.sass
|
149
|
+
- examples/ninesixty/extensions/ninesixty/templates/project/grid.sass
|
150
|
+
- examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb
|
151
|
+
- examples/ninesixty/extensions/ninesixty/templates/project/text.sass
|
152
|
+
- examples/ninesixty/src/grid.sass
|
153
|
+
- examples/ninesixty/src/text.sass
|
154
|
+
- examples/susy/bootstrap.rb
|
155
|
+
- examples/susy/config.rb
|
156
|
+
- examples/susy/extensions/susy/LICENSE.txt
|
157
|
+
- examples/susy/extensions/susy/README.mkdn
|
158
|
+
- examples/susy/extensions/susy/compass-susy-plugin.gemspec
|
159
|
+
- examples/susy/extensions/susy/docs/tutorial/build.sh
|
160
|
+
- examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass
|
161
|
+
- examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass
|
162
|
+
- examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass
|
163
|
+
- examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass
|
164
|
+
- examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass
|
165
|
+
- examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass
|
166
|
+
- examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb
|
167
|
+
- examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png
|
168
|
+
- examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png
|
169
|
+
- examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass
|
170
|
+
- examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl
|
171
|
+
- examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass
|
172
|
+
- examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass
|
173
|
+
- examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png
|
174
|
+
- examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png
|
175
|
+
- examples/susy/extensions/susy/docs/tutorial/index.mkdn
|
176
|
+
- examples/susy/extensions/susy/lib/susy.rb
|
177
|
+
- examples/susy/extensions/susy/lib/susy/compass_plugin.rb
|
178
|
+
- examples/susy/extensions/susy/lib/susy/sass_extensions.rb
|
179
|
+
- examples/susy/extensions/susy/sass/susy/_grid.sass
|
180
|
+
- examples/susy/extensions/susy/sass/susy/_reset.sass
|
181
|
+
- examples/susy/extensions/susy/sass/susy/_susy.sass
|
182
|
+
- examples/susy/extensions/susy/sass/susy/_text.sass
|
183
|
+
- examples/susy/extensions/susy/sass/susy/_utils.sass
|
184
|
+
- examples/susy/extensions/susy/templates/project/_base.sass
|
185
|
+
- examples/susy/extensions/susy/templates/project/_defaults.sass
|
186
|
+
- examples/susy/extensions/susy/templates/project/ie.sass
|
187
|
+
- examples/susy/extensions/susy/templates/project/manifest.rb
|
188
|
+
- examples/susy/extensions/susy/templates/project/print.sass
|
189
|
+
- examples/susy/extensions/susy/templates/project/screen.sass
|
190
|
+
- examples/susy/src/_base.sass
|
191
|
+
- examples/susy/src/_defaults.sass
|
192
|
+
- examples/susy/src/screen.sass
|
193
|
+
- examples/yui/bootstrap.rb
|
119
194
|
- examples/yui/divisions.html.haml
|
195
|
+
- examples/yui/extensions/yui/stylesheets/_yui.sass
|
196
|
+
- examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass
|
197
|
+
- examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass
|
198
|
+
- examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass
|
199
|
+
- examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass
|
200
|
+
- examples/yui/extensions/yui/templates/project/manifest.rb
|
201
|
+
- examples/yui/extensions/yui/templates/project/screen.sass
|
120
202
|
- examples/yui/index.html.haml
|
121
203
|
- examples/yui/src/screen.sass
|
122
204
|
- examples/yui/sub_divisions.html.haml
|
123
205
|
- examples/yui/templates.html.haml
|
124
206
|
- examples/yui/test.jpg
|
125
207
|
- examples/yui/typography.html.haml
|
126
|
-
- frameworks/blueprint.rb
|
127
|
-
- frameworks/blueprint/stylesheets/_blueprint.sass
|
128
|
-
- frameworks/blueprint/stylesheets/blueprint/_ie.sass
|
129
|
-
- frameworks/blueprint/stylesheets/blueprint/_print.sass
|
130
|
-
- frameworks/blueprint/stylesheets/blueprint/_reset.sass
|
131
|
-
- frameworks/blueprint/stylesheets/blueprint/_screen.sass
|
132
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass
|
133
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
|
134
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
|
135
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
|
136
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_form.sass
|
137
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
|
138
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass
|
139
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass
|
140
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
|
141
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass
|
142
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass
|
143
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
|
144
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
|
145
|
-
- frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
|
146
|
-
- frameworks/blueprint/templates/buttons/buttons.sass
|
147
|
-
- frameworks/blueprint/templates/buttons/buttons/cross.png
|
148
|
-
- frameworks/blueprint/templates/buttons/buttons/key.png
|
149
|
-
- frameworks/blueprint/templates/buttons/buttons/tick.png
|
150
|
-
- frameworks/blueprint/templates/buttons/manifest.rb
|
151
|
-
- frameworks/blueprint/templates/link_icons/link_icons.sass
|
152
|
-
- frameworks/blueprint/templates/link_icons/link_icons/doc.png
|
153
|
-
- frameworks/blueprint/templates/link_icons/link_icons/email.png
|
154
|
-
- frameworks/blueprint/templates/link_icons/link_icons/external.png
|
155
|
-
- frameworks/blueprint/templates/link_icons/link_icons/feed.png
|
156
|
-
- frameworks/blueprint/templates/link_icons/link_icons/im.png
|
157
|
-
- frameworks/blueprint/templates/link_icons/link_icons/pdf.png
|
158
|
-
- frameworks/blueprint/templates/link_icons/link_icons/visited.png
|
159
|
-
- frameworks/blueprint/templates/link_icons/link_icons/xls.png
|
160
|
-
- frameworks/blueprint/templates/link_icons/manifest.rb
|
161
|
-
- frameworks/blueprint/templates/project/grid.png
|
162
|
-
- frameworks/blueprint/templates/project/ie.sass
|
163
|
-
- frameworks/blueprint/templates/project/manifest.rb
|
164
|
-
- frameworks/blueprint/templates/project/partials/_base.sass
|
165
|
-
- frameworks/blueprint/templates/project/print.sass
|
166
|
-
- frameworks/blueprint/templates/project/screen.sass
|
167
|
-
- frameworks/compass.rb
|
168
|
-
- frameworks/compass/stylesheets/_compass.sass
|
169
|
-
- frameworks/compass/stylesheets/compass/_layout.sass
|
170
|
-
- frameworks/compass/stylesheets/compass/_misc.sass
|
171
|
-
- frameworks/compass/stylesheets/compass/_reset.sass
|
172
|
-
- frameworks/compass/stylesheets/compass/_utilities.sass
|
173
|
-
- frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
|
174
|
-
- frameworks/compass/stylesheets/compass/utilities/_general.sass
|
175
|
-
- frameworks/compass/stylesheets/compass/utilities/_links.sass
|
176
|
-
- frameworks/compass/stylesheets/compass/utilities/_lists.sass
|
177
|
-
- frameworks/compass/stylesheets/compass/utilities/_print.sass
|
178
|
-
- frameworks/compass/stylesheets/compass/utilities/_sprites.sass
|
179
|
-
- frameworks/compass/stylesheets/compass/utilities/_tables.sass
|
180
|
-
- frameworks/compass/stylesheets/compass/utilities/_text.sass
|
181
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
|
182
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_float.sass
|
183
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass
|
184
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass
|
185
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
|
186
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
|
187
|
-
- frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass
|
188
|
-
- frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass
|
189
|
-
- frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
|
190
|
-
- frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass
|
191
|
-
- frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
|
192
|
-
- frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass
|
193
|
-
- frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass
|
194
|
-
- frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass
|
195
|
-
- frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
|
196
|
-
- frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass
|
197
|
-
- frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass
|
198
|
-
- frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass
|
199
|
-
- frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass
|
200
|
-
- frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
|
201
|
-
- frameworks/compass/templates/ellipsis/ellipsis.sass
|
202
|
-
- frameworks/compass/templates/ellipsis/manifest.rb
|
203
|
-
- frameworks/compass/templates/ellipsis/xml/ellipsis.xml
|
204
|
-
- frameworks/compass/templates/project/ie.sass
|
205
|
-
- frameworks/compass/templates/project/manifest.rb
|
206
|
-
- frameworks/compass/templates/project/print.sass
|
207
|
-
- frameworks/compass/templates/project/screen.sass
|
208
|
-
- frameworks/yui.rb
|
209
|
-
- frameworks/yui/stylesheets/_yui.sass
|
210
|
-
- frameworks/yui/stylesheets/yui/modules/_base.sass
|
211
|
-
- frameworks/yui/stylesheets/yui/modules/_fonts.sass
|
212
|
-
- frameworks/yui/stylesheets/yui/modules/_grids.sass
|
213
|
-
- frameworks/yui/stylesheets/yui/modules/_reset.sass
|
214
|
-
- frameworks/yui/templates/project/manifest.rb
|
215
|
-
- frameworks/yui/templates/project/screen.sass
|
216
208
|
- lib/compass.rb
|
217
209
|
- lib/compass/actions.rb
|
218
210
|
- lib/compass/app_integration.rb
|
219
211
|
- lib/compass/app_integration/merb.rb
|
212
|
+
- lib/compass/app_integration/merb/runtime.rb
|
220
213
|
- lib/compass/app_integration/rails.rb
|
221
214
|
- lib/compass/app_integration/rails/action_controller.rb
|
215
|
+
- lib/compass/app_integration/rails/configuration_defaults.rb
|
216
|
+
- lib/compass/app_integration/rails/installer.rb
|
217
|
+
- lib/compass/app_integration/rails/runtime.rb
|
222
218
|
- lib/compass/app_integration/rails/sass_plugin.rb
|
223
219
|
- lib/compass/app_integration/rails/templates/compass-install-rails.rb
|
224
220
|
- lib/compass/app_integration/rails/urls.rb
|
221
|
+
- lib/compass/app_integration/stand_alone.rb
|
222
|
+
- lib/compass/app_integration/stand_alone/configuration_defaults.rb
|
223
|
+
- lib/compass/app_integration/stand_alone/installer.rb
|
224
|
+
- lib/compass/commands.rb
|
225
225
|
- lib/compass/commands/base.rb
|
226
226
|
- lib/compass/commands/create_project.rb
|
227
227
|
- lib/compass/commands/generate_grid_background.rb
|
228
|
+
- lib/compass/commands/help.rb
|
228
229
|
- lib/compass/commands/installer_command.rb
|
230
|
+
- lib/compass/commands/interactive.rb
|
229
231
|
- lib/compass/commands/list_frameworks.rb
|
230
232
|
- lib/compass/commands/print_version.rb
|
231
233
|
- lib/compass/commands/project_base.rb
|
234
|
+
- lib/compass/commands/project_stats.rb
|
235
|
+
- lib/compass/commands/registry.rb
|
232
236
|
- lib/compass/commands/stamp_pattern.rb
|
233
237
|
- lib/compass/commands/update_project.rb
|
234
238
|
- lib/compass/commands/validate_project.rb
|
@@ -236,27 +240,158 @@ files:
|
|
236
240
|
- lib/compass/commands/write_configuration.rb
|
237
241
|
- lib/compass/compiler.rb
|
238
242
|
- lib/compass/configuration.rb
|
243
|
+
- lib/compass/configuration/adapters.rb
|
244
|
+
- lib/compass/configuration/comments.rb
|
245
|
+
- lib/compass/configuration/data.rb
|
246
|
+
- lib/compass/configuration/defaults.rb
|
247
|
+
- lib/compass/configuration/helpers.rb
|
248
|
+
- lib/compass/configuration/inheritance.rb
|
249
|
+
- lib/compass/configuration/serialization.rb
|
239
250
|
- lib/compass/core_ext.rb
|
240
251
|
- lib/compass/dependencies.rb
|
241
252
|
- lib/compass/errors.rb
|
242
253
|
- lib/compass/exec.rb
|
254
|
+
- lib/compass/exec/command_option_parser.rb
|
255
|
+
- lib/compass/exec/global_options_parser.rb
|
256
|
+
- lib/compass/exec/helpers.rb
|
257
|
+
- lib/compass/exec/project_options_parser.rb
|
258
|
+
- lib/compass/exec/sub_command_ui.rb
|
259
|
+
- lib/compass/exec/switch_ui.rb
|
243
260
|
- lib/compass/frameworks.rb
|
261
|
+
- lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass
|
262
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass
|
263
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass
|
264
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass
|
265
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass
|
266
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass
|
267
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass
|
268
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass
|
269
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass
|
270
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass
|
271
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass
|
272
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass
|
273
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass
|
274
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass
|
275
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass
|
276
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass
|
277
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass
|
278
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass
|
279
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass
|
280
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
|
281
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
|
282
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
|
283
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass
|
284
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
|
285
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass
|
286
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass
|
287
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
|
288
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass
|
289
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass
|
290
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
|
291
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
|
292
|
+
- lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
|
293
|
+
- lib/compass/frameworks/blueprint/templates/buttons/buttons.sass
|
294
|
+
- lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png
|
295
|
+
- lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png
|
296
|
+
- lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png
|
297
|
+
- lib/compass/frameworks/blueprint/templates/buttons/manifest.rb
|
298
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass
|
299
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png
|
300
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png
|
301
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png
|
302
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png
|
303
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png
|
304
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png
|
305
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png
|
306
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png
|
307
|
+
- lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb
|
308
|
+
- lib/compass/frameworks/blueprint/templates/project/grid.png
|
309
|
+
- lib/compass/frameworks/blueprint/templates/project/ie.sass
|
310
|
+
- lib/compass/frameworks/blueprint/templates/project/manifest.rb
|
311
|
+
- lib/compass/frameworks/blueprint/templates/project/partials/_base.sass
|
312
|
+
- lib/compass/frameworks/blueprint/templates/project/print.sass
|
313
|
+
- lib/compass/frameworks/blueprint/templates/project/screen.sass
|
314
|
+
- lib/compass/frameworks/blueprint/templates/project/welcome.html.haml
|
315
|
+
- lib/compass/frameworks/compass/stylesheets/_compass.sass
|
316
|
+
- lib/compass/frameworks/compass/stylesheets/compass/_css3.sass
|
317
|
+
- lib/compass/frameworks/compass/stylesheets/compass/_layout.sass
|
318
|
+
- lib/compass/frameworks/compass/stylesheets/compass/_misc.sass
|
319
|
+
- lib/compass/frameworks/compass/stylesheets/compass/_reset.sass
|
320
|
+
- lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass
|
321
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass
|
322
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass
|
323
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass
|
324
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass
|
325
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass
|
326
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass
|
327
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass
|
328
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass
|
329
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass
|
330
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass
|
331
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass
|
332
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass
|
333
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass
|
334
|
+
- lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass
|
335
|
+
- lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
|
336
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass
|
337
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass
|
338
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass
|
339
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass
|
340
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass
|
341
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass
|
342
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass
|
343
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
|
344
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass
|
345
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass
|
346
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
|
347
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
|
348
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass
|
349
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass
|
350
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
|
351
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass
|
352
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
|
353
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass
|
354
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass
|
355
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass
|
356
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
|
357
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass
|
358
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass
|
359
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass
|
360
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass
|
361
|
+
- lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
|
362
|
+
- lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass
|
363
|
+
- lib/compass/frameworks/compass/templates/ellipsis/manifest.rb
|
364
|
+
- lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml
|
365
|
+
- lib/compass/frameworks/compass/templates/extension/manifest.rb
|
366
|
+
- lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass
|
367
|
+
- lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb
|
368
|
+
- lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass
|
369
|
+
- lib/compass/frameworks/compass/templates/project/USAGE.markdown
|
370
|
+
- lib/compass/frameworks/compass/templates/project/ie.sass
|
371
|
+
- lib/compass/frameworks/compass/templates/project/manifest.rb
|
372
|
+
- lib/compass/frameworks/compass/templates/project/print.sass
|
373
|
+
- lib/compass/frameworks/compass/templates/project/screen.sass
|
244
374
|
- lib/compass/grid_builder.rb
|
245
375
|
- lib/compass/installers.rb
|
376
|
+
- lib/compass/installers/bare_installer.rb
|
246
377
|
- lib/compass/installers/base.rb
|
247
378
|
- lib/compass/installers/manifest.rb
|
248
|
-
- lib/compass/installers/
|
249
|
-
- lib/compass/installers/
|
379
|
+
- lib/compass/installers/manifest_installer.rb
|
380
|
+
- lib/compass/installers/template_context.rb
|
250
381
|
- lib/compass/logger.rb
|
251
382
|
- lib/compass/sass_extensions.rb
|
252
383
|
- lib/compass/sass_extensions/functions.rb
|
384
|
+
- lib/compass/sass_extensions/functions/color_stop.rb
|
253
385
|
- lib/compass/sass_extensions/functions/display.rb
|
254
386
|
- lib/compass/sass_extensions/functions/enumerate.rb
|
387
|
+
- lib/compass/sass_extensions/functions/font_files.rb
|
255
388
|
- lib/compass/sass_extensions/functions/inline_image.rb
|
256
389
|
- lib/compass/sass_extensions/functions/selectors.rb
|
257
390
|
- lib/compass/sass_extensions/functions/urls.rb
|
258
391
|
- lib/compass/sass_extensions/monkey_patches.rb
|
259
392
|
- lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb
|
393
|
+
- lib/compass/sass_extensions/monkey_patches/traversal.rb
|
394
|
+
- lib/compass/stats.rb
|
260
395
|
- lib/compass/test_case.rb
|
261
396
|
- lib/compass/validator.rb
|
262
397
|
- lib/compass/version.rb
|
@@ -295,12 +430,16 @@ files:
|
|
295
430
|
- test/fixtures/stylesheets/image_urls/css/screen.css
|
296
431
|
- test/fixtures/stylesheets/image_urls/images/grid.png
|
297
432
|
- test/fixtures/stylesheets/image_urls/sass/screen.sass
|
298
|
-
- test/fixtures/stylesheets/
|
299
|
-
- test/fixtures/stylesheets/
|
300
|
-
- test/fixtures/stylesheets/
|
301
|
-
- test/fixtures/stylesheets/
|
302
|
-
- test/fixtures/stylesheets/
|
303
|
-
- test/fixtures/stylesheets/
|
433
|
+
- test/fixtures/stylesheets/relative/assets/images/testing.png
|
434
|
+
- test/fixtures/stylesheets/relative/config.rb
|
435
|
+
- test/fixtures/stylesheets/relative/css/ie.css
|
436
|
+
- test/fixtures/stylesheets/relative/css/print.css
|
437
|
+
- test/fixtures/stylesheets/relative/css/screen.css
|
438
|
+
- test/fixtures/stylesheets/relative/sass/ie.sass
|
439
|
+
- test/fixtures/stylesheets/relative/sass/print.sass
|
440
|
+
- test/fixtures/stylesheets/relative/sass/screen.sass
|
441
|
+
- test/io_helper.rb
|
442
|
+
- test/rails_helper.rb
|
304
443
|
- test/rails_integration_test.rb
|
305
444
|
- test/sass_extensions_test.rb
|
306
445
|
- test/test_case_helper.rb
|
@@ -323,14 +462,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
323
462
|
version:
|
324
463
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
464
|
requirements:
|
326
|
-
- - "
|
465
|
+
- - ">"
|
327
466
|
- !ruby/object:Gem::Version
|
328
|
-
version:
|
467
|
+
version: 1.3.1
|
329
468
|
version:
|
330
469
|
requirements: []
|
331
470
|
|
332
471
|
rubyforge_project: compass
|
333
|
-
rubygems_version: 1.3.
|
472
|
+
rubygems_version: 1.3.5
|
334
473
|
signing_key:
|
335
474
|
specification_version: 3
|
336
475
|
summary: A Real Stylesheet Framework
|
@@ -359,14 +498,22 @@ test_files:
|
|
359
498
|
- test/fixtures/stylesheets/image_urls/css/screen.css
|
360
499
|
- test/fixtures/stylesheets/image_urls/images/grid.png
|
361
500
|
- test/fixtures/stylesheets/image_urls/sass/screen.sass
|
362
|
-
- test/fixtures/stylesheets/
|
363
|
-
- test/fixtures/stylesheets/
|
364
|
-
- test/fixtures/stylesheets/
|
365
|
-
- test/fixtures/stylesheets/
|
366
|
-
- test/fixtures/stylesheets/
|
367
|
-
- test/fixtures/stylesheets/
|
501
|
+
- test/fixtures/stylesheets/relative/assets/images/testing.png
|
502
|
+
- test/fixtures/stylesheets/relative/config.rb
|
503
|
+
- test/fixtures/stylesheets/relative/css/ie.css
|
504
|
+
- test/fixtures/stylesheets/relative/css/print.css
|
505
|
+
- test/fixtures/stylesheets/relative/css/screen.css
|
506
|
+
- test/fixtures/stylesheets/relative/sass/ie.sass
|
507
|
+
- test/fixtures/stylesheets/relative/sass/print.sass
|
508
|
+
- test/fixtures/stylesheets/relative/sass/screen.sass
|
509
|
+
- test/io_helper.rb
|
510
|
+
- test/rails_helper.rb
|
368
511
|
- test/rails_integration_test.rb
|
369
512
|
- test/sass_extensions_test.rb
|
370
513
|
- test/test_case_helper.rb
|
371
514
|
- test/test_helper.rb
|
372
515
|
- test/test_rails_helper.rb
|
516
|
+
- features/command_line.feature
|
517
|
+
- features/extensions.feature
|
518
|
+
- features/step_definitions/command_line_steps.rb
|
519
|
+
- features/step_definitions/extension_steps.rb
|