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