haml 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of haml might be problematic. Click here for more details.

Files changed (100) hide show
  1. data/VERSION +1 -1
  2. data/lib/haml.rbc +581 -0
  3. data/lib/haml/buffer.rbc +3992 -0
  4. data/lib/haml/engine.rbc +3753 -0
  5. data/lib/haml/error.rbc +363 -0
  6. data/lib/haml/exec.rb +3 -2
  7. data/lib/haml/filters.rb +7 -1
  8. data/lib/haml/filters.rbc +5719 -0
  9. data/lib/haml/helpers.rbc +7017 -0
  10. data/lib/haml/helpers/action_view_mods.rb +40 -1
  11. data/lib/haml/precompiler.rbc +21418 -0
  12. data/lib/haml/railtie.rbc +508 -0
  13. data/lib/haml/root.rbc +157 -0
  14. data/lib/haml/shared.rbc +1103 -0
  15. data/lib/haml/template.rb +22 -0
  16. data/lib/haml/util.rb +21 -2
  17. data/lib/haml/util.rbc +9071 -0
  18. data/lib/haml/util/subset_map.rbc +1336 -0
  19. data/lib/haml/version.rb +2 -2
  20. data/lib/haml/version.rbc +1639 -0
  21. data/lib/sass.rbc +496 -0
  22. data/lib/sass/callbacks.rbc +407 -0
  23. data/lib/sass/engine.rbc +15109 -0
  24. data/lib/sass/environment.rb +14 -2
  25. data/lib/sass/environment.rbc +1485 -0
  26. data/lib/sass/error.rb +4 -1
  27. data/lib/sass/error.rbc +2641 -0
  28. data/lib/sass/files.rbc +3013 -0
  29. data/lib/sass/less.rbc +11077 -0
  30. data/lib/sass/plugin.rbc +4347 -0
  31. data/lib/sass/plugin/configuration.rbc +1410 -0
  32. data/lib/sass/plugin/rails.rb +7 -6
  33. data/lib/sass/plugin/staleness_checker.rbc +2041 -0
  34. data/lib/sass/script.rbc +1175 -0
  35. data/lib/sass/script/bool.rbc +386 -0
  36. data/lib/sass/script/color.rbc +7998 -0
  37. data/lib/sass/script/css_lexer.rbc +828 -0
  38. data/lib/sass/script/css_parser.rbc +649 -0
  39. data/lib/sass/script/funcall.rbc +1880 -0
  40. data/lib/sass/script/functions.rbc +8329 -0
  41. data/lib/sass/script/interpolation.rb +9 -2
  42. data/lib/sass/script/interpolation.rbc +1140 -0
  43. data/lib/sass/script/lexer.rb +5 -4
  44. data/lib/sass/script/lexer.rbc +7110 -0
  45. data/lib/sass/script/literal.rbc +3275 -0
  46. data/lib/sass/script/node.rbc +1352 -0
  47. data/lib/sass/script/number.rbc +5850 -0
  48. data/lib/sass/script/operation.rbc +1762 -0
  49. data/lib/sass/script/parser.rb +30 -4
  50. data/lib/sass/script/parser.rbc +7386 -0
  51. data/lib/sass/script/string.rbc +1342 -0
  52. data/lib/sass/script/string_interpolation.rbc +1625 -0
  53. data/lib/sass/script/unary_operation.rbc +1141 -0
  54. data/lib/sass/script/variable.rbc +871 -0
  55. data/lib/sass/scss.rbc +256 -0
  56. data/lib/sass/scss/css_parser.rbc +1118 -0
  57. data/lib/sass/scss/parser.rbc +18391 -0
  58. data/lib/sass/scss/rx.rbc +2866 -0
  59. data/lib/sass/scss/sass_parser.rbc +311 -0
  60. data/lib/sass/scss/script_lexer.rbc +466 -0
  61. data/lib/sass/scss/script_parser.rbc +512 -0
  62. data/lib/sass/scss/static_parser.rbc +1295 -0
  63. data/lib/sass/selector.rbc +4208 -0
  64. data/lib/sass/selector/abstract_sequence.rbc +832 -0
  65. data/lib/sass/selector/comma_sequence.rbc +1644 -0
  66. data/lib/sass/selector/sequence.rbc +4772 -0
  67. data/lib/sass/selector/simple.rbc +1561 -0
  68. data/lib/sass/selector/simple_sequence.rbc +2321 -0
  69. data/lib/sass/tree/comment_node.rbc +2418 -0
  70. data/lib/sass/tree/debug_node.rbc +778 -0
  71. data/lib/sass/tree/directive_node.rbc +1281 -0
  72. data/lib/sass/tree/extend_node.rbc +1266 -0
  73. data/lib/sass/tree/for_node.rbc +1150 -0
  74. data/lib/sass/tree/if_node.rbc +1114 -0
  75. data/lib/sass/tree/import_node.rbc +2203 -0
  76. data/lib/sass/tree/mixin_def_node.rbc +1022 -0
  77. data/lib/sass/tree/mixin_node.rb +23 -3
  78. data/lib/sass/tree/mixin_node.rbc +2671 -0
  79. data/lib/sass/tree/node.rbc +5410 -0
  80. data/lib/sass/tree/prop_node.rbc +3883 -0
  81. data/lib/sass/tree/root_node.rbc +2391 -0
  82. data/lib/sass/tree/rule_node.rbc +5507 -0
  83. data/lib/sass/tree/variable_node.rbc +858 -0
  84. data/lib/sass/tree/warn_node.rbc +1051 -0
  85. data/lib/sass/tree/while_node.rbc +740 -0
  86. data/test/haml/engine_test.rbc +30038 -0
  87. data/test/haml/util_test.rb +1 -0
  88. data/test/linked_rails.rb +7 -0
  89. data/test/linked_rails.rbc +638 -0
  90. data/test/sass/engine_test.rb +57 -0
  91. data/test/sass/engine_test.rbc +24953 -0
  92. data/test/sass/extend_test.rbc +8941 -0
  93. data/test/sass/less_conversion_test.rbc +5292 -0
  94. data/test/sass/plugin_test.rb +0 -29
  95. data/test/sass/plugin_test.rbc +10726 -0
  96. data/test/sass/script_conversion_test.rb +43 -0
  97. data/test/sass/script_test.rb +57 -1
  98. data/test/sass/scss/scss_test.rb +0 -48
  99. data/test/test_helper.rbc +1973 -0
  100. metadata +81 -3
@@ -0,0 +1,778 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 31
13
+ 45
14
+ 0
15
+ 1
16
+ 7
17
+ 2
18
+ 65
19
+ 49
20
+ 3
21
+ 2
22
+ 13
23
+ 45
24
+ 0
25
+ 4
26
+ 12
27
+ 7
28
+ 5
29
+ 12
30
+ 7
31
+ 6
32
+ 12
33
+ 65
34
+ 12
35
+ 49
36
+ 7
37
+ 4
38
+ 15
39
+ 48
40
+ 5
41
+ 15
42
+ 2
43
+ 11
44
+ I
45
+ 6
46
+ I
47
+ 0
48
+ I
49
+ 0
50
+ I
51
+ 0
52
+ n
53
+ p
54
+ 8
55
+ x
56
+ 8
57
+ Rubinius
58
+ n
59
+ x
60
+ 4
61
+ Sass
62
+ x
63
+ 11
64
+ open_module
65
+ n
66
+ x
67
+ 15
68
+ __module_init__
69
+ M
70
+ 1
71
+ n
72
+ n
73
+ x
74
+ 4
75
+ Sass
76
+ i
77
+ 31
78
+ 5
79
+ 66
80
+ 45
81
+ 0
82
+ 1
83
+ 7
84
+ 2
85
+ 65
86
+ 49
87
+ 3
88
+ 2
89
+ 13
90
+ 45
91
+ 0
92
+ 4
93
+ 12
94
+ 7
95
+ 5
96
+ 12
97
+ 7
98
+ 6
99
+ 12
100
+ 65
101
+ 12
102
+ 49
103
+ 7
104
+ 4
105
+ 15
106
+ 48
107
+ 5
108
+ 11
109
+ I
110
+ 6
111
+ I
112
+ 0
113
+ I
114
+ 0
115
+ I
116
+ 0
117
+ n
118
+ p
119
+ 8
120
+ x
121
+ 8
122
+ Rubinius
123
+ n
124
+ x
125
+ 4
126
+ Tree
127
+ x
128
+ 11
129
+ open_module
130
+ n
131
+ x
132
+ 15
133
+ __module_init__
134
+ M
135
+ 1
136
+ n
137
+ n
138
+ x
139
+ 4
140
+ Tree
141
+ i
142
+ 34
143
+ 5
144
+ 66
145
+ 45
146
+ 0
147
+ 1
148
+ 7
149
+ 2
150
+ 45
151
+ 3
152
+ 4
153
+ 65
154
+ 49
155
+ 5
156
+ 3
157
+ 13
158
+ 45
159
+ 0
160
+ 6
161
+ 12
162
+ 7
163
+ 7
164
+ 12
165
+ 7
166
+ 8
167
+ 12
168
+ 65
169
+ 12
170
+ 49
171
+ 9
172
+ 4
173
+ 15
174
+ 48
175
+ 7
176
+ 11
177
+ I
178
+ 6
179
+ I
180
+ 0
181
+ I
182
+ 0
183
+ I
184
+ 0
185
+ n
186
+ p
187
+ 10
188
+ x
189
+ 8
190
+ Rubinius
191
+ n
192
+ x
193
+ 9
194
+ DebugNode
195
+ x
196
+ 4
197
+ Node
198
+ n
199
+ x
200
+ 10
201
+ open_class
202
+ n
203
+ x
204
+ 14
205
+ __class_init__
206
+ M
207
+ 1
208
+ n
209
+ n
210
+ x
211
+ 9
212
+ DebugNode
213
+ i
214
+ 52
215
+ 5
216
+ 66
217
+ 45
218
+ 0
219
+ 1
220
+ 7
221
+ 2
222
+ 7
223
+ 3
224
+ 65
225
+ 67
226
+ 48
227
+ 4
228
+ 49
229
+ 5
230
+ 4
231
+ 15
232
+ 5
233
+ 47
234
+ 48
235
+ 6
236
+ 15
237
+ 45
238
+ 0
239
+ 7
240
+ 7
241
+ 8
242
+ 7
243
+ 9
244
+ 65
245
+ 67
246
+ 48
247
+ 4
248
+ 49
249
+ 5
250
+ 4
251
+ 15
252
+ 45
253
+ 0
254
+ 10
255
+ 7
256
+ 11
257
+ 7
258
+ 12
259
+ 65
260
+ 67
261
+ 48
262
+ 4
263
+ 49
264
+ 5
265
+ 4
266
+ 11
267
+ I
268
+ 5
269
+ I
270
+ 0
271
+ I
272
+ 0
273
+ I
274
+ 0
275
+ n
276
+ p
277
+ 13
278
+ x
279
+ 8
280
+ Rubinius
281
+ n
282
+ x
283
+ 10
284
+ initialize
285
+ M
286
+ 1
287
+ n
288
+ n
289
+ x
290
+ 10
291
+ initialize
292
+ i
293
+ 10
294
+ 20
295
+ 0
296
+ 38
297
+ 0
298
+ 15
299
+ 54
300
+ 52
301
+ 1
302
+ 0
303
+ 11
304
+ I
305
+ 2
306
+ I
307
+ 1
308
+ I
309
+ 1
310
+ I
311
+ 1
312
+ n
313
+ p
314
+ 2
315
+ x
316
+ 5
317
+ @expr
318
+ x
319
+ 10
320
+ initialize
321
+ p
322
+ 7
323
+ I
324
+ 0
325
+ I
326
+ 8
327
+ I
328
+ 0
329
+ I
330
+ 9
331
+ I
332
+ 5
333
+ I
334
+ a
335
+ I
336
+ a
337
+ x
338
+ 48
339
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
340
+ p
341
+ 1
342
+ x
343
+ 4
344
+ expr
345
+ x
346
+ 17
347
+ method_visibility
348
+ x
349
+ 15
350
+ add_defn_method
351
+ x
352
+ 9
353
+ protected
354
+ n
355
+ x
356
+ 6
357
+ to_src
358
+ M
359
+ 1
360
+ n
361
+ n
362
+ x
363
+ 6
364
+ to_src
365
+ i
366
+ 38
367
+ 7
368
+ 0
369
+ 64
370
+ 20
371
+ 0
372
+ 49
373
+ 1
374
+ 1
375
+ 47
376
+ 48
377
+ 2
378
+ 7
379
+ 3
380
+ 39
381
+ 4
382
+ 20
383
+ 1
384
+ 49
385
+ 5
386
+ 1
387
+ 47
388
+ 48
389
+ 2
390
+ 5
391
+ 20
392
+ 2
393
+ 47
394
+ 49
395
+ 6
396
+ 1
397
+ 47
398
+ 48
399
+ 2
400
+ 7
401
+ 7
402
+ 63
403
+ 5
404
+ 11
405
+ I
406
+ 8
407
+ I
408
+ 3
409
+ I
410
+ 3
411
+ I
412
+ 3
413
+ n
414
+ p
415
+ 8
416
+ s
417
+ 2
418
+
419
+ x
420
+ 1
421
+ *
422
+ x
423
+ 4
424
+ to_s
425
+ s
426
+ 7
427
+ @debug
428
+ x
429
+ 5
430
+ @expr
431
+ x
432
+ 7
433
+ to_sass
434
+ x
435
+ 4
436
+ semi
437
+ s
438
+ 1
439
+
440
+
441
+ p
442
+ 5
443
+ I
444
+ 0
445
+ I
446
+ 10
447
+ I
448
+ 0
449
+ I
450
+ 11
451
+ I
452
+ 26
453
+ x
454
+ 48
455
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
456
+ p
457
+ 3
458
+ x
459
+ 4
460
+ tabs
461
+ x
462
+ 4
463
+ opts
464
+ x
465
+ 3
466
+ fmt
467
+ n
468
+ x
469
+ 8
470
+ _perform
471
+ M
472
+ 1
473
+ n
474
+ n
475
+ x
476
+ 8
477
+ _perform
478
+ i
479
+ 115
480
+ 39
481
+ 0
482
+ 20
483
+ 0
484
+ 49
485
+ 1
486
+ 1
487
+ 19
488
+ 1
489
+ 15
490
+ 20
491
+ 1
492
+ 45
493
+ 2
494
+ 3
495
+ 43
496
+ 4
497
+ 43
498
+ 5
499
+ 49
500
+ 6
501
+ 1
502
+ 9
503
+ 32
504
+ 20
505
+ 1
506
+ 48
507
+ 7
508
+ 19
509
+ 1
510
+ 8
511
+ 33
512
+ 1
513
+ 15
514
+ 5
515
+ 47
516
+ 48
517
+ 8
518
+ 9
519
+ 80
520
+ 45
521
+ 9
522
+ 10
523
+ 43
524
+ 11
525
+ 7
526
+ 12
527
+ 49
528
+ 13
529
+ 1
530
+ 5
531
+ 47
532
+ 48
533
+ 8
534
+ 47
535
+ 48
536
+ 14
537
+ 7
538
+ 15
539
+ 5
540
+ 47
541
+ 48
542
+ 16
543
+ 47
544
+ 48
545
+ 14
546
+ 7
547
+ 17
548
+ 20
549
+ 1
550
+ 47
551
+ 48
552
+ 14
553
+ 63
554
+ 5
555
+ 49
556
+ 18
557
+ 1
558
+ 8
559
+ 111
560
+ 45
561
+ 9
562
+ 19
563
+ 43
564
+ 11
565
+ 7
566
+ 12
567
+ 49
568
+ 13
569
+ 1
570
+ 7
571
+ 20
572
+ 5
573
+ 47
574
+ 48
575
+ 16
576
+ 47
577
+ 48
578
+ 14
579
+ 7
580
+ 17
581
+ 20
582
+ 1
583
+ 47
584
+ 48
585
+ 14
586
+ 63
587
+ 4
588
+ 49
589
+ 18
590
+ 1
591
+ 15
592
+ 35
593
+ 0
594
+ 11
595
+ I
596
+ 8
597
+ I
598
+ 2
599
+ I
600
+ 1
601
+ I
602
+ 1
603
+ n
604
+ p
605
+ 21
606
+ x
607
+ 5
608
+ @expr
609
+ x
610
+ 7
611
+ perform
612
+ x
613
+ 4
614
+ Sass
615
+ n
616
+ x
617
+ 6
618
+ Script
619
+ x
620
+ 6
621
+ String
622
+ x
623
+ 5
624
+ is_a?
625
+ x
626
+ 5
627
+ value
628
+ x
629
+ 8
630
+ filename
631
+ x
632
+ 8
633
+ Rubinius
634
+ n
635
+ x
636
+ 7
637
+ Globals
638
+ x
639
+ 7
640
+ $stderr
641
+ x
642
+ 2
643
+ []
644
+ x
645
+ 4
646
+ to_s
647
+ s
648
+ 1
649
+ :
650
+ x
651
+ 4
652
+ line
653
+ s
654
+ 8
655
+ DEBUG:
656
+ x
657
+ 4
658
+ puts
659
+ n
660
+ s
661
+ 5
662
+ Line
663
+ p
664
+ 15
665
+ I
666
+ 0
667
+ I
668
+ 18
669
+ I
670
+ 0
671
+ I
672
+ 19
673
+ I
674
+ a
675
+ I
676
+ 1a
677
+ I
678
+ 22
679
+ I
680
+ 1b
681
+ I
682
+ 28
683
+ I
684
+ 1c
685
+ I
686
+ 50
687
+ I
688
+ 1e
689
+ I
690
+ 70
691
+ I
692
+ 20
693
+ I
694
+ 73
695
+ x
696
+ 48
697
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
698
+ p
699
+ 2
700
+ x
701
+ 11
702
+ environment
703
+ x
704
+ 3
705
+ res
706
+ p
707
+ 9
708
+ I
709
+ 2
710
+ I
711
+ 8
712
+ I
713
+ 11
714
+ I
715
+ d
716
+ I
717
+ 16
718
+ I
719
+ 10
720
+ I
721
+ 25
722
+ I
723
+ 18
724
+ I
725
+ 34
726
+ x
727
+ 48
728
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
729
+ p
730
+ 0
731
+ x
732
+ 13
733
+ attach_method
734
+ p
735
+ 3
736
+ I
737
+ 2
738
+ I
739
+ 6
740
+ I
741
+ 22
742
+ x
743
+ 48
744
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
745
+ p
746
+ 0
747
+ x
748
+ 13
749
+ attach_method
750
+ p
751
+ 3
752
+ I
753
+ 2
754
+ I
755
+ 2
756
+ I
757
+ 1f
758
+ x
759
+ 48
760
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
761
+ p
762
+ 0
763
+ x
764
+ 13
765
+ attach_method
766
+ p
767
+ 3
768
+ I
769
+ 0
770
+ I
771
+ 1
772
+ I
773
+ 1f
774
+ x
775
+ 48
776
+ /home/nex3/code/haml/lib/sass/tree/debug_node.rb
777
+ p
778
+ 0