compass-edge 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. data/CHANGELOG.markdown +528 -0
  2. data/LICENSE.markdown +29 -0
  3. data/README.markdown +46 -0
  4. data/REVISION +1 -0
  5. data/Rakefile +131 -0
  6. data/VERSION.yml +4 -0
  7. data/bin/compass +26 -0
  8. data/deps.rip +1 -0
  9. data/examples/README.markdown +4 -0
  10. data/examples/blueprint_default/config.rb +7 -0
  11. data/examples/blueprint_default/images/grid.png +0 -0
  12. data/examples/blueprint_default/index.html.haml +85 -0
  13. data/examples/blueprint_default/parts/elements.html.haml +282 -0
  14. data/examples/blueprint_default/parts/forms.html.haml +190 -0
  15. data/examples/blueprint_default/parts/grid.html.haml +274 -0
  16. data/examples/blueprint_default/parts/test-small.jpg +0 -0
  17. data/examples/blueprint_default/parts/test.jpg +0 -0
  18. data/examples/blueprint_default/parts/valid.png +0 -0
  19. data/examples/blueprint_default/src/ie.sass +3 -0
  20. data/examples/blueprint_default/src/images/grid.png +0 -0
  21. data/examples/blueprint_default/src/print.sass +3 -0
  22. data/examples/blueprint_default/src/screen.sass +8 -0
  23. data/examples/blueprint_plugins/config.rb +8 -0
  24. data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
  25. data/examples/blueprint_plugins/images/buttons/key.png +0 -0
  26. data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
  27. data/examples/blueprint_plugins/images/grid.png +0 -0
  28. data/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
  29. data/examples/blueprint_plugins/images/link_icons/email.png +0 -0
  30. data/examples/blueprint_plugins/images/link_icons/external.png +0 -0
  31. data/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
  32. data/examples/blueprint_plugins/images/link_icons/im.png +0 -0
  33. data/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
  34. data/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
  35. data/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
  36. data/examples/blueprint_plugins/images/test-small.jpg +0 -0
  37. data/examples/blueprint_plugins/images/test.jpg +0 -0
  38. data/examples/blueprint_plugins/images/valid.png +0 -0
  39. data/examples/blueprint_plugins/index.html.haml +96 -0
  40. data/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
  41. data/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
  42. data/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
  43. data/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
  44. data/examples/blueprint_plugins/src/buttons.sass +49 -0
  45. data/examples/blueprint_plugins/src/ie.sass +3 -0
  46. data/examples/blueprint_plugins/src/images/grid.png +0 -0
  47. data/examples/blueprint_plugins/src/link_icons.sass +13 -0
  48. data/examples/blueprint_plugins/src/print.sass +3 -0
  49. data/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
  50. data/examples/blueprint_plugins/src/screen.sass +11 -0
  51. data/examples/blueprint_scoped/images/grid.png +0 -0
  52. data/examples/blueprint_scoped/src/ie.sass +4 -0
  53. data/examples/blueprint_scoped/src/print.sass +4 -0
  54. data/examples/blueprint_scoped/src/screen.sass +5 -0
  55. data/examples/blueprint_scoped_form/images/grid.png +0 -0
  56. data/examples/blueprint_scoped_form/src/ie.sass +3 -0
  57. data/examples/blueprint_scoped_form/src/print.sass +3 -0
  58. data/examples/blueprint_scoped_form/src/screen.sass +10 -0
  59. data/examples/blueprint_semantic/config.rb +7 -0
  60. data/examples/blueprint_semantic/images/grid.png +0 -0
  61. data/examples/blueprint_semantic/index.html.haml +86 -0
  62. data/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
  63. data/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
  64. data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
  65. data/examples/blueprint_semantic/parts/test.jpg +0 -0
  66. data/examples/blueprint_semantic/parts/valid.png +0 -0
  67. data/examples/blueprint_semantic/src/ie.sass +3 -0
  68. data/examples/blueprint_semantic/src/images/grid.png +0 -0
  69. data/examples/blueprint_semantic/src/liquid.sass +69 -0
  70. data/examples/blueprint_semantic/src/print.sass +3 -0
  71. data/examples/blueprint_semantic/src/screen.sass +70 -0
  72. data/examples/compass/compass.html.haml +39 -0
  73. data/examples/compass/config.rb +7 -0
  74. data/examples/compass/images/blue_arrow.gif +0 -0
  75. data/examples/compass/src/compass.sass +47 -0
  76. data/examples/compass/src/images/blue_arrow.gif +0 -0
  77. data/examples/compass/src/sticky_footer.sass +11 -0
  78. data/examples/compass/src/utilities.sass +108 -0
  79. data/examples/compass/sticky_footer.html.haml +14 -0
  80. data/examples/compass/utilities.html.haml +189 -0
  81. data/examples/downloader.rb +57 -0
  82. data/examples/logo/logo.html.haml +40 -0
  83. data/examples/logo/src/ie.sass +6 -0
  84. data/examples/logo/src/print.sass +6 -0
  85. data/examples/logo/src/screen.sass +29 -0
  86. data/examples/ninesixty/bootstrap.rb +4 -0
  87. data/examples/ninesixty/config.rb +9 -0
  88. data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
  89. data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
  90. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
  91. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
  92. data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
  93. data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
  94. data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
  95. data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
  96. data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
  97. data/examples/ninesixty/src/grid.sass +16 -0
  98. data/examples/ninesixty/src/text.sass +10 -0
  99. data/examples/yui/bootstrap.rb +3 -0
  100. data/examples/yui/divisions.html.haml +179 -0
  101. data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
  102. data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  103. data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
  104. data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
  105. data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
  106. data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
  107. data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
  108. data/examples/yui/index.html.haml +19 -0
  109. data/examples/yui/src/screen.sass +13 -0
  110. data/examples/yui/sub_divisions.html.haml +169 -0
  111. data/examples/yui/templates.html.haml +54 -0
  112. data/examples/yui/test.jpg +0 -0
  113. data/examples/yui/typography.html.haml +132 -0
  114. data/lib/compass.rb +22 -0
  115. data/lib/compass/actions.rb +116 -0
  116. data/lib/compass/app_integration.rb +3 -0
  117. data/lib/compass/app_integration/merb.rb +1 -0
  118. data/lib/compass/app_integration/merb/runtime.rb +63 -0
  119. data/lib/compass/app_integration/rails.rb +8 -0
  120. data/lib/compass/app_integration/rails/action_controller.rb +15 -0
  121. data/lib/compass/app_integration/rails/configuration_defaults.rb +29 -0
  122. data/lib/compass/app_integration/rails/installer.rb +127 -0
  123. data/lib/compass/app_integration/rails/runtime.rb +14 -0
  124. data/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
  125. data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
  126. data/lib/compass/app_integration/rails/urls.rb +14 -0
  127. data/lib/compass/app_integration/stand_alone.rb +3 -0
  128. data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +24 -0
  129. data/lib/compass/app_integration/stand_alone/installer.rb +71 -0
  130. data/lib/compass/commands.rb +11 -0
  131. data/lib/compass/commands/base.rb +36 -0
  132. data/lib/compass/commands/create_project.rb +113 -0
  133. data/lib/compass/commands/generate_grid_background.rb +91 -0
  134. data/lib/compass/commands/help.rb +62 -0
  135. data/lib/compass/commands/installer_command.rb +34 -0
  136. data/lib/compass/commands/list_frameworks.rb +16 -0
  137. data/lib/compass/commands/print_version.rb +91 -0
  138. data/lib/compass/commands/project_base.rb +92 -0
  139. data/lib/compass/commands/registry.rb +22 -0
  140. data/lib/compass/commands/stamp_pattern.rb +86 -0
  141. data/lib/compass/commands/update_project.rb +38 -0
  142. data/lib/compass/commands/validate_project.rb +21 -0
  143. data/lib/compass/commands/watch_project.rb +69 -0
  144. data/lib/compass/commands/write_configuration.rb +32 -0
  145. data/lib/compass/compiler.rb +54 -0
  146. data/lib/compass/configuration.rb +38 -0
  147. data/lib/compass/configuration/adapters.rb +59 -0
  148. data/lib/compass/configuration/comments.rb +22 -0
  149. data/lib/compass/configuration/data.rb +103 -0
  150. data/lib/compass/configuration/defaults.rb +107 -0
  151. data/lib/compass/configuration/helpers.rb +83 -0
  152. data/lib/compass/configuration/inheritance.rb +170 -0
  153. data/lib/compass/configuration/serialization.rb +86 -0
  154. data/lib/compass/core_ext.rb +14 -0
  155. data/lib/compass/dependencies.rb +6 -0
  156. data/lib/compass/errors.rb +7 -0
  157. data/lib/compass/exec.rb +15 -0
  158. data/lib/compass/exec/command_option_parser.rb +23 -0
  159. data/lib/compass/exec/global_options_parser.rb +37 -0
  160. data/lib/compass/exec/helpers.rb +28 -0
  161. data/lib/compass/exec/project_options_parser.rb +42 -0
  162. data/lib/compass/exec/sub_command_ui.rb +45 -0
  163. data/lib/compass/exec/switch_ui.rb +166 -0
  164. data/lib/compass/frameworks.rb +53 -0
  165. data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
  166. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
  167. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +90 -0
  168. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
  169. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +29 -0
  170. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
  171. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
  172. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
  173. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
  174. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
  175. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
  176. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
  177. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
  178. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
  179. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
  180. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +122 -0
  181. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
  182. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +160 -0
  183. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
  184. data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
  185. data/lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
  186. data/lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
  187. data/lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
  188. data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
  189. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
  190. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
  191. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
  192. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
  193. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
  194. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
  195. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
  196. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
  197. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
  198. data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
  199. data/lib/compass/frameworks/blueprint/templates/project/grid.png +0 -0
  200. data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
  201. data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +8 -0
  202. data/lib/compass/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
  203. data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
  204. data/lib/compass/frameworks/blueprint/templates/project/screen.sass +47 -0
  205. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +13 -0
  206. data/lib/compass/frameworks/compass/stylesheets/_compass.sass +1 -0
  207. data/lib/compass/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
  208. data/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
  209. data/lib/compass/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
  210. data/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass +7 -0
  211. data/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +19 -0
  212. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_css3.sass +6 -0
  213. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass +5 -0
  214. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  215. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  216. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
  217. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
  218. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
  219. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  220. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_border_radius.sass +47 -0
  221. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_shadow.sass +12 -0
  222. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_sizing.sass +13 -0
  223. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass +37 -0
  224. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass +7 -0
  225. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass +18 -0
  226. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
  227. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
  228. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
  229. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
  230. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  231. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  232. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  233. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  234. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
  235. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  236. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
  237. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  238. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
  239. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
  240. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
  241. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
  242. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
  243. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  244. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
  245. data/lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
  246. data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
  247. data/lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
  248. data/lib/compass/frameworks/compass/templates/extension/manifest.rb +6 -0
  249. data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
  250. data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
  251. data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
  252. data/lib/compass/frameworks/compass/templates/project/ie.sass +6 -0
  253. data/lib/compass/frameworks/compass/templates/project/manifest.rb +3 -0
  254. data/lib/compass/frameworks/compass/templates/project/print.sass +6 -0
  255. data/lib/compass/frameworks/compass/templates/project/screen.sass +13 -0
  256. data/lib/compass/grid_builder.rb +76 -0
  257. data/lib/compass/installers.rb +3 -0
  258. data/lib/compass/installers/base.rb +186 -0
  259. data/lib/compass/installers/manifest.rb +79 -0
  260. data/lib/compass/installers/template_context.rb +44 -0
  261. data/lib/compass/logger.rb +42 -0
  262. data/lib/compass/sass_extensions.rb +5 -0
  263. data/lib/compass/sass_extensions/functions.rb +19 -0
  264. data/lib/compass/sass_extensions/functions/display.rb +22 -0
  265. data/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
  266. data/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
  267. data/lib/compass/sass_extensions/functions/selectors.rb +42 -0
  268. data/lib/compass/sass_extensions/functions/urls.rb +105 -0
  269. data/lib/compass/sass_extensions/monkey_patches.rb +3 -0
  270. data/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
  271. data/lib/compass/test_case.rb +38 -0
  272. data/lib/compass/validator.rb +10 -0
  273. data/lib/compass/version.rb +57 -0
  274. data/lib/vendor/fssm.rb +28 -0
  275. data/lib/vendor/fssm/backends/fsevents.rb +78 -0
  276. data/lib/vendor/fssm/backends/polling.rb +24 -0
  277. data/lib/vendor/fssm/ext.rb +7 -0
  278. data/lib/vendor/fssm/monitor.rb +21 -0
  279. data/lib/vendor/fssm/path.rb +88 -0
  280. data/lib/vendor/fssm/state.rb +46 -0
  281. data/lib/vendor/fssm/support.rb +26 -0
  282. data/test/command_line_helper.rb +97 -0
  283. data/test/command_line_test.rb +67 -0
  284. data/test/compass_test.rb +132 -0
  285. data/test/configuration_test.rb +123 -0
  286. data/test/fixtures/stylesheets/blueprint/config.rb +9 -0
  287. data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
  288. data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
  289. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
  290. data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
  291. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
  292. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
  293. data/test/fixtures/stylesheets/compass/config.rb +9 -0
  294. data/test/fixtures/stylesheets/compass/css/layout.css +15 -0
  295. data/test/fixtures/stylesheets/compass/css/print.css +18 -0
  296. data/test/fixtures/stylesheets/compass/css/reset.css +60 -0
  297. data/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
  298. data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
  299. data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
  300. data/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
  301. data/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
  302. data/test/fixtures/stylesheets/image_urls/config.rb +17 -0
  303. data/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
  304. data/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
  305. data/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
  306. data/test/io_helper.rb +19 -0
  307. data/test/rails_integration_test.rb +84 -0
  308. data/test/sass_extensions_test.rb +31 -0
  309. data/test/test_case_helper.rb +13 -0
  310. data/test/test_helper.rb +27 -0
  311. data/test/test_rails_helper.rb +20 -0
  312. metadata +404 -0
@@ -0,0 +1,528 @@
1
+ COMPASS CHANGELOG
2
+ =================
3
+
4
+ 0.8.12 (August 22, 2009)
5
+ ------------------------
6
+
7
+ Bug Fix Release:
8
+
9
+ * [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
10
+ * Ruby 1.9.1 fix: binding for parse_string
11
+ * [Rails] Don't suggest creating a stylesheet link to partials.
12
+
13
+
14
+ 0.8.10 (August 16, 2009)
15
+ ------------------------
16
+ Bug Fix Release:
17
+
18
+ * Write files in binary mode to avoid data corruption when installing images on windows.
19
+ Fixes [Issue #39](http://github.com/chriseppstein/compass/issues/#issue/39)
20
+
21
+ 0.8.9 (August 9, 2009)
22
+ ----------------------
23
+ Bug Fix Release:
24
+
25
+ * [Blueprint] The default screen.sass generated invalid selectors due to improper nesting. A better fix is coming in the next release.
26
+
27
+ 0.8.8 (July 21, 2009)
28
+ ---------------------
29
+
30
+ Bug Fix Release:
31
+
32
+ * [Compass Core] Fixed a bug in alternating_rows_and_columns. Improper nesting caused some styles to be improperly rendered.
33
+ [Commit](http://github.com/chriseppstein/compass/commit/e277ed2cd3fded0b98ddaa87fc4d3b9d37cb7354)
34
+ * [YUI] Fixed a bug in yui grids where the .first div wouldn't get the right styles in some rare cases due to incorrect nesting.
35
+ [Commit](http://github.com/chriseppstein/compass/commit/4bfcef4f376ee6e5d5a2b47419d2f21ef4c6eff8)
36
+
37
+
38
+ 0.8.7 (July 09, 2009)
39
+ ---------------------
40
+
41
+ Bug Fix Release:
42
+
43
+ * Load haml-edge only if it's all new and shiny. Closes GH-26.
44
+ [Commit](http://github.com/chriseppstein/compass/commit/59a6067b3a67a79bfd9a5ce325fc1be4bb6c9e78)
45
+ * [Blueprint] Added more descriptive comments to the Blueprint IE template.
46
+ [Commit](http://github.com/chriseppstein/compass/commit/8684966be1e8166a986ae81abd3daf6c44ed4f94)
47
+ * [Rails] Fixed a bug in rails integration if the request is not set on the controller.
48
+ [Commit](http://github.com/chriseppstein/compass/commit/7fba6028d8073a9124a6505aab9246b5b459db34)
49
+ * [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25.
50
+ [Commit](http://github.com/chriseppstein/compass/commit/d2b1370c80a32f70ae6ec94126b737f4f0fc0851)
51
+
52
+ 0.8.6 (July 08, 2009)
53
+ ---------------------
54
+
55
+ ### Rails
56
+
57
+ * The rails installer now correctly references the haml 2.2 dependency.
58
+ [Commit](http://github.com/chriseppstein/compass/commit/85bb337f50a3a3dfaafa2820d5463f7296140c9e)
59
+ by [Filip Tepper][filiptepper].
60
+ * When installing into a new rails project, set the http paths correctly for stylesheets and javascripts
61
+ in the configuration file.
62
+ [Commit](http://github.com/chriseppstein/compass/commit/94e9696b30a9a9fd750c45e6fe3c2bc93eba506a)
63
+ * Fixed a bug in asset hosts support when compiling outside the context of a controller.
64
+ [Commit](http://github.com/chriseppstein/compass/commit/6b8bbd22b13ef4c329777913a633948e66e3da99)
65
+
66
+ ### Command Line
67
+
68
+ * Fixed a bug that caused the output after installing to not display the conditional comments.
69
+ [Commit](http://github.com/chriseppstein/compass/commit/48a0356ad8bc7b965e64f82498a9adcc1872abad)
70
+
71
+ ### Compass Core
72
+
73
+ * Fixed a copy & paste error in image_url() that caused the http_images_path to not get picked up unless the
74
+ http_stylesheets_path was also set.
75
+ [Commit](http://github.com/chriseppstein/compass/commit/b7a9772efb89b2b882d3fafe02813c0fc650719a)
76
+
77
+ 0.8.5 (July 06, 2009)
78
+ ---------------------
79
+
80
+ The Compass::TestCase class now inherits from ActiveSupport::TestCase if it exists.
81
+ [Commit](http://github.com/chriseppstein/compass/commit/71d5ae8544d1c5ae49e28dcd6b3768fc39d7f01c)
82
+
83
+ 0.8.4 (July 06, 2009)
84
+ ---------------------
85
+
86
+ Fixed a bug in rails integration introduced in 0.8.3.
87
+
88
+ 0.8.3 (July 06, 2009)
89
+ ---------------------
90
+
91
+ Note: Compass now depends on the stable release of haml with version 2.2.0 or greater.
92
+
93
+ ### Compass Core
94
+
95
+ * A new helper function `stylesheet_url(path)` can now be used to refer to assets that are relative to the css directory.
96
+ [Commit](http://github.com/chriseppstein/compass/commit/ff5c8500144272ee2b94271b06cce1690cbbc000).
97
+ * Cross browser ellipsis mixin is now available. Use `compass -p ellipsis` to install it into your project since it
98
+ requires some additional assets.
99
+ [Commit](http://github.com/chriseppstein/compass/commit/3d909ceda997bdcde2aec09bd72e646098389e7d).
100
+
101
+ ### Blueprint
102
+
103
+ * The +colruler mixin now accepts an argument for the color.
104
+ [Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
105
+ by [Thomas Reynolds][tdreyno].
106
+
107
+ ### Extensions
108
+
109
+ * A bug was fixed related to how javascript installation as part of an extension manifest.
110
+ [Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
111
+ by [dturnbull][dturnbull].
112
+ * When installing a file, the :like option can now be set to have it installed into the
113
+ same location as what it is like. E.g. `file 'foo.xml', :like => :css` will install
114
+ the foo.xml file into the top level of the project's css directory.
115
+ [Commit](http://github.com/chriseppstein/compass/commit/21cfce33db81e185ce5517818844a9849b5a836e).
116
+
117
+ ### Configuration
118
+ * Setting `http_images_path` to `:relative` is now **deprecated**. Instead, please set `relative_assets` to
119
+ `true`.
120
+ [Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
121
+ * New configuration option `http_path` can be used to set the project's path relative to the server's root.
122
+ Defaults to "/". The http paths to images, stylesheets, and javascripts are now assumed to be relative to that
123
+ path but can be overridden using the `http_images_path`, `http_css_path`, `http_javascripts_path`.
124
+ [Commit](http://github.com/chriseppstein/compass/commit/6555ab3952ae37d736d54f43ee7053c2a88f4a69).
125
+
126
+ ### Command Line
127
+
128
+ * A new command line option `--relative-assets` can be used to cause links to assets generated
129
+ via compass helper functions to be relative to the target css file.
130
+ [Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
131
+
132
+ 0.8.2 (July 04, 2009)
133
+ ---------------------
134
+
135
+ Fixed a bug that caused touch to fail on windows due to open files. (Contributor: Joe Wasson)
136
+
137
+ 0.8.1
138
+ -----
139
+
140
+ Fixed some build issues and a bug in the rewritten --watch mode that caused changes to partials to go unnoticed.
141
+
142
+ 0.8.0
143
+ -----
144
+
145
+ ### Rails
146
+
147
+ * image_url() now integrates with the rails asset handling code when
148
+ stylesheets are generated within the rails container.
149
+ **This causes your rails configuration for cache busting and asset hosts
150
+ to be used when generating your stylesheets**. Unfortunately, all
151
+ that code runs within the context of a controller, so the stylesheets
152
+ have to be generated during first request to use this functionality. If you
153
+ need to compile stylesheets offline, use the compass configuration file to set
154
+ the <code>asset_host</code> and <code>asset_cache_buster</code>.
155
+ [Commit](http://github.com/chriseppstein/compass/commit/998168160b11c8702ded0a32820ea15b70d51e83).
156
+
157
+ * An official Rails template for Compass is now [provided][rails_template].
158
+ [Commit](http://github.com/chriseppstein/compass/commit/f6948d1d58818ef8babce8f8f9d775562d7cd7ef)
159
+ by [Derek Perez][perezd].
160
+
161
+ ### Blueprint
162
+
163
+ * The Blueprint port has been upgraded to match Blueprint 0.9. The following changes were made as part
164
+ of that project:
165
+ * Removed body margins from blueprint scaffolding by default.
166
+ The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
167
+ [Commit](http://github.com/chriseppstein/compass/commit/45af89d4c7a396fae5d14fab4ef3bab23bcdfb6a)
168
+ by [Enrico Bianco][enricob].
169
+ * A bug in the calculations affecting the +colborder mixin has been fixed.
170
+ [Commit](http://github.com/chriseppstein/compass/commit/4b33fae5e5c5421580ba536116cb10194f1318d1)
171
+ by [Enrico Bianco][enricob].
172
+ Related [commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10).
173
+ * Blueprint now has inline form support. Mix +blueprint-inline-form into a form selector to make it inline.
174
+ [Commit](http://github.com/chriseppstein/compass/commit/56c745b939c763cfcc5549b54979d48ab1309087)
175
+ by [Enrico Bianco][enricob].
176
+ * Please update the conditional comment that surrounds your IE stylesheet to use "lt IE 8" as the condition
177
+ as these styles are not needed in IE8. New blueprint projects will now use this conditional as their default.
178
+ [Commit](http://github.com/chriseppstein/compass/commit/77f6e02c0ec80d2b6fd19e611ced02be003c98ae)
179
+ by [Enrico Bianco][enricob].
180
+ * Explicitly define image interpolation mode for IE so that images aren't jagged when resizing.
181
+ [Commit](http://github.com/chriseppstein/compass/commit/63075f82db367913efcce5e1d0f5489888e86ca4)
182
+ by [Enrico Bianco][enricob].
183
+
184
+ * When starting a new project based on Blueprint, a more complete screen.sass file will be
185
+ provided that follows compass best practices instead of matching blueprint css exactly. A
186
+ partials/_base.sass file is provided and already set up for blueprint customization.
187
+ [Commit](http://github.com/chriseppstein/compass/commit/11b6ea14c3ee919711fa4bdce349f88b64b68d51)
188
+
189
+ * The sizes and borders for form styling can now be altered via mixin arguments.
190
+ [Commit](http://github.com/chriseppstein/compass/commit/b84dd3031b82547cff8e1ef1f85de66d98cd162b)
191
+ by [Thomas Reynolds][tdreyno].
192
+
193
+ * Grid borders can now be altered via mixin arguments.
194
+ [Commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10)
195
+ by [Thomas Reynolds][tdreyno].
196
+
197
+ * The reset file for blueprint has moved from compass/reset.sass to blueprint/reset.sass. Please
198
+ update your imports accordingly. Also note that some of the reset mixin names have changed
199
+ (now prefixed with blueprint-*).
200
+ [Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
201
+ by [Noel Gomez][noel].
202
+
203
+ ### Compass Core
204
+
205
+ * **Sprites**. A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img
206
+ mixin to set the background image from a sprite image file. Assumes every sprite in the sprite image
207
+ file has the same dimensions.
208
+ [Commit](http://github.com/chriseppstein/compass/commit/1f21d6309140c009188d350ed911eed5d34bf02e)
209
+ by [Thomas Reynolds][tdreyno].
210
+
211
+ * **Reset**. The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/).
212
+ which makes no attempt to apply base styles like the blueprint reset does. **Existing compass projects
213
+ will want to change their reset import to point to blueprint/reset.sass** -- which is where the old
214
+ default reset for compass projects now lives -- see the blueprint notes above for more information.
215
+ [Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
216
+ by [Noel Gomez][noel].
217
+
218
+ * A bug was fixed in the tag_cloud mixin so that it actually works.
219
+ [Commit](http://github.com/chriseppstein/compass/commit/be5c0ff6731ec5e0cdac73bc47f5603c3db899b5)
220
+ by [Bjørn Arild Mæland][Chrononaut].
221
+
222
+ ### Sass Extensions
223
+
224
+ * The <code>inline_image(image_path)</code> function can now be used to generate a data url that embeds the image data in
225
+ the generated css file -- avoiding the need for another request.
226
+ This function works like <code>image_url()</code> in that it expects the image to be a path
227
+ relative to the images directory. There are clear advantages and disadvantages to this approach.
228
+ See [Wikipedia](http://en.wikipedia.org/wiki/Data_URI_scheme) for more details.
229
+ NOTE: Neither IE6 nor IE7 support this feature.
230
+ [Commit](http://github.com/chriseppstein/compass/commit/5a015b3824f280af56f1265bf8c3a7c64a252621).
231
+
232
+ ### Configuration
233
+
234
+ * **Asset Hosts**. You can now configure the asset host(s) used for images via the image_url() function.
235
+ Asset hosts are off unless configured and also off when relative urls are enabled.
236
+ [Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e).
237
+ In your compass configuration file, you must define an asset_host algorithm to be used like so:
238
+ # Return the same host for all images:
239
+ asset_host {|path| "http://assets.example.com" }
240
+ # Return a different host based on the image path.
241
+ asset_host do |path|
242
+ "http://assets%d.example.com" % (path.hash % 4)
243
+ end
244
+
245
+
246
+ * **Configurable Cache Buster**. You can now configure the cache buster that gets placed at the end of
247
+ images via the image_url function. This might be useful if you need to coordinate the query string
248
+ or use something other than a timestamp.
249
+ [Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e)
250
+ Example:
251
+ asset_cache_buster do |path, file|
252
+ "busted=true"
253
+ end
254
+
255
+ * You can now set/override arbitrary sass options by setting the <code>sass_options</code> configuration property
256
+ to a hash. [Commit](http://github.com/chriseppstein/compass/commit/802bca61741db31da7131c82d31fff45f9323696).
257
+
258
+ * You can now specify additional import paths to look for sass code outside the project.
259
+ [Commit](http://github.com/chriseppstein/compass/commit/047be06a0a63923846f53849fc220fb4be69513b).
260
+ This can be done in two ways:
261
+ 1. By setting <code>additional_import_paths</code> to an array of paths.
262
+ 2. By (repeatedly) calling <code>add_import_path(path)</code>
263
+
264
+ * The compass configuration can now be placed in PROJECT_DIR/.compass/config.rb if you so choose.
265
+ [Commit](http://github.com/chriseppstein/compass/commit/69cf32f70ac79c155198d2dbf96f50856bee9504).
266
+
267
+
268
+ ### Command Line
269
+
270
+ * **Watch Improvements** The watch command was rewritten for robustness and reliability. The most
271
+ important change is that generated css files will be deleted if the originating sass file is removed while
272
+ watching the project. [Commit](http://github.com/chriseppstein/compass/commit/0a232bd922695f6f659fac9f90466745d4425839).
273
+
274
+ * The images and javascripts directories may now be set via the command line.
275
+ [Commit](http://github.com/chriseppstein/compass/84aec053d0109923ea0208ac0847684cf09cefc1).
276
+
277
+ * The usage output (-h) of the command-line has been reformatted to make it more readable and understandable.
278
+ [Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
279
+
280
+ * The configuration file being read can now be specified explicitly using the -c option.
281
+ This also affects the output location of the --write-configuration command.
282
+ NOTE: The -c option used to be for writing the configuration file, an infrequently used option.
283
+ [Commit](http://github.com/chriseppstein/compass/d2acd343b899db960c1d3a377e2ee6f58595c6b1).
284
+
285
+ * You can now install into the current working directory by explicitly setting the command line mode to -i
286
+ and providing no project name.
287
+ [Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
288
+
289
+ ### Compass Internals
290
+
291
+ * Some internal code was reorganized to make managing sass extensions and functions more manageable.
292
+
293
+ * Some internal code was reorganized to make managing ruby application integration more manageable.
294
+
295
+ * The compass unit tests were reorganized to separate rails testing from other tests.
296
+
297
+ * The [Rip Packaging System](http://hellorip.com) is now supported.
298
+ [Commit](http://github.com/chriseppstein/compass/commit/56f36577c7654b93a349f74abf274327df23402b)
299
+ by [Will Farrington](http://github.com/wfarr).
300
+
301
+ * A [licence is now available](http://github.com/chriseppstein/compass/blob/master/LICENSE.markdown)
302
+ making the copyrights and terms of use clear for people who care about such things.
303
+
304
+
305
+ 0.6.14
306
+ ------
307
+
308
+ Extracted the css validator to an external gem that is only required if you try to use the validation feature.
309
+ This makes the compass gem a lot smaller (0.37MB instead of 4MB). To install the validator:
310
+
311
+ sudo gem install chriseppstein-compass-validator --source http://gems.github.com/
312
+
313
+ 0.6.8 thru 0.6.13
314
+ -----------------
315
+
316
+ The compass gem is now built with Jeweler instead of Echoe. No changes to speak of. These versions were bug
317
+ fixes and working out the new release process.
318
+
319
+ 0.6.7
320
+ -----
321
+
322
+ Bug fix release.
323
+
324
+ ### Rails
325
+
326
+ The output_style will no longer be set in the compass.config file. Instead compass will use the runtime rails environment to set a sensible default.
327
+
328
+ ### Command Line
329
+
330
+ The Sass cache directory will be placed into the sass directory of the project instead of the directory from where the compass command was ran.
331
+
332
+ ### Compass Core
333
+
334
+ Extracted two new mixins from +horizontal-list. The new +horizontal-list-container and +horizontal-list-item mixins can be used to build your
335
+ horizontal list when you need more control over the selectors (E.g. when working with nested lists).
336
+
337
+ 0.6.6
338
+ -----
339
+
340
+ The Haml project now releases a gem called haml-edge that is built from the haml master branch instead of stable. Compass now depends on this gem and will continue to do so until haml 2.2 is released. This should reduce the number of installation problems that have been encountered by new users.
341
+
342
+ ### Command Line
343
+
344
+ * Fixed a bug that had broken the --write-configuration (-c) option.
345
+ * The --force option will now force recompilation. Useful when the stylesheets don't appear to need a recompile according to the file timestamps.
346
+
347
+ ### Unit tests
348
+
349
+ * Some unit tests were cleaned up for clarity and to better take advantage of the compass project management facilities.
350
+
351
+ 0.6.5
352
+ -----
353
+
354
+ ### Compass Core
355
+
356
+ Converted all mixins definitions referencing images to use the new sass function <code>image\_url()</code>. The following mixins were affected:
357
+
358
+ * <code>+pretty-bullets</code>
359
+ * <code>+replace-text</code>
360
+
361
+ The calls to these mixins should now pass a path to the image that is relative to the images directory of the project.
362
+
363
+ ### Command Line
364
+
365
+ * Required frameworks specified from the command line will now be added into the initial project configuration file.
366
+
367
+ 0.6.4
368
+ -----
369
+
370
+ ### Command Line
371
+
372
+ Added a command line option --install-dir that will emit the directory where compass is installed. Useful for debugging and drilling into the compass examples and libraries.
373
+
374
+ 0.6.3
375
+ -----
376
+
377
+ ### Rails
378
+
379
+ Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".
380
+
381
+ ### Command Line
382
+
383
+ These changes, coupled with upcoming changes to Sass result in significantly reduced time spent on compilation for large projects.
384
+
385
+ * The compass command line will no longer recompile sass files that haven't changed (taking import dependencies into account).
386
+ * The compass command line will now respect the -q (quiet) option during compilation. Additionally, the quiet option will be set by default when watching a project for changes.
387
+
388
+ 0.6.2
389
+ -----
390
+
391
+ ### Blueprint
392
+
393
+ Split the push and pull mixins into sub-mixins that separate the common styles from the ones that vary. The generated css when using presentational class names will be smaller as a result. The existing <code>+push</code> and <code>+pull</code> mixins continue to work as expected. The following mixins were added:
394
+
395
+ +push-base
396
+ +push-margins
397
+ +pull-base
398
+ +pull-margins
399
+
400
+ Additonally, the liquid plugin was updated to have a span mixin that matches elsewhere.
401
+
402
+ ### YUI
403
+
404
+ Added Yahoo's version of the css reset. To use it, mix into the top level of your project:
405
+
406
+ @import yui/modules/reset.sass
407
+ +reset
408
+
409
+ ### Rails
410
+
411
+ * Conditionally defining #blank? on String/NilClass (Erik Bryn <erik.bryn@gmail.com>)
412
+ * Set compass environment in plugin based on RAILS_ENV (Lee Nussbaum <wln@scrunch.org>)
413
+
414
+ 0.6.1
415
+ -----
416
+
417
+ Maintenance release that fixes several bugs in the handling of configuration files.
418
+
419
+ 0.6.0
420
+ -----
421
+
422
+ ### New Core Functionality: **Patterns**
423
+
424
+ Patterns give a framework or plugin access to the compass installer framework
425
+ to install customizable sass, html as well as image and javascript assets.
426
+
427
+ A pattern is a folder in the plugin's templates directory. It must
428
+ have a manifest file that tells compass what to install and where.
429
+ Unlike the project template, a pattern can be stamped out any number of
430
+ times.
431
+
432
+ It is best for pattern stylesheets to only provide example usage to get
433
+ the user started. All the core styles for the pattern should be
434
+ distributed as part of the framework's stylesheets as mixins to
435
+ facilitate easy upgrades and bug fixing on the part of the pattern's
436
+ maintainer.
437
+
438
+ Example Usage:
439
+ compass --framework blueprint --pattern buttons
440
+
441
+ Please read the
442
+ [Wiki Page](http://wiki.github.com/chriseppstein/compass/patterns) for more information.
443
+
444
+ ### New Command-line options:
445
+
446
+ 1. <code>--validate</code><br/>
447
+ Validate your project's compiled css. Requires java and probably only works on Mac and Unix.
448
+ 2. <code>--grid-img [DIMENSIONS]</code><br/>
449
+ Generate a background image to test grid alignment. Dimension is given as
450
+ <column_width>+<gutter_width>. Defaults to 30+10.
451
+ 3. <code>-p, --pattern PATTERN</code><br/>
452
+ When combined with with the --framework option, will stamp a plugin's pattern named PATTERN.
453
+ 4. <code>-n, --pattern-name NAME</code><br/>
454
+ When combined with the --pattern option, the pattern that gets stamped out will
455
+ be isolated in subdirectories named NAME.
456
+ 5. <code>-c, --write-configuration</code><br/>
457
+ Emit a compass configuration file into the current directory, taking any existing configuration
458
+ file and any command line options provided into account. (command line options override
459
+ configuration file options).
460
+
461
+ ### New Sass Functions:
462
+
463
+ Compass projects can call these sass functions within their sass files, if you find them useful.
464
+
465
+ 1. <code>enumerate(prefix, start, end)</code><br/>
466
+ Generates selectors with a prefix and a numerical ending
467
+ counting from start to end. E.g. enumerate("foo", 1, 3) returns "foo-1, foo-2, foo-3"
468
+ 2. <code>image_url(path)</code><br/>
469
+ Uses the compass configuration to convert a path relative to the compass
470
+ project directory to a path that is either absolute for serving in an HTTP
471
+ context or that is relative to whatever css file the function was being
472
+ compiled into. In the future, this function may also tap into the rails
473
+ asset host configuration.
474
+
475
+ ### New Compass Core Mixins
476
+
477
+ 1. <code>+float-left</code> & <code>+float-right</code><br/>
478
+ In order to include fixes for IE's double-margin bug universally,
479
+ floats were implemented as a utility mixins. These are available by importing
480
+ compass/utilities/general/float.sass which also imports the clearfix module.
481
+ 2. <code>+pie-clearfix</code><br/>
482
+ Implementation of the
483
+ [position-is-everything clearfix](http://www.positioniseverything.net/easyclearing.html)
484
+ that uses content :after.
485
+
486
+ ### Blueprint 0.8
487
+
488
+ The Compass port of Blueprint has been upgraded from 0.7.1 to 0.8.0. The 0.8.0 release
489
+ brings many bug fixes and a few backward incompatible changes if you use it's presentational
490
+ classnames (you don't do that, do you?). Upgrading to 0.8 is automatic when you upgrade to
491
+ compass 0.6.0. The Blueprint team didn't release a detailed changelog for me to point at here.
492
+ One of the key features of the release was the inclusion of three new core blueprint plugins
493
+ (a.k.a. folders you can copy). These are what prompted the development of the compass patterns
494
+ feature and two of them are packaged as patterns:
495
+
496
+ 1. Buttons<br/>
497
+ To install: <code>compass --framework blueprint --pattern buttons</code><br/>
498
+ Then follow your nose.
499
+ 2. Link Icons<br/>
500
+ To install: <code>compass --framework blueprint --pattern link\_icons</code><br/>
501
+ Then follow your nose.
502
+
503
+ The third plugin is the RTL (right-to-left) plugin. To use this one, simply import it after the import
504
+ of the blueprint grid and your mixins will be redefined to work in a left to right manner. Additionally,
505
+ it provides +rtl-typography mixin that works in conjunction with +blueprint-typography and should be mixed
506
+ in with it.
507
+
508
+ Lastly, I've rewrote some of the presentational class name generation code so that it very nearly
509
+ matches the blueprint CSS. Please note that they are not 100% the same because we fix some bugs
510
+ that are not yet fixed in blueprint-css and we use a different clearfix implementation.
511
+
512
+ ### Bug Fixes
513
+
514
+ 1. A Safari bug related to the +clearfix mixin was resolved.
515
+ 2. Running the compass command line installer a second time.
516
+
517
+ ### Bugs Introduced
518
+
519
+ Almost definitely. Please let me know if you encounter any problems and I'll get a patch out
520
+
521
+ [tdreyno]: http://github.com/tdreyno
522
+ [noel]: http://github.com/noel
523
+ [enricob]: http://github.com/enricob
524
+ [perezd]: http://github.com/perezd
525
+ [Chrononaut]: http://github.com/Chrononaut
526
+ [rails_template]: http://github.com/chriseppstein/compass/raw/4e7e51e2c5491851f66c77abf3f15194f2f8fb8d/lib/compass/app_integration/rails/templates/compass-install-rails.rb
527
+ [dturnbull]: http://github.com/dturnbull
528
+ [filiptepper]: http://github.com/filiptepper