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,731 @@
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
+ 31
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 45
133
+ 1
134
+ 2
135
+ 65
136
+ 49
137
+ 3
138
+ 3
139
+ 13
140
+ 99
141
+ 12
142
+ 7
143
+ 4
144
+ 12
145
+ 7
146
+ 5
147
+ 12
148
+ 65
149
+ 12
150
+ 49
151
+ 6
152
+ 4
153
+ 15
154
+ 49
155
+ 4
156
+ 0
157
+ 11
158
+ I
159
+ 6
160
+ I
161
+ 0
162
+ I
163
+ 0
164
+ I
165
+ 0
166
+ n
167
+ p
168
+ 7
169
+ x
170
+ 8
171
+ FileData
172
+ x
173
+ 4
174
+ Data
175
+ n
176
+ x
177
+ 10
178
+ open_class
179
+ x
180
+ 14
181
+ __class_init__
182
+ M
183
+ 1
184
+ n
185
+ n
186
+ x
187
+ 8
188
+ FileData
189
+ i
190
+ 67
191
+ 5
192
+ 66
193
+ 5
194
+ 45
195
+ 0
196
+ 1
197
+ 43
198
+ 2
199
+ 47
200
+ 49
201
+ 3
202
+ 1
203
+ 15
204
+ 5
205
+ 7
206
+ 4
207
+ 47
208
+ 49
209
+ 5
210
+ 1
211
+ 15
212
+ 5
213
+ 7
214
+ 6
215
+ 47
216
+ 49
217
+ 5
218
+ 1
219
+ 15
220
+ 5
221
+ 7
222
+ 7
223
+ 47
224
+ 49
225
+ 5
226
+ 1
227
+ 15
228
+ 5
229
+ 7
230
+ 8
231
+ 47
232
+ 49
233
+ 5
234
+ 1
235
+ 15
236
+ 99
237
+ 7
238
+ 9
239
+ 7
240
+ 10
241
+ 65
242
+ 5
243
+ 49
244
+ 11
245
+ 4
246
+ 15
247
+ 99
248
+ 7
249
+ 12
250
+ 7
251
+ 13
252
+ 65
253
+ 5
254
+ 49
255
+ 11
256
+ 4
257
+ 11
258
+ I
259
+ 5
260
+ I
261
+ 0
262
+ I
263
+ 0
264
+ I
265
+ 0
266
+ n
267
+ p
268
+ 14
269
+ x
270
+ 4
271
+ Sass
272
+ n
273
+ x
274
+ 9
275
+ Callbacks
276
+ x
277
+ 6
278
+ extend
279
+ x
280
+ 12
281
+ sprite_saved
282
+ x
283
+ 15
284
+ define_callback
285
+ x
286
+ 16
287
+ sprite_generated
288
+ x
289
+ 16
290
+ stylesheet_saved
291
+ x
292
+ 16
293
+ stylesheet_error
294
+ x
295
+ 13
296
+ new_from_file
297
+ M
298
+ 1
299
+ n
300
+ n
301
+ x
302
+ 13
303
+ new_from_file
304
+ i
305
+ 51
306
+ 23
307
+ 1
308
+ 10
309
+ 8
310
+ 1
311
+ 19
312
+ 1
313
+ 15
314
+ 5
315
+ 13
316
+ 72
317
+ 0
318
+ 47
319
+ 9
320
+ 29
321
+ 47
322
+ 49
323
+ 1
324
+ 0
325
+ 13
326
+ 20
327
+ 0
328
+ 47
329
+ 49
330
+ 2
331
+ 1
332
+ 15
333
+ 8
334
+ 35
335
+ 20
336
+ 0
337
+ 47
338
+ 49
339
+ 0
340
+ 1
341
+ 19
342
+ 2
343
+ 15
344
+ 20
345
+ 2
346
+ 20
347
+ 1
348
+ 56
349
+ 3
350
+ 50
351
+ 4
352
+ 1
353
+ 15
354
+ 20
355
+ 2
356
+ 11
357
+ I
358
+ 6
359
+ I
360
+ 3
361
+ I
362
+ 1
363
+ I
364
+ 2
365
+ n
366
+ p
367
+ 5
368
+ x
369
+ 3
370
+ new
371
+ x
372
+ 8
373
+ allocate
374
+ x
375
+ 10
376
+ initialize
377
+ M
378
+ 1
379
+ p
380
+ 2
381
+ x
382
+ 9
383
+ for_block
384
+ t
385
+ n
386
+ x
387
+ 13
388
+ new_from_file
389
+ i
390
+ 10
391
+ 21
392
+ 1
393
+ 2
394
+ 21
395
+ 1
396
+ 0
397
+ 49
398
+ 0
399
+ 1
400
+ 11
401
+ I
402
+ 3
403
+ I
404
+ 0
405
+ I
406
+ 0
407
+ I
408
+ 0
409
+ I
410
+ -2
411
+ p
412
+ 1
413
+ x
414
+ 6
415
+ _parse
416
+ p
417
+ 3
418
+ I
419
+ 0
420
+ I
421
+ 1d
422
+ I
423
+ a
424
+ x
425
+ 68
426
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
427
+ p
428
+ 0
429
+ x
430
+ 13
431
+ with_defaults
432
+ p
433
+ 9
434
+ I
435
+ -1
436
+ I
437
+ 1a
438
+ I
439
+ 8
440
+ I
441
+ 1b
442
+ I
443
+ 26
444
+ I
445
+ 1c
446
+ I
447
+ 30
448
+ I
449
+ 1f
450
+ I
451
+ 33
452
+ x
453
+ 68
454
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
455
+ p
456
+ 3
457
+ x
458
+ 11
459
+ config_file
460
+ x
461
+ 8
462
+ defaults
463
+ x
464
+ 4
465
+ data
466
+ x
467
+ 13
468
+ attach_method
469
+ x
470
+ 15
471
+ new_from_string
472
+ M
473
+ 1
474
+ n
475
+ n
476
+ x
477
+ 15
478
+ new_from_string
479
+ i
480
+ 51
481
+ 23
482
+ 2
483
+ 10
484
+ 8
485
+ 1
486
+ 19
487
+ 2
488
+ 15
489
+ 5
490
+ 13
491
+ 72
492
+ 0
493
+ 47
494
+ 9
495
+ 29
496
+ 47
497
+ 49
498
+ 1
499
+ 0
500
+ 13
501
+ 20
502
+ 1
503
+ 47
504
+ 49
505
+ 2
506
+ 1
507
+ 15
508
+ 8
509
+ 35
510
+ 20
511
+ 1
512
+ 47
513
+ 49
514
+ 0
515
+ 1
516
+ 19
517
+ 3
518
+ 15
519
+ 20
520
+ 3
521
+ 20
522
+ 2
523
+ 56
524
+ 3
525
+ 50
526
+ 4
527
+ 1
528
+ 15
529
+ 20
530
+ 3
531
+ 11
532
+ I
533
+ 7
534
+ I
535
+ 4
536
+ I
537
+ 2
538
+ I
539
+ 3
540
+ n
541
+ p
542
+ 5
543
+ x
544
+ 3
545
+ new
546
+ x
547
+ 8
548
+ allocate
549
+ x
550
+ 10
551
+ initialize
552
+ M
553
+ 1
554
+ p
555
+ 2
556
+ x
557
+ 9
558
+ for_block
559
+ t
560
+ n
561
+ x
562
+ 15
563
+ new_from_string
564
+ i
565
+ 13
566
+ 21
567
+ 1
568
+ 3
569
+ 21
570
+ 1
571
+ 0
572
+ 21
573
+ 1
574
+ 1
575
+ 49
576
+ 0
577
+ 2
578
+ 11
579
+ I
580
+ 4
581
+ I
582
+ 0
583
+ I
584
+ 0
585
+ I
586
+ 0
587
+ I
588
+ -2
589
+ p
590
+ 1
591
+ x
592
+ 12
593
+ parse_string
594
+ p
595
+ 3
596
+ I
597
+ 0
598
+ I
599
+ 25
600
+ I
601
+ d
602
+ x
603
+ 68
604
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
605
+ p
606
+ 0
607
+ x
608
+ 13
609
+ with_defaults
610
+ p
611
+ 9
612
+ I
613
+ -1
614
+ I
615
+ 22
616
+ I
617
+ 8
618
+ I
619
+ 23
620
+ I
621
+ 26
622
+ I
623
+ 24
624
+ I
625
+ 30
626
+ I
627
+ 27
628
+ I
629
+ 33
630
+ x
631
+ 68
632
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
633
+ p
634
+ 4
635
+ x
636
+ 8
637
+ contents
638
+ x
639
+ 8
640
+ filename
641
+ x
642
+ 8
643
+ defaults
644
+ x
645
+ 4
646
+ data
647
+ p
648
+ 15
649
+ I
650
+ 2
651
+ I
652
+ 4
653
+ I
654
+ d
655
+ I
656
+ 9
657
+ I
658
+ 15
659
+ I
660
+ e
661
+ I
662
+ 1d
663
+ I
664
+ 13
665
+ I
666
+ 25
667
+ I
668
+ 18
669
+ I
670
+ 2d
671
+ I
672
+ 1a
673
+ I
674
+ 38
675
+ I
676
+ 22
677
+ I
678
+ 43
679
+ x
680
+ 68
681
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
682
+ p
683
+ 0
684
+ x
685
+ 13
686
+ attach_method
687
+ p
688
+ 3
689
+ I
690
+ 2
691
+ I
692
+ 3
693
+ I
694
+ 1f
695
+ x
696
+ 68
697
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
698
+ p
699
+ 0
700
+ x
701
+ 13
702
+ attach_method
703
+ p
704
+ 3
705
+ I
706
+ 2
707
+ I
708
+ 2
709
+ I
710
+ 1c
711
+ x
712
+ 68
713
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
714
+ p
715
+ 0
716
+ x
717
+ 13
718
+ attach_method
719
+ p
720
+ 3
721
+ I
722
+ 0
723
+ I
724
+ 1
725
+ I
726
+ 1c
727
+ x
728
+ 68
729
+ /Users/chris/Projects/compass/lib/compass/configuration/file_data.rb
730
+ p
731
+ 0