Permalink
Browse files

Updated compass

  • Loading branch information...
1 parent 07dcbba commit 019e82872312859465c6603ef5175ccea5ed9f77 Jakub Kuźma committed Feb 15, 2009
Showing with 129 additions and 58 deletions.
  1. +0 −52 vendor/gems/chriseppstein-compass-0.4.1/lib/compass/configuration.rb
  2. +4 −2 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/.specification
  3. +1 −0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/Manifest
  4. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/README.markdown
  5. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/Rakefile
  6. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/VERSION
  7. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/bin/compass
  8. +4 −4 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/compass.gemspec
  9. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_default/index.html
  10. 0 ...stein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_default/parts/elements.html
  11. 0 ...eppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_default/parts/forms.html
  12. 0 ...seppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_default/parts/grid.html
  13. BIN ...blueprint_semantic → chriseppstein-compass-0.4.2/examples/blueprint_default}/parts/test-small.jpg
  14. BIN ...mpass-0.4.1/examples/yui → chriseppstein-compass-0.4.2/examples/blueprint_default/parts}/test.jpg
  15. BIN ...ples/blueprint_semantic → chriseppstein-compass-0.4.2/examples/blueprint_default}/parts/valid.png
  16. 0 ...t/templates/project → chriseppstein-compass-0.4.2/examples/blueprint_default/stylesheets}/ie.sass
  17. BIN ...tes/project → chriseppstein-compass-0.4.2/examples/blueprint_default/stylesheets/images}/grid.png
  18. 0 ...emplates/project → chriseppstein-compass-0.4.2/examples/blueprint_default/stylesheets}/print.sass
  19. 0 ...mplates/project → chriseppstein-compass-0.4.2/examples/blueprint_default/stylesheets}/screen.sass
  20. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_plugins/index.html
  21. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_plugins/parts/fancy_type.html
  22. BIN ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_plugins/parts/test-small.jpg
  23. BIN ...mples/blueprint_semantic → chriseppstein-compass-0.4.2/examples/blueprint_plugins}/parts/test.jpg
  24. BIN ...seppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_plugins/parts/valid.png
  25. 0 .../blueprint_semantic → chriseppstein-compass-0.4.2/examples/blueprint_plugins}/stylesheets/ie.sass
  26. BIN ...nt_semantic → chriseppstein-compass-0.4.2/examples/blueprint_plugins}/stylesheets/images/grid.png
  27. 0 ...ueprint_semantic → chriseppstein-compass-0.4.2/examples/blueprint_plugins}/stylesheets/print.sass
  28. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_plugins/stylesheets/screen.sass
  29. 0 ...pstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped/stylesheets/ie.sass
  30. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped/stylesheets/print.sass
  31. 0 ...in-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped/stylesheets/screen.sass
  32. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped_form/stylesheets/ie.sass
  33. 0 ...ompass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped_form/stylesheets/print.sass
  34. 0 ...mpass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_scoped_form/stylesheets/screen.sass
  35. 0 ...chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_semantic/index.html
  36. 0 ...in-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_semantic/parts/fancy_type.html
  37. 0 ...pstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_semantic/parts/liquid.html
  38. BIN ...blueprint_default → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/parts/test-small.jpg
  39. BIN ...mples/blueprint_plugins → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/parts/test.jpg
  40. BIN ...ples/blueprint_default → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/parts/valid.png
  41. 0 .../blueprint_plugins → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/stylesheets/ie.sass
  42. BIN ...nt_plugins → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/stylesheets/images/grid.png
  43. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_semantic/stylesheets/liquid.sass
  44. 0 ...ueprint_plugins → chriseppstein-compass-0.4.2/examples/blueprint_semantic}/stylesheets/print.sass
  45. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/blueprint_semantic/stylesheets/screen.sass
  46. 0 ...or/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/compass.html
  47. 0 ...riseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/sticky_footer.html.haml
  48. 0 ...iseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/stylesheets/compass.sass
  49. BIN ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/stylesheets/images/blue_arrow.gif
  50. 0 ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/stylesheets/sticky_footer.sass
  51. 0 ...eppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/stylesheets/utilities.sass
  52. 0 .../{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/compass/utilities.html.haml
  53. 0 ...gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/divisions.html.haml
  54. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/index.html.haml
  55. 0 .../{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/stylesheets/screen.sass
  56. 0 .../{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/sub_divisions.html.haml
  57. 0 ...gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/templates.html.haml
  58. BIN ...mpass-0.4.1/examples/blueprint_default/parts → chriseppstein-compass-0.4.2/examples/yui}/test.jpg
  59. 0 ...ems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/examples/yui/typography.html.haml
  60. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint.rb
  61. 0 ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/lib/blueprint/constants.rb
  62. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/lib/blueprint/grid_builder.rb
  63. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/_blueprint.sass
  64. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/_ie.sass
  65. 0 ...mpass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/_print.sass
  66. 0 ...pass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/_screen.sass
  67. 0 ....1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
  68. 0 ...4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
  69. 0 ... chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
  70. 0 ....4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass
  71. 0 ....4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
  72. 0 ...chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass
  73. 0 ....1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
  74. 0 ...chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
  75. 0 ... chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
  76. 0 ...→ chriseppstein-compass-0.4.2}/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
  77. BIN ...stylesheets/images → chriseppstein-compass-0.4.2/frameworks/blueprint/templates/project}/grid.png
  78. 0 ...default/stylesheets → chriseppstein-compass-0.4.2/frameworks/blueprint/templates/project}/ie.sass
  79. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/blueprint/templates/project/manifest.rb
  80. 0 ...ault/stylesheets → chriseppstein-compass-0.4.2/frameworks/blueprint/templates/project}/print.sass
  81. 0 ...ult/stylesheets → chriseppstein-compass-0.4.2/frameworks/blueprint/templates/project}/screen.sass
  82. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass.rb
  83. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/_compass.sass
  84. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/_layout.sass
  85. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/_reset.sass
  86. 0 ...mpass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/_utilities.sass
  87. 0 ... → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
  88. 0 ...4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_general.sass
  89. 0 ...0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_links.sass
  90. 0 ...0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_lists.sass
  91. 0 ...0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_print.sass
  92. 0 ....4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_tables.sass
  93. 0 ...-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/_text.sass
  94. 0 ...iseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
  95. 0 ...pstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass
  96. 0 ...chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
  97. 0 ... chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
  98. 0 ...seppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass
  99. 0 ...iseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass
  100. 0 ...seppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
  101. 0 ...ppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass
  102. 0 ...chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
  103. 0 ...stein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass
  104. 0 ...seppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass
  105. 0 ...0.4.2}/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
  106. 0 ...→ chriseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass
  107. 0 ...iseppstein-compass-0.4.2}/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
  108. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/templates/project/ie.sass
  109. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/templates/project/manifest.rb
  110. 0 ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/templates/project/print.sass
  111. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/compass/templates/project/screen.sass
  112. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui.rb
  113. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/COPYRIGHT
  114. 0 .../{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/stylesheets/_yui.sass
  115. 0 ...in-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/stylesheets/yui/modules/_base.sass
  116. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/stylesheets/yui/modules/_fonts.sass
  117. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/stylesheets/yui/modules/_grids.sass
  118. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/templates/project/manifest.rb
  119. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/frameworks/yui/templates/project/screen.sass
  120. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass.rb
  121. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/actions.rb
  122. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/base.rb
  123. 0 ...chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/create_project.rb
  124. 0 ...hriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/list_frameworks.rb
  125. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/print_version.rb
  126. 0 .../{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/project_base.rb
  127. 0 ...chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/update_project.rb
  128. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/commands/watch_project.rb
  129. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/compiler.rb
  130. +92 −0 vendor/gems/chriseppstein-compass-0.4.2/lib/compass/configuration.rb
  131. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/core_ext.rb
  132. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/errors.rb
  133. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/exec.rb
  134. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/frameworks.rb
  135. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/installers.rb
  136. 0 ...r/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/installers/base.rb
  137. 0 ...ms/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/installers/manifest.rb
  138. 0 .../gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/installers/rails.rb
  139. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/installers/stand_alone.rb
  140. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/logger.rb
  141. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/merb.rb
  142. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/test_case.rb
  143. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate.rb
  144. 0 ...s/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/COPYRIGHT.html
  145. 0 ...{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/JIGSAW_COPYRIGHT
  146. 0 ...gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/README.html
  147. 0 ...hriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/XERCES_COPYING.txt
  148. BIN ...stein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/css-validator-javadoc.jar
  149. BIN ...chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/css-validator.jar
  150. BIN .../gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/jigsaw.jar
  151. BIN .../gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validate/xerces.jar
  152. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/validator.rb
  153. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/compass/version.rb
  154. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/lib/sass_extensions.rb
  155. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/command_line_test.rb
  156. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/compass_test.rb
  157. +28 −0 vendor/gems/chriseppstein-compass-0.4.2/test/configuration_test.rb
  158. 0 ...mpass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/blueprint/css/typography.css
  159. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/blueprint/sass/ie.sass
  160. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/blueprint/sass/print.sass
  161. 0 ...compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/blueprint/sass/screen.sass
  162. 0 ...ass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/blueprint/sass/typography.sass
  163. 0 ...ein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/css/layout.css
  164. 0 ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/css/print.css
  165. 0 ...tein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/css/reset.css
  166. 0 ...-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/css/utilities.css
  167. 0 ...n-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/sass/layout.sass
  168. 0 ...in-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/sass/print.sass
  169. 0 ...in-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/sass/reset.sass
  170. 0 ...ompass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/compass/sass/utilities.sass
  171. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/yui/css/mixins.css
  172. 0 ...ppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/yui/sass/base.sass
  173. 0 ...pstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/yui/sass/fonts.sass
  174. 0 ...pstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/yui/sass/grids.sass
  175. 0 ...stein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/fixtures/stylesheets/yui/sass/mixins.sass
  176. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/sass_extensions_test.rb
  177. 0 vendor/gems/{chriseppstein-compass-0.4.1 → chriseppstein-compass-0.4.2}/test/test_helper.rb
@@ -1,52 +0,0 @@
-require 'singleton'
-
-module Compass
- class Configuration
- include Singleton
- attr_accessor :project_path, :css_dir, :sass_dir, :images_dir, :javascripts_dir
-
- # parses a manifest file which is a ruby script
- # evaluated in a Manifest instance context
- def parse(config_file)
- open(config_file) do |f|
- eval(f.read, instance_binding, config_file)
- end
- end
-
- def reset!
- [:project_path, :css_dir, :sass_dir, :images_dir, :javascripts_dir].each do |attr|
- send("#{attr}=", nil)
- end
- end
-
- def instance_binding
- binding
- end
- end
-
- module ConfigHelpers
- def configuration
- if block_given?
- yield Configuration.instance
- end
- Configuration.instance
- end
-
- def sass_plugin_configuration
- proj_sass_path = File.join(configuration.project_path, configuration.sass_dir)
- proj_css_path = File.join(configuration.project_path, configuration.css_dir)
- locations = {proj_sass_path => proj_css_path}
- Compass::Frameworks::ALL.each do |framework|
- locations[framework.stylesheets_directory] = proj_css_path
- end
- {:template_location => locations}
- end
-
- def configure_sass_plugin!
- Sass::Plugin.options.merge!(sass_plugin_configuration)
- end
- end
-
- extend ConfigHelpers
-
-end
@@ -1,15 +1,15 @@
--- !ruby/object:Gem::Specification
name: chriseppstein-compass
version: !ruby/object:Gem::Version
- version: 0.4.1
+ version: 0.4.2
platform: ruby
authors:
- Chris Eppstein
autorequire:
bindir: bin
cert_chain: []
-date: 2009-02-08 00:00:00 +01:00
+date: 2009-02-12 00:00:00 +01:00
default_executable: compass
dependencies:
- !ruby/object:Gem::Dependency
@@ -251,6 +251,7 @@ files:
- test/sass_extensions_test.rb
- test/test_helper.rb
- VERSION
+- test/configuration_test.rb
has_rdoc: false
homepage: http://github.com/chriseppstein/compass
post_install_message:
@@ -285,5 +286,6 @@ summary: Sass-Based CSS Meta-Framework.
test_files:
- test/command_line_test.rb
- test/compass_test.rb
+- test/configuration_test.rb
- test/sass_extensions_test.rb
- test/test_helper.rb
@@ -151,6 +151,7 @@ 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
Oops, something went wrong.
@@ -0,0 +1,92 @@
+require 'singleton'
+
+module Compass
+ class Configuration
+ include Singleton
+ attr_accessor :project_path, :css_dir, :sass_dir, :images_dir, :javascripts_dir, :required_libraries
+
+ def initialize
+ self.required_libraries = []
+ end
+
+ # parses a manifest file which is a ruby script
+ # evaluated in a Manifest instance context
+ def parse(config_file)
+ open(config_file) do |f|
+ parse_string(f.read, config_file)
+ end
+ end
+
+ def parse_string(contents, filename)
+ eval(contents, binding, filename)
+ [:css_dir, :sass_dir, :images_dir, :javascripts_dir].each do |prop|
+ value = eval(prop.to_s, binding) rescue nil
+ self.send("#{prop}=", value) if value
+ end
+ end
+
+ def serialize
+ contents = ""
+ required_libraries.each do |lib|
+ contents << %Q{require '#{lib}'\n}
+ end
+ contents << "\n" if required_libraries.any?
+ [:css_dir, :sass_dir, :images_dir, :javascripts_dir].each do |prop|
+ value = send(prop)
+ contents << %Q(#{prop} = "#{value}"\n) if value
+ end
+ contents
+ end
+
+ # Support for testing.
+ def reset!
+ [:project_path, :css_dir, :sass_dir, :images_dir, :javascripts_dir].each do |attr|
+ send("#{attr}=", nil)
+ end
+ self.required_libraries = []
+ end
+
+ def require(lib)
+ required_libraries << lib
+ super
+ end
+
+ end
+
+ module ConfigHelpers
+ def configuration
+ if block_given?
+ yield Configuration.instance
+ end
+ Configuration.instance
+ end
+
+ def sass_plugin_configuration
+ proj_sass_path = File.join(configuration.project_path, configuration.sass_dir)
+ proj_css_path = File.join(configuration.project_path, configuration.css_dir)
+ locations = {proj_sass_path => proj_css_path}
+ Compass::Frameworks::ALL.each do |framework|
+ locations[framework.stylesheets_directory] = proj_css_path
+ end
+ {:template_location => locations}
+ end
+
+ def configure_sass_plugin!
+ Sass::Plugin.options.merge!(sass_plugin_configuration)
+ end
+
+ def sass_engine_options
+ load_paths = []
+ if configuration.project_path && configuration.sass_dir
+ load_paths << File.join(configuration.project_path, configuration.sass_dir)
+ end
+ Compass::Frameworks::ALL.each do |framework|
+ load_paths << framework.stylesheets_directory
+ end
+ {:load_paths => load_paths}
+ end
+ end
+
+ extend ConfigHelpers
+
+end
@@ -0,0 +1,28 @@
+require File.dirname(__FILE__)+'/test_helper'
+require 'compass'
+
+class ConfigurationTest < Test::Unit::TestCase
+ def test_parse_and_serialize
+ contents = <<-CONFIG
+ require 'compass'
+ require 'sass'
+
+ css_dir = "css"
+ sass_dir = "sass"
+ images_dir = "img"
+ javascripts_dir = "js"
+ CONFIG
+
+ Compass.configuration.parse_string(contents, "test_parse")
+
+ assert_equal 'sass', Compass.configuration.sass_dir
+ assert_equal 'css', Compass.configuration.css_dir
+ assert_equal 'img', Compass.configuration.images_dir
+ assert_equal 'js', Compass.configuration.javascripts_dir
+
+ expected_lines = contents.split("\n").map{|l|l.strip}
+ actual_lines = Compass.configuration.serialize.split("\n").map{|l|l.strip}
+ assert_equal expected_lines, actual_lines
+ end
+
+end

0 comments on commit 019e828

Please sign in to comment.