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.
Files changed (349) hide show
  1. data/CHANGELOG.markdown +165 -0
  2. data/README.markdown +15 -3
  3. data/Rakefile +46 -7
  4. data/VERSION.yml +3 -2
  5. data/bin/compass +22 -4
  6. data/examples/blueprint_default/index.html.haml +3 -3
  7. data/examples/blueprint_default/parts/forms.html.haml +2 -0
  8. data/examples/blueprint_default/src/screen.sass +1 -1
  9. data/examples/blueprint_plugins/index.html.haml +6 -6
  10. data/examples/blueprint_plugins/src/buttons.sass +2 -2
  11. data/examples/blueprint_plugins/src/link_icons.sass +1 -1
  12. data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
  13. data/examples/blueprint_plugins/src/screen.sass +2 -2
  14. data/examples/blueprint_scoped/src/ie.sass +2 -1
  15. data/examples/blueprint_scoped/src/print.sass +2 -1
  16. data/examples/blueprint_scoped/src/screen.sass +2 -1
  17. data/examples/blueprint_semantic/parts/fancy_type.html.haml +1 -1
  18. data/examples/blueprint_semantic/src/liquid.sass +5 -6
  19. data/examples/blueprint_semantic/src/screen.sass +4 -5
  20. data/examples/compass/bootstrap.rb +3 -0
  21. data/{frameworks → examples/compass/extensions}/yui/stylesheets/_yui.sass +0 -0
  22. data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  23. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_fonts.sass +8 -1
  24. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_grids.sass +174 -130
  25. data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_reset.sass +0 -0
  26. data/{frameworks → examples/compass/extensions}/yui/templates/project/manifest.rb +0 -0
  27. data/{frameworks → examples/compass/extensions}/yui/templates/project/screen.sass +0 -0
  28. data/examples/compass/src/utilities.sass +2 -2
  29. data/examples/css3/config.rb +6 -0
  30. data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
  31. data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
  32. data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +7 -0
  33. data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
  34. data/examples/css3/images/fresh-peas.jpg +0 -0
  35. data/examples/css3/index.html.haml +55 -0
  36. data/examples/css3/src/_base.sass +14 -0
  37. data/examples/css3/src/fancy-fonts.sass +7 -0
  38. data/examples/css3/src/gradient.sass +10 -0
  39. data/examples/css3/src/main.sass +80 -0
  40. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  41. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  42. data/examples/downloader.rb +57 -0
  43. data/examples/ninesixty/bootstrap.rb +4 -0
  44. data/examples/ninesixty/config.rb +9 -0
  45. data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
  46. data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
  47. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
  48. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
  49. data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
  50. data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
  51. data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
  52. data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
  53. data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
  54. data/examples/ninesixty/src/grid.sass +16 -0
  55. data/examples/ninesixty/src/text.sass +10 -0
  56. data/examples/susy/bootstrap.rb +3 -0
  57. data/examples/susy/config.rb +9 -0
  58. data/examples/susy/extensions/susy/LICENSE.txt +28 -0
  59. data/examples/susy/extensions/susy/README.mkdn +235 -0
  60. data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
  61. data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
  62. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
  63. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
  64. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
  65. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
  66. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
  67. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
  68. data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
  69. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
  70. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
  71. data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +63 -0
  72. data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
  73. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
  74. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
  75. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
  76. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
  77. data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +301 -0
  78. data/examples/susy/extensions/susy/lib/susy.rb +2 -0
  79. data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
  80. data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
  81. data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
  82. data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
  83. data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
  84. data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
  85. data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
  86. data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
  87. data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
  88. data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
  89. data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
  90. data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
  91. data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
  92. data/examples/susy/src/_base.sass +62 -0
  93. data/examples/susy/src/_defaults.sass +148 -0
  94. data/examples/susy/src/screen.sass +114 -0
  95. data/examples/yui/bootstrap.rb +3 -0
  96. data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
  97. data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  98. data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
  99. data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
  100. data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
  101. data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
  102. data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
  103. data/features/command_line.feature +226 -0
  104. data/features/extensions.feature +20 -0
  105. data/features/step_definitions/command_line_steps.rb +223 -0
  106. data/features/step_definitions/extension_steps.rb +13 -0
  107. data/lib/compass.rb +6 -7
  108. data/lib/compass/actions.rb +7 -1
  109. data/lib/compass/app_integration.rb +23 -4
  110. data/lib/compass/app_integration/merb.rb +1 -43
  111. data/lib/compass/app_integration/merb/runtime.rb +63 -0
  112. data/lib/compass/app_integration/rails.rb +24 -10
  113. data/lib/compass/app_integration/rails/configuration_defaults.rb +45 -0
  114. data/lib/compass/app_integration/rails/installer.rb +127 -0
  115. data/lib/compass/app_integration/rails/runtime.rb +14 -0
  116. data/lib/compass/app_integration/stand_alone.rb +22 -0
  117. data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +28 -0
  118. data/lib/compass/app_integration/stand_alone/installer.rb +83 -0
  119. data/lib/compass/commands.rb +11 -0
  120. data/lib/compass/commands/base.rb +4 -1
  121. data/lib/compass/commands/create_project.rb +108 -5
  122. data/lib/compass/commands/generate_grid_background.rb +73 -6
  123. data/lib/compass/commands/help.rb +89 -0
  124. data/lib/compass/commands/installer_command.rb +20 -13
  125. data/lib/compass/commands/interactive.rb +61 -0
  126. data/lib/compass/commands/list_frameworks.rb +2 -2
  127. data/lib/compass/commands/print_version.rb +72 -4
  128. data/lib/compass/commands/project_base.rb +14 -34
  129. data/lib/compass/commands/project_stats.rb +162 -0
  130. data/lib/compass/commands/registry.rb +22 -0
  131. data/lib/compass/commands/stamp_pattern.rb +56 -3
  132. data/lib/compass/commands/update_project.rb +60 -6
  133. data/lib/compass/commands/validate_project.rb +62 -6
  134. data/lib/compass/commands/watch_project.rb +12 -5
  135. data/lib/compass/commands/write_configuration.rb +89 -4
  136. data/lib/compass/compiler.rb +13 -4
  137. data/lib/compass/configuration.rb +29 -310
  138. data/lib/compass/configuration/adapters.rb +59 -0
  139. data/lib/compass/configuration/comments.rb +22 -0
  140. data/lib/compass/configuration/data.rb +106 -0
  141. data/lib/compass/configuration/defaults.rb +138 -0
  142. data/lib/compass/configuration/helpers.rb +120 -0
  143. data/lib/compass/configuration/inheritance.rb +170 -0
  144. data/lib/compass/configuration/serialization.rb +86 -0
  145. data/lib/compass/dependencies.rb +4 -8
  146. data/lib/compass/errors.rb +4 -1
  147. data/lib/compass/exec.rb +11 -246
  148. data/lib/compass/exec/command_option_parser.rb +23 -0
  149. data/lib/compass/exec/global_options_parser.rb +37 -0
  150. data/lib/compass/exec/helpers.rb +28 -0
  151. data/lib/compass/exec/project_options_parser.rb +46 -0
  152. data/lib/compass/exec/sub_command_ui.rb +45 -0
  153. data/lib/compass/exec/switch_ui.rb +166 -0
  154. data/lib/compass/frameworks.rb +70 -7
  155. data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +31 -0
  156. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_buttons.sass +27 -27
  157. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_colors.sass +0 -0
  158. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_debug.sass +2 -2
  159. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_fancy_type.sass +19 -19
  160. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
  161. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_grid.sass +34 -33
  162. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
  163. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
  164. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_link_icons.sass +9 -9
  165. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_liquid.sass +29 -29
  166. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +87 -0
  167. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_reset.sass +20 -18
  168. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
  169. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_scaffolding.sass +6 -4
  170. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -0
  171. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
  172. data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_utilities.sass +15 -15
  173. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -0
  174. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -0
  175. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -0
  176. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
  177. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -0
  178. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -0
  179. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -0
  180. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -0
  181. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -0
  182. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -0
  183. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -0
  184. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
  185. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -0
  186. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -0
  187. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons.sass +4 -4
  188. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
  189. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
  190. data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
  191. data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +17 -0
  192. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons.sass +1 -1
  193. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  194. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
  195. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
  196. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  197. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
  198. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  199. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  200. data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  201. data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +23 -0
  202. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/grid.png +0 -0
  203. data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
  204. data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +32 -0
  205. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
  206. data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
  207. data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/screen.sass +3 -2
  208. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +21 -0
  209. data/lib/compass/frameworks/compass/stylesheets/_compass.sass +2 -0
  210. data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +14 -0
  211. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
  212. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_misc.sass +12 -12
  213. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
  214. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
  215. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
  216. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
  217. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
  218. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +47 -0
  219. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +20 -0
  220. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +13 -0
  221. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass +37 -0
  222. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
  223. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
  224. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +7 -0
  225. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass +18 -0
  226. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
  227. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +62 -0
  228. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
  229. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +9 -7
  230. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -1
  231. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_links.sass +1 -1
  232. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
  233. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
  234. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
  235. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
  236. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
  237. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +7 -7
  238. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +2 -2
  239. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +2 -2
  240. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +28 -28
  241. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  242. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  243. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +2 -2
  244. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +6 -6
  245. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
  246. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +6 -6
  247. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +6 -6
  248. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +9 -9
  249. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
  250. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
  251. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
  252. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
  253. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
  254. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +1 -1
  255. data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +6 -6
  256. data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
  257. data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +27 -0
  258. data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
  259. data/lib/compass/frameworks/compass/templates/extension/manifest.rb +20 -0
  260. data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
  261. data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
  262. data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
  263. data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +32 -0
  264. data/{frameworks → lib/compass/frameworks}/compass/templates/project/ie.sass +0 -0
  265. data/{frameworks → lib/compass/frameworks}/compass/templates/project/manifest.rb +1 -0
  266. data/{frameworks → lib/compass/frameworks}/compass/templates/project/print.sass +0 -0
  267. data/{frameworks → lib/compass/frameworks}/compass/templates/project/screen.sass +0 -0
  268. data/lib/compass/grid_builder.rb +15 -11
  269. data/lib/compass/installers.rb +3 -5
  270. data/lib/compass/installers/bare_installer.rb +58 -0
  271. data/lib/compass/installers/base.rb +40 -51
  272. data/lib/compass/installers/manifest.rb +55 -2
  273. data/lib/compass/installers/manifest_installer.rb +59 -0
  274. data/lib/compass/installers/template_context.rb +44 -0
  275. data/lib/compass/logger.rb +28 -2
  276. data/lib/compass/sass_extensions.rb +2 -2
  277. data/lib/compass/sass_extensions/functions.rb +4 -2
  278. data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
  279. data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
  280. data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
  281. data/lib/compass/sass_extensions/functions/selectors.rb +4 -1
  282. data/lib/compass/sass_extensions/functions/urls.rb +22 -2
  283. data/lib/compass/sass_extensions/monkey_patches.rb +3 -3
  284. data/lib/compass/sass_extensions/monkey_patches/traversal.rb +23 -0
  285. data/lib/compass/stats.rb +92 -0
  286. data/lib/compass/validator.rb +2 -3
  287. data/lib/vendor/fssm/state.rb +1 -1
  288. data/test/command_line_helper.rb +19 -16
  289. data/test/command_line_test.rb +5 -4
  290. data/test/compass_test.rb +16 -15
  291. data/test/configuration_test.rb +24 -19
  292. data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
  293. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
  294. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
  295. data/test/fixtures/stylesheets/compass/css/layout.css +2 -0
  296. data/test/fixtures/stylesheets/compass/css/print.css +2 -8
  297. data/test/fixtures/stylesheets/compass/css/reset.css +3 -3
  298. data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
  299. data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
  300. data/test/fixtures/stylesheets/relative/config.rb +9 -0
  301. data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
  302. data/test/fixtures/stylesheets/relative/css/print.css +1 -0
  303. data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
  304. data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
  305. data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
  306. data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
  307. data/test/io_helper.rb +36 -0
  308. data/test/rails_helper.rb +40 -0
  309. data/test/rails_integration_test.rb +7 -44
  310. data/test/sass_extensions_test.rb +2 -2
  311. data/test/test_helper.rb +9 -2
  312. metadata +257 -110
  313. data/frameworks/blueprint.rb +0 -2
  314. data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -3
  315. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -93
  316. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -83
  317. data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -3
  318. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -15
  319. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -55
  320. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -58
  321. data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -104
  322. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -155
  323. data/frameworks/blueprint/templates/buttons/manifest.rb +0 -5
  324. data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -10
  325. data/frameworks/blueprint/templates/project/ie.sass +0 -15
  326. data/frameworks/blueprint/templates/project/manifest.rb +0 -6
  327. data/frameworks/blueprint/templates/project/print.sass +0 -3
  328. data/frameworks/compass.rb +0 -2
  329. data/frameworks/compass/stylesheets/_compass.sass +0 -1
  330. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -24
  331. data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
  332. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +0 -6
  333. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
  334. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -5
  335. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -12
  336. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
  337. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
  338. data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
  339. data/frameworks/compass/templates/ellipsis/manifest.rb +0 -2
  340. data/frameworks/yui.rb +0 -2
  341. data/frameworks/yui/stylesheets/yui/modules/_base.sass +0 -60
  342. data/lib/compass/installers/rails.rb +0 -135
  343. data/lib/compass/installers/stand_alone.rb +0 -60
  344. data/test/fixtures/stylesheets/yui/config.rb +0 -9
  345. data/test/fixtures/stylesheets/yui/css/mixins.css +0 -13
  346. data/test/fixtures/stylesheets/yui/sass/base.sass +0 -3
  347. data/test/fixtures/stylesheets/yui/sass/fonts.sass +0 -3
  348. data/test/fixtures/stylesheets/yui/sass/grids.sass +0 -3
  349. data/test/fixtures/stylesheets/yui/sass/mixins.sass +0 -16
@@ -1,6 +1,171 @@
1
1
  COMPASS CHANGELOG
2
2
  =================
3
3
 
4
+ 0.10.0.pre1 (November 29, 2009)
5
+ --------------------------------
6
+
7
+ Deprecated in this release:
8
+
9
+ * The usless blueprint "modules" folder will be removed. Please update your
10
+ blueprint imports by removing the modules folder. Deprecation warnings will be
11
+ emitted if you use the old imports.
12
+ * Blueprint mixins that used to accept a "body selector" argument, are now
13
+ deprecated, instead you should pass `true` to them and mix them into
14
+ the selector of your choice.
15
+ * If you are using the `+opacity` or `+inline-block` mixins, you may need to update your imports.
16
+ * In your configuration file, setting `http_images_path` to `:relative` is
17
+ deprecated in favor of setting `relative_assets` to `true`
18
+ * The YUI framework has been extracted to a plugin.
19
+ If you use it, please follow the [installation instructions](http://github.com/chriseppstein/yui-compass-plugin)
20
+
21
+ Command-Line:
22
+
23
+ * The compass command-line tool has been re-written to allow be easier to
24
+ use and be more flexible. The old command line is still supported at
25
+ this time. "compass help" will get you started on using the new
26
+ command line syntax.
27
+ * Allow specification of a height for the grid image
28
+ * For the truly hardcore compass users, you may now create a
29
+ compass project using "compass create my_project --bare"
30
+ and you'll have a completely bare project created for you with no
31
+ sass files provided for you.
32
+ * Get stats on your compass project with "compass stats". You'll
33
+ need to install the "css_parser" ruby gem to get stats on your
34
+ css files.
35
+
36
+ Configuration:
37
+
38
+ * The entire configuration infrastructure has been re-written to make it
39
+ easier to support the various sources of configuration data (project type,
40
+ config file, command line, and hard coded defaults)
41
+ * Whether to generate relative links to assets is now controlled by a
42
+ separate boolean configuration flag called `relative_assets` in the
43
+ configuration file and `--relative-assets` on the command line.
44
+ Setting `http_images_path` to `:relative` is deprecated.
45
+ * You may now configure the http locations for your project by simply setting
46
+ `http_path` for the top level path of the project. You
47
+ may also set `http_images_dir`, `http_stylesheets_dir`, and
48
+ `http_javascripts_dir` relative to the `http_path` instead of
49
+ setting the absolute `http_XXX_path` counterparts.
50
+ * You may now configure the fonts directory for your project (fonts_dir).
51
+ By default, for standalone projects, it is the "fonts" subdirectory of
52
+ your css directory. Rails projects will default to "public/fonts".
53
+
54
+ Compass Core:
55
+
56
+ * A new helper function `stylesheet_url(path)` can now be used to refer
57
+ to assets that are relative to the css directory.
58
+ * Compass sprite mixins are now more flexible and feature rich.
59
+ * Fixed the append_selector function to allow comma-delimited selectors
60
+ for both arguments instead of just the first
61
+ * There is no longer any outline on unstyled links in the :active and :focused states.
62
+ * IE6 bug fixes for sticky-footer
63
+ * New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass`
64
+ * `+opacity(amount)` where amount should be between 0 and 1, where 0 is transparent and 1 is opaque.
65
+ * `+opaque` and `+transparent` mixins for convenience. Built on top of the opacity mixin.
66
+ * `+border-radius(amount)` as well as the following convenience mixins:
67
+ * `+border-top-left-radius(amount)`
68
+ * `+border-top-right-radius(amount)`
69
+ * `+border-top-right-radius(amount)`,
70
+ * `+border-bottom-left-radius(amount)`
71
+ * `+border-bottom-right-radius(amount)`
72
+ * `+border-top-radius(amount)`
73
+ * `+border-right-radius(amount)`
74
+ * `+border-left-radius(amount)`
75
+ * `+border-bottom-radius(amount)`
76
+ * `+box-shadow(!horiz_offset, !vert_offset, !blur, !color)`
77
+ * `+box-sizing(!sizing_mode)`
78
+ * Column support via the following mixins:
79
+ * `+column-count`
80
+ * `+column-gap`
81
+ * `+column-width`
82
+ * `+column-rule-width`
83
+ * `+column-rule-style`
84
+ * `+column-rule-color`
85
+ * `+column-rule`
86
+ * `+background-clip(clip)` where clip can be `padding-box` or `border-box`
87
+ * `+background-origin(origin)` where origin can be `padding-box`, `border-box`, or `content-box`
88
+ * `+background-size(size)` where size is a width and height. E.g. "50% 75%"
89
+ * `+font-face` should be mixed into the top level of your document.
90
+ Usage Example: `+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")`
91
+ * Simple Background Gradient Support:
92
+ * `+gradient` - Generic background gradient mixin
93
+ * `+radial-gradient` - Radial gradient mixin
94
+ * `+linear-gradient` - Linear gradient mixin
95
+ * `+h-gradient` - Horizontal linear gradient mixin
96
+ * `+v-gradient` - Vertical linear gradient mixin
97
+ * `+text-shadow` - Create a text shadow effect.
98
+ * Transforms Support:
99
+ * `+transform`
100
+ * `+scale`
101
+ * `+rotate`
102
+ * `+translate`
103
+ * `+skew`
104
+ * Transition Support:
105
+ * `+transition-property`
106
+ * `+transition-duration`
107
+ * `+transition-timing-function`
108
+ * `+transition-delay`
109
+ * `+transition`
110
+ * The import for `+inline-block` has moved from compass/utilities/general/inline_block
111
+ to compass/css3/inline_block
112
+ * The import for `+opacity` has moved from compass/utilities/general/opacity
113
+ to compass/css3/opacity
114
+ * Note: If you are using the `+opacity` or `+inline-block` mixins,
115
+ you may need to update your imports.
116
+
117
+ Blueprint:
118
+
119
+ * Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument.
120
+ The old approach of passing a selector as the first argument is now deprecated in favor of a simple flag to indicate nesting or not.
121
+
122
+ YUI:
123
+
124
+ * YUI was upgraded to 2.7.0
125
+ * Yahoo has deprecated the YUI CSS framework, as such YUI has been extracted to a plugin.
126
+ If you use it, please install it with: `sudo gem install compass-yui`
127
+
128
+ Extensions:
129
+
130
+ * Extensions can now be installed locally by unpacking them into a project's
131
+ "extensions" directory. Rails projects use "vendor/plugins/compass/extenstions".
132
+ * Extensions can deliver html to projects if they like. The html can be in
133
+ haml and will be transformed to html and can contain inline, compass-enabled
134
+ sass.
135
+ * All files can be processed using ERB before being copied into the user's
136
+ project.
137
+ * Compass extensions can now add support for other application frameworks.
138
+ These extensions can help compass understand the project structure of that
139
+ framework as well as provide runtime integration for ruby-based apps.
140
+ Contact me if you plan to do this -- the first couple times may be a little
141
+ rough.
142
+ * Compass extensions can now add new command line commands. Contact me if you
143
+ plan to do this -- the first couple times may be a little rough.
144
+ * Extensions can now provide help documentation just after a project is
145
+ created and on demand when the user uses the command line help system.
146
+ This can be done via the manifest file or by adding a USAGE.markdown file
147
+ at the top level of the framework template.
148
+
149
+ Miscellaneous:
150
+
151
+ * The compass configuration object is no longer a singleton, this makes it
152
+ possible for other ruby software to manage multiple compass projects at a
153
+ time.
154
+ * Compass no longer requires rubygems in order to work, this is a ruby
155
+ best-practice.
156
+ * All sass provided by compass now uses css-style property syntax.
157
+ * The command line tool is now tested using the cucumber testing framework.
158
+
159
+ Many thanks to the following Contributors:
160
+
161
+ * Brandon Mathis - CSS3 (+opacity, +border-radius) and sprites
162
+ * Eric Meyer - CSS3 (+box-shadow, +columns, +box-sizing)
163
+ * Jacques Crocker - Merb Compatibility fixes
164
+ * Gabriel Mansour - Fixes to +unstyled-link
165
+ * John Debs - IE6 Fixes for +sticky-footer
166
+ * Brian Johnson - Upgraded to YUI 2.7.0
167
+ * Beau Smith - fixing my dyslexia.
168
+
4
169
  0.8.17 (September 24, 2009)
5
170
  ---------------------------
6
171
 
@@ -3,8 +3,10 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of
3
3
 
4
4
  - [Compass Core][compass_core_website] - [Wiki Documentation][compass_core_wiki]
5
5
  - [Blueprint][blueprint_website] - [Wiki Documentation][bleuprint_wiki]
6
- - [YUI][yui_website] - [Wiki Documentation][yui_wiki]
7
6
  - [960][ninesixty_website] - [Wiki Documentation][ninesixty_wiki]
7
+ - [Susy][susy_website] - [Wiki Documentation][susy_wiki]
8
+ - [YUI][yui_website] - [Wiki Documentation][yui_wiki]
9
+ - New frameworks and extensions are [tracked on the wiki][plugins_wiki] as they are created.
8
10
  - Other frameworks can be added relatively easily. Create your own!
9
11
 
10
12
  ## Compass Provides
@@ -13,6 +15,13 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of
13
15
  2. Simple integration with [Ruby-on-Rails][ruby_on_rails_wiki], [Merb][merb_wiki], [StaticMatic][static_matic_wiki], and even [non-ruby application servers][command_line_wiki].
14
16
  3. Loads of Sass mixins to make building your website a snap.
15
17
 
18
+ ## Quick Start
19
+
20
+ $ (sudo) gem install compass
21
+ $ compass create my_compass_project --using blueprint
22
+ $ cd my_compass_project
23
+ $ compass watch
24
+
16
25
  ## More Information
17
26
  Please see the [wiki][wiki]
18
27
 
@@ -25,13 +34,14 @@ Copyright (c) 2008-2009 Christopher M. Eppstein<br>
25
34
  All Rights Reserved.<br>
26
35
  Released under a [slightly modified MIT License][license].
27
36
 
28
- [sass]: http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html "Syntactically Awesome StyleSheets"
37
+ [sass]: http://sass-lang.com/ "Syntactically Awesome StyleSheets"
29
38
  [compass_core_website]: http://github.com/chriseppstein/compass/tree/master/frameworks/compass
30
39
  [compass_core_wiki]: http://github.com/chriseppstein/compass/wikis/compass-core-documentation
31
40
  [blueprint_website]: http://blueprintcss.org/
32
41
  [bleuprint_wiki]: http://github.com/chriseppstein/compass/wikis/blueprint-documentation
33
42
  [yui_website]: http://developer.yahoo.com/yui/grids/
34
43
  [yui_wiki]: http://github.com/chriseppstein/compass/wikis/yui-documentation
44
+ [plugins_wiki]: http://github.com/chriseppstein/compass/wikis/compass-plugins
35
45
  [ninesixty_website]: http://960.gs/
36
46
  [ninesixty_wiki]: http://github.com/chriseppstein/compass/wikis/960gs-documentation
37
47
  [command_line_wiki]: http://wiki.github.com/chriseppstein/compass/command-line-tool
@@ -39,6 +49,8 @@ Released under a [slightly modified MIT License][license].
39
49
  [ruby_on_rails_wiki]: http://wiki.github.com/chriseppstein/compass/ruby-on-rails-integration
40
50
  [merb_wiki]: http://wiki.github.com/chriseppstein/compass/merb-integration
41
51
  [static_matic_wiki]: http://wiki.github.com/chriseppstein/compass/staticmatic-integration
42
- [chris_eppstein]: http://acts-as-architect.blogspot.com
52
+ [chris_eppstein]: http://chriseppstein.github.com
43
53
  [caring.com]: http://www.caring.com/ "Senior Care Resources"
44
54
  [license]: http://github.com/chriseppstein/compass/tree/master/LICENSE.markdown
55
+ [susy_website]: http://www.oddbird.net/susy/
56
+ [susy_wiki]: http://github.com/chriseppstein/compass/wikis/susy-documentation
data/Rakefile CHANGED
@@ -2,7 +2,8 @@ if ENV['RUN_CODE_RUN']
2
2
  # We need to checkout edge haml for the run>code>run test environment.
3
3
  if File.directory?("haml")
4
4
  Dir.chdir("haml") do
5
- sh "git", "pull"
5
+ sh "git", "fetch"
6
+ sh "git", "reset", "--hard", "origin/stable"
6
7
  end
7
8
  else
8
9
  sh "git", "clone", "git://github.com/nex3/haml.git"
@@ -12,7 +13,9 @@ end
12
13
 
13
14
  require 'rubygems'
14
15
  require 'rake'
15
- require 'lib/compass'
16
+ $:.unshift File.join(File.dirname(__FILE__), 'lib')
17
+ require 'compass'
18
+ require 'rcov/rcovtask'
16
19
 
17
20
  # ----- Default: Testing ------
18
21
 
@@ -23,6 +26,7 @@ require 'fileutils'
23
26
 
24
27
  Rake::TestTask.new :run_tests do |t|
25
28
  t.libs << 'lib'
29
+ t.libs << 'test'
26
30
  t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
27
31
  test_files = FileList['test/**/*_test.rb']
28
32
  test_files.exclude('test/rails/*', 'test/haml/*')
@@ -45,7 +49,7 @@ begin
45
49
  gemspec.description = "Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS."
46
50
  gemspec.authors = ["Chris Eppstein"]
47
51
  gemspec.has_rdoc = false
48
- gemspec.add_dependency('haml', '>= 2.2.0')
52
+ gemspec.add_dependency('haml', '>= 2.2.14')
49
53
  gemspec.files = []
50
54
  gemspec.files << "CHANGELOG.markdown"
51
55
  gemspec.files << "README.markdown"
@@ -58,12 +62,13 @@ begin
58
62
  gemspec.files += Dir.glob("examples/**/*.*")
59
63
  gemspec.files -= Dir.glob("examples/**/*.css")
60
64
  gemspec.files -= Dir.glob("examples/**/*.html")
61
- gemspec.files += Dir.glob("frameworks/**/*.*")
65
+ gemspec.files -= Dir.glob("examples/*/extensions/**")
62
66
  gemspec.files += Dir.glob("lib/**/*")
63
67
  gemspec.files += Dir.glob("test/**/*.*")
64
68
  gemspec.files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*")
65
69
  gemspec.test_files = Dir.glob("test/**/*.*")
66
70
  gemspec.test_files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*")
71
+ gemspec.test_files += Dir.glob("features/**/*.*")
67
72
  end
68
73
  rescue LoadError
69
74
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
@@ -89,6 +94,8 @@ end
89
94
 
90
95
  task :release => :commit_revision
91
96
 
97
+ task :gem => :build
98
+
92
99
  desc "Compile Examples into HTML and CSS"
93
100
  task :examples do
94
101
  linked_haml = "tests/haml"
@@ -105,6 +112,10 @@ task :examples do
105
112
  next unless File.directory?(example)
106
113
  puts "\nCompiling #{example}"
107
114
  puts "=" * "Compiling #{example}".length
115
+ Dir.chdir example do
116
+ load "bootstrap.rb" if File.exists?("bootstrap.rb")
117
+ Compass::Exec::SwitchUI.new(["--force"]).run!
118
+ end
108
119
  # compile any haml templates to html
109
120
  FileList["#{example}/**/*.haml"].each do |haml_file|
110
121
  basename = haml_file[0..-6]
@@ -114,9 +125,6 @@ task :examples do
114
125
  output.write(engine.render)
115
126
  output.close
116
127
  end
117
- Dir.chdir example do
118
- Compass::Exec::Compass.new(["--force"]).run!
119
- end
120
128
  end
121
129
  end
122
130
 
@@ -125,3 +133,34 @@ namespace :git do
125
133
  sh "git", "clean", "-fdx"
126
134
  end
127
135
  end
136
+
137
+ require 'cucumber/rake/task'
138
+
139
+ namespace :rcov do
140
+ Cucumber::Rake::Task.new(:cucumber) do |t|
141
+ t.rcov = true
142
+ t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
143
+ t.rcov_opts << %[-o "coverage"]
144
+ end
145
+
146
+ Rcov::RcovTask.new(:units) do |rcov|
147
+ rcov.libs << 'lib'
148
+ rcov.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
149
+ test_files = FileList['test/**/*_test.rb']
150
+ test_files.exclude('test/rails/*', 'test/haml/*')
151
+ rcov.pattern = test_files
152
+ rcov.output_dir = 'coverage'
153
+ rcov.verbose = true
154
+ rcov.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
155
+ rcov.rcov_opts << %[-o "coverage" --sort coverage]
156
+ end
157
+
158
+
159
+ desc "Run both specs and features to generate aggregated coverage"
160
+ task :all do |t|
161
+ rm "coverage.data" if File.exist?("coverage.data")
162
+ Rake::Task["rcov:units"].invoke
163
+ Rake::Task["rcov:cucumber"].invoke
164
+ end
165
+ end
166
+
@@ -1,4 +1,5 @@
1
1
  ---
2
- :patch: 17
2
+ :patch: 0
3
3
  :major: 0
4
- :minor: 8
4
+ :minor: 10
5
+ :build: pre1
@@ -1,8 +1,26 @@
1
1
  #!/usr/bin/env ruby
2
2
  # The compass command line utility
3
3
 
4
- require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass'))
5
- require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass', 'exec'))
4
+ # This allows compass to run easily from a git checkout without install.
5
+ def fallback_load_path(path)
6
+ retried = false
7
+ begin
8
+ yield
9
+ rescue LoadError
10
+ unless retried
11
+ $: << path
12
+ retried = true
13
+ retry
14
+ end
15
+ raise
16
+ end
17
+ end
6
18
 
7
- command = Compass::Exec::Compass.new(ARGV)
8
- exit command.run!
19
+ fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
20
+ require 'compass'
21
+ require 'compass/exec'
22
+ end
23
+
24
+
25
+ command_line_class = Compass::Exec::Helpers.select_appropriate_command_line_ui(ARGV)
26
+ exit command_line_class.new(ARGV).run!
@@ -32,7 +32,7 @@
32
32
  %a{ :href => "parts/grid.html" }
33
33
  Grid
34
34
  %td
35
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" }
35
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
36
36
  grid.sass
37
37
  %td
38
38
  Tests classes provided by the grid module.
@@ -41,7 +41,7 @@
41
41
  %a{ :href => "parts/elements.html" }
42
42
  Typography
43
43
  %td
44
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" }
44
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
45
45
  typography.sass
46
46
  %td
47
47
  Tests HTML elements which gets set in the typography module.
@@ -50,7 +50,7 @@
50
50
  %a{ :href => "parts/forms.html" }
51
51
  Forms
52
52
  %td
53
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass" }
53
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_form.sass" }
54
54
  form.sass
55
55
  %td
56
56
  Tests classes and default look provided by the form module.
@@ -184,6 +184,8 @@
184
184
  %input#q.text{ :type => "text", :name => "q", :value => "Field with class .text" }
185
185
  .span-2.last
186
186
  %input.button{ :type => "submit", :value => "submit" }
187
+ / WTF This doesn't render correctly without some space.
188
+ &nbsp;
187
189
  %hr
188
190
  %p
189
191
  %a{ :href => "http://validator.w3.org/check?uri=referer" }
@@ -1,5 +1,5 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/scaffolding.sass
3
3
  @import compass/reset.sass
4
4
 
5
5
  +blueprint
@@ -31,13 +31,13 @@
31
31
  %a{ :href => "plugins/fancy_type.html" }
32
32
  Fancy Type
33
33
  %td
34
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" }
34
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
35
35
  grid.sass
36
36
  ,
37
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" }
37
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
38
38
  typography.sass
39
39
  ,
40
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass" }
40
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass" }
41
41
  fancy_type.sass
42
42
  %td
43
43
  A simple sample page, with common elements and fancy type.
@@ -46,7 +46,7 @@
46
46
  %a{ :href => "plugins/buttons.html" }
47
47
  Buttons
48
48
  %td
49
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass" }
49
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_buttons.sass" }
50
50
  buttons.sass
51
51
  %td
52
52
  A simple page, showing links and buttons styled using the button plugin.
@@ -55,7 +55,7 @@
55
55
  %a{ :href => "plugins/link_icons.html" }
56
56
  Link Icons
57
57
  %td
58
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass" }
58
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass" }
59
59
  link_icons.sass
60
60
  %td
61
61
  A simple page, showing links icons.
@@ -64,7 +64,7 @@
64
64
  %a{ :href => "plugins/rtl.html" }
65
65
  RTL
66
66
  %td
67
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass" }
67
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_rtl.sass" }
68
68
  rtl.sass
69
69
  %td
70
70
  A simple page, showing a right-to-left grid layout.