compass 0.10.0.rc3 → 0.10.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/Rakefile +30 -102
  2. data/VERSION.yml +1 -1
  3. data/examples/css3/bootstrap.rb +3 -0
  4. data/examples/css3/clean.rb +2 -0
  5. data/examples/downloader.rb +2 -2
  6. data/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +1 -2
  7. data/frameworks/{compass → _compass_deprecated_imports}/stylesheets/compass/_misc.scss +1 -0
  8. data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_inline_block.sass +1 -1
  9. data/frameworks/blueprint/stylesheets/_blueprint.scss +2 -1
  10. data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +47 -32
  11. data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +25 -45
  12. data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +6 -3
  13. data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +31 -24
  14. data/frameworks/blueprint/stylesheets/blueprint/_form.scss +45 -35
  15. data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +2 -1
  16. data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +21 -28
  17. data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +66 -137
  18. data/frameworks/compass/stylesheets/compass/_css3.scss +1 -0
  19. data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +23 -5
  20. data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +22 -5
  21. data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +8 -10
  22. data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +36 -16
  23. data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +14 -7
  24. data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +4 -8
  25. data/frameworks/compass/stylesheets/compass/css3/_box.scss +89 -0
  26. data/frameworks/compass/stylesheets/compass/css3/_columns.scss +19 -40
  27. data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +3 -1
  28. data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +2 -0
  29. data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +5 -6
  30. data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +15 -9
  31. data/frameworks/compass/stylesheets/compass/css3/_shared.scss +47 -0
  32. data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +10 -2
  33. data/frameworks/compass/stylesheets/compass/css3/_transform.scss +34 -17
  34. data/frameworks/compass/stylesheets/compass/css3/_transition.scss +19 -21
  35. data/frameworks/compass/stylesheets/compass/utilities/_print.scss +14 -15
  36. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +27 -17
  37. data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +7 -9
  38. data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +4 -2
  39. data/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +12 -6
  40. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +24 -12
  41. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +0 -4
  42. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +5 -5
  43. data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +15 -13
  44. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +1 -1
  45. data/lib/compass.rb +6 -1
  46. data/lib/compass/commands/help.rb +1 -0
  47. data/lib/compass/configuration/data.rb +10 -2
  48. data/lib/compass/exec/helpers.rb +3 -0
  49. data/lib/compass/sass_extensions/functions/selectors.rb +21 -0
  50. data/lib/compass/version.rb +12 -21
  51. data/test/compass_test.rb +1 -1
  52. data/test/fixtures/stylesheets/blueprint/css/typography.css +8 -19
  53. data/test/fixtures/stylesheets/compass/css/box.css +90 -0
  54. data/test/fixtures/stylesheets/compass/sass/box.sass +50 -0
  55. data/test/sass_extensions_test.rb +19 -26
  56. metadata +42 -62
  57. data/CHANGELOG.markdown +0 -881
  58. data/REVISION +0 -1
  59. data/examples/css3/extensions/compass-colors/README.markdown +0 -50
  60. data/examples/css3/extensions/compass-colors/VERSION.yml +0 -5
  61. data/examples/css3/extensions/compass-colors/example/config.rb +0 -13
  62. data/examples/css3/extensions/compass-colors/example/src/_split_compliment_theme.sass +0 -28
  63. data/examples/css3/extensions/compass-colors/example/src/screen.sass +0 -40
  64. data/examples/css3/extensions/compass-colors/lib/compass-colors.rb +0 -9
  65. data/examples/css3/extensions/compass-colors/lib/compass-colors/compass_extension.rb +0 -7
  66. data/examples/css3/extensions/compass-colors/lib/compass-colors/hsl.rb +0 -109
  67. data/examples/css3/extensions/compass-colors/lib/compass-colors/sass_extensions.rb +0 -112
  68. data/examples/css3/extensions/compass-colors/spec/approximate_color_matching.rb +0 -43
  69. data/examples/css3/extensions/compass-colors/spec/sass_extensions_spec.rb +0 -54
  70. data/examples/css3/extensions/compass-colors/templates/analogous/_theme.sass +0 -28
  71. data/examples/css3/extensions/compass-colors/templates/analogous/manifest.rb +0 -1
  72. data/examples/css3/extensions/compass-colors/templates/basic/_theme.sass +0 -7
  73. data/examples/css3/extensions/compass-colors/templates/basic/manifest.rb +0 -1
  74. data/examples/css3/extensions/compass-colors/templates/complementary/_theme.sass +0 -20
  75. data/examples/css3/extensions/compass-colors/templates/complementary/manifest.rb +0 -1
  76. data/examples/css3/extensions/compass-colors/templates/split_complement/_theme.sass +0 -28
  77. data/examples/css3/extensions/compass-colors/templates/split_complement/manifest.rb +0 -1
  78. data/examples/css3/extensions/compass-colors/templates/triadic/_theme.sass +0 -28
  79. data/examples/css3/extensions/compass-colors/templates/triadic/manifest.rb +0 -1
  80. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  81. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  82. data/examples/logo/logo.html.haml +0 -40
  83. data/examples/logo/src/ie.scss +0 -5
  84. data/examples/logo/src/print.scss +0 -3
  85. data/examples/logo/src/screen.scss +0 -28
metadata CHANGED
@@ -6,16 +6,18 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 10
8
8
  - 0
9
- - rc3
10
- version: 0.10.0.rc3
9
+ - rc4
10
+ version: 0.10.0.rc4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Eppstein
14
+ - Eric A. Meyer
15
+ - Brandon Mathis
14
16
  autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2010-04-13 00:00:00 -07:00
20
+ date: 2010-04-27 00:00:00 -07:00
19
21
  default_executable: compass
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency
@@ -29,9 +31,9 @@ dependencies:
29
31
  - 3
30
32
  - 0
31
33
  - 0
32
- - beta
33
- - 2
34
- version: 3.0.0.beta.2
34
+ - rc
35
+ - 1
36
+ version: 3.0.0.rc.1
35
37
  type: :runtime
36
38
  version_requirements: *id001
37
39
  description: Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS.
@@ -40,18 +42,14 @@ executables:
40
42
  - compass
41
43
  extensions: []
42
44
 
43
- extra_rdoc_files:
44
- - LICENSE.markdown
45
- - README.markdown
45
+ extra_rdoc_files: []
46
+
46
47
  files:
47
- - CHANGELOG.markdown
48
- - LICENSE.markdown
49
48
  - README.markdown
50
- - REVISION
51
- - Rakefile
49
+ - LICENSE.markdown
52
50
  - VERSION.yml
51
+ - Rakefile
53
52
  - bin/compass
54
- - examples/README.markdown
55
53
  - examples/blueprint_default/config.rb
56
54
  - examples/blueprint_default/images/grid.png
57
55
  - examples/blueprint_default/index.html.haml
@@ -125,32 +123,13 @@ files:
125
123
  - examples/compass/src/utilities.scss
126
124
  - examples/compass/sticky_footer.html.haml
127
125
  - examples/compass/utilities.html.haml
126
+ - examples/css3/bootstrap.rb
127
+ - examples/css3/clean.rb
128
128
  - examples/css3/config.rb
129
- - examples/css3/extensions/compass-colors/README.markdown
130
- - examples/css3/extensions/compass-colors/VERSION.yml
131
- - examples/css3/extensions/compass-colors/example/config.rb
132
- - examples/css3/extensions/compass-colors/example/src/_split_compliment_theme.sass
133
- - examples/css3/extensions/compass-colors/example/src/screen.sass
134
- - examples/css3/extensions/compass-colors/lib/compass-colors.rb
135
- - examples/css3/extensions/compass-colors/lib/compass-colors/compass_extension.rb
136
- - examples/css3/extensions/compass-colors/lib/compass-colors/hsl.rb
137
- - examples/css3/extensions/compass-colors/lib/compass-colors/sass_extensions.rb
138
- - examples/css3/extensions/compass-colors/spec/approximate_color_matching.rb
139
- - examples/css3/extensions/compass-colors/spec/sass_extensions_spec.rb
140
- - examples/css3/extensions/compass-colors/templates/analogous/_theme.sass
141
- - examples/css3/extensions/compass-colors/templates/analogous/manifest.rb
142
- - examples/css3/extensions/compass-colors/templates/basic/_theme.sass
143
- - examples/css3/extensions/compass-colors/templates/basic/manifest.rb
144
- - examples/css3/extensions/compass-colors/templates/complementary/_theme.sass
145
- - examples/css3/extensions/compass-colors/templates/complementary/manifest.rb
146
- - examples/css3/extensions/compass-colors/templates/split_complement/_theme.sass
147
- - examples/css3/extensions/compass-colors/templates/split_complement/manifest.rb
148
- - examples/css3/extensions/compass-colors/templates/triadic/_theme.sass
149
- - examples/css3/extensions/compass-colors/templates/triadic/manifest.rb
150
- - examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf
151
129
  - examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf
152
130
  - examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass
153
131
  - examples/css3/extensions/fancy-fonts/templates/project/manifest.rb
132
+ - examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf
154
133
  - examples/css3/gradients.html.haml
155
134
  - examples/css3/images/fresh-peas.jpg
156
135
  - examples/css3/index.html.haml
@@ -158,18 +137,13 @@ files:
158
137
  - examples/css3/src/fancy-fonts.scss
159
138
  - examples/css3/src/gradients.scss
160
139
  - examples/css3/src/main.scss
161
- - examples/css3/stylesheets/fonts/Vtks Revolt.ttf
162
- - examples/css3/stylesheets/fonts/angelina.ttf
163
140
  - examples/downloader.rb
164
- - examples/logo/logo.html.haml
165
- - examples/logo/src/ie.scss
166
- - examples/logo/src/print.scss
167
- - examples/logo/src/screen.scss
168
141
  - examples/ninesixty/bootstrap.rb
169
142
  - examples/ninesixty/clean.rb
170
143
  - examples/ninesixty/config.rb
171
144
  - examples/ninesixty/src/grid.scss
172
145
  - examples/ninesixty/src/text.scss
146
+ - examples/README.markdown
173
147
  - examples/susy/bootstrap.rb
174
148
  - examples/susy/clean.rb
175
149
  - examples/susy/config.rb
@@ -222,6 +196,7 @@ files:
222
196
  - frameworks/_compass_deprecated_imports/stylesheets/compass/_css3.sass
223
197
  - frameworks/_compass_deprecated_imports/stylesheets/compass/_layout.sass
224
198
  - frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass
199
+ - frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.scss
225
200
  - frameworks/_compass_deprecated_imports/stylesheets/compass/_reset.sass
226
201
  - frameworks/_compass_deprecated_imports/stylesheets/compass/_utilities.sass
227
202
  - frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_clip.sass
@@ -289,12 +264,11 @@ files:
289
264
  - frameworks/blueprint/templates/basic/partials/_base.sass
290
265
  - frameworks/blueprint/templates/basic/print.sass
291
266
  - frameworks/blueprint/templates/basic/screen.sass
292
- - frameworks/blueprint/templates/buttons/buttons.sass
293
267
  - frameworks/blueprint/templates/buttons/buttons/cross.png
294
268
  - frameworks/blueprint/templates/buttons/buttons/key.png
295
269
  - frameworks/blueprint/templates/buttons/buttons/tick.png
270
+ - frameworks/blueprint/templates/buttons/buttons.sass
296
271
  - frameworks/blueprint/templates/buttons/manifest.rb
297
- - frameworks/blueprint/templates/link_icons/link_icons.sass
298
272
  - frameworks/blueprint/templates/link_icons/link_icons/doc.png
299
273
  - frameworks/blueprint/templates/link_icons/link_icons/email.png
300
274
  - frameworks/blueprint/templates/link_icons/link_icons/external.png
@@ -303,6 +277,7 @@ files:
303
277
  - frameworks/blueprint/templates/link_icons/link_icons/pdf.png
304
278
  - frameworks/blueprint/templates/link_icons/link_icons/visited.png
305
279
  - frameworks/blueprint/templates/link_icons/link_icons/xls.png
280
+ - frameworks/blueprint/templates/link_icons/link_icons.sass
306
281
  - frameworks/blueprint/templates/link_icons/manifest.rb
307
282
  - frameworks/blueprint/templates/project/grid.png
308
283
  - frameworks/blueprint/templates/project/ie.sass
@@ -322,7 +297,6 @@ files:
322
297
  - frameworks/compass/stylesheets/_compass.scss
323
298
  - frameworks/compass/stylesheets/compass/_css3.scss
324
299
  - frameworks/compass/stylesheets/compass/_layout.scss
325
- - frameworks/compass/stylesheets/compass/_misc.scss
326
300
  - frameworks/compass/stylesheets/compass/_reset.scss
327
301
  - frameworks/compass/stylesheets/compass/_utilities.scss
328
302
  - frameworks/compass/stylesheets/compass/css3/_background-clip.scss
@@ -331,11 +305,13 @@ files:
331
305
  - frameworks/compass/stylesheets/compass/css3/_border-radius.scss
332
306
  - frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
333
307
  - frameworks/compass/stylesheets/compass/css3/_box-sizing.scss
308
+ - frameworks/compass/stylesheets/compass/css3/_box.scss
334
309
  - frameworks/compass/stylesheets/compass/css3/_columns.scss
335
310
  - frameworks/compass/stylesheets/compass/css3/_font-face.scss
336
311
  - frameworks/compass/stylesheets/compass/css3/_gradient.scss
337
312
  - frameworks/compass/stylesheets/compass/css3/_inline-block.scss
338
313
  - frameworks/compass/stylesheets/compass/css3/_opacity.scss
314
+ - frameworks/compass/stylesheets/compass/css3/_shared.scss
339
315
  - frameworks/compass/stylesheets/compass/css3/_text-shadow.scss
340
316
  - frameworks/compass/stylesheets/compass/css3/_transform.scss
341
317
  - frameworks/compass/stylesheets/compass/css3/_transition.scss
@@ -374,17 +350,14 @@ files:
374
350
  - frameworks/compass/templates/extension/stylesheets/main.sass
375
351
  - frameworks/compass/templates/extension/templates/project/manifest.rb
376
352
  - frameworks/compass/templates/extension/templates/project/screen.sass
377
- - frameworks/compass/templates/project/USAGE.markdown
378
353
  - frameworks/compass/templates/project/ie.sass
379
354
  - frameworks/compass/templates/project/manifest.rb
380
355
  - frameworks/compass/templates/project/print.sass
381
356
  - frameworks/compass/templates/project/screen.sass
382
- - lib/compass.rb
357
+ - frameworks/compass/templates/project/USAGE.markdown
383
358
  - lib/compass/actions.rb
384
- - lib/compass/app_integration.rb
385
- - lib/compass/app_integration/merb.rb
386
359
  - lib/compass/app_integration/merb/runtime.rb
387
- - lib/compass/app_integration/rails.rb
360
+ - lib/compass/app_integration/merb.rb
388
361
  - lib/compass/app_integration/rails/actionpack2/action_controller.rb
389
362
  - lib/compass/app_integration/rails/actionpack2/sass_plugin.rb
390
363
  - lib/compass/app_integration/rails/actionpack2/urls.rb
@@ -392,10 +365,11 @@ files:
392
365
  - lib/compass/app_integration/rails/installer.rb
393
366
  - lib/compass/app_integration/rails/runtime.rb
394
367
  - lib/compass/app_integration/rails/templates/compass-install-rails.rb
395
- - lib/compass/app_integration/stand_alone.rb
368
+ - lib/compass/app_integration/rails.rb
396
369
  - lib/compass/app_integration/stand_alone/configuration_defaults.rb
397
370
  - lib/compass/app_integration/stand_alone/installer.rb
398
- - lib/compass/commands.rb
371
+ - lib/compass/app_integration/stand_alone.rb
372
+ - lib/compass/app_integration.rb
399
373
  - lib/compass/commands/base.rb
400
374
  - lib/compass/commands/create_project.rb
401
375
  - lib/compass/commands/generate_grid_background.rb
@@ -412,8 +386,8 @@ files:
412
386
  - lib/compass/commands/validate_project.rb
413
387
  - lib/compass/commands/watch_project.rb
414
388
  - lib/compass/commands/write_configuration.rb
389
+ - lib/compass/commands.rb
415
390
  - lib/compass/compiler.rb
416
- - lib/compass/configuration.rb
417
391
  - lib/compass/configuration/adapters.rb
418
392
  - lib/compass/configuration/comments.rb
419
393
  - lib/compass/configuration/data.rb
@@ -422,27 +396,26 @@ files:
422
396
  - lib/compass/configuration/inheritance.rb
423
397
  - lib/compass/configuration/paths.rb
424
398
  - lib/compass/configuration/serialization.rb
399
+ - lib/compass/configuration.rb
425
400
  - lib/compass/core_ext.rb
426
401
  - lib/compass/dependencies.rb
427
402
  - lib/compass/errors.rb
428
- - lib/compass/exec.rb
429
403
  - lib/compass/exec/command_option_parser.rb
430
404
  - lib/compass/exec/global_options_parser.rb
431
405
  - lib/compass/exec/helpers.rb
432
406
  - lib/compass/exec/project_options_parser.rb
433
407
  - lib/compass/exec/sub_command_ui.rb
434
408
  - lib/compass/exec/switch_ui.rb
409
+ - lib/compass/exec.rb
435
410
  - lib/compass/frameworks.rb
436
411
  - lib/compass/grid_builder.rb
437
- - lib/compass/installers.rb
438
412
  - lib/compass/installers/bare_installer.rb
439
413
  - lib/compass/installers/base.rb
440
414
  - lib/compass/installers/manifest.rb
441
415
  - lib/compass/installers/manifest_installer.rb
442
416
  - lib/compass/installers/template_context.rb
417
+ - lib/compass/installers.rb
443
418
  - lib/compass/logger.rb
444
- - lib/compass/sass_extensions.rb
445
- - lib/compass/sass_extensions/functions.rb
446
419
  - lib/compass/sass_extensions/functions/display.rb
447
420
  - lib/compass/sass_extensions/functions/enumerate.rb
448
421
  - lib/compass/sass_extensions/functions/font_files.rb
@@ -451,14 +424,16 @@ files:
451
424
  - lib/compass/sass_extensions/functions/inline_image.rb
452
425
  - lib/compass/sass_extensions/functions/selectors.rb
453
426
  - lib/compass/sass_extensions/functions/urls.rb
454
- - lib/compass/sass_extensions/monkey_patches.rb
427
+ - lib/compass/sass_extensions/functions.rb
455
428
  - lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb
456
429
  - lib/compass/sass_extensions/monkey_patches/traversal.rb
430
+ - lib/compass/sass_extensions/monkey_patches.rb
431
+ - lib/compass/sass_extensions.rb
457
432
  - lib/compass/stats.rb
458
433
  - lib/compass/test_case.rb
459
434
  - lib/compass/validator.rb
460
435
  - lib/compass/version.rb
461
- - lib/vendor/fssm/fssm.rb
436
+ - lib/compass.rb
462
437
  - lib/vendor/fssm/fssm/backends/fsevents.rb
463
438
  - lib/vendor/fssm/fssm/backends/inotify.rb
464
439
  - lib/vendor/fssm/fssm/backends/polling.rb
@@ -470,6 +445,7 @@ files:
470
445
  - lib/vendor/fssm/fssm/state/file.rb
471
446
  - lib/vendor/fssm/fssm/support.rb
472
447
  - lib/vendor/fssm/fssm/tree.rb
448
+ - lib/vendor/fssm/fssm.rb
473
449
  - test/command_line_helper.rb
474
450
  - test/command_line_test.rb
475
451
  - test/compass_png_test.rb
@@ -484,6 +460,7 @@ files:
484
460
  - test/fixtures/stylesheets/blueprint/sass/typography.sass
485
461
  - test/fixtures/stylesheets/compass/100x150.jpg
486
462
  - test/fixtures/stylesheets/compass/config.rb
463
+ - test/fixtures/stylesheets/compass/css/box.css
487
464
  - test/fixtures/stylesheets/compass/css/gradients.css
488
465
  - test/fixtures/stylesheets/compass/css/image_size.css
489
466
  - test/fixtures/stylesheets/compass/css/layout.css
@@ -494,6 +471,7 @@ files:
494
471
  - test/fixtures/stylesheets/compass/images/100x150.jpeg
495
472
  - test/fixtures/stylesheets/compass/images/100x150.jpg
496
473
  - test/fixtures/stylesheets/compass/images/100x150.png
474
+ - test/fixtures/stylesheets/compass/sass/box.sass
497
475
  - test/fixtures/stylesheets/compass/sass/gradients.sass
498
476
  - test/fixtures/stylesheets/compass/sass/image_size.sass
499
477
  - test/fixtures/stylesheets/compass/sass/layout.sass
@@ -524,8 +502,8 @@ homepage: http://compass-style.org
524
502
  licenses: []
525
503
 
526
504
  post_install_message:
527
- rdoc_options:
528
- - --charset=UTF-8
505
+ rdoc_options: []
506
+
529
507
  require_paths:
530
508
  - lib
531
509
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -546,7 +524,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
546
524
  version: 1.3.1
547
525
  requirements: []
548
526
 
549
- rubyforge_project: compass
527
+ rubyforge_project:
550
528
  rubygems_version: 1.3.6
551
529
  signing_key:
552
530
  specification_version: 3
@@ -566,6 +544,7 @@ test_files:
566
544
  - test/fixtures/stylesheets/blueprint/sass/typography.sass
567
545
  - test/fixtures/stylesheets/compass/100x150.jpg
568
546
  - test/fixtures/stylesheets/compass/config.rb
547
+ - test/fixtures/stylesheets/compass/css/box.css
569
548
  - test/fixtures/stylesheets/compass/css/gradients.css
570
549
  - test/fixtures/stylesheets/compass/css/image_size.css
571
550
  - test/fixtures/stylesheets/compass/css/layout.css
@@ -576,6 +555,7 @@ test_files:
576
555
  - test/fixtures/stylesheets/compass/images/100x150.jpeg
577
556
  - test/fixtures/stylesheets/compass/images/100x150.jpg
578
557
  - test/fixtures/stylesheets/compass/images/100x150.png
558
+ - test/fixtures/stylesheets/compass/sass/box.sass
579
559
  - test/fixtures/stylesheets/compass/sass/gradients.sass
580
560
  - test/fixtures/stylesheets/compass/sass/image_size.sass
581
561
  - test/fixtures/stylesheets/compass/sass/layout.sass
@@ -1,881 +0,0 @@
1
- COMPASS CHANGELOG
2
- =================
3
- 0.10.0.rc3 (April 13, 2010)
4
- ---------------------------
5
- * This release addresses several bugs in rc2.
6
-
7
- 0.10.0.rc2 (April 12, 2010)
8
- ---------------------------
9
- **IMPORTANT:**
10
-
11
- * Compass now depends on Sass 3 -- Please be prepared to upgrade.
12
- Things won't break but you'll have a lot of deprecation warnings.
13
- Upgrading is pretty easy thanks to the `sass-convert` tool. See the
14
- [Sass Changelog](http://beta.sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html)
15
- for more information.
16
- * All compass stylesheets are now written in the SCSS syntax,
17
- if you import compass framework stylesheets with an explicit
18
- `.sass` extension, then you'll receive deprecation warnings
19
- directing you to update your stylesheets.
20
- * A new command line switch `--syntax` (or `-x`) has been added
21
- to commands that install stylesheets into your project that
22
- allows you to select the syntax to use (scss or sass)
23
- * A new configuration option `preferred_syntax` now exists
24
- and defaults to `:scss`. Please update your project's configuration
25
- file with `preferred_syntax = :sass` if you prefer to use the
26
- indentation-based syntax.
27
- * You may silence deprecation warnings by adding
28
- `sass_options = {:quiet => true}` to your configuration.
29
-
30
- 0.10.0.pre9 (March 6, 2010)
31
- ---------------------------
32
-
33
- * Fix a ruby 1.9 bug in the image_size helper functions for jpeg images.
34
- * Silence a deprecation warning.
35
-
36
-
37
- 0.10.0.pre7 & 0.10.0.pre8 (February 23, 2010)
38
- ---------------------------------------------
39
-
40
- * Rails 3 compatibility fixes
41
- * Fix for rgba colors with the new gradient mixins
42
- * A better error message if a color stop list is not passed in to the gradient mixins.
43
-
44
- 0.10.0.pre6 (February 22, 2010)
45
- -------------------------------
46
-
47
- **IMPORTANT:**
48
-
49
- * Rails users need to update their compass initializer.
50
- * The CSS 3 Gradient mixins were re-written and their usage has changed.
51
-
52
- Read on for the details:
53
-
54
- ### CLI
55
- * Fixed some issues with colorized output.
56
- * Don't force the user to specify the configuration path when calling compass config
57
-
58
- ### Compass Core
59
- * Fix to the bang_hack mixin (Credit: Mark Rajcok)
60
- * Support :first-child and :last-child pseudo selectors for +horizontal-list. (Credit: Cody Robbins)
61
- * Clear the sticky footer so that it works correctly with grid layouts.
62
- * The css3 gradient module has been re-written and has a new, much simpler mixins. If you have been using the css3 gradient mixins, you'll need to update your sass stylesheets. The new mixins can be seen in action [here](http://compass-style.org/examples/css3/gradients.html).
63
- * Added new helper functions: `image_width("path/to/image.png")` & `image_height("path/to/image.png")` that return the size in pixels. (Credit: Deepak Jois & Richard Aday)
64
-
65
- ### Blueprint
66
- * Take margins into account in liquid grid. (Credit: Christoffer Eliesen)
67
-
68
- ### Rails
69
- * Several Rails 3 bug fixes (Credit: Jacques Crocker)
70
- * Don't set unset options on the Sass::Plugin
71
- * Fixed a setup bug and handle compass configuration changes at rails boot.
72
-
73
- **IMPORTANT:** Existing rails projects _must_ change their compass initializer file to:
74
-
75
- require 'compass'
76
- rails_root = (defined?(Rails) ? Rails.root : RAILS_ROOT).to_s
77
- Compass.add_project_configuration(File.join(rails_root, "config", "compass.rb"))
78
- Compass.configure_sass_plugin!
79
- Compass.handle_configuration_change!
80
-
81
- ### Internals
82
- * New APIs for dealing with configuration changes and accessing a compiler instance.
83
- * Provide a convenience function for discovering extensions: `Compass.discover_extensions!` that can be called during project configuration w/ other ruby frameworks.
84
-
85
- ### Extensions
86
-
87
- * Don't force an extension to register itself just because it has ruby code.
88
- This makes it easier for extensions to provide Sass functions from ruby.
89
-
90
- Special thanks to Daniel Hofstetter for fixing my typos.
91
-
92
- 0.10.0.pre5 (January 18, 2010)
93
- ------------------------------
94
- * Fixed a bug in the grid builder in ruby 1.8.6 (Credit: [Richard Wöber][der-rich])
95
- * Better sudo handling for the rails installer via environment variables or prompt. (Credit: Ryan Shaw, Evan Sharp)
96
- * Removed support for the rip package manager.
97
- * Support for scss files in the compass watcher.
98
- * Cache buster timestamps were not working in some cases.
99
- * Make ANSI color output work on windows.
100
- * Command line switch (--boring) to turn off colorized output.
101
- * Strip trailing slash from directory and path configuration variables.
102
- * Added a --poll option to the compass watch subcommand to force polling.
103
- * Fixed a test failure in ruby 1.9 due to faulty test code.
104
- * Move the frameworks directory back to the top level. There's not actually a good reason for it to be buried in the ruby source.
105
- * Upgrade FSSM. (Hopfully) Fixes a watcher issue that caused the watcher to not trigger for some users.
106
- * Silence a deprecation warning in Rails 3.
107
-
108
- 0.10.0.pre4 (January 04, 2010)
109
- ------------------------------
110
- * Fixed an FSSM loading issue that broke the compass watcher.
111
- * Fixed some compatibility issues with edge versions of Sass.
112
-
113
- 0.10.0.pre3 (January 02, 2010)
114
- ------------------------------
115
-
116
- Bug fixes:
117
-
118
- * [Blueprint] Bug Fix: variable referenced in a non-script context within the
119
- dquo mixin in the fancy_type module.
120
- * [Rails] fixed win32 sudo incompatibility issue in the rails installer template.
121
- (Credit: [Jonathan Silverman][jsilver])
122
- * [Rails] Update the gem dependencies for the rails installer template.
123
- * If the configuration file changes, wipe out the sass cache and force compilation
124
- * Upgrade the vendored version of FSSM to version 0.1.2.
125
- Fixes some bugs with jruby and adds inotify support for linux.
126
- (Credit: [Travis Tilley][ttilley])
127
- * Patched hide-text to account for items that are not left aligned.
128
- (Credit: [Josh Pyles][pixelmatrix])
129
-
130
- Minor Enhancements:
131
-
132
- * Support for SCSS files if haml edge is installed.
133
- * Color any stderr or stdout output from the `Sass::Engine` red during compilation.
134
- * [Configuration] The sass cache location can now be set in the compass config
135
- file using the `cache_dir` property and the cache can be disabled by setting
136
- `cache = false`.
137
- * [Compass Core] `+min-height`, `+min-width`, and `+bang-hack` mixins in the
138
- compass/utilities/general/min.sass module.
139
- (Credit: [Adam Stacoviak][adamstac])
140
- * [Command Line] If you only want to compile certain files, you can now
141
- specify them when invoking compass compile. E.g. `compass compile src/foo.sass`
142
- * [Compass Core] Split out `+hide-text` as its own mixin.
143
- (Credit: [Andrew Vit][avit])
144
- * Some code cleanup for the compass project compiler.
145
- * Removed the dependency on RMagic for grid image generation.
146
- (Credit: [Richard Wöber][der-rich])
147
-
148
- 0.10.0.pre2 (November 30, 2009)
149
- --------------------------------
150
- Bug fixes:
151
-
152
- * The line-height in the compass reset should have been 1 and not 1em.
153
- * Fixed the reference in the rails initializer to the compass configuration file.
154
- * Use the correct error formatting function based on what sass version is installed.
155
- * Boolean properties like line_comments can now be set to false in configuration files
156
-
157
- 0.10.0.pre1 (November 29, 2009)
158
- --------------------------------
159
-
160
- Deprecated in this release:
161
-
162
- * The usless blueprint "modules" folder will be removed. Please update your
163
- blueprint imports by removing the modules folder. Deprecation warnings will be
164
- emitted if you use the old imports.
165
- * Blueprint mixins that used to accept a "body selector" argument, are now
166
- deprecated, instead you should pass `true` to them and mix them into
167
- the selector of your choice.
168
- * If you are using the `+opacity` or `+inline-block` mixins, you may need to update your imports.
169
- * In your configuration file, setting `http_images_path` to `:relative` is
170
- deprecated in favor of setting `relative_assets` to `true`
171
- * The YUI framework has been extracted to a plugin.
172
- If you use it, please follow the [installation instructions](http://github.com/chriseppstein/yui-compass-plugin)
173
-
174
- Command-Line:
175
-
176
- * The compass command-line tool has been re-written to allow be easier to
177
- use and be more flexible. The old command line is still supported at
178
- this time. "compass help" will get you started on using the new
179
- command line syntax.
180
- * Allow specification of a height for the grid image
181
- * For the truly hardcore compass users, you may now create a
182
- compass project using "compass create my_project --bare"
183
- and you'll have a completely bare project created for you with no
184
- sass files provided for you.
185
- * Get stats on your compass project with "compass stats". You'll
186
- need to install the "css_parser" ruby gem to get stats on your
187
- css files.
188
-
189
- Configuration:
190
-
191
- * The entire configuration infrastructure has been re-written to make it
192
- easier to support the various sources of configuration data (project type,
193
- config file, command line, and hard coded defaults)
194
- * Whether to generate relative links to assets is now controlled by a
195
- separate boolean configuration flag called `relative_assets` in the
196
- configuration file and `--relative-assets` on the command line.
197
- Setting `http_images_path` to `:relative` is deprecated.
198
- * You may now configure the http locations for your project by simply setting
199
- `http_path` for the top level path of the project. You
200
- may also set `http_images_dir`, `http_stylesheets_dir`, and
201
- `http_javascripts_dir` relative to the `http_path` instead of
202
- setting the absolute `http_XXX_path` counterparts.
203
- * You may now configure the fonts directory for your project (fonts_dir).
204
- By default, for standalone projects, it is the "fonts" subdirectory of
205
- your css directory. Rails projects will default to "public/fonts".
206
-
207
- Compass Core:
208
-
209
- * A new helper function `stylesheet_url(path)` can now be used to refer
210
- to assets that are relative to the css directory.
211
- * Compass sprite mixins are now more flexible and feature rich.
212
- * Fixed the append_selector function to allow comma-delimited selectors
213
- for both arguments instead of just the first
214
- * There is no longer any outline on unstyled links in the :active and :focused states.
215
- * IE6 bug fixes for sticky-footer
216
- * New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass`
217
- * `+opacity(amount)` where amount should be between 0 and 1, where 0 is transparent and 1 is opaque.
218
- * `+opaque` and `+transparent` mixins for convenience. Built on top of the opacity mixin.
219
- * `+border-radius(amount)` as well as the following convenience mixins:
220
- * `+border-top-left-radius(amount)`
221
- * `+border-top-right-radius(amount)`
222
- * `+border-top-right-radius(amount)`,
223
- * `+border-bottom-left-radius(amount)`
224
- * `+border-bottom-right-radius(amount)`
225
- * `+border-top-radius(amount)`
226
- * `+border-right-radius(amount)`
227
- * `+border-left-radius(amount)`
228
- * `+border-bottom-radius(amount)`
229
- * `+box-shadow(!horiz_offset, !vert_offset, !blur, !color)`
230
- * `+box-sizing(!sizing_mode)`
231
- * Column support via the following mixins:
232
- * `+column-count`
233
- * `+column-gap`
234
- * `+column-width`
235
- * `+column-rule-width`
236
- * `+column-rule-style`
237
- * `+column-rule-color`
238
- * `+column-rule`
239
- * `+background-clip(clip)` where clip can be `padding-box` or `border-box`
240
- * `+background-origin(origin)` where origin can be `padding-box`, `border-box`, or `content-box`
241
- * `+background-size(size)` where size is a width and height. E.g. "50% 75%"
242
- * `+font-face` should be mixed into the top level of your document.
243
- Usage Example: `+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")`
244
- * Simple Background Gradient Support:
245
- * `+gradient` - Generic background gradient mixin
246
- * `+radial-gradient` - Radial gradient mixin
247
- * `+linear-gradient` - Linear gradient mixin
248
- * `+h-gradient` - Horizontal linear gradient mixin
249
- * `+v-gradient` - Vertical linear gradient mixin
250
- * `+text-shadow` - Create a text shadow effect.
251
- * Transforms Support:
252
- * `+transform`
253
- * `+scale`
254
- * `+rotate`
255
- * `+translate`
256
- * `+skew`
257
- * Transition Support:
258
- * `+transition-property`
259
- * `+transition-duration`
260
- * `+transition-timing-function`
261
- * `+transition-delay`
262
- * `+transition`
263
- * The import for `+inline-block` has moved from compass/utilities/general/inline_block
264
- to compass/css3/inline_block
265
- * The import for `+opacity` has moved from compass/utilities/general/opacity
266
- to compass/css3/opacity
267
- * Note: If you are using the `+opacity` or `+inline-block` mixins,
268
- you may need to update your imports.
269
-
270
- Blueprint:
271
-
272
- * Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument.
273
- 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.
274
-
275
- YUI:
276
-
277
- * YUI was upgraded to 2.7.0
278
- * Yahoo has deprecated the YUI CSS framework, as such YUI has been extracted to a plugin.
279
- If you use it, please install it with: `sudo gem install compass-yui`
280
-
281
- Extensions:
282
-
283
- * Extensions can now be installed locally by unpacking them into a project's
284
- "extensions" directory. Rails projects use "vendor/plugins/compass/extenstions".
285
- * Extensions can deliver html to projects if they like. The html can be in
286
- haml and will be transformed to html and can contain inline, compass-enabled
287
- sass.
288
- * All files can be processed using ERB before being copied into the user's
289
- project.
290
- * Compass extensions can now add support for other application frameworks.
291
- These extensions can help compass understand the project structure of that
292
- framework as well as provide runtime integration for ruby-based apps.
293
- Contact me if you plan to do this -- the first couple times may be a little
294
- rough.
295
- * Compass extensions can now add new command line commands. Contact me if you
296
- plan to do this -- the first couple times may be a little rough.
297
- * Extensions can now provide help documentation just after a project is
298
- created and on demand when the user uses the command line help system.
299
- This can be done via the manifest file or by adding a USAGE.markdown file
300
- at the top level of the framework template.
301
-
302
- Miscellaneous:
303
-
304
- * The compass configuration object is no longer a singleton, this makes it
305
- possible for other ruby software to manage multiple compass projects at a
306
- time.
307
- * Compass no longer requires rubygems in order to work, this is a ruby
308
- best-practice.
309
- * All sass provided by compass now uses css-style property syntax.
310
- * The command line tool is now tested using the cucumber testing framework.
311
-
312
- Many thanks to the following Contributors:
313
-
314
- * Brandon Mathis - CSS3 (+opacity, +border-radius) and sprites
315
- * Eric Meyer - CSS3 (+box-shadow, +columns, +box-sizing)
316
- * Jacques Crocker - Merb Compatibility fixes
317
- * Gabriel Mansour - Fixes to +unstyled-link
318
- * John Debs - IE6 Fixes for +sticky-footer
319
- * Brian Johnson - Upgraded to YUI 2.7.0
320
- * Beau Smith - fixing my dyslexia.
321
-
322
- 0.8.17 (September 24, 2009)
323
- ---------------------------
324
-
325
- * The enumerate function now accepts an optional fourth parameter that specifies the separator to be used.
326
- Enables fixing a bug in the Compass 960 Plugin.
327
-
328
- 0.8.16 (September 12, 2009)
329
- ---------------------------
330
-
331
- * Fixed a bug in compass that assumed compass extensions would provide stylesheets.
332
-
333
- 0.8.15 (September 5, 2009)
334
- --------------------------
335
-
336
- * Upgrade the FSSM library to 0.0.6 to fix bugs on windows.
337
-
338
-
339
- 0.8.14 (September 2, 2009)
340
- --------------------------
341
-
342
- * Upgrade the FSSM library to 0.0.4 to fix bugs and enable FS Events on Mac OS.
343
-
344
- 0.8.13 (August 30, 2009)
345
- ------------------------
346
-
347
- * [Blueprint] Mixins have been added for these as +prepend-top and +append-bottom and grid classes will be generated by +blueprint-grid.
348
- * [Command Line] The watch mode has been re-implemented to use the FSSM library by Travis Tilley. OSX users will
349
- now have support for filesystem monitoring. Fixes an infinite looping bug that occured with syntax users.
350
-
351
- 0.8.12 (August 22, 2009)
352
- ------------------------
353
-
354
- Bug Fix Release:
355
-
356
- * [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
357
- * Ruby 1.9.1 fix: binding for parse_string
358
- * [Rails] Don't suggest creating a stylesheet link to partials.
359
-
360
-
361
- 0.8.10 (August 16, 2009)
362
- ------------------------
363
- Bug Fix Release:
364
-
365
- * Write files in binary mode to avoid data corruption when installing images on windows.
366
- Fixes [Issue #39](http://github.com/chriseppstein/compass/issues/#issue/39)
367
-
368
- 0.8.9 (August 9, 2009)
369
- ----------------------
370
- Bug Fix Release:
371
-
372
- * [Blueprint] The default screen.sass generated invalid selectors due to improper nesting. A better fix is coming in the next release.
373
-
374
- 0.8.8 (July 21, 2009)
375
- ---------------------
376
-
377
- Bug Fix Release:
378
-
379
- * [Compass Core] Fixed a bug in alternating_rows_and_columns. Improper nesting caused some styles to be improperly rendered.
380
- [Commit](http://github.com/chriseppstein/compass/commit/e277ed2cd3fded0b98ddaa87fc4d3b9d37cb7354)
381
- * [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.
382
- [Commit](http://github.com/chriseppstein/compass/commit/4bfcef4f376ee6e5d5a2b47419d2f21ef4c6eff8)
383
-
384
-
385
- 0.8.7 (July 09, 2009)
386
- ---------------------
387
-
388
- Bug Fix Release:
389
-
390
- * Load haml-edge only if it's all new and shiny. Closes GH-26.
391
- [Commit](http://github.com/chriseppstein/compass/commit/59a6067b3a67a79bfd9a5ce325fc1be4bb6c9e78)
392
- * [Blueprint] Added more descriptive comments to the Blueprint IE template.
393
- [Commit](http://github.com/chriseppstein/compass/commit/8684966be1e8166a986ae81abd3daf6c44ed4f94)
394
- * [Rails] Fixed a bug in rails integration if the request is not set on the controller.
395
- [Commit](http://github.com/chriseppstein/compass/commit/7fba6028d8073a9124a6505aab9246b5b459db34)
396
- * [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25.
397
- [Commit](http://github.com/chriseppstein/compass/commit/d2b1370c80a32f70ae6ec94126b737f4f0fc0851)
398
-
399
- 0.8.6 (July 08, 2009)
400
- ---------------------
401
-
402
- ### Rails
403
-
404
- * The rails installer now correctly references the haml 2.2 dependency.
405
- [Commit](http://github.com/chriseppstein/compass/commit/85bb337f50a3a3dfaafa2820d5463f7296140c9e)
406
- by [Filip Tepper][filiptepper].
407
- * When installing into a new rails project, set the http paths correctly for stylesheets and javascripts
408
- in the configuration file.
409
- [Commit](http://github.com/chriseppstein/compass/commit/94e9696b30a9a9fd750c45e6fe3c2bc93eba506a)
410
- * Fixed a bug in asset hosts support when compiling outside the context of a controller.
411
- [Commit](http://github.com/chriseppstein/compass/commit/6b8bbd22b13ef4c329777913a633948e66e3da99)
412
-
413
- ### Command Line
414
-
415
- * Fixed a bug that caused the output after installing to not display the conditional comments.
416
- [Commit](http://github.com/chriseppstein/compass/commit/48a0356ad8bc7b965e64f82498a9adcc1872abad)
417
-
418
- ### Compass Core
419
-
420
- * Fixed a copy & paste error in image_url() that caused the http_images_path to not get picked up unless the
421
- http_stylesheets_path was also set.
422
- [Commit](http://github.com/chriseppstein/compass/commit/b7a9772efb89b2b882d3fafe02813c0fc650719a)
423
-
424
- 0.8.5 (July 06, 2009)
425
- ---------------------
426
-
427
- The Compass::TestCase class now inherits from ActiveSupport::TestCase if it exists.
428
- [Commit](http://github.com/chriseppstein/compass/commit/71d5ae8544d1c5ae49e28dcd6b3768fc39d7f01c)
429
-
430
- 0.8.4 (July 06, 2009)
431
- ---------------------
432
-
433
- Fixed a bug in rails integration introduced in 0.8.3.
434
-
435
- 0.8.3 (July 06, 2009)
436
- ---------------------
437
-
438
- Note: Compass now depends on the stable release of haml with version 2.2.0 or greater.
439
-
440
- ### Compass Core
441
-
442
- * A new helper function `stylesheet_url(path)` can now be used to refer to assets that are relative to the css directory.
443
- [Commit](http://github.com/chriseppstein/compass/commit/ff5c8500144272ee2b94271b06cce1690cbbc000).
444
- * Cross browser ellipsis mixin is now available. Use `compass -p ellipsis` to install it into your project since it
445
- requires some additional assets.
446
- [Commit](http://github.com/chriseppstein/compass/commit/3d909ceda997bdcde2aec09bd72e646098389e7d).
447
-
448
- ### Blueprint
449
-
450
- * The +colruler mixin now accepts an argument for the color.
451
- [Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
452
- by [Thomas Reynolds][tdreyno].
453
-
454
- ### Extensions
455
-
456
- * A bug was fixed related to how javascript installation as part of an extension manifest.
457
- [Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
458
- by [dturnbull][dturnbull].
459
- * When installing a file, the :like option can now be set to have it installed into the
460
- same location as what it is like. E.g. `file 'foo.xml', :like => :css` will install
461
- the foo.xml file into the top level of the project's css directory.
462
- [Commit](http://github.com/chriseppstein/compass/commit/21cfce33db81e185ce5517818844a9849b5a836e).
463
-
464
- ### Configuration
465
- * Setting `http_images_path` to `:relative` is now **deprecated**. Instead, please set `relative_assets` to
466
- `true`.
467
- [Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
468
- * New configuration option `http_path` can be used to set the project's path relative to the server's root.
469
- Defaults to "/". The http paths to images, stylesheets, and javascripts are now assumed to be relative to that
470
- path but can be overridden using the `http_images_path`, `http_css_path`, `http_javascripts_path`.
471
- [Commit](http://github.com/chriseppstein/compass/commit/6555ab3952ae37d736d54f43ee7053c2a88f4a69).
472
-
473
- ### Command Line
474
-
475
- * A new command line option `--relative-assets` can be used to cause links to assets generated
476
- via compass helper functions to be relative to the target css file.
477
- [Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
478
-
479
- 0.8.2 (July 04, 2009)
480
- ---------------------
481
-
482
- Fixed a bug that caused touch to fail on windows due to open files. (Contributor: Joe Wasson)
483
-
484
- 0.8.1
485
- -----
486
-
487
- Fixed some build issues and a bug in the rewritten --watch mode that caused changes to partials to go unnoticed.
488
-
489
- 0.8.0
490
- -----
491
-
492
- ### Rails
493
-
494
- * image_url() now integrates with the rails asset handling code when
495
- stylesheets are generated within the rails container.
496
- **This causes your rails configuration for cache busting and asset hosts
497
- to be used when generating your stylesheets**. Unfortunately, all
498
- that code runs within the context of a controller, so the stylesheets
499
- have to be generated during first request to use this functionality. If you
500
- need to compile stylesheets offline, use the compass configuration file to set
501
- the <code>asset_host</code> and <code>asset_cache_buster</code>.
502
- [Commit](http://github.com/chriseppstein/compass/commit/998168160b11c8702ded0a32820ea15b70d51e83).
503
-
504
- * An official Rails template for Compass is now [provided][rails_template].
505
- [Commit](http://github.com/chriseppstein/compass/commit/f6948d1d58818ef8babce8f8f9d775562d7cd7ef)
506
- by [Derek Perez][perezd].
507
-
508
- ### Blueprint
509
-
510
- * The Blueprint port has been upgraded to match Blueprint 0.9. The following changes were made as part
511
- of that project:
512
- * Removed body margins from blueprint scaffolding by default.
513
- The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
514
- [Commit](http://github.com/chriseppstein/compass/commit/45af89d4c7a396fae5d14fab4ef3bab23bcdfb6a)
515
- by [Enrico Bianco][enricob].
516
- * A bug in the calculations affecting the +colborder mixin has been fixed.
517
- [Commit](http://github.com/chriseppstein/compass/commit/4b33fae5e5c5421580ba536116cb10194f1318d1)
518
- by [Enrico Bianco][enricob].
519
- Related [commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10).
520
- * Blueprint now has inline form support. Mix +blueprint-inline-form into a form selector to make it inline.
521
- [Commit](http://github.com/chriseppstein/compass/commit/56c745b939c763cfcc5549b54979d48ab1309087)
522
- by [Enrico Bianco][enricob].
523
- * Please update the conditional comment that surrounds your IE stylesheet to use "lt IE 8" as the condition
524
- as these styles are not needed in IE8. New blueprint projects will now use this conditional as their default.
525
- [Commit](http://github.com/chriseppstein/compass/commit/77f6e02c0ec80d2b6fd19e611ced02be003c98ae)
526
- by [Enrico Bianco][enricob].
527
- * Explicitly define image interpolation mode for IE so that images aren't jagged when resizing.
528
- [Commit](http://github.com/chriseppstein/compass/commit/63075f82db367913efcce5e1d0f5489888e86ca4)
529
- by [Enrico Bianco][enricob].
530
-
531
- * When starting a new project based on Blueprint, a more complete screen.sass file will be
532
- provided that follows compass best practices instead of matching blueprint css exactly. A
533
- partials/_base.sass file is provided and already set up for blueprint customization.
534
- [Commit](http://github.com/chriseppstein/compass/commit/11b6ea14c3ee919711fa4bdce349f88b64b68d51)
535
-
536
- * The sizes and borders for form styling can now be altered via mixin arguments.
537
- [Commit](http://github.com/chriseppstein/compass/commit/b84dd3031b82547cff8e1ef1f85de66d98cd162b)
538
- by [Thomas Reynolds][tdreyno].
539
-
540
- * Grid borders can now be altered via mixin arguments.
541
- [Commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10)
542
- by [Thomas Reynolds][tdreyno].
543
-
544
- * The reset file for blueprint has moved from compass/reset.sass to blueprint/reset.sass. Please
545
- update your imports accordingly. Also note that some of the reset mixin names have changed
546
- (now prefixed with blueprint-*).
547
- [Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
548
- by [Noel Gomez][noel].
549
-
550
- ### Compass Core
551
-
552
- * **Sprites**. A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img
553
- mixin to set the background image from a sprite image file. Assumes every sprite in the sprite image
554
- file has the same dimensions.
555
- [Commit](http://github.com/chriseppstein/compass/commit/1f21d6309140c009188d350ed911eed5d34bf02e)
556
- by [Thomas Reynolds][tdreyno].
557
-
558
- * **Reset**. The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/).
559
- which makes no attempt to apply base styles like the blueprint reset does. **Existing compass projects
560
- will want to change their reset import to point to blueprint/reset.sass** -- which is where the old
561
- default reset for compass projects now lives -- see the blueprint notes above for more information.
562
- [Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
563
- by [Noel Gomez][noel].
564
-
565
- * A bug was fixed in the tag_cloud mixin so that it actually works.
566
- [Commit](http://github.com/chriseppstein/compass/commit/be5c0ff6731ec5e0cdac73bc47f5603c3db899b5)
567
- by [Bjørn Arild Mæland][Chrononaut].
568
-
569
- ### Sass Extensions
570
-
571
- * The <code>inline_image(image_path)</code> function can now be used to generate a data url that embeds the image data in
572
- the generated css file -- avoiding the need for another request.
573
- This function works like <code>image_url()</code> in that it expects the image to be a path
574
- relative to the images directory. There are clear advantages and disadvantages to this approach.
575
- See [Wikipedia](http://en.wikipedia.org/wiki/Data_URI_scheme) for more details.
576
- NOTE: Neither IE6 nor IE7 support this feature.
577
- [Commit](http://github.com/chriseppstein/compass/commit/5a015b3824f280af56f1265bf8c3a7c64a252621).
578
-
579
- ### Configuration
580
-
581
- * **Asset Hosts**. You can now configure the asset host(s) used for images via the image_url() function.
582
- Asset hosts are off unless configured and also off when relative urls are enabled.
583
- [Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e).
584
- In your compass configuration file, you must define an asset_host algorithm to be used like so:
585
- # Return the same host for all images:
586
- asset_host {|path| "http://assets.example.com" }
587
- # Return a different host based on the image path.
588
- asset_host do |path|
589
- "http://assets%d.example.com" % (path.hash % 4)
590
- end
591
-
592
-
593
- * **Configurable Cache Buster**. You can now configure the cache buster that gets placed at the end of
594
- images via the image_url function. This might be useful if you need to coordinate the query string
595
- or use something other than a timestamp.
596
- [Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e)
597
- Example:
598
- asset_cache_buster do |path, file|
599
- "busted=true"
600
- end
601
-
602
- * You can now set/override arbitrary sass options by setting the <code>sass_options</code> configuration property
603
- to a hash. [Commit](http://github.com/chriseppstein/compass/commit/802bca61741db31da7131c82d31fff45f9323696).
604
-
605
- * You can now specify additional import paths to look for sass code outside the project.
606
- [Commit](http://github.com/chriseppstein/compass/commit/047be06a0a63923846f53849fc220fb4be69513b).
607
- This can be done in two ways:
608
- 1. By setting <code>additional_import_paths</code> to an array of paths.
609
- 2. By (repeatedly) calling <code>add_import_path(path)</code>
610
-
611
- * The compass configuration can now be placed in PROJECT_DIR/.compass/config.rb if you so choose.
612
- [Commit](http://github.com/chriseppstein/compass/commit/69cf32f70ac79c155198d2dbf96f50856bee9504).
613
-
614
-
615
- ### Command Line
616
-
617
- * **Watch Improvements** The watch command was rewritten for robustness and reliability. The most
618
- important change is that generated css files will be deleted if the originating sass file is removed while
619
- watching the project. [Commit](http://github.com/chriseppstein/compass/commit/0a232bd922695f6f659fac9f90466745d4425839).
620
-
621
- * The images and javascripts directories may now be set via the command line.
622
- [Commit](http://github.com/chriseppstein/compass/84aec053d0109923ea0208ac0847684cf09cefc1).
623
-
624
- * The usage output (-h) of the command-line has been reformatted to make it more readable and understandable.
625
- [Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
626
-
627
- * The configuration file being read can now be specified explicitly using the -c option.
628
- This also affects the output location of the --write-configuration command.
629
- NOTE: The -c option used to be for writing the configuration file, an infrequently used option.
630
- [Commit](http://github.com/chriseppstein/compass/d2acd343b899db960c1d3a377e2ee6f58595c6b1).
631
-
632
- * You can now install into the current working directory by explicitly setting the command line mode to -i
633
- and providing no project name.
634
- [Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
635
-
636
- ### Compass Internals
637
-
638
- * Some internal code was reorganized to make managing sass extensions and functions more manageable.
639
-
640
- * Some internal code was reorganized to make managing ruby application integration more manageable.
641
-
642
- * The compass unit tests were reorganized to separate rails testing from other tests.
643
-
644
- * The [Rip Packaging System](http://hellorip.com) is now supported.
645
- [Commit](http://github.com/chriseppstein/compass/commit/56f36577c7654b93a349f74abf274327df23402b)
646
- by [Will Farrington](http://github.com/wfarr).
647
-
648
- * A [licence is now available](http://github.com/chriseppstein/compass/blob/master/LICENSE.markdown)
649
- making the copyrights and terms of use clear for people who care about such things.
650
-
651
-
652
- 0.6.14
653
- ------
654
-
655
- Extracted the css validator to an external gem that is only required if you try to use the validation feature.
656
- This makes the compass gem a lot smaller (0.37MB instead of 4MB). To install the validator:
657
-
658
- sudo gem install chriseppstein-compass-validator --source http://gems.github.com/
659
-
660
- 0.6.8 thru 0.6.13
661
- -----------------
662
-
663
- The compass gem is now built with Jeweler instead of Echoe. No changes to speak of. These versions were bug
664
- fixes and working out the new release process.
665
-
666
- 0.6.7
667
- -----
668
-
669
- Bug fix release.
670
-
671
- ### Rails
672
-
673
- 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.
674
-
675
- ### Command Line
676
-
677
- 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.
678
-
679
- ### Compass Core
680
-
681
- Extracted two new mixins from +horizontal-list. The new +horizontal-list-container and +horizontal-list-item mixins can be used to build your
682
- horizontal list when you need more control over the selectors (E.g. when working with nested lists).
683
-
684
- 0.6.6
685
- -----
686
-
687
- 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.
688
-
689
- ### Command Line
690
-
691
- * Fixed a bug that had broken the --write-configuration (-c) option.
692
- * The --force option will now force recompilation. Useful when the stylesheets don't appear to need a recompile according to the file timestamps.
693
-
694
- ### Unit tests
695
-
696
- * Some unit tests were cleaned up for clarity and to better take advantage of the compass project management facilities.
697
-
698
- 0.6.5
699
- -----
700
-
701
- ### Compass Core
702
-
703
- Converted all mixins definitions referencing images to use the new sass function <code>image\_url()</code>. The following mixins were affected:
704
-
705
- * <code>+pretty-bullets</code>
706
- * <code>+replace-text</code>
707
-
708
- The calls to these mixins should now pass a path to the image that is relative to the images directory of the project.
709
-
710
- ### Command Line
711
-
712
- * Required frameworks specified from the command line will now be added into the initial project configuration file.
713
-
714
- 0.6.4
715
- -----
716
-
717
- ### Command Line
718
-
719
- 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.
720
-
721
- 0.6.3
722
- -----
723
-
724
- ### Rails
725
-
726
- Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".
727
-
728
- ### Command Line
729
-
730
- These changes, coupled with upcoming changes to Sass result in significantly reduced time spent on compilation for large projects.
731
-
732
- * The compass command line will no longer recompile sass files that haven't changed (taking import dependencies into account).
733
- * 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.
734
-
735
- 0.6.2
736
- -----
737
-
738
- ### Blueprint
739
-
740
- 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:
741
-
742
- +push-base
743
- +push-margins
744
- +pull-base
745
- +pull-margins
746
-
747
- Additonally, the liquid plugin was updated to have a span mixin that matches elsewhere.
748
-
749
- ### YUI
750
-
751
- Added Yahoo's version of the css reset. To use it, mix into the top level of your project:
752
-
753
- @import yui/modules/reset.sass
754
- +reset
755
-
756
- ### Rails
757
-
758
- * Conditionally defining #blank? on String/NilClass (Erik Bryn <erik.bryn@gmail.com>)
759
- * Set compass environment in plugin based on RAILS_ENV (Lee Nussbaum <wln@scrunch.org>)
760
-
761
- 0.6.1
762
- -----
763
-
764
- Maintenance release that fixes several bugs in the handling of configuration files.
765
-
766
- 0.6.0
767
- -----
768
-
769
- ### New Core Functionality: **Patterns**
770
-
771
- Patterns give a framework or plugin access to the compass installer framework
772
- to install customizable sass, html as well as image and javascript assets.
773
-
774
- A pattern is a folder in the plugin's templates directory. It must
775
- have a manifest file that tells compass what to install and where.
776
- Unlike the project template, a pattern can be stamped out any number of
777
- times.
778
-
779
- It is best for pattern stylesheets to only provide example usage to get
780
- the user started. All the core styles for the pattern should be
781
- distributed as part of the framework's stylesheets as mixins to
782
- facilitate easy upgrades and bug fixing on the part of the pattern's
783
- maintainer.
784
-
785
- Example Usage:
786
- compass --framework blueprint --pattern buttons
787
-
788
- Please read the
789
- [Wiki Page](http://wiki.github.com/chriseppstein/compass/patterns) for more information.
790
-
791
- ### New Command-line options:
792
-
793
- 1. <code>--validate</code><br/>
794
- Validate your project's compiled css. Requires java and probably only works on Mac and Unix.
795
- 2. <code>--grid-img [DIMENSIONS]</code><br/>
796
- Generate a background image to test grid alignment. Dimension is given as
797
- <column_width>+<gutter_width>. Defaults to 30+10.
798
- 3. <code>-p, --pattern PATTERN</code><br/>
799
- When combined with with the --framework option, will stamp a plugin's pattern named PATTERN.
800
- 4. <code>-n, --pattern-name NAME</code><br/>
801
- When combined with the --pattern option, the pattern that gets stamped out will
802
- be isolated in subdirectories named NAME.
803
- 5. <code>-c, --write-configuration</code><br/>
804
- Emit a compass configuration file into the current directory, taking any existing configuration
805
- file and any command line options provided into account. (command line options override
806
- configuration file options).
807
-
808
- ### New Sass Functions:
809
-
810
- Compass projects can call these sass functions within their sass files, if you find them useful.
811
-
812
- 1. <code>enumerate(prefix, start, end)</code><br/>
813
- Generates selectors with a prefix and a numerical ending
814
- counting from start to end. E.g. enumerate("foo", 1, 3) returns "foo-1, foo-2, foo-3"
815
- 2. <code>image_url(path)</code><br/>
816
- Uses the compass configuration to convert a path relative to the compass
817
- project directory to a path that is either absolute for serving in an HTTP
818
- context or that is relative to whatever css file the function was being
819
- compiled into. In the future, this function may also tap into the rails
820
- asset host configuration.
821
-
822
- ### New Compass Core Mixins
823
-
824
- 1. <code>+float-left</code> & <code>+float-right</code><br/>
825
- In order to include fixes for IE's double-margin bug universally,
826
- floats were implemented as a utility mixins. These are available by importing
827
- compass/utilities/general/float.sass which also imports the clearfix module.
828
- 2. <code>+pie-clearfix</code><br/>
829
- Implementation of the
830
- [position-is-everything clearfix](http://www.positioniseverything.net/easyclearing.html)
831
- that uses content :after.
832
-
833
- ### Blueprint 0.8
834
-
835
- The Compass port of Blueprint has been upgraded from 0.7.1 to 0.8.0. The 0.8.0 release
836
- brings many bug fixes and a few backward incompatible changes if you use it's presentational
837
- classnames (you don't do that, do you?). Upgrading to 0.8 is automatic when you upgrade to
838
- compass 0.6.0. The Blueprint team didn't release a detailed changelog for me to point at here.
839
- One of the key features of the release was the inclusion of three new core blueprint plugins
840
- (a.k.a. folders you can copy). These are what prompted the development of the compass patterns
841
- feature and two of them are packaged as patterns:
842
-
843
- 1. Buttons<br/>
844
- To install: <code>compass --framework blueprint --pattern buttons</code><br/>
845
- Then follow your nose.
846
- 2. Link Icons<br/>
847
- To install: <code>compass --framework blueprint --pattern link\_icons</code><br/>
848
- Then follow your nose.
849
-
850
- The third plugin is the RTL (right-to-left) plugin. To use this one, simply import it after the import
851
- of the blueprint grid and your mixins will be redefined to work in a left to right manner. Additionally,
852
- it provides +rtl-typography mixin that works in conjunction with +blueprint-typography and should be mixed
853
- in with it.
854
-
855
- Lastly, I've rewrote some of the presentational class name generation code so that it very nearly
856
- matches the blueprint CSS. Please note that they are not 100% the same because we fix some bugs
857
- that are not yet fixed in blueprint-css and we use a different clearfix implementation.
858
-
859
- ### Bug Fixes
860
-
861
- 1. A Safari bug related to the +clearfix mixin was resolved.
862
- 2. Running the compass command line installer a second time.
863
-
864
- ### Bugs Introduced
865
-
866
- Almost definitely. Please let me know if you encounter any problems and I'll get a patch out
867
-
868
- [tdreyno]: http://github.com/tdreyno
869
- [noel]: http://github.com/noel
870
- [enricob]: http://github.com/enricob
871
- [perezd]: http://github.com/perezd
872
- [Chrononaut]: http://github.com/Chrononaut
873
- [rails_template]: http://github.com/chriseppstein/compass/raw/4e7e51e2c5491851f66c77abf3f15194f2f8fb8d/lib/compass/app_integration/rails/templates/compass-install-rails.rb
874
- [dturnbull]: http://github.com/dturnbull
875
- [filiptepper]: http://github.com/filiptepper
876
- [pixelmatrix]: http://github.com/pixelmatrix
877
- [jsilver]: http://github.com/jsilver
878
- [avit]: http://github.com/avit
879
- [der-rich]: http://github.com/der-rich
880
- [adamstac]: http://github.com/adamstac
881
- [ttilley]: http://github.com/ttilley