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
@@ -249,7 +249,7 @@ x
249
249
  3
250
250
  []=
251
251
  p
252
- 11
252
+ 13
253
253
  I
254
254
  -1
255
255
  I
@@ -271,10 +271,14 @@ I
271
271
  I
272
272
  b
273
273
  I
274
+ 5f
275
+ I
276
+ 0
277
+ I
274
278
  60
275
279
  x
276
- 56
277
- /Users/chris/Projects/compass/lib/compass/quick_cache.rb
280
+ 58
281
+ /Users/crispee/Projects/compass/lib/compass/quick_cache.rb
278
282
  p
279
283
  2
280
284
  x
@@ -298,8 +302,8 @@ I
298
302
  I
299
303
  10
300
304
  x
301
- 56
302
- /Users/chris/Projects/compass/lib/compass/quick_cache.rb
305
+ 58
306
+ /Users/crispee/Projects/compass/lib/compass/quick_cache.rb
303
307
  p
304
308
  0
305
309
  x
@@ -314,7 +318,7 @@ I
314
318
  I
315
319
  1c
316
320
  x
317
- 56
318
- /Users/chris/Projects/compass/lib/compass/quick_cache.rb
321
+ 58
322
+ /Users/crispee/Projects/compass/lib/compass/quick_cache.rb
319
323
  p
320
324
  0
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 9595534255132031488
3
3
  x
4
4
  M
5
5
  1
@@ -175,7 +175,7 @@ s
175
175
  31
176
176
  compass/sass_extensions/sprites
177
177
  p
178
- 13
178
+ 15
179
179
  I
180
180
  0
181
181
  I
@@ -185,6 +185,10 @@ I
185
185
  I
186
186
  2
187
187
  I
188
+ 32
189
+ I
190
+ 0
191
+ I
188
192
  33
189
193
  I
190
194
  5
@@ -203,7 +207,7 @@ a
203
207
  I
204
208
  5c
205
209
  x
206
- 60
207
- /Users/chris/Projects/compass/lib/compass/sass_extensions.rb
210
+ 62
211
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions.rb
208
212
  p
209
213
  0
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 9595534255132031488
3
3
  x
4
4
  M
5
5
  1
@@ -9,7 +9,7 @@ x
9
9
  10
10
10
  __script__
11
11
  i
12
- 129
12
+ 132
13
13
  99
14
14
  7
15
15
  0
@@ -66,22 +66,25 @@ i
66
66
  7
67
67
  18
68
68
  64
69
+ 7
70
+ 19
71
+ 64
69
72
  35
70
- 14
73
+ 15
71
74
  56
72
- 19
73
- 50
74
75
  20
76
+ 50
77
+ 21
75
78
  0
76
79
  15
77
80
  99
78
81
  7
79
82
  0
80
83
  45
81
- 21
82
84
  22
83
- 43
84
85
  23
86
+ 43
87
+ 24
85
88
  49
86
89
  4
87
90
  2
@@ -89,58 +92,58 @@ i
89
92
  99
90
93
  12
91
94
  7
92
- 24
95
+ 25
93
96
  12
94
97
  7
95
- 25
98
+ 26
96
99
  12
97
100
  65
98
101
  12
99
102
  49
100
- 26
103
+ 27
101
104
  4
102
105
  15
103
106
  49
104
- 24
107
+ 25
105
108
  0
106
109
  15
107
110
  99
108
111
  7
109
- 27
112
+ 28
110
113
  1
111
114
  45
112
- 21
113
- 28
115
+ 22
116
+ 29
114
117
  43
115
- 23
118
+ 24
116
119
  43
117
120
  0
118
121
  49
119
- 29
122
+ 30
120
123
  3
121
124
  13
122
125
  99
123
126
  12
124
127
  7
125
- 30
128
+ 31
126
129
  12
127
130
  7
128
- 31
131
+ 32
129
132
  12
130
133
  65
131
134
  12
132
135
  49
133
- 26
136
+ 27
134
137
  4
135
138
  15
136
139
  49
137
- 30
140
+ 31
138
141
  0
139
142
  15
140
143
  2
141
144
  11
142
145
  I
143
- e
146
+ f
144
147
  I
145
148
  0
146
149
  I
@@ -149,7 +152,7 @@ I
149
152
  0
150
153
  n
151
154
  p
152
- 32
155
+ 33
153
156
  x
154
157
  9
155
158
  Functions
@@ -203,6 +206,9 @@ s
203
206
  7
204
207
  sprites
205
208
  s
209
+ 3
210
+ env
211
+ s
206
212
  21
207
213
  cross_browser_support
208
214
  M
@@ -267,16 +273,16 @@ I
267
273
  I
268
274
  1
269
275
  I
270
- 8
276
+ 9
271
277
  I
272
278
  4
273
279
  I
274
- 9
280
+ a
275
281
  I
276
282
  13
277
283
  x
278
- 70
279
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions.rb
284
+ 72
285
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions.rb
280
286
  p
281
287
  1
282
288
  x
@@ -303,7 +309,7 @@ x
303
309
  9
304
310
  Functions
305
311
  i
306
- 214
312
+ 229
307
313
  5
308
314
  66
309
315
  5
@@ -517,6 +523,21 @@ i
517
523
  49
518
524
  5
519
525
  1
526
+ 15
527
+ 5
528
+ 45
529
+ 0
530
+ 32
531
+ 43
532
+ 2
533
+ 43
534
+ 3
535
+ 43
536
+ 33
537
+ 47
538
+ 49
539
+ 5
540
+ 1
520
541
  11
521
542
  I
522
543
  2
@@ -528,7 +549,7 @@ I
528
549
  0
529
550
  n
530
551
  p
531
- 32
552
+ 34
532
553
  x
533
554
  7
534
555
  Compass
@@ -597,69 +618,77 @@ n
597
618
  x
598
619
  19
599
620
  CrossBrowserSupport
621
+ n
622
+ x
623
+ 3
624
+ Env
600
625
  p
601
- 29
626
+ 31
602
627
  I
603
628
  2
604
629
  I
605
- d
630
+ e
606
631
  I
607
632
  11
608
633
  I
609
- e
634
+ f
610
635
  I
611
636
  20
612
637
  I
613
- f
638
+ 10
614
639
  I
615
640
  2f
616
641
  I
617
- 10
642
+ 11
618
643
  I
619
644
  3e
620
645
  I
621
- 11
646
+ 12
622
647
  I
623
648
  4d
624
649
  I
625
- 12
650
+ 13
626
651
  I
627
652
  5c
628
653
  I
629
- 13
654
+ 14
630
655
  I
631
656
  6d
632
657
  I
633
- 14
658
+ 15
634
659
  I
635
660
  7c
636
661
  I
637
- 15
662
+ 16
638
663
  I
639
664
  8b
640
665
  I
641
- 16
666
+ 17
642
667
  I
643
668
  9a
644
669
  I
645
- 17
670
+ 18
646
671
  I
647
672
  a9
648
673
  I
649
- 18
674
+ 19
650
675
  I
651
676
  b8
652
677
  I
653
- 19
678
+ 1a
654
679
  I
655
680
  c7
656
681
  I
657
- 1a
682
+ 1b
658
683
  I
659
684
  d6
685
+ I
686
+ 1c
687
+ I
688
+ e5
660
689
  x
661
- 70
662
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions.rb
690
+ 72
691
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions.rb
663
692
  p
664
693
  0
665
694
  x
@@ -728,16 +757,16 @@ p
728
757
  I
729
758
  2
730
759
  I
731
- 1f
760
+ 21
732
761
  I
733
762
  f
734
763
  x
735
- 70
736
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions.rb
764
+ 72
765
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions.rb
737
766
  p
738
767
  0
739
768
  p
740
- 15
769
+ 17
741
770
  I
742
771
  0
743
772
  I
@@ -755,21 +784,25 @@ I
755
784
  I
756
785
  7
757
786
  I
758
- 3a
787
+ 32
788
+ I
789
+ 8
790
+ I
791
+ 3d
759
792
  I
760
793
  5
761
794
  I
762
- 40
795
+ 43
763
796
  I
764
- c
797
+ d
765
798
  I
766
- 5e
799
+ 61
767
800
  I
768
- 1e
801
+ 20
769
802
  I
770
- 81
803
+ 84
771
804
  x
772
- 70
773
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions.rb
805
+ 72
806
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions.rb
774
807
  p
775
808
  0
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 9595534255132031488
3
3
  x
4
4
  M
5
5
  1
@@ -343,8 +343,8 @@ I
343
343
  I
344
344
  45
345
345
  x
346
- 77
347
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
346
+ 79
347
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
348
348
  p
349
349
  2
350
350
  x
@@ -488,8 +488,8 @@ I
488
488
  I
489
489
  37
490
490
  x
491
- 77
492
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
491
+ 79
492
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
493
493
  p
494
494
  2
495
495
  x
@@ -657,8 +657,8 @@ I
657
657
  I
658
658
  45
659
659
  x
660
- 77
661
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
660
+ 79
661
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
662
662
  p
663
663
  2
664
664
  x
@@ -796,8 +796,8 @@ I
796
796
  I
797
797
  37
798
798
  x
799
- 77
800
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
799
+ 79
800
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
801
801
  p
802
802
  2
803
803
  x
@@ -1053,8 +1053,8 @@ I
1053
1053
  I
1054
1054
  8a
1055
1055
  x
1056
- 77
1057
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1056
+ 79
1057
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1058
1058
  p
1059
1059
  3
1060
1060
  x
@@ -1178,7 +1178,7 @@ x
1178
1178
  d
1179
1179
  +0.781250000000000000000000000000000000000000000000000000 7
1180
1180
  p
1181
- 15
1181
+ 17
1182
1182
  I
1183
1183
  -1
1184
1184
  I
@@ -1204,14 +1204,18 @@ I
1204
1204
  I
1205
1205
  30
1206
1206
  I
1207
+ 3b
1208
+ I
1209
+ 0
1210
+ I
1207
1211
  3c
1208
1212
  I
1209
1213
  33
1210
1214
  I
1211
1215
  3f
1212
1216
  x
1213
- 77
1214
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1217
+ 79
1218
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1215
1219
  p
1216
1220
  2
1217
1221
  x
@@ -1253,8 +1257,8 @@ I
1253
1257
  I
1254
1258
  5a
1255
1259
  x
1256
- 77
1257
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1260
+ 79
1261
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1258
1262
  p
1259
1263
  0
1260
1264
  x
@@ -1269,7 +1273,7 @@ I
1269
1273
  I
1270
1274
  22
1271
1275
  x
1272
- 77
1273
- /Users/chris/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1276
+ 79
1277
+ /Users/crispee/Projects/compass/lib/compass/sass_extensions/functions/colors.rb
1274
1278
  p
1275
1279
  0