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