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,589 @@
1
+ !RBIX
2
+ 333337424968067900
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 42
13
+ 7
14
+ 0
15
+ 64
16
+ 7
17
+ 1
18
+ 64
19
+ 35
20
+ 2
21
+ 56
22
+ 2
23
+ 50
24
+ 3
25
+ 0
26
+ 15
27
+ 99
28
+ 7
29
+ 4
30
+ 65
31
+ 49
32
+ 5
33
+ 2
34
+ 13
35
+ 99
36
+ 12
37
+ 7
38
+ 6
39
+ 12
40
+ 7
41
+ 7
42
+ 12
43
+ 65
44
+ 12
45
+ 49
46
+ 8
47
+ 4
48
+ 15
49
+ 49
50
+ 6
51
+ 0
52
+ 15
53
+ 2
54
+ 11
55
+ I
56
+ 6
57
+ I
58
+ 0
59
+ I
60
+ 0
61
+ I
62
+ 0
63
+ n
64
+ p
65
+ 9
66
+ s
67
+ 22
68
+ configuration_defaults
69
+ s
70
+ 9
71
+ installer
72
+ M
73
+ 1
74
+ p
75
+ 2
76
+ x
77
+ 9
78
+ for_block
79
+ t
80
+ n
81
+ x
82
+ 9
83
+ __block__
84
+ i
85
+ 19
86
+ 57
87
+ 19
88
+ 0
89
+ 15
90
+ 5
91
+ 7
92
+ 0
93
+ 20
94
+ 0
95
+ 47
96
+ 101
97
+ 1
98
+ 63
99
+ 2
100
+ 47
101
+ 49
102
+ 2
103
+ 1
104
+ 11
105
+ I
106
+ 5
107
+ I
108
+ 1
109
+ I
110
+ 1
111
+ I
112
+ 1
113
+ n
114
+ p
115
+ 3
116
+ s
117
+ 36
118
+ compass/app_integration/stand_alone/
119
+ x
120
+ 4
121
+ to_s
122
+ x
123
+ 7
124
+ require
125
+ p
126
+ 5
127
+ I
128
+ 0
129
+ I
130
+ 1
131
+ I
132
+ 4
133
+ I
134
+ 2
135
+ I
136
+ 13
137
+ x
138
+ 72
139
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
140
+ p
141
+ 1
142
+ x
143
+ 3
144
+ lib
145
+ x
146
+ 4
147
+ each
148
+ x
149
+ 7
150
+ Compass
151
+ x
152
+ 11
153
+ open_module
154
+ x
155
+ 15
156
+ __module_init__
157
+ M
158
+ 1
159
+ n
160
+ n
161
+ x
162
+ 7
163
+ Compass
164
+ i
165
+ 28
166
+ 5
167
+ 66
168
+ 99
169
+ 7
170
+ 0
171
+ 65
172
+ 49
173
+ 1
174
+ 2
175
+ 13
176
+ 99
177
+ 12
178
+ 7
179
+ 2
180
+ 12
181
+ 7
182
+ 3
183
+ 12
184
+ 65
185
+ 12
186
+ 49
187
+ 4
188
+ 4
189
+ 15
190
+ 49
191
+ 2
192
+ 0
193
+ 11
194
+ I
195
+ 6
196
+ I
197
+ 0
198
+ I
199
+ 0
200
+ I
201
+ 0
202
+ n
203
+ p
204
+ 5
205
+ x
206
+ 14
207
+ AppIntegration
208
+ x
209
+ 11
210
+ open_module
211
+ x
212
+ 15
213
+ __module_init__
214
+ M
215
+ 1
216
+ n
217
+ n
218
+ x
219
+ 14
220
+ AppIntegration
221
+ i
222
+ 28
223
+ 5
224
+ 66
225
+ 99
226
+ 7
227
+ 0
228
+ 65
229
+ 49
230
+ 1
231
+ 2
232
+ 13
233
+ 99
234
+ 12
235
+ 7
236
+ 2
237
+ 12
238
+ 7
239
+ 3
240
+ 12
241
+ 65
242
+ 12
243
+ 49
244
+ 4
245
+ 4
246
+ 15
247
+ 49
248
+ 2
249
+ 0
250
+ 11
251
+ I
252
+ 6
253
+ I
254
+ 0
255
+ I
256
+ 0
257
+ I
258
+ 0
259
+ n
260
+ p
261
+ 5
262
+ x
263
+ 10
264
+ StandAlone
265
+ x
266
+ 11
267
+ open_module
268
+ x
269
+ 15
270
+ __module_init__
271
+ M
272
+ 1
273
+ n
274
+ n
275
+ x
276
+ 10
277
+ StandAlone
278
+ i
279
+ 37
280
+ 5
281
+ 66
282
+ 5
283
+ 5
284
+ 47
285
+ 49
286
+ 0
287
+ 1
288
+ 15
289
+ 99
290
+ 7
291
+ 1
292
+ 7
293
+ 2
294
+ 65
295
+ 67
296
+ 49
297
+ 3
298
+ 0
299
+ 49
300
+ 4
301
+ 4
302
+ 15
303
+ 99
304
+ 7
305
+ 5
306
+ 7
307
+ 6
308
+ 65
309
+ 67
310
+ 49
311
+ 3
312
+ 0
313
+ 49
314
+ 4
315
+ 4
316
+ 11
317
+ I
318
+ 5
319
+ I
320
+ 0
321
+ I
322
+ 0
323
+ I
324
+ 0
325
+ n
326
+ p
327
+ 7
328
+ x
329
+ 6
330
+ extend
331
+ x
332
+ 9
333
+ installer
334
+ M
335
+ 1
336
+ n
337
+ n
338
+ x
339
+ 9
340
+ installer
341
+ i
342
+ 11
343
+ 45
344
+ 0
345
+ 1
346
+ 20
347
+ 0
348
+ 36
349
+ 1
350
+ 51
351
+ 2
352
+ 0
353
+ 11
354
+ I
355
+ 4
356
+ I
357
+ 1
358
+ I
359
+ 0
360
+ I
361
+ 0
362
+ I
363
+ 0
364
+ p
365
+ 3
366
+ x
367
+ 9
368
+ Installer
369
+ n
370
+ x
371
+ 3
372
+ new
373
+ p
374
+ 5
375
+ I
376
+ -1
377
+ I
378
+ b
379
+ I
380
+ 0
381
+ I
382
+ c
383
+ I
384
+ b
385
+ x
386
+ 72
387
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
388
+ p
389
+ 1
390
+ x
391
+ 4
392
+ args
393
+ x
394
+ 17
395
+ method_visibility
396
+ x
397
+ 15
398
+ add_defn_method
399
+ x
400
+ 13
401
+ configuration
402
+ M
403
+ 1
404
+ n
405
+ n
406
+ x
407
+ 13
408
+ configuration
409
+ i
410
+ 41
411
+ 45
412
+ 0
413
+ 1
414
+ 43
415
+ 2
416
+ 43
417
+ 3
418
+ 13
419
+ 71
420
+ 4
421
+ 47
422
+ 9
423
+ 28
424
+ 47
425
+ 49
426
+ 5
427
+ 0
428
+ 13
429
+ 7
430
+ 6
431
+ 64
432
+ 47
433
+ 49
434
+ 7
435
+ 1
436
+ 15
437
+ 8
438
+ 34
439
+ 7
440
+ 6
441
+ 64
442
+ 49
443
+ 4
444
+ 1
445
+ 45
446
+ 8
447
+ 9
448
+ 49
449
+ 10
450
+ 1
451
+ 11
452
+ I
453
+ 3
454
+ I
455
+ 0
456
+ I
457
+ 0
458
+ I
459
+ 0
460
+ n
461
+ p
462
+ 11
463
+ x
464
+ 7
465
+ Compass
466
+ n
467
+ x
468
+ 13
469
+ Configuration
470
+ x
471
+ 4
472
+ Data
473
+ x
474
+ 3
475
+ new
476
+ x
477
+ 8
478
+ allocate
479
+ s
480
+ 11
481
+ stand_alone
482
+ x
483
+ 10
484
+ initialize
485
+ x
486
+ 21
487
+ ConfigurationDefaults
488
+ n
489
+ x
490
+ 6
491
+ extend
492
+ p
493
+ 9
494
+ I
495
+ -1
496
+ I
497
+ f
498
+ I
499
+ 0
500
+ I
501
+ 10
502
+ I
503
+ 22
504
+ I
505
+ 11
506
+ I
507
+ 25
508
+ I
509
+ 10
510
+ I
511
+ 29
512
+ x
513
+ 72
514
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
515
+ p
516
+ 0
517
+ p
518
+ 7
519
+ I
520
+ 2
521
+ I
522
+ 9
523
+ I
524
+ 9
525
+ I
526
+ b
527
+ I
528
+ 17
529
+ I
530
+ f
531
+ I
532
+ 25
533
+ x
534
+ 72
535
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
536
+ p
537
+ 0
538
+ x
539
+ 13
540
+ attach_method
541
+ p
542
+ 3
543
+ I
544
+ 2
545
+ I
546
+ 7
547
+ I
548
+ 1c
549
+ x
550
+ 72
551
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
552
+ p
553
+ 0
554
+ x
555
+ 13
556
+ attach_method
557
+ p
558
+ 3
559
+ I
560
+ 2
561
+ I
562
+ 6
563
+ I
564
+ 1c
565
+ x
566
+ 72
567
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
568
+ p
569
+ 0
570
+ x
571
+ 13
572
+ attach_method
573
+ p
574
+ 5
575
+ I
576
+ 0
577
+ I
578
+ 1
579
+ I
580
+ e
581
+ I
582
+ 5
583
+ I
584
+ 2a
585
+ x
586
+ 72
587
+ /Users/chris/Projects/compass/lib/compass/app_integration/stand_alone.rb
588
+ p
589
+ 0