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
@@ -158,7 +158,7 @@ x
158
158
  13
159
159
  Configuration
160
160
  i
161
- 133
161
+ 144
162
162
  5
163
163
  66
164
164
  99
@@ -222,13 +222,18 @@ i
222
222
  5
223
223
  7
224
224
  13
225
- 1
226
225
  47
227
226
  49
228
227
  0
229
- 2
228
+ 1
229
+ 5
230
230
  7
231
231
  14
232
+ 1
233
+ 47
234
+ 49
235
+ 0
236
+ 2
232
237
  7
233
238
  15
234
239
  7
@@ -237,19 +242,19 @@ i
237
242
  17
238
243
  7
239
244
  18
240
- 5
241
245
  7
242
246
  19
247
+ 7
248
+ 20
249
+ 5
250
+ 7
251
+ 21
243
252
  1
244
253
  47
245
254
  49
246
255
  0
247
256
  2
248
257
  7
249
- 19
250
- 7
251
- 20
252
- 7
253
258
  21
254
259
  7
255
260
  22
@@ -261,20 +266,26 @@ i
261
266
  25
262
267
  7
263
268
  26
269
+ 7
270
+ 27
271
+ 7
272
+ 28
273
+ 7
274
+ 29
264
275
  35
265
- 23
276
+ 26
266
277
  49
267
- 27
278
+ 30
268
279
  0
269
280
  49
270
- 28
281
+ 31
271
282
  2
272
283
  15
273
284
  99
274
285
  7
275
- 29
286
+ 32
276
287
  7
277
- 30
288
+ 33
278
289
  65
279
290
  5
280
291
  49
@@ -283,9 +294,9 @@ i
283
294
  15
284
295
  99
285
296
  7
286
- 31
297
+ 34
287
298
  7
288
- 32
299
+ 35
289
300
  65
290
301
  5
291
302
  49
@@ -293,7 +304,7 @@ i
293
304
  4
294
305
  11
295
306
  I
296
- 19
307
+ 1c
297
308
  I
298
309
  0
299
310
  I
@@ -302,7 +313,7 @@ I
302
313
  0
303
314
  n
304
315
  p
305
- 33
316
+ 36
306
317
  x
307
318
  24
308
319
  attributes_for_directory
@@ -466,8 +477,8 @@ a
466
477
  I
467
478
  a
468
479
  x
469
- 58
470
- /Users/chris/Projects/compass/lib/compass/configuration.rb
480
+ 60
481
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
471
482
  p
472
483
  1
473
484
  x
@@ -477,7 +488,7 @@ x
477
488
  3
478
489
  map
479
490
  p
480
- 13
491
+ 15
481
492
  I
482
493
  -1
483
494
  I
@@ -499,14 +510,18 @@ I
499
510
  I
500
511
  9
501
512
  I
513
+ 3f
514
+ I
515
+ 0
516
+ I
502
517
  44
503
518
  I
504
519
  6
505
520
  I
506
521
  4a
507
522
  x
508
- 58
509
- /Users/chris/Projects/compass/lib/compass/configuration.rb
523
+ 60
524
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
510
525
  p
511
526
  2
512
527
  x
@@ -543,6 +558,9 @@ x
543
558
  6
544
559
  images
545
560
  x
561
+ 16
562
+ generated_images
563
+ x
546
564
  11
547
565
  javascripts
548
566
  x
@@ -552,6 +570,9 @@ x
552
570
  10
553
571
  extensions
554
572
  x
573
+ 16
574
+ sprite_load_path
575
+ x
555
576
  12
556
577
  output_style
557
578
  x
@@ -591,6 +612,9 @@ x
591
612
  13
592
613
  sprite_engine
593
614
  x
615
+ 18
616
+ chunky_png_options
617
+ x
594
618
  7
595
619
  flatten
596
620
  x
@@ -940,80 +964,100 @@ x
940
964
  24
941
965
  strip_trailing_separator
942
966
  p
943
- 35
967
+ 45
944
968
  I
945
969
  -1
946
970
  I
947
- 33
971
+ 36
948
972
  I
949
973
  c
950
974
  I
951
- 34
975
+ 37
952
976
  I
953
977
  15
954
978
  I
955
- 35
979
+ 38
956
980
  I
957
981
  1f
958
982
  I
959
- 36
983
+ 39
960
984
  I
961
985
  36
962
986
  I
963
- 37
987
+ 3a
988
+ I
989
+ 41
990
+ I
991
+ 0
964
992
  I
965
993
  42
966
994
  I
967
- 39
995
+ 3c
968
996
  I
969
997
  59
970
998
  I
971
- 3a
999
+ 3d
1000
+ I
1001
+ 62
1002
+ I
1003
+ 0
972
1004
  I
973
1005
  63
974
1006
  I
975
- 3c
1007
+ 3f
976
1008
  I
977
1009
  66
978
1010
  I
979
- 3d
1011
+ 40
980
1012
  I
981
1013
  6f
982
1014
  I
983
- 3e
1015
+ 41
984
1016
  I
985
1017
  7b
986
1018
  I
987
- 3c
1019
+ 3f
988
1020
  I
989
1021
  80
990
1022
  I
991
- 35
1023
+ 38
1024
+ I
1025
+ 81
1026
+ I
1027
+ 0
992
1028
  I
993
1029
  82
994
1030
  I
995
- 42
1031
+ 45
1032
+ I
1033
+ ab
1034
+ I
1035
+ 0
996
1036
  I
997
1037
  ac
998
1038
  I
999
- 43
1039
+ 46
1000
1040
  I
1001
1041
  b5
1002
1042
  I
1003
- 44
1043
+ 47
1004
1044
  I
1005
1045
  d1
1006
1046
  I
1007
- 45
1047
+ 48
1008
1048
  I
1009
1049
  da
1010
1050
  I
1011
- 44
1051
+ 47
1052
+ I
1053
+ db
1054
+ I
1055
+ 0
1012
1056
  I
1013
1057
  dc
1014
1058
  x
1015
- 58
1016
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1059
+ 60
1060
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1017
1061
  p
1018
1062
  3
1019
1063
  x
@@ -1069,23 +1113,23 @@ p
1069
1113
  I
1070
1114
  -1
1071
1115
  I
1072
- 4a
1116
+ 4d
1073
1117
  I
1074
1118
  0
1075
1119
  I
1076
- 4b
1120
+ 4e
1077
1121
  I
1078
1122
  9
1079
1123
  x
1080
- 58
1081
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1124
+ 60
1125
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1082
1126
  p
1083
1127
  1
1084
1128
  x
1085
1129
  4
1086
1130
  name
1087
1131
  p
1088
- 55
1132
+ 61
1089
1133
  I
1090
1134
  2
1091
1135
  I
@@ -1131,74 +1175,86 @@ I
1131
1175
  I
1132
1176
  19
1133
1177
  I
1134
- 44
1178
+ 43
1135
1179
  I
1136
- 1b
1180
+ 1a
1137
1181
  I
1138
- 46
1182
+ 4b
1139
1183
  I
1140
1184
  1c
1141
1185
  I
1142
- 48
1186
+ 4d
1143
1187
  I
1144
1188
  1d
1145
1189
  I
1146
- 4a
1190
+ 4f
1147
1191
  I
1148
1192
  1e
1149
1193
  I
1150
- 4c
1194
+ 51
1151
1195
  I
1152
1196
  1f
1153
1197
  I
1154
- 4e
1198
+ 53
1155
1199
  I
1156
1200
  20
1157
1201
  I
1158
- 56
1202
+ 55
1159
1203
  I
1160
1204
  21
1161
1205
  I
1162
- 58
1206
+ 57
1163
1207
  I
1164
- 23
1208
+ 22
1165
1209
  I
1166
- 5a
1210
+ 5f
1167
1211
  I
1168
- 24
1212
+ 23
1169
1213
  I
1170
- 5c
1214
+ 61
1171
1215
  I
1172
1216
  25
1173
1217
  I
1174
- 5e
1218
+ 63
1175
1219
  I
1176
1220
  26
1177
1221
  I
1178
- 60
1222
+ 65
1179
1223
  I
1180
1224
  27
1181
1225
  I
1182
- 62
1226
+ 67
1183
1227
  I
1184
1228
  28
1185
1229
  I
1186
- 64
1230
+ 69
1187
1231
  I
1188
1232
  29
1189
1233
  I
1234
+ 6b
1235
+ I
1236
+ 2a
1237
+ I
1238
+ 6d
1239
+ I
1240
+ 2b
1241
+ I
1190
1242
  6f
1191
1243
  I
1192
- 33
1244
+ 2c
1193
1245
  I
1194
1246
  7a
1195
1247
  I
1196
- 4a
1248
+ 36
1197
1249
  I
1198
1250
  85
1251
+ I
1252
+ 4d
1253
+ I
1254
+ 90
1199
1255
  x
1200
- 58
1201
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1256
+ 60
1257
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1202
1258
  p
1203
1259
  0
1204
1260
  x
@@ -1213,8 +1269,8 @@ I
1213
1269
  I
1214
1270
  1c
1215
1271
  x
1216
- 58
1217
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1272
+ 60
1273
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1218
1274
  p
1219
1275
  0
1220
1276
  x
@@ -1305,16 +1361,16 @@ p
1305
1361
  I
1306
1362
  0
1307
1363
  I
1308
- 51
1364
+ 54
1309
1365
  I
1310
1366
  4
1311
1367
  I
1312
- 52
1368
+ 55
1313
1369
  I
1314
1370
  13
1315
1371
  x
1316
- 58
1317
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1372
+ 60
1373
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1318
1374
  p
1319
1375
  1
1320
1376
  x
@@ -1332,11 +1388,11 @@ I
1332
1388
  I
1333
1389
  1a
1334
1390
  I
1335
- 51
1391
+ 54
1336
1392
  I
1337
1393
  3f
1338
1394
  x
1339
- 58
1340
- /Users/chris/Projects/compass/lib/compass/configuration.rb
1395
+ 60
1396
+ /Users/crispee/Projects/compass/lib/compass/configuration.rb
1341
1397
  p
1342
1398
  0