compass 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/Rakefile +1 -15
  2. data/VERSION.yml +1 -1
  3. data/features/command_line.feature +2 -0
  4. data/features/extensions.feature +2 -1
  5. data/features/step_definitions/command_line_steps.rb +7 -1
  6. data/frameworks/compass/stylesheets/compass/_support.scss +6 -8
  7. data/frameworks/compass/stylesheets/compass/css3/_images.scss +2 -0
  8. data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +4 -3
  9. data/lib/compass.rb +7 -1
  10. data/lib/compass.rbc +714 -0
  11. data/lib/compass/actions.rbc +2334 -0
  12. data/lib/compass/app_integration.rbc +828 -0
  13. data/lib/compass/app_integration/merb.rbc +102 -0
  14. data/lib/compass/app_integration/rails.rbc +1580 -0
  15. data/lib/compass/app_integration/rails/configuration_defaults.rbc +1673 -0
  16. data/lib/compass/app_integration/rails/installer.rbc +3593 -0
  17. data/lib/compass/app_integration/stand_alone.rbc +589 -0
  18. data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +721 -0
  19. data/lib/compass/app_integration/stand_alone/installer.rbc +1467 -0
  20. data/lib/compass/browser_support.rbc +1132 -0
  21. data/lib/compass/compiler.rbc +4628 -0
  22. data/lib/compass/configuration.rbc +1342 -0
  23. data/lib/compass/configuration/adapters.rbc +2030 -0
  24. data/lib/compass/configuration/comments.rbc +762 -0
  25. data/lib/compass/configuration/data.rbc +2643 -0
  26. data/lib/compass/configuration/defaults.rbc +3042 -0
  27. data/lib/compass/configuration/file_data.rbc +731 -0
  28. data/lib/compass/configuration/helpers.rbc +3220 -0
  29. data/lib/compass/configuration/inheritance.rbc +3345 -0
  30. data/lib/compass/configuration/paths.rbc +412 -0
  31. data/lib/compass/configuration/serialization.rbc +1929 -0
  32. data/lib/compass/dependencies.rbc +220 -0
  33. data/lib/compass/errors.rbc +176 -0
  34. data/lib/compass/frameworks.rbc +3588 -0
  35. data/lib/compass/quick_cache.rbc +320 -0
  36. data/lib/compass/sass_extensions.rb +4 -0
  37. data/lib/compass/sass_extensions.rbc +111 -0
  38. data/lib/compass/sass_extensions/functions.rbc +775 -0
  39. data/lib/compass/sass_extensions/functions/colors.rbc +1275 -0
  40. data/lib/compass/sass_extensions/functions/constants.rbc +1901 -0
  41. data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +1954 -0
  42. data/lib/compass/sass_extensions/functions/display.rbc +993 -0
  43. data/lib/compass/sass_extensions/functions/enumerate.rbc +446 -0
  44. data/lib/compass/sass_extensions/functions/font_files.rbc +404 -0
  45. data/lib/compass/sass_extensions/functions/gradient_support.rb +3 -1
  46. data/lib/compass/sass_extensions/functions/gradient_support.rbc +13899 -0
  47. data/lib/compass/sass_extensions/functions/image_size.rbc +2837 -0
  48. data/lib/compass/sass_extensions/functions/inline_image.rbc +1624 -0
  49. data/lib/compass/sass_extensions/functions/lists.rbc +2565 -0
  50. data/lib/compass/sass_extensions/functions/selectors.rbc +1584 -0
  51. data/lib/compass/sass_extensions/functions/sprites.rb +13 -1
  52. data/lib/compass/sass_extensions/functions/sprites.rbc +3491 -0
  53. data/lib/compass/sass_extensions/functions/trig.rbc +809 -0
  54. data/lib/compass/sass_extensions/functions/urls.rbc +3141 -0
  55. data/lib/compass/sass_extensions/monkey_patches.rbc +134 -0
  56. data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +2153 -0
  57. data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +640 -0
  58. data/lib/compass/sass_extensions/sprites.rbc +299 -0
  59. data/lib/compass/sass_extensions/sprites/base.rb +20 -7
  60. data/lib/compass/sass_extensions/sprites/base.rbc +4529 -0
  61. data/lib/compass/sass_extensions/sprites/engines.rbc +53 -0
  62. data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +908 -0
  63. data/lib/compass/sass_extensions/sprites/image.rbc +2583 -0
  64. data/lib/compass/sass_extensions/sprites/sprite_map.rb +15 -3
  65. data/lib/compass/sass_extensions/sprites/sprite_map.rbc +2615 -0
  66. data/lib/compass/sass_extensions/sprites/sprites.rb +3 -3
  67. data/lib/compass/sass_extensions/sprites/sprites.rbc +1573 -0
  68. data/lib/compass/util.rbc +544 -0
  69. data/lib/compass/version.rb +3 -3
  70. data/lib/compass/version.rbc +1259 -0
  71. data/test/fixtures/sprites/public/images/colors/blue.png +0 -0
  72. data/test/fixtures/sprites/public/images/colors/yellow.png +0 -0
  73. data/test/fixtures/sprites/public/images/ko/default_background.png +0 -0
  74. data/test/fixtures/sprites/public/images/ko/starbg26x27.png +0 -0
  75. data/test/fixtures/sprites/public/images/nested/squares/ten-by-ten.png +0 -0
  76. data/test/fixtures/sprites/public/images/prefix/20-by-20.png +0 -0
  77. data/test/fixtures/sprites/public/images/prefix/ten-by-ten.png +0 -0
  78. data/test/fixtures/sprites/public/images/selectors/ten-by-ten.png +0 -0
  79. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_active.png +0 -0
  80. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_hover.png +0 -0
  81. data/test/fixtures/sprites/public/images/selectors/ten-by-ten_target.png +0 -0
  82. data/test/fixtures/sprites/public/images/squares/ten-by-ten.png +0 -0
  83. data/test/fixtures/sprites/public/images/squares/twenty-by-twenty.png +0 -0
  84. data/test/fixtures/stylesheets/blueprint/css/screen.css +1 -0
  85. data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +1 -0
  86. data/test/fixtures/stylesheets/compass/css/gradients.css +57 -0
  87. data/test/fixtures/stylesheets/compass/css/grid_background.css +7 -0
  88. data/test/fixtures/stylesheets/compass/css/pie.css +1 -0
  89. data/test/fixtures/stylesheets/relative/config.rb +1 -0
  90. data/test/{command_line_helper.rb → helpers/command_line.rb} +0 -0
  91. data/test/helpers/diff.rb +49 -0
  92. data/test/{io_helper.rb → helpers/io.rb} +0 -0
  93. data/test/{rails_helper.rb → helpers/rails.rb} +0 -0
  94. data/test/helpers/test_case.rb +55 -0
  95. data/test/{compass_test.rb → integrations/compass_test.rb} +8 -8
  96. data/test/{rails_integration_test.rb → integrations/rails_integration_test.rb} +2 -1
  97. data/test/integrations/sprites_test.rb +607 -0
  98. data/test/{test_rails_helper.rb → integrations/test_rails_helper.rb} +0 -0
  99. data/test/test_helper.rb +13 -4
  100. data/test/{command_line_test.rb → units/command_line_test.rb} +0 -0
  101. data/test/{compass_png_test.rb → units/compass_png_test.rb} +1 -1
  102. data/test/{configuration_test.rb → units/configuration_test.rb} +37 -12
  103. data/test/{sass_extensions_test.rb → units/sass_extensions_test.rb} +0 -0
  104. data/test/units/sprites/base_test.rb +90 -0
  105. data/test/units/sprites/image_test.rb +97 -0
  106. metadata +114 -26
  107. data/test/test_case_helper.rb +0 -13
@@ -0,0 +1,762 @@
1
+ !RBIX
2
+ 333337424968067900
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 7
54
+ Compass
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 7
67
+ Compass
68
+ i
69
+ 28
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 65
76
+ 49
77
+ 1
78
+ 2
79
+ 13
80
+ 99
81
+ 12
82
+ 7
83
+ 2
84
+ 12
85
+ 7
86
+ 3
87
+ 12
88
+ 65
89
+ 12
90
+ 49
91
+ 4
92
+ 4
93
+ 15
94
+ 49
95
+ 2
96
+ 0
97
+ 11
98
+ I
99
+ 6
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 5
109
+ x
110
+ 13
111
+ Configuration
112
+ x
113
+ 11
114
+ open_module
115
+ x
116
+ 15
117
+ __module_init__
118
+ M
119
+ 1
120
+ n
121
+ n
122
+ x
123
+ 13
124
+ Configuration
125
+ i
126
+ 28
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 65
133
+ 49
134
+ 1
135
+ 2
136
+ 13
137
+ 99
138
+ 12
139
+ 7
140
+ 2
141
+ 12
142
+ 7
143
+ 3
144
+ 12
145
+ 65
146
+ 12
147
+ 49
148
+ 4
149
+ 4
150
+ 15
151
+ 49
152
+ 2
153
+ 0
154
+ 11
155
+ I
156
+ 6
157
+ I
158
+ 0
159
+ I
160
+ 0
161
+ I
162
+ 0
163
+ n
164
+ p
165
+ 5
166
+ x
167
+ 8
168
+ Comments
169
+ x
170
+ 11
171
+ open_module
172
+ x
173
+ 15
174
+ __module_init__
175
+ M
176
+ 1
177
+ n
178
+ n
179
+ x
180
+ 8
181
+ Comments
182
+ i
183
+ 72
184
+ 5
185
+ 66
186
+ 99
187
+ 7
188
+ 0
189
+ 7
190
+ 1
191
+ 65
192
+ 67
193
+ 49
194
+ 2
195
+ 0
196
+ 49
197
+ 3
198
+ 4
199
+ 15
200
+ 99
201
+ 7
202
+ 4
203
+ 7
204
+ 5
205
+ 65
206
+ 67
207
+ 49
208
+ 2
209
+ 0
210
+ 49
211
+ 3
212
+ 4
213
+ 15
214
+ 99
215
+ 7
216
+ 6
217
+ 7
218
+ 7
219
+ 65
220
+ 67
221
+ 49
222
+ 2
223
+ 0
224
+ 49
225
+ 3
226
+ 4
227
+ 15
228
+ 99
229
+ 7
230
+ 8
231
+ 7
232
+ 9
233
+ 65
234
+ 67
235
+ 49
236
+ 2
237
+ 0
238
+ 49
239
+ 3
240
+ 4
241
+ 15
242
+ 99
243
+ 7
244
+ 10
245
+ 7
246
+ 11
247
+ 65
248
+ 67
249
+ 49
250
+ 2
251
+ 0
252
+ 49
253
+ 3
254
+ 4
255
+ 11
256
+ I
257
+ 5
258
+ I
259
+ 0
260
+ I
261
+ 0
262
+ I
263
+ 0
264
+ n
265
+ p
266
+ 12
267
+ x
268
+ 21
269
+ comment_for_http_path
270
+ M
271
+ 1
272
+ n
273
+ n
274
+ x
275
+ 21
276
+ comment_for_http_path
277
+ i
278
+ 4
279
+ 7
280
+ 0
281
+ 64
282
+ 11
283
+ I
284
+ 1
285
+ I
286
+ 0
287
+ I
288
+ 0
289
+ I
290
+ 0
291
+ n
292
+ p
293
+ 1
294
+ s
295
+ 54
296
+ # Set this to the root of your project when deployed:
297
+
298
+ p
299
+ 5
300
+ I
301
+ -1
302
+ I
303
+ 6
304
+ I
305
+ 0
306
+ I
307
+ 7
308
+ I
309
+ 4
310
+ x
311
+ 67
312
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
313
+ p
314
+ 0
315
+ x
316
+ 17
317
+ method_visibility
318
+ x
319
+ 15
320
+ add_defn_method
321
+ x
322
+ 27
323
+ comment_for_relative_assets
324
+ M
325
+ 1
326
+ n
327
+ n
328
+ x
329
+ 27
330
+ comment_for_relative_assets
331
+ i
332
+ 17
333
+ 5
334
+ 48
335
+ 0
336
+ 49
337
+ 1
338
+ 0
339
+ 9
340
+ 13
341
+ 7
342
+ 2
343
+ 64
344
+ 8
345
+ 16
346
+ 7
347
+ 3
348
+ 64
349
+ 11
350
+ I
351
+ 1
352
+ I
353
+ 0
354
+ I
355
+ 0
356
+ I
357
+ 0
358
+ n
359
+ p
360
+ 4
361
+ x
362
+ 9
363
+ top_level
364
+ x
365
+ 15
366
+ relative_assets
367
+ s
368
+ 0
369
+
370
+ s
371
+ 103
372
+ # To enable relative paths to assets via compass helper functions. Uncomment:
373
+ # relative_assets = true
374
+
375
+ p
376
+ 9
377
+ I
378
+ -1
379
+ I
380
+ a
381
+ I
382
+ 0
383
+ I
384
+ b
385
+ I
386
+ 8
387
+ I
388
+ 10
389
+ I
390
+ d
391
+ I
392
+ c
393
+ I
394
+ 11
395
+ x
396
+ 67
397
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
398
+ p
399
+ 0
400
+ x
401
+ 25
402
+ comment_for_line_comments
403
+ M
404
+ 1
405
+ n
406
+ n
407
+ x
408
+ 25
409
+ comment_for_line_comments
410
+ i
411
+ 17
412
+ 5
413
+ 48
414
+ 0
415
+ 49
416
+ 1
417
+ 0
418
+ 9
419
+ 13
420
+ 7
421
+ 2
422
+ 64
423
+ 8
424
+ 16
425
+ 7
426
+ 3
427
+ 64
428
+ 11
429
+ I
430
+ 1
431
+ I
432
+ 0
433
+ I
434
+ 0
435
+ I
436
+ 0
437
+ n
438
+ p
439
+ 4
440
+ x
441
+ 9
442
+ top_level
443
+ x
444
+ 13
445
+ line_comments
446
+ s
447
+ 121
448
+ # To disable debugging comments that display the original location of your selectors. Uncomment:
449
+ # line_comments = false
450
+
451
+ s
452
+ 0
453
+
454
+ p
455
+ 9
456
+ I
457
+ -1
458
+ I
459
+ 14
460
+ I
461
+ 0
462
+ I
463
+ 15
464
+ I
465
+ 8
466
+ I
467
+ 16
468
+ I
469
+ d
470
+ I
471
+ 1a
472
+ I
473
+ 11
474
+ x
475
+ 67
476
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
477
+ p
478
+ 0
479
+ x
480
+ 24
481
+ comment_for_output_style
482
+ M
483
+ 1
484
+ n
485
+ n
486
+ x
487
+ 24
488
+ comment_for_output_style
489
+ i
490
+ 17
491
+ 5
492
+ 48
493
+ 0
494
+ 49
495
+ 1
496
+ 0
497
+ 9
498
+ 13
499
+ 7
500
+ 2
501
+ 64
502
+ 8
503
+ 16
504
+ 7
505
+ 3
506
+ 64
507
+ 11
508
+ I
509
+ 1
510
+ I
511
+ 0
512
+ I
513
+ 0
514
+ I
515
+ 0
516
+ n
517
+ p
518
+ 4
519
+ x
520
+ 9
521
+ top_level
522
+ x
523
+ 28
524
+ output_style_without_default
525
+ s
526
+ 0
527
+
528
+ s
529
+ 157
530
+ # You can select your preferred output style here (can be overridden via the command line):
531
+ # output_style = :expanded or :nested or :compact or :compressed
532
+
533
+ p
534
+ 9
535
+ I
536
+ -1
537
+ I
538
+ 1e
539
+ I
540
+ 0
541
+ I
542
+ 1f
543
+ I
544
+ 8
545
+ I
546
+ 24
547
+ I
548
+ d
549
+ I
550
+ 20
551
+ I
552
+ 11
553
+ x
554
+ 67
555
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
556
+ p
557
+ 0
558
+ x
559
+ 28
560
+ comment_for_preferred_syntax
561
+ M
562
+ 1
563
+ n
564
+ n
565
+ x
566
+ 28
567
+ comment_for_preferred_syntax
568
+ i
569
+ 43
570
+ 5
571
+ 48
572
+ 0
573
+ 49
574
+ 1
575
+ 0
576
+ 7
577
+ 2
578
+ 83
579
+ 3
580
+ 13
581
+ 9
582
+ 20
583
+ 15
584
+ 5
585
+ 48
586
+ 0
587
+ 49
588
+ 4
589
+ 0
590
+ 9
591
+ 39
592
+ 7
593
+ 5
594
+ 5
595
+ 48
596
+ 0
597
+ 49
598
+ 4
599
+ 0
600
+ 47
601
+ 101
602
+ 6
603
+ 7
604
+ 7
605
+ 63
606
+ 3
607
+ 8
608
+ 42
609
+ 7
610
+ 8
611
+ 64
612
+ 11
613
+ I
614
+ 3
615
+ I
616
+ 0
617
+ I
618
+ 0
619
+ I
620
+ 0
621
+ n
622
+ p
623
+ 9
624
+ x
625
+ 9
626
+ top_level
627
+ x
628
+ 16
629
+ preferred_syntax
630
+ x
631
+ 4
632
+ scss
633
+ x
634
+ 2
635
+ ==
636
+ x
637
+ 8
638
+ sass_dir
639
+ s
640
+ 221
641
+
642
+ # If you prefer the indented syntax, you might want to regenerate this
643
+ # project again passing --syntax sass, or you can uncomment this:
644
+ # preferred_syntax = :sass
645
+ # and then run:
646
+ # sass-convert -R --from scss --to sass
647
+ x
648
+ 4
649
+ to_s
650
+ s
651
+ 37
652
+ scss && rm -rf sass && mv scss sass
653
+
654
+ s
655
+ 0
656
+
657
+ p
658
+ 11
659
+ I
660
+ -1
661
+ I
662
+ 28
663
+ I
664
+ 0
665
+ I
666
+ 29
667
+ I
668
+ 16
669
+ I
670
+ 2a
671
+ I
672
+ 18
673
+ I
674
+ 2f
675
+ I
676
+ 27
677
+ I
678
+ 32
679
+ I
680
+ 2b
681
+ x
682
+ 67
683
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
684
+ p
685
+ 0
686
+ p
687
+ 11
688
+ I
689
+ 2
690
+ I
691
+ 6
692
+ I
693
+ 10
694
+ I
695
+ a
696
+ I
697
+ 1e
698
+ I
699
+ 14
700
+ I
701
+ 2c
702
+ I
703
+ 1e
704
+ I
705
+ 3a
706
+ I
707
+ 28
708
+ I
709
+ 48
710
+ x
711
+ 67
712
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
713
+ p
714
+ 0
715
+ x
716
+ 13
717
+ attach_method
718
+ p
719
+ 3
720
+ I
721
+ 2
722
+ I
723
+ 4
724
+ I
725
+ 1c
726
+ x
727
+ 67
728
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
729
+ p
730
+ 0
731
+ x
732
+ 13
733
+ attach_method
734
+ p
735
+ 3
736
+ I
737
+ 2
738
+ I
739
+ 2
740
+ I
741
+ 1c
742
+ x
743
+ 67
744
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
745
+ p
746
+ 0
747
+ x
748
+ 13
749
+ attach_method
750
+ p
751
+ 3
752
+ I
753
+ 0
754
+ I
755
+ 1
756
+ I
757
+ 1c
758
+ x
759
+ 67
760
+ /Users/chris/Projects/compass/lib/compass/configuration/comments.rb
761
+ p
762
+ 0