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,832 @@
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
+ 8
126
+ Selector
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
+ 8
140
+ Selector
141
+ i
142
+ 32
143
+ 5
144
+ 66
145
+ 45
146
+ 0
147
+ 1
148
+ 7
149
+ 2
150
+ 1
151
+ 65
152
+ 49
153
+ 3
154
+ 3
155
+ 13
156
+ 45
157
+ 0
158
+ 4
159
+ 12
160
+ 7
161
+ 5
162
+ 12
163
+ 7
164
+ 6
165
+ 12
166
+ 65
167
+ 12
168
+ 49
169
+ 7
170
+ 4
171
+ 15
172
+ 48
173
+ 5
174
+ 11
175
+ I
176
+ 6
177
+ I
178
+ 0
179
+ I
180
+ 0
181
+ I
182
+ 0
183
+ n
184
+ p
185
+ 8
186
+ x
187
+ 8
188
+ Rubinius
189
+ n
190
+ x
191
+ 16
192
+ AbstractSequence
193
+ x
194
+ 10
195
+ open_class
196
+ n
197
+ x
198
+ 14
199
+ __class_init__
200
+ M
201
+ 1
202
+ n
203
+ n
204
+ x
205
+ 16
206
+ AbstractSequence
207
+ i
208
+ 88
209
+ 5
210
+ 66
211
+ 5
212
+ 7
213
+ 0
214
+ 47
215
+ 49
216
+ 1
217
+ 1
218
+ 15
219
+ 5
220
+ 7
221
+ 2
222
+ 47
223
+ 49
224
+ 1
225
+ 1
226
+ 15
227
+ 45
228
+ 3
229
+ 4
230
+ 7
231
+ 5
232
+ 7
233
+ 6
234
+ 65
235
+ 67
236
+ 48
237
+ 7
238
+ 49
239
+ 8
240
+ 4
241
+ 15
242
+ 45
243
+ 3
244
+ 9
245
+ 7
246
+ 10
247
+ 7
248
+ 11
249
+ 65
250
+ 67
251
+ 48
252
+ 7
253
+ 49
254
+ 8
255
+ 4
256
+ 15
257
+ 45
258
+ 3
259
+ 12
260
+ 7
261
+ 13
262
+ 7
263
+ 14
264
+ 65
265
+ 67
266
+ 48
267
+ 7
268
+ 49
269
+ 8
270
+ 4
271
+ 15
272
+ 45
273
+ 3
274
+ 15
275
+ 7
276
+ 16
277
+ 7
278
+ 17
279
+ 65
280
+ 67
281
+ 48
282
+ 7
283
+ 49
284
+ 8
285
+ 4
286
+ 15
287
+ 5
288
+ 7
289
+ 18
290
+ 7
291
+ 16
292
+ 47
293
+ 49
294
+ 19
295
+ 2
296
+ 11
297
+ I
298
+ 5
299
+ I
300
+ 0
301
+ I
302
+ 0
303
+ I
304
+ 0
305
+ n
306
+ p
307
+ 20
308
+ x
309
+ 4
310
+ line
311
+ x
312
+ 11
313
+ attr_reader
314
+ x
315
+ 8
316
+ filename
317
+ x
318
+ 8
319
+ Rubinius
320
+ n
321
+ x
322
+ 5
323
+ line=
324
+ M
325
+ 1
326
+ n
327
+ n
328
+ x
329
+ 5
330
+ line=
331
+ i
332
+ 15
333
+ 5
334
+ 47
335
+ 48
336
+ 0
337
+ 56
338
+ 1
339
+ 50
340
+ 2
341
+ 0
342
+ 15
343
+ 20
344
+ 0
345
+ 38
346
+ 3
347
+ 11
348
+ I
349
+ 3
350
+ I
351
+ 1
352
+ I
353
+ 1
354
+ I
355
+ 1
356
+ n
357
+ p
358
+ 4
359
+ x
360
+ 7
361
+ members
362
+ M
363
+ 1
364
+ p
365
+ 2
366
+ x
367
+ 9
368
+ for_block
369
+ t
370
+ n
371
+ x
372
+ 5
373
+ line=
374
+ i
375
+ 17
376
+ 57
377
+ 19
378
+ 0
379
+ 15
380
+ 20
381
+ 0
382
+ 21
383
+ 1
384
+ 0
385
+ 13
386
+ 18
387
+ 2
388
+ 49
389
+ 0
390
+ 1
391
+ 15
392
+ 11
393
+ I
394
+ 5
395
+ I
396
+ 1
397
+ I
398
+ 1
399
+ I
400
+ 1
401
+ n
402
+ p
403
+ 1
404
+ x
405
+ 5
406
+ line=
407
+ p
408
+ 3
409
+ I
410
+ 0
411
+ I
412
+ 18
413
+ I
414
+ 11
415
+ x
416
+ 59
417
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
418
+ p
419
+ 1
420
+ x
421
+ 1
422
+ m
423
+ x
424
+ 4
425
+ each
426
+ x
427
+ 5
428
+ @line
429
+ p
430
+ 7
431
+ I
432
+ 0
433
+ I
434
+ 17
435
+ I
436
+ 0
437
+ I
438
+ 18
439
+ I
440
+ a
441
+ I
442
+ 19
443
+ I
444
+ f
445
+ x
446
+ 59
447
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
448
+ p
449
+ 1
450
+ x
451
+ 4
452
+ line
453
+ x
454
+ 17
455
+ method_visibility
456
+ x
457
+ 15
458
+ add_defn_method
459
+ n
460
+ x
461
+ 9
462
+ filename=
463
+ M
464
+ 1
465
+ n
466
+ n
467
+ x
468
+ 9
469
+ filename=
470
+ i
471
+ 15
472
+ 5
473
+ 47
474
+ 48
475
+ 0
476
+ 56
477
+ 1
478
+ 50
479
+ 2
480
+ 0
481
+ 15
482
+ 20
483
+ 0
484
+ 38
485
+ 3
486
+ 11
487
+ I
488
+ 3
489
+ I
490
+ 1
491
+ I
492
+ 1
493
+ I
494
+ 1
495
+ n
496
+ p
497
+ 4
498
+ x
499
+ 7
500
+ members
501
+ M
502
+ 1
503
+ p
504
+ 2
505
+ x
506
+ 9
507
+ for_block
508
+ t
509
+ n
510
+ x
511
+ 9
512
+ filename=
513
+ i
514
+ 17
515
+ 57
516
+ 19
517
+ 0
518
+ 15
519
+ 20
520
+ 0
521
+ 21
522
+ 1
523
+ 0
524
+ 13
525
+ 18
526
+ 2
527
+ 49
528
+ 0
529
+ 1
530
+ 15
531
+ 11
532
+ I
533
+ 5
534
+ I
535
+ 1
536
+ I
537
+ 1
538
+ I
539
+ 1
540
+ n
541
+ p
542
+ 1
543
+ x
544
+ 9
545
+ filename=
546
+ p
547
+ 3
548
+ I
549
+ 0
550
+ I
551
+ 23
552
+ I
553
+ 11
554
+ x
555
+ 59
556
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
557
+ p
558
+ 1
559
+ x
560
+ 1
561
+ m
562
+ x
563
+ 4
564
+ each
565
+ x
566
+ 9
567
+ @filename
568
+ p
569
+ 7
570
+ I
571
+ 0
572
+ I
573
+ 22
574
+ I
575
+ 0
576
+ I
577
+ 23
578
+ I
579
+ a
580
+ I
581
+ 24
582
+ I
583
+ f
584
+ x
585
+ 59
586
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
587
+ p
588
+ 1
589
+ x
590
+ 8
591
+ filename
592
+ n
593
+ x
594
+ 4
595
+ hash
596
+ M
597
+ 1
598
+ n
599
+ n
600
+ x
601
+ 4
602
+ hash
603
+ i
604
+ 13
605
+ 39
606
+ 0
607
+ 13
608
+ 10
609
+ 12
610
+ 15
611
+ 5
612
+ 47
613
+ 48
614
+ 1
615
+ 38
616
+ 0
617
+ 11
618
+ I
619
+ 2
620
+ I
621
+ 0
622
+ I
623
+ 0
624
+ I
625
+ 0
626
+ n
627
+ p
628
+ 2
629
+ x
630
+ 6
631
+ @_hash
632
+ x
633
+ 5
634
+ _hash
635
+ p
636
+ 5
637
+ I
638
+ 0
639
+ I
640
+ 2d
641
+ I
642
+ 0
643
+ I
644
+ 2e
645
+ I
646
+ d
647
+ x
648
+ 59
649
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
650
+ p
651
+ 0
652
+ n
653
+ x
654
+ 4
655
+ eql?
656
+ M
657
+ 1
658
+ n
659
+ n
660
+ x
661
+ 4
662
+ eql?
663
+ i
664
+ 34
665
+ 20
666
+ 0
667
+ 48
668
+ 0
669
+ 5
670
+ 48
671
+ 0
672
+ 83
673
+ 1
674
+ 13
675
+ 9
676
+ 33
677
+ 15
678
+ 20
679
+ 0
680
+ 48
681
+ 2
682
+ 5
683
+ 48
684
+ 2
685
+ 83
686
+ 1
687
+ 13
688
+ 9
689
+ 33
690
+ 15
691
+ 5
692
+ 20
693
+ 0
694
+ 47
695
+ 49
696
+ 3
697
+ 1
698
+ 11
699
+ I
700
+ 3
701
+ I
702
+ 1
703
+ I
704
+ 1
705
+ I
706
+ 1
707
+ n
708
+ p
709
+ 4
710
+ x
711
+ 5
712
+ class
713
+ x
714
+ 2
715
+ ==
716
+ x
717
+ 4
718
+ hash
719
+ x
720
+ 5
721
+ _eql?
722
+ p
723
+ 5
724
+ I
725
+ 0
726
+ I
727
+ 38
728
+ I
729
+ 0
730
+ I
731
+ 39
732
+ I
733
+ 22
734
+ x
735
+ 59
736
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
737
+ p
738
+ 1
739
+ x
740
+ 5
741
+ other
742
+ x
743
+ 2
744
+ ==
745
+ x
746
+ 12
747
+ alias_method
748
+ p
749
+ 15
750
+ I
751
+ 2
752
+ I
753
+ b
754
+ I
755
+ a
756
+ I
757
+ 10
758
+ I
759
+ 12
760
+ I
761
+ 17
762
+ I
763
+ 21
764
+ I
765
+ 22
766
+ I
767
+ 30
768
+ I
769
+ 2d
770
+ I
771
+ 3f
772
+ I
773
+ 38
774
+ I
775
+ 4e
776
+ I
777
+ 3b
778
+ I
779
+ 58
780
+ x
781
+ 59
782
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
783
+ p
784
+ 0
785
+ x
786
+ 13
787
+ attach_method
788
+ p
789
+ 3
790
+ I
791
+ 2
792
+ I
793
+ 7
794
+ I
795
+ 20
796
+ x
797
+ 59
798
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
799
+ p
800
+ 0
801
+ x
802
+ 13
803
+ attach_method
804
+ p
805
+ 3
806
+ I
807
+ 2
808
+ I
809
+ 2
810
+ I
811
+ 1f
812
+ x
813
+ 59
814
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
815
+ p
816
+ 0
817
+ x
818
+ 13
819
+ attach_method
820
+ p
821
+ 3
822
+ I
823
+ 0
824
+ I
825
+ 1
826
+ I
827
+ 1f
828
+ x
829
+ 59
830
+ /home/nex3/code/haml/lib/sass/selector/abstract_sequence.rb
831
+ p
832
+ 0