chriseppstein-compass 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/Manifest +29 -24
  2. data/Rakefile +9 -36
  3. data/VERSION +1 -1
  4. data/compass.gemspec +3 -3
  5. data/examples/blueprint_default/{stylesheets → src}/ie.sass +0 -0
  6. data/examples/blueprint_default/{stylesheets → src}/images/grid.png +0 -0
  7. data/examples/blueprint_default/{stylesheets → src}/print.sass +0 -0
  8. data/examples/blueprint_default/{stylesheets → src}/screen.sass +0 -0
  9. data/examples/blueprint_plugins/{stylesheets → src}/ie.sass +0 -0
  10. data/examples/blueprint_plugins/{stylesheets → src}/images/grid.png +0 -0
  11. data/examples/blueprint_plugins/{stylesheets → src}/print.sass +0 -0
  12. data/examples/blueprint_plugins/{stylesheets → src}/screen.sass +0 -0
  13. data/examples/blueprint_scoped/{stylesheets → src}/ie.sass +0 -0
  14. data/examples/blueprint_scoped/{stylesheets → src}/print.sass +0 -0
  15. data/examples/blueprint_scoped/{stylesheets → src}/screen.sass +0 -0
  16. data/examples/blueprint_scoped_form/{stylesheets → src}/ie.sass +0 -0
  17. data/examples/blueprint_scoped_form/{stylesheets → src}/print.sass +0 -0
  18. data/examples/blueprint_scoped_form/{stylesheets → src}/screen.sass +0 -0
  19. data/examples/blueprint_semantic/{stylesheets → src}/ie.sass +0 -0
  20. data/examples/blueprint_semantic/{stylesheets → src}/images/grid.png +0 -0
  21. data/examples/blueprint_semantic/{stylesheets → src}/liquid.sass +0 -0
  22. data/examples/blueprint_semantic/{stylesheets → src}/print.sass +0 -0
  23. data/examples/blueprint_semantic/{stylesheets → src}/screen.sass +0 -0
  24. data/examples/compass/{stylesheets → src}/compass.sass +0 -0
  25. data/examples/compass/{stylesheets → src}/images/blue_arrow.gif +0 -0
  26. data/examples/compass/{stylesheets → src}/sticky_footer.sass +0 -0
  27. data/examples/compass/{stylesheets → src}/utilities.sass +0 -0
  28. data/examples/logo/logo.html +32 -0
  29. data/examples/logo/src/ie.sass +6 -0
  30. data/examples/logo/src/print.sass +6 -0
  31. data/examples/logo/src/screen.sass +29 -0
  32. data/examples/yui/{stylesheets → src}/screen.sass +0 -0
  33. data/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
  34. data/lib/compass/exec.rb +1 -1
  35. metadata +31 -26
data/Manifest CHANGED
@@ -7,46 +7,50 @@ examples/blueprint_default/parts/grid.html
7
7
  examples/blueprint_default/parts/test-small.jpg
8
8
  examples/blueprint_default/parts/test.jpg
9
9
  examples/blueprint_default/parts/valid.png
10
- examples/blueprint_default/stylesheets/ie.sass
11
- examples/blueprint_default/stylesheets/images/grid.png
12
- examples/blueprint_default/stylesheets/print.sass
13
- examples/blueprint_default/stylesheets/screen.sass
10
+ examples/blueprint_default/src/ie.sass
11
+ examples/blueprint_default/src/images/grid.png
12
+ examples/blueprint_default/src/print.sass
13
+ examples/blueprint_default/src/screen.sass
14
14
  examples/blueprint_plugins/index.html
15
15
  examples/blueprint_plugins/parts/fancy_type.html
16
16
  examples/blueprint_plugins/parts/test-small.jpg
17
17
  examples/blueprint_plugins/parts/test.jpg
18
18
  examples/blueprint_plugins/parts/valid.png
19
- examples/blueprint_plugins/stylesheets/ie.sass
20
- examples/blueprint_plugins/stylesheets/images/grid.png
21
- examples/blueprint_plugins/stylesheets/print.sass
22
- examples/blueprint_plugins/stylesheets/screen.sass
23
- examples/blueprint_scoped/stylesheets/ie.sass
24
- examples/blueprint_scoped/stylesheets/print.sass
25
- examples/blueprint_scoped/stylesheets/screen.sass
26
- examples/blueprint_scoped_form/stylesheets/ie.sass
27
- examples/blueprint_scoped_form/stylesheets/print.sass
28
- examples/blueprint_scoped_form/stylesheets/screen.sass
19
+ examples/blueprint_plugins/src/ie.sass
20
+ examples/blueprint_plugins/src/images/grid.png
21
+ examples/blueprint_plugins/src/print.sass
22
+ examples/blueprint_plugins/src/screen.sass
23
+ examples/blueprint_scoped/src/ie.sass
24
+ examples/blueprint_scoped/src/print.sass
25
+ examples/blueprint_scoped/src/screen.sass
26
+ examples/blueprint_scoped_form/src/ie.sass
27
+ examples/blueprint_scoped_form/src/print.sass
28
+ examples/blueprint_scoped_form/src/screen.sass
29
29
  examples/blueprint_semantic/index.html
30
30
  examples/blueprint_semantic/parts/fancy_type.html
31
31
  examples/blueprint_semantic/parts/liquid.html
32
32
  examples/blueprint_semantic/parts/test-small.jpg
33
33
  examples/blueprint_semantic/parts/test.jpg
34
34
  examples/blueprint_semantic/parts/valid.png
35
- examples/blueprint_semantic/stylesheets/ie.sass
36
- examples/blueprint_semantic/stylesheets/images/grid.png
37
- examples/blueprint_semantic/stylesheets/liquid.sass
38
- examples/blueprint_semantic/stylesheets/print.sass
39
- examples/blueprint_semantic/stylesheets/screen.sass
35
+ examples/blueprint_semantic/src/ie.sass
36
+ examples/blueprint_semantic/src/images/grid.png
37
+ examples/blueprint_semantic/src/liquid.sass
38
+ examples/blueprint_semantic/src/print.sass
39
+ examples/blueprint_semantic/src/screen.sass
40
40
  examples/compass/compass.html
41
+ examples/compass/src/compass.sass
42
+ examples/compass/src/images/blue_arrow.gif
43
+ examples/compass/src/sticky_footer.sass
44
+ examples/compass/src/utilities.sass
41
45
  examples/compass/sticky_footer.html.haml
42
- examples/compass/stylesheets/compass.sass
43
- examples/compass/stylesheets/images/blue_arrow.gif
44
- examples/compass/stylesheets/sticky_footer.sass
45
- examples/compass/stylesheets/utilities.sass
46
46
  examples/compass/utilities.html.haml
47
+ examples/logo/logo.html
48
+ examples/logo/src/ie.sass
49
+ examples/logo/src/print.sass
50
+ examples/logo/src/screen.sass
47
51
  examples/yui/divisions.html.haml
48
52
  examples/yui/index.html.haml
49
- examples/yui/stylesheets/screen.sass
53
+ examples/yui/src/screen.sass
50
54
  examples/yui/sub_divisions.html.haml
51
55
  examples/yui/templates.html.haml
52
56
  examples/yui/test.jpg
@@ -75,6 +79,7 @@ frameworks/blueprint/templates/project/screen.sass
75
79
  frameworks/blueprint.rb
76
80
  frameworks/compass/stylesheets/_compass.sass
77
81
  frameworks/compass/stylesheets/compass/_layout.sass
82
+ frameworks/compass/stylesheets/compass/_misc.sass
78
83
  frameworks/compass/stylesheets/compass/_reset.sass
79
84
  frameworks/compass/stylesheets/compass/_utilities.sass
80
85
  frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
data/Rakefile CHANGED
@@ -63,49 +63,22 @@ task :examples do
63
63
  require 'haml'
64
64
  require 'sass'
65
65
  require 'pathname'
66
+ require 'lib/compass'
67
+ require 'lib/compass/exec'
66
68
  FileList['examples/*'].each do |example|
67
- puts "Compiling #{example} -> built_examples/#{example.sub(%r{.*/},'')}"
69
+ puts "\nCompiling #{example}"
70
+ puts "=" * "Compiling #{example}".length
68
71
  # compile any haml templates to html
69
72
  FileList["#{example}/*.haml"].each do |haml_file|
70
- basename = haml_file[9..-6]
73
+ basename = haml_file[0..-6]
71
74
  engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file)
72
- target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
73
- FileUtils.mkdir_p(target_dir)
74
- output = open("built_examples/#{basename}",'w')
75
+ puts " haml #{File.basename(basename)}"
76
+ output = open(basename,'w')
75
77
  output.write(engine.render)
76
78
  output.close
77
79
  end
78
- # compile any sass templates to css
79
- FileList["#{example}/stylesheets/**/[^_]*.sass"].each do |sass_file|
80
- basename = sass_file[9..-6]
81
- css_filename = "built_examples/#{basename}.css"
82
- compass_sass = File.dirname(__FILE__).sub(%r{.*/},'')
83
- engine = Sass::Engine.new(open(sass_file).read,
84
- :filename => sass_file,
85
- :line_comments => true,
86
- :css_filename => css_filename,
87
- :load_paths => ["#{example}/stylesheets"] + Compass::Frameworks::ALL.map{|f| f.stylesheets_directory})
88
- target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
89
- FileUtils.mkdir_p(target_dir)
90
- output = open(css_filename,'w')
91
- output.write(engine.render)
92
- output.close
93
- end
94
- # copy any other non-haml and non-sass files directly over
95
- target_dir = "built_examples/#{example.sub(%r{.*/},'')}"
96
- other_files = FileList["#{example}/**/*"]
97
- other_files.exclude "**/*.sass", "**/*.haml"
98
- other_files.each do |file|
99
-
100
- if File.directory?(file)
101
- FileUtils.mkdir_p(file)
102
- elsif File.file?(file)
103
- target_file = "#{target_dir}/#{file[(example.size+1)..-1]}"
104
- # puts "mkdir -p #{File.dirname(target_file)}"
105
- FileUtils.mkdir_p(File.dirname(target_file))
106
- # puts "cp #{file} #{target_file}"
107
- FileUtils.cp(file, target_file)
108
- end
80
+ Dir.chdir example do
81
+ Compass::Exec::Compass.new([]).run!
109
82
  end
110
83
  end
111
84
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
data/compass.gemspec CHANGED
@@ -1,16 +1,16 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{compass}
3
- s.version = "0.5.2"
3
+ s.version = "0.5.3"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Chris Eppstein"]
7
- s.date = %q{2009-03-11}
7
+ s.date = %q{2009-03-12}
8
8
  s.default_executable = %q{compass}
9
9
  s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
10
10
  s.email = %q{chris@eppsteins.net}
11
11
  s.executables = ["compass"]
12
12
  s.extra_rdoc_files = ["bin/compass", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "README.markdown"]
13
- s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/stylesheets/ie.sass", "examples/blueprint_default/stylesheets/images/grid.png", "examples/blueprint_default/stylesheets/print.sass", "examples/blueprint_default/stylesheets/screen.sass", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/stylesheets/ie.sass", "examples/blueprint_plugins/stylesheets/images/grid.png", "examples/blueprint_plugins/stylesheets/print.sass", "examples/blueprint_plugins/stylesheets/screen.sass", "examples/blueprint_scoped/stylesheets/ie.sass", "examples/blueprint_scoped/stylesheets/print.sass", "examples/blueprint_scoped/stylesheets/screen.sass", "examples/blueprint_scoped_form/stylesheets/ie.sass", "examples/blueprint_scoped_form/stylesheets/print.sass", "examples/blueprint_scoped_form/stylesheets/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/stylesheets/ie.sass", "examples/blueprint_semantic/stylesheets/images/grid.png", "examples/blueprint_semantic/stylesheets/liquid.sass", "examples/blueprint_semantic/stylesheets/print.sass", "examples/blueprint_semantic/stylesheets/screen.sass", "examples/compass/compass.html", "examples/compass/sticky_footer.html.haml", "examples/compass/stylesheets/compass.sass", "examples/compass/stylesheets/images/blue_arrow.gif", "examples/compass/stylesheets/sticky_footer.sass", "examples/compass/stylesheets/utilities.sass", "examples/compass/utilities.html.haml", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/stylesheets/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/lib/blueprint/constants.rb", "frameworks/blueprint/lib/blueprint/grid_builder.rb", "frameworks/blueprint/stylesheets/_blueprint.sass", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/manifest.rb", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/blueprint.rb", "frameworks/compass/stylesheets/_compass.sass", "frameworks/compass/stylesheets/compass/_layout.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_print.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/manifest.rb", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/compass.rb", "frameworks/yui/COPYRIGHT", "frameworks/yui/stylesheets/_yui.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/templates/project/manifest.rb", "frameworks/yui/templates/project/screen.sass", "frameworks/yui.rb", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "Manifest", "Rakefile", "README.markdown", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/sass_extensions_test.rb", "test/test_helper.rb", "VERSION"]
13
+ s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/src/ie.sass", "examples/blueprint_default/src/images/grid.png", "examples/blueprint_default/src/print.sass", "examples/blueprint_default/src/screen.sass", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/src/ie.sass", "examples/blueprint_plugins/src/images/grid.png", "examples/blueprint_plugins/src/print.sass", "examples/blueprint_plugins/src/screen.sass", "examples/blueprint_scoped/src/ie.sass", "examples/blueprint_scoped/src/print.sass", "examples/blueprint_scoped/src/screen.sass", "examples/blueprint_scoped_form/src/ie.sass", "examples/blueprint_scoped_form/src/print.sass", "examples/blueprint_scoped_form/src/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/src/ie.sass", "examples/blueprint_semantic/src/images/grid.png", "examples/blueprint_semantic/src/liquid.sass", "examples/blueprint_semantic/src/print.sass", "examples/blueprint_semantic/src/screen.sass", "examples/compass/compass.html", "examples/compass/src/compass.sass", "examples/compass/src/images/blue_arrow.gif", "examples/compass/src/sticky_footer.sass", "examples/compass/src/utilities.sass", "examples/compass/sticky_footer.html.haml", "examples/compass/utilities.html.haml", "examples/logo/logo.html", "examples/logo/src/ie.sass", "examples/logo/src/print.sass", "examples/logo/src/screen.sass", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/src/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/lib/blueprint/constants.rb", "frameworks/blueprint/lib/blueprint/grid_builder.rb", "frameworks/blueprint/stylesheets/_blueprint.sass", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/manifest.rb", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/blueprint.rb", "frameworks/compass/stylesheets/_compass.sass", "frameworks/compass/stylesheets/compass/_layout.sass", "frameworks/compass/stylesheets/compass/_misc.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_print.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/manifest.rb", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/compass.rb", "frameworks/yui/COPYRIGHT", "frameworks/yui/stylesheets/_yui.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/templates/project/manifest.rb", "frameworks/yui/templates/project/screen.sass", "frameworks/yui.rb", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "Manifest", "Rakefile", "README.markdown", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/sass_extensions_test.rb", "test/test_helper.rb", "VERSION"]
14
14
  s.homepage = %q{http://github.com/chriseppstein/compass}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass", "--main", "README.markdown"]
16
16
  s.require_paths = ["lib"]
File without changes
@@ -0,0 +1,32 @@
1
+ <html>
2
+ <head>
3
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" charset="utf-8">
4
+ </head>
5
+ <body>
6
+ <div id="logo-large">
7
+ <span class="selector">un</span>
8
+ <span class="brace">{</span>
9
+ <span class="rule">ob:tru-sive;</span>
10
+ <span class="brace">}</span>
11
+ </div>
12
+ <div id="logo-medium">
13
+ <span class="selector">un</span>
14
+ <span class="brace">{</span>
15
+ <span class="rule">ob:tru-sive;</span>
16
+ <span class="brace">}</span>
17
+ </div>
18
+ <div id="logo">
19
+ <span class="selector">un</span>
20
+ <span class="brace">{</span>
21
+ <span class="rule">ob:tru-sive;</span>
22
+ <span class="brace">}</span>
23
+ </div>
24
+ <div id="logo-small">
25
+ <span class="selector">un</span>
26
+ <span class="brace">{</span>
27
+ <span class="rule">ob:tru-sive;</span>
28
+ <span class="brace">}</span>
29
+ </div>
30
+ </body>
31
+ </html>
32
+
@@ -0,0 +1,6 @@
1
+ /*
2
+ Welcome to Compass. Use this file to write IE specific override styles.
3
+ Import this file using the following HTML or equivalent:
4
+ <!--[if IE]>
5
+ <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
6
+ <![endif]-->
@@ -0,0 +1,6 @@
1
+ /*
2
+ Welcome to Compass. Use this file to define print styles.
3
+ Import this file using the following HTML or equivalent:
4
+ <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
5
+
6
+
@@ -0,0 +1,29 @@
1
+ /*
2
+ Welcome to Compass.
3
+ In this file you should write your main styles. (or centralize your imports)
4
+ Import this file using the following HTML or equivalent:
5
+ <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
6
+
7
+ @import compass/reset.sass
8
+ @import compass/misc.sass
9
+
10
+ #logo-large,
11
+ #logo-medium,
12
+ #logo,
13
+ #logo-small
14
+ :text-align center
15
+ :margin
16
+ :bottom 40px
17
+
18
+ #logo-large
19
+ +unobtrusive-logo(3em)
20
+ :margin-top 20px
21
+
22
+ #logo-medium
23
+ +unobtrusive-logo(2em)
24
+
25
+ #logo
26
+ +unobtrusive-logo
27
+
28
+ #logo-small
29
+ +unobtrusive-logo(0.5em)
File without changes
@@ -0,0 +1,24 @@
1
+ //
2
+ This logo was designed by Jared Hardy <jared@jaredhardy.com>
3
+ This work is licensed under the Creative Commons Attribution 3.0 United States License.
4
+ To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/
5
+ or send a letter to:
6
+ Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
7
+
8
+ =unobtrusive-logo(!size = 1em)
9
+ :font-family Monaco, Courier, "Lucida Sans Unicode", monospace
10
+ :font-size= !size
11
+ :color #888
12
+ .selector
13
+ :vertical-align middle
14
+ :font-size= 1.3em
15
+ .brace
16
+ :vertical-align middle
17
+ :font bold 1.7em Georgia, "Times New Roman", serif
18
+ :color #CCC
19
+ :margin= 0 -0.2em
20
+ .rule
21
+ :vertical-align middle
22
+ :margin= 0 -0.2em
23
+
24
+
data/lib/compass/exec.rb CHANGED
@@ -126,7 +126,7 @@ END
126
126
  end
127
127
 
128
128
  opts.on('-s STYLE', '--output-style STYLE', [:nested, :expanded, :compact, :compressed], 'Select a CSS output mode (nested, expanded, compact, compressed)') do |style|
129
- self.options[:style] = style
129
+ self.options[:output_style] = style
130
130
  end
131
131
 
132
132
  opts.on('-r LIBRARY', '--require LIBRARY', "Require LIBRARY before running commands. This is used to access compass plugins.") do |library|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chriseppstein-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
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-03-11 00:00:00 -07:00
12
+ date: 2009-03-12 00:00:00 -07:00
13
13
  default_executable: compass
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -87,46 +87,50 @@ files:
87
87
  - examples/blueprint_default/parts/test-small.jpg
88
88
  - examples/blueprint_default/parts/test.jpg
89
89
  - examples/blueprint_default/parts/valid.png
90
- - examples/blueprint_default/stylesheets/ie.sass
91
- - examples/blueprint_default/stylesheets/images/grid.png
92
- - examples/blueprint_default/stylesheets/print.sass
93
- - examples/blueprint_default/stylesheets/screen.sass
90
+ - examples/blueprint_default/src/ie.sass
91
+ - examples/blueprint_default/src/images/grid.png
92
+ - examples/blueprint_default/src/print.sass
93
+ - examples/blueprint_default/src/screen.sass
94
94
  - examples/blueprint_plugins/index.html
95
95
  - examples/blueprint_plugins/parts/fancy_type.html
96
96
  - examples/blueprint_plugins/parts/test-small.jpg
97
97
  - examples/blueprint_plugins/parts/test.jpg
98
98
  - examples/blueprint_plugins/parts/valid.png
99
- - examples/blueprint_plugins/stylesheets/ie.sass
100
- - examples/blueprint_plugins/stylesheets/images/grid.png
101
- - examples/blueprint_plugins/stylesheets/print.sass
102
- - examples/blueprint_plugins/stylesheets/screen.sass
103
- - examples/blueprint_scoped/stylesheets/ie.sass
104
- - examples/blueprint_scoped/stylesheets/print.sass
105
- - examples/blueprint_scoped/stylesheets/screen.sass
106
- - examples/blueprint_scoped_form/stylesheets/ie.sass
107
- - examples/blueprint_scoped_form/stylesheets/print.sass
108
- - examples/blueprint_scoped_form/stylesheets/screen.sass
99
+ - examples/blueprint_plugins/src/ie.sass
100
+ - examples/blueprint_plugins/src/images/grid.png
101
+ - examples/blueprint_plugins/src/print.sass
102
+ - examples/blueprint_plugins/src/screen.sass
103
+ - examples/blueprint_scoped/src/ie.sass
104
+ - examples/blueprint_scoped/src/print.sass
105
+ - examples/blueprint_scoped/src/screen.sass
106
+ - examples/blueprint_scoped_form/src/ie.sass
107
+ - examples/blueprint_scoped_form/src/print.sass
108
+ - examples/blueprint_scoped_form/src/screen.sass
109
109
  - examples/blueprint_semantic/index.html
110
110
  - examples/blueprint_semantic/parts/fancy_type.html
111
111
  - examples/blueprint_semantic/parts/liquid.html
112
112
  - examples/blueprint_semantic/parts/test-small.jpg
113
113
  - examples/blueprint_semantic/parts/test.jpg
114
114
  - examples/blueprint_semantic/parts/valid.png
115
- - examples/blueprint_semantic/stylesheets/ie.sass
116
- - examples/blueprint_semantic/stylesheets/images/grid.png
117
- - examples/blueprint_semantic/stylesheets/liquid.sass
118
- - examples/blueprint_semantic/stylesheets/print.sass
119
- - examples/blueprint_semantic/stylesheets/screen.sass
115
+ - examples/blueprint_semantic/src/ie.sass
116
+ - examples/blueprint_semantic/src/images/grid.png
117
+ - examples/blueprint_semantic/src/liquid.sass
118
+ - examples/blueprint_semantic/src/print.sass
119
+ - examples/blueprint_semantic/src/screen.sass
120
120
  - examples/compass/compass.html
121
+ - examples/compass/src/compass.sass
122
+ - examples/compass/src/images/blue_arrow.gif
123
+ - examples/compass/src/sticky_footer.sass
124
+ - examples/compass/src/utilities.sass
121
125
  - examples/compass/sticky_footer.html.haml
122
- - examples/compass/stylesheets/compass.sass
123
- - examples/compass/stylesheets/images/blue_arrow.gif
124
- - examples/compass/stylesheets/sticky_footer.sass
125
- - examples/compass/stylesheets/utilities.sass
126
126
  - examples/compass/utilities.html.haml
127
+ - examples/logo/logo.html
128
+ - examples/logo/src/ie.sass
129
+ - examples/logo/src/print.sass
130
+ - examples/logo/src/screen.sass
127
131
  - examples/yui/divisions.html.haml
128
132
  - examples/yui/index.html.haml
129
- - examples/yui/stylesheets/screen.sass
133
+ - examples/yui/src/screen.sass
130
134
  - examples/yui/sub_divisions.html.haml
131
135
  - examples/yui/templates.html.haml
132
136
  - examples/yui/test.jpg
@@ -155,6 +159,7 @@ files:
155
159
  - frameworks/blueprint.rb
156
160
  - frameworks/compass/stylesheets/_compass.sass
157
161
  - frameworks/compass/stylesheets/compass/_layout.sass
162
+ - frameworks/compass/stylesheets/compass/_misc.sass
158
163
  - frameworks/compass/stylesheets/compass/_reset.sass
159
164
  - frameworks/compass/stylesheets/compass/_utilities.sass
160
165
  - frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass