compass 0.11.5 → 0.11.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/VERSION.yml +1 -1
  2. data/bin/compass +5 -1
  3. data/bin/compass.compiled.rbc +707 -0
  4. data/examples/compass/compass_app_log.txt +6 -0
  5. data/features/command_line.feature +16 -16
  6. data/features/extensions.feature +6 -0
  7. data/features/step_definitions/command_line_steps.rb +2 -0
  8. data/frameworks/compass/stylesheets/compass/css3/_images.scss +6 -6
  9. data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +19 -0
  10. data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +12 -3
  11. data/frameworks/compass/stylesheets/compass/typography/lists/_bullets.scss +1 -1
  12. data/frameworks/compass/stylesheets/compass/typography/lists/_inline-block-list.scss +14 -11
  13. data/frameworks/compass/templates/pie/PIE.htc +83 -64
  14. data/lib/compass.rbc +42 -36
  15. data/lib/compass/actions.rbc +244 -85
  16. data/lib/compass/app_integration.rbc +28 -20
  17. data/lib/compass/app_integration/merb.rbc +8 -4
  18. data/lib/compass/app_integration/rails.rbc +664 -148
  19. data/lib/compass/app_integration/rails/configuration_defaults.rbc +1089 -332
  20. data/lib/compass/app_integration/rails/installer.rbc +145 -61
  21. data/lib/compass/app_integration/stand_alone.rbc +15 -15
  22. data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +23 -23
  23. data/lib/compass/app_integration/stand_alone/installer.rbc +52 -32
  24. data/lib/compass/browser_support.rbc +35 -23
  25. data/lib/compass/commands.rbc +307 -0
  26. data/lib/compass/commands/base.rbc +1044 -0
  27. data/lib/compass/commands/clean_project.rbc +1856 -0
  28. data/lib/compass/commands/create_project.rbc +2691 -0
  29. data/lib/compass/commands/default.rbc +1677 -0
  30. data/lib/compass/commands/generate_grid_background.rbc +1939 -0
  31. data/lib/compass/commands/help.rbc +1921 -0
  32. data/lib/compass/commands/imports.rbc +969 -0
  33. data/lib/compass/commands/installer_command.rbc +807 -0
  34. data/lib/compass/commands/interactive.rbc +1341 -0
  35. data/lib/compass/commands/list_frameworks.rbc +1111 -0
  36. data/lib/compass/commands/print_version.rbc +2478 -0
  37. data/lib/compass/commands/project_base.rbc +2085 -0
  38. data/lib/compass/commands/project_stats.rb +7 -7
  39. data/lib/compass/commands/project_stats.rbc +4202 -0
  40. data/lib/compass/commands/registry.rbc +1350 -0
  41. data/lib/compass/commands/sprite.rbc +2212 -0
  42. data/lib/compass/commands/stamp_pattern.rbc +2011 -0
  43. data/lib/compass/commands/unpack_extension.rbc +2348 -0
  44. data/lib/compass/commands/update_project.rbc +3002 -0
  45. data/lib/compass/commands/validate_project.rbc +1686 -0
  46. data/lib/compass/commands/watch_project.rbc +4155 -0
  47. data/lib/compass/commands/write_configuration.rbc +2896 -0
  48. data/lib/compass/compiler.rbc +591 -398
  49. data/lib/compass/configuration.rbc +134 -78
  50. data/lib/compass/configuration/adapters.rbc +98 -40
  51. data/lib/compass/configuration/comments.rbc +132 -51
  52. data/lib/compass/configuration/data.rbc +541 -551
  53. data/lib/compass/configuration/defaults.rbc +764 -189
  54. data/lib/compass/configuration/file_data.rbc +37 -125
  55. data/lib/compass/configuration/helpers.rb +7 -2
  56. data/lib/compass/configuration/helpers.rbc +433 -153
  57. data/lib/compass/configuration/inheritance.rbc +412 -165
  58. data/lib/compass/configuration/paths.rbc +9 -9
  59. data/lib/compass/configuration/serialization.rbc +151 -84
  60. data/lib/compass/dependencies.rbc +16 -4
  61. data/lib/compass/errors.rbc +5 -5
  62. data/lib/compass/exec.rbc +500 -0
  63. data/lib/compass/exec/command_option_parser.rbc +676 -0
  64. data/lib/compass/exec/global_options_parser.rbc +1306 -0
  65. data/lib/compass/exec/helpers.rbc +758 -0
  66. data/lib/compass/exec/project_options_parser.rbc +1515 -0
  67. data/lib/compass/exec/sub_command_ui.rbc +1191 -0
  68. data/lib/compass/frameworks.rb +10 -4
  69. data/lib/compass/frameworks.rbc +118 -66
  70. data/lib/compass/grid_builder.rbc +0 -0
  71. data/lib/compass/installers.rbc +152 -0
  72. data/lib/compass/installers/bare_installer.rbc +939 -0
  73. data/lib/compass/installers/base.rbc +4427 -0
  74. data/lib/compass/installers/manifest.rbc +3335 -0
  75. data/lib/compass/installers/manifest_installer.rbc +1591 -0
  76. data/lib/compass/installers/template_context.rbc +1030 -0
  77. data/lib/compass/logger.rbc +2317 -0
  78. data/lib/compass/quick_cache.rbc +12 -8
  79. data/lib/compass/sass_extensions.rbc +8 -4
  80. data/lib/compass/sass_extensions/functions.rbc +90 -57
  81. data/lib/compass/sass_extensions/functions/colors.rbc +22 -18
  82. data/lib/compass/sass_extensions/functions/constants.rbc +45 -25
  83. data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +48 -36
  84. data/lib/compass/sass_extensions/functions/display.rbc +341 -107
  85. data/lib/compass/sass_extensions/functions/enumerate.rbc +9 -9
  86. data/lib/compass/sass_extensions/functions/env.rbc +299 -0
  87. data/lib/compass/sass_extensions/functions/font_files.rbc +540 -123
  88. data/lib/compass/sass_extensions/functions/gradient_support.rbc +379 -167
  89. data/lib/compass/sass_extensions/functions/image_size.rbc +715 -400
  90. data/lib/compass/sass_extensions/functions/inline_image.rbc +152 -98
  91. data/lib/compass/sass_extensions/functions/lists.rb +5 -0
  92. data/lib/compass/sass_extensions/functions/lists.rbc +75 -39
  93. data/lib/compass/sass_extensions/functions/selectors.rbc +36 -28
  94. data/lib/compass/sass_extensions/functions/sprites.rbc +255 -233
  95. data/lib/compass/sass_extensions/functions/trig.rbc +53 -51
  96. data/lib/compass/sass_extensions/functions/urls.rbc +3151 -1044
  97. data/lib/compass/sass_extensions/monkey_patches.rbc +5 -5
  98. data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +63 -47
  99. data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +36 -16
  100. data/lib/compass/sass_extensions/sprites.rbc +93 -13
  101. data/lib/compass/sass_extensions/sprites/engines.rbc +615 -6
  102. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +260 -94
  103. data/lib/compass/sass_extensions/sprites/image.rbc +694 -316
  104. data/lib/compass/sass_extensions/sprites/image_methods.rbc +900 -0
  105. data/lib/compass/sass_extensions/sprites/image_row.rbc +1168 -0
  106. data/lib/compass/sass_extensions/sprites/layout_methods.rbc +3236 -0
  107. data/lib/compass/sass_extensions/sprites/row_fitter.rbc +2067 -0
  108. data/lib/compass/sass_extensions/sprites/sprite_map.rbc +714 -3641
  109. data/lib/compass/sass_extensions/sprites/sprite_methods.rb +1 -1
  110. data/lib/compass/sass_extensions/sprites/sprite_methods.rbc +3190 -0
  111. data/lib/compass/sprite_importer.rbc +1125 -1495
  112. data/lib/compass/util.rbc +19 -11
  113. data/lib/compass/version.rbc +53 -25
  114. data/test/fixtures/extensions/only_stylesheets/compass_init.rb +1 -0
  115. data/test/fixtures/extensions/only_stylesheets/scss/only_stylesheets/foo.scss +3 -0
  116. data/test/fixtures/stylesheets/compass/css/lists.css +7 -7
  117. data/test/fixtures/stylesheets/compass/css/reset.css +0 -1
  118. data/test/fixtures/stylesheets/compass/css/user-interface.css +5 -0
  119. data/test/fixtures/stylesheets/compass/sass/user-interface.scss +5 -0
  120. data/test/fixtures/stylesheets/envtest/tmp/env.css +2 -0
  121. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/config.rb +25 -0
  122. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/ie.scss +5 -0
  123. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/print.scss +3 -0
  124. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/sass/screen.scss +6 -0
  125. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/ie.css +5 -0
  126. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/print.css +3 -0
  127. data/test/fixtures/stylesheets/uses_only_stylesheets_ext/stylesheets/screen.css +68 -0
  128. data/test/helpers/command_line.rbc +2820 -0
  129. data/test/helpers/diff.rbc +1104 -0
  130. data/test/helpers/io.rbc +962 -0
  131. data/test/helpers/rails.rbc +1116 -0
  132. data/test/helpers/test_case.rbc +1255 -0
  133. data/test/integrations/compass_test.rbc +6589 -0
  134. data/test/integrations/rails_integration_test.rbc +1342 -0
  135. data/test/integrations/sprites_test.rbc +6192 -0
  136. data/test/test_helper.rbc +1694 -0
  137. data/test/units/actions_test.rbc +644 -0
  138. data/test/units/command_line_test.rbc +1532 -0
  139. data/test/units/compass_png_test.rbc +0 -0
  140. data/test/units/configuration_test.rbc +3833 -0
  141. data/test/units/rails_configuration_test.rbc +1032 -0
  142. data/test/units/sass_extensions_test.rb +5 -0
  143. data/test/units/sass_extensions_test.rbc +3586 -0
  144. data/test/units/sprites/engine_test.rbc +962 -0
  145. data/test/units/sprites/image_row_test.rbc +1578 -0
  146. data/test/units/sprites/image_test.rbc +2836 -0
  147. data/test/units/sprites/importer_test.rbc +2620 -0
  148. data/test/units/sprites/row_fitter_test.rbc +1479 -0
  149. data/test/units/sprites/sprite_command_test.rbc +1147 -0
  150. data/test/units/sprites/sprite_map_test.rbc +6515 -0
  151. metadata +157 -51
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 9595534255132031488
3
3
  x
4
4
  M
5
5
  1
@@ -305,8 +305,8 @@ I
305
305
  I
306
306
  3a
307
307
  x
308
- 83
309
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
308
+ 85
309
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
310
310
  p
311
311
  3
312
312
  x
@@ -335,7 +335,7 @@ x
335
335
  17
336
336
  inline_font_files
337
337
  i
338
- 183
338
+ 174
339
339
  20
340
340
  0
341
341
  49
@@ -381,7 +381,7 @@ i
381
381
  85
382
382
  8
383
383
  9
384
- 136
384
+ 127
385
385
  20
386
386
  0
387
387
  49
@@ -413,34 +413,25 @@ i
413
413
  19
414
414
  3
415
415
  15
416
- 7
417
- 18
416
+ 5
418
417
  5
419
418
  20
420
- 2
419
+ 3
421
420
  47
422
421
  49
423
- 19
422
+ 18
424
423
  1
425
- 47
426
- 101
427
- 20
428
- 7
429
- 21
430
424
  5
431
425
  20
432
- 3
426
+ 2
433
427
  47
434
428
  49
435
- 22
429
+ 19
436
430
  1
437
431
  47
438
- 101
432
+ 49
439
433
  20
440
- 7
441
- 23
442
- 63
443
- 5
434
+ 2
444
435
  19
445
436
  4
446
437
  15
@@ -450,9 +441,9 @@ i
450
441
  4
451
442
  47
452
443
  101
453
- 20
444
+ 21
454
445
  7
455
- 24
446
+ 22
456
447
  20
457
448
  0
458
449
  49
@@ -460,13 +451,13 @@ i
460
451
  0
461
452
  47
462
453
  101
463
- 20
454
+ 21
464
455
  7
465
456
  23
466
457
  63
467
458
  4
468
459
  49
469
- 25
460
+ 24
470
461
  1
471
462
  15
472
463
  68
@@ -476,47 +467,47 @@ i
476
467
  15
477
468
  45
478
469
  3
470
+ 25
471
+ 43
479
472
  26
480
473
  43
481
474
  27
482
- 43
483
- 28
484
475
  13
485
476
  71
486
- 29
477
+ 28
487
478
  47
488
479
  9
489
- 171
480
+ 162
490
481
  47
491
482
  49
492
- 30
483
+ 29
493
484
  0
494
485
  13
495
486
  20
496
487
  1
497
488
  7
498
- 31
489
+ 30
499
490
  64
500
491
  49
501
492
  17
502
493
  1
503
494
  47
504
495
  49
505
- 32
496
+ 31
506
497
  1
507
498
  15
508
499
  8
509
- 182
500
+ 173
510
501
  20
511
502
  1
512
503
  7
513
- 31
504
+ 30
514
505
  64
515
506
  49
516
507
  17
517
508
  1
518
509
  49
519
- 29
510
+ 28
520
511
  1
521
512
  11
522
513
  I
@@ -530,7 +521,7 @@ I
530
521
  I
531
522
  0
532
523
  p
533
- 33
524
+ 32
534
525
  x
535
526
  4
536
527
  size
@@ -579,27 +570,24 @@ fonts_path
579
570
  x
580
571
  4
581
572
  join
582
- s
583
- 10
584
- url('data:
573
+ x
574
+ 4
575
+ data
585
576
  x
586
577
  17
587
578
  compute_mime_type
588
579
  x
580
+ 19
581
+ inline_image_string
582
+ x
589
583
  4
590
584
  to_s
591
585
  s
592
- 8
593
- ;base64,
594
- x
595
- 4
596
- data
586
+ 9
587
+ format('
597
588
  s
598
589
  2
599
590
  ')
600
- s
601
- 9
602
- format('
603
591
  x
604
592
  2
605
593
  <<
@@ -623,7 +611,7 @@ x
623
611
  10
624
612
  initialize
625
613
  p
626
- 19
614
+ 23
627
615
  I
628
616
  -1
629
617
  I
@@ -633,6 +621,10 @@ I
633
621
  I
634
622
  a
635
623
  I
624
+ 1e
625
+ I
626
+ 0
627
+ I
636
628
  1f
637
629
  I
638
630
  b
@@ -653,18 +645,22 @@ I
653
645
  I
654
646
  f
655
647
  I
656
- 6c
648
+ 63
657
649
  I
658
650
  10
659
651
  I
660
- 8a
652
+ 7f
653
+ I
654
+ 0
655
+ I
656
+ 81
661
657
  I
662
658
  12
663
659
  I
664
- b7
660
+ ae
665
661
  x
666
- 83
667
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
662
+ 85
663
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
668
664
  p
669
665
  5
670
666
  x
@@ -858,8 +854,8 @@ I
858
854
  I
859
855
  4f
860
856
  x
861
- 83
862
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
857
+ 85
858
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
863
859
  p
864
860
  3
865
861
  x
@@ -885,7 +881,7 @@ x
885
881
  17
886
882
  compute_mime_type
887
883
  i
888
- 306
884
+ 337
889
885
  23
890
886
  1
891
887
  10
@@ -937,7 +933,7 @@ i
937
933
  5
938
934
  64
939
935
  8
940
- 305
936
+ 336
941
937
  13
942
938
  7
943
939
  6
@@ -968,7 +964,7 @@ i
968
964
  8
969
965
  64
970
966
  8
971
- 305
967
+ 336
972
968
  13
973
969
  7
974
970
  9
@@ -999,7 +995,7 @@ i
999
995
  11
1000
996
  64
1001
997
  8
1002
- 305
998
+ 336
1003
999
  13
1004
1000
  7
1005
1001
  12
@@ -1030,7 +1026,7 @@ i
1030
1026
  14
1031
1027
  64
1032
1028
  8
1033
- 305
1029
+ 336
1034
1030
  13
1035
1031
  7
1036
1032
  15
@@ -1061,7 +1057,7 @@ i
1061
1057
  17
1062
1058
  64
1063
1059
  8
1064
- 305
1060
+ 336
1065
1061
  13
1066
1062
  7
1067
1063
  18
@@ -1092,7 +1088,7 @@ i
1092
1088
  20
1093
1089
  64
1094
1090
  8
1095
- 305
1091
+ 336
1096
1092
  13
1097
1093
  7
1098
1094
  21
@@ -1123,7 +1119,7 @@ i
1123
1119
  23
1124
1120
  64
1125
1121
  8
1126
- 305
1122
+ 336
1127
1123
  13
1128
1124
  7
1129
1125
  24
@@ -1137,7 +1133,7 @@ i
1137
1133
  1
1138
1134
  7
1139
1135
  25
1140
- 78
1136
+ 79
1141
1137
  49
1142
1138
  3
1143
1139
  2
@@ -1148,48 +1144,79 @@ i
1148
1144
  4
1149
1145
  1
1150
1146
  9
1151
- 283
1147
+ 269
1152
1148
  15
1153
1149
  7
1154
1150
  26
1155
- 45
1151
+ 64
1152
+ 8
1153
+ 336
1154
+ 13
1155
+ 7
1156
+ 27
1157
+ 13
1158
+ 70
1159
+ 9
1160
+ 288
1161
+ 15
1162
+ 44
1163
+ 43
1156
1164
  1
1165
+ 7
1166
+ 28
1167
+ 78
1168
+ 49
1169
+ 3
1170
+ 2
1171
+ 6
1157
1172
  27
1173
+ 12
1174
+ 49
1175
+ 4
1176
+ 1
1177
+ 9
1178
+ 314
1179
+ 15
1180
+ 7
1181
+ 29
1182
+ 45
1183
+ 1
1184
+ 30
1158
1185
  79
1159
1186
  49
1160
- 28
1187
+ 31
1161
1188
  1
1162
1189
  49
1163
- 29
1190
+ 32
1164
1191
  0
1165
1192
  47
1166
1193
  101
1167
- 30
1194
+ 33
1168
1195
  63
1169
1196
  2
1170
1197
  8
1171
- 305
1198
+ 336
1172
1199
  15
1173
1200
  5
1174
1201
  45
1175
- 31
1176
- 32
1202
+ 34
1203
+ 35
1177
1204
  43
1178
- 33
1205
+ 36
1179
1206
  7
1180
- 34
1207
+ 37
1181
1208
  20
1182
1209
  0
1183
1210
  47
1184
1211
  101
1185
- 30
1212
+ 33
1186
1213
  7
1187
- 35
1214
+ 38
1188
1215
  63
1189
1216
  3
1190
1217
  47
1191
1218
  49
1192
- 36
1219
+ 39
1193
1220
  2
1194
1221
  11
1195
1222
  I
@@ -1202,7 +1229,7 @@ I
1202
1229
  2
1203
1230
  n
1204
1231
  p
1205
- 37
1232
+ 40
1206
1233
  n
1207
1234
  x
1208
1235
  6
@@ -1236,6 +1263,13 @@ image/gif
1236
1263
  n
1237
1264
  s
1238
1265
  6
1266
+ \.svg$
1267
+ s
1268
+ 13
1269
+ image/svg+xml
1270
+ n
1271
+ s
1272
+ 6
1239
1273
  \.otf$
1240
1274
  s
1241
1275
  13
@@ -1295,7 +1329,7 @@ x
1295
1329
  5
1296
1330
  raise
1297
1331
  p
1298
- 41
1332
+ 49
1299
1333
  I
1300
1334
  -1
1301
1335
  I
@@ -1305,6 +1339,10 @@ I
1305
1339
  I
1306
1340
  1e
1307
1341
  I
1342
+ 12
1343
+ I
1344
+ 0
1345
+ I
1308
1346
  13
1309
1347
  I
1310
1348
  1f
@@ -1373,14 +1411,26 @@ I
1373
1411
  I
1374
1412
  2f
1375
1413
  I
1376
- 11c
1414
+ 10d
1415
+ I
1416
+ 30
1417
+ I
1418
+ 127
1377
1419
  I
1378
1420
  31
1379
1421
  I
1380
- 132
1422
+ 13b
1423
+ I
1424
+ 33
1425
+ I
1426
+ 150
1427
+ I
1428
+ 0
1429
+ I
1430
+ 151
1381
1431
  x
1382
- 83
1383
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1432
+ 85
1433
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1384
1434
  p
1385
1435
  2
1386
1436
  x
@@ -1511,12 +1561,12 @@ p
1511
1561
  I
1512
1562
  0
1513
1563
  I
1514
- 37
1564
+ 39
1515
1565
  I
1516
1566
  a
1517
1567
  x
1518
- 83
1519
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1568
+ 85
1569
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1520
1570
  p
1521
1571
  1
1522
1572
  x
@@ -1542,28 +1592,32 @@ x
1542
1592
  5
1543
1593
  raise
1544
1594
  p
1545
- 9
1595
+ 11
1546
1596
  I
1547
1597
  -1
1548
1598
  I
1549
- 35
1599
+ 37
1550
1600
  I
1551
1601
  0
1552
1602
  I
1553
- 36
1603
+ 38
1554
1604
  I
1555
1605
  a
1556
1606
  I
1557
- 37
1607
+ 39
1558
1608
  I
1559
1609
  19
1560
1610
  I
1561
- 39
1611
+ 3b
1612
+ I
1613
+ 2c
1614
+ I
1615
+ 0
1562
1616
  I
1563
1617
  2d
1564
1618
  x
1565
- 83
1566
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1619
+ 85
1620
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1567
1621
  p
1568
1622
  1
1569
1623
  x
@@ -1598,12 +1652,12 @@ I
1598
1652
  I
1599
1653
  42
1600
1654
  I
1601
- 35
1655
+ 37
1602
1656
  I
1603
1657
  50
1604
1658
  x
1605
- 83
1606
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1659
+ 85
1660
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1607
1661
  p
1608
1662
  0
1609
1663
  x
@@ -1618,7 +1672,7 @@ I
1618
1672
  I
1619
1673
  22
1620
1674
  x
1621
- 83
1622
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1675
+ 85
1676
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/inline_image.rb
1623
1677
  p
1624
1678
  0