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,1051 @@
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
+ 8
194
+ WarnNode
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
+ 8
212
+ WarnNode
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
+ 47
339
+ /home/nex3/code/haml/lib/sass/tree/warn_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
+ 6
427
+ @warn
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
+ 47
455
+ /home/nex3/code/haml/lib/sass/tree/warn_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
+ 132
480
+ 29
481
+ 118
482
+ 1
483
+ 26
484
+ 93
485
+ 0
486
+ 15
487
+ 20
488
+ 0
489
+ 44
490
+ 43
491
+ 0
492
+ 80
493
+ 49
494
+ 1
495
+ 1
496
+ 13
497
+ 7
498
+ 2
499
+ 5
500
+ 47
501
+ 48
502
+ 2
503
+ 49
504
+ 3
505
+ 2
506
+ 15
507
+ 13
508
+ 7
509
+ 4
510
+ 5
511
+ 47
512
+ 48
513
+ 4
514
+ 49
515
+ 3
516
+ 2
517
+ 15
518
+ 49
519
+ 5
520
+ 1
521
+ 15
522
+ 39
523
+ 6
524
+ 20
525
+ 0
526
+ 49
527
+ 7
528
+ 1
529
+ 19
530
+ 1
531
+ 15
532
+ 20
533
+ 1
534
+ 45
535
+ 8
536
+ 9
537
+ 43
538
+ 10
539
+ 43
540
+ 11
541
+ 49
542
+ 12
543
+ 1
544
+ 9
545
+ 74
546
+ 20
547
+ 1
548
+ 48
549
+ 13
550
+ 19
551
+ 1
552
+ 8
553
+ 75
554
+ 1
555
+ 15
556
+ 7
557
+ 14
558
+ 20
559
+ 1
560
+ 47
561
+ 48
562
+ 15
563
+ 7
564
+ 16
565
+ 63
566
+ 3
567
+ 19
568
+ 2
569
+ 15
570
+ 20
571
+ 0
572
+ 48
573
+ 17
574
+ 48
575
+ 18
576
+ 56
577
+ 19
578
+ 50
579
+ 20
580
+ 0
581
+ 15
582
+ 45
583
+ 21
584
+ 22
585
+ 43
586
+ 23
587
+ 20
588
+ 2
589
+ 49
590
+ 24
591
+ 1
592
+ 15
593
+ 35
594
+ 0
595
+ 30
596
+ 8
597
+ 126
598
+ 26
599
+ 20
600
+ 0
601
+ 48
602
+ 25
603
+ 15
604
+ 27
605
+ 34
606
+ 20
607
+ 0
608
+ 48
609
+ 25
610
+ 15
611
+ 11
612
+ I
613
+ 9
614
+ I
615
+ 3
616
+ I
617
+ 1
618
+ I
619
+ 1
620
+ n
621
+ p
622
+ 26
623
+ x
624
+ 4
625
+ Hash
626
+ x
627
+ 16
628
+ new_from_literal
629
+ x
630
+ 8
631
+ filename
632
+ x
633
+ 3
634
+ []=
635
+ x
636
+ 4
637
+ line
638
+ x
639
+ 10
640
+ push_frame
641
+ x
642
+ 5
643
+ @expr
644
+ x
645
+ 7
646
+ perform
647
+ x
648
+ 4
649
+ Sass
650
+ n
651
+ x
652
+ 6
653
+ Script
654
+ x
655
+ 6
656
+ String
657
+ x
658
+ 5
659
+ is_a?
660
+ x
661
+ 5
662
+ value
663
+ s
664
+ 9
665
+ WARNING:
666
+ x
667
+ 4
668
+ to_s
669
+ s
670
+ 1
671
+
672
+
673
+ x
674
+ 5
675
+ stack
676
+ x
677
+ 7
678
+ reverse
679
+ M
680
+ 1
681
+ p
682
+ 2
683
+ x
684
+ 9
685
+ for_block
686
+ t
687
+ n
688
+ x
689
+ 8
690
+ _perform
691
+ i
692
+ 121
693
+ 58
694
+ 36
695
+ 37
696
+ 19
697
+ 0
698
+ 15
699
+ 37
700
+ 19
701
+ 1
702
+ 15
703
+ 15
704
+ 21
705
+ 1
706
+ 2
707
+ 7
708
+ 0
709
+ 20
710
+ 1
711
+ 78
712
+ 83
713
+ 1
714
+ 9
715
+ 28
716
+ 7
717
+ 2
718
+ 64
719
+ 8
720
+ 31
721
+ 7
722
+ 3
723
+ 64
724
+ 47
725
+ 48
726
+ 4
727
+ 7
728
+ 5
729
+ 20
730
+ 0
731
+ 7
732
+ 6
733
+ 49
734
+ 7
735
+ 1
736
+ 47
737
+ 48
738
+ 4
739
+ 63
740
+ 4
741
+ 49
742
+ 8
743
+ 1
744
+ 7
745
+ 9
746
+ 20
747
+ 0
748
+ 7
749
+ 10
750
+ 49
751
+ 7
752
+ 1
753
+ 13
754
+ 10
755
+ 67
756
+ 15
757
+ 7
758
+ 11
759
+ 64
760
+ 47
761
+ 48
762
+ 4
763
+ 63
764
+ 2
765
+ 49
766
+ 8
767
+ 1
768
+ 15
769
+ 20
770
+ 0
771
+ 7
772
+ 12
773
+ 49
774
+ 7
775
+ 1
776
+ 9
777
+ 109
778
+ 21
779
+ 1
780
+ 2
781
+ 7
782
+ 13
783
+ 20
784
+ 0
785
+ 7
786
+ 12
787
+ 49
788
+ 7
789
+ 1
790
+ 47
791
+ 48
792
+ 4
793
+ 7
794
+ 14
795
+ 63
796
+ 3
797
+ 49
798
+ 8
799
+ 1
800
+ 8
801
+ 110
802
+ 1
803
+ 15
804
+ 21
805
+ 1
806
+ 2
807
+ 7
808
+ 15
809
+ 64
810
+ 49
811
+ 8
812
+ 1
813
+ 11
814
+ I
815
+ 9
816
+ I
817
+ 2
818
+ I
819
+ 2
820
+ I
821
+ 2
822
+ n
823
+ p
824
+ 16
825
+ s
826
+ 8
827
+
828
+ x
829
+ 2
830
+ ==
831
+ s
832
+ 2
833
+ on
834
+ s
835
+ 4
836
+ from
837
+ x
838
+ 4
839
+ to_s
840
+ s
841
+ 6
842
+ line
843
+ x
844
+ 4
845
+ line
846
+ x
847
+ 2
848
+ []
849
+ x
850
+ 2
851
+ <<
852
+ s
853
+ 4
854
+ of
855
+ x
856
+ 8
857
+ filename
858
+ s
859
+ 15
860
+ an unknown file
861
+ x
862
+ 5
863
+ mixin
864
+ s
865
+ 6
866
+ , in `
867
+ s
868
+ 1
869
+ '
870
+ s
871
+ 1
872
+
873
+
874
+ p
875
+ 11
876
+ I
877
+ 0
878
+ I
879
+ 1d
880
+ I
881
+ b
882
+ I
883
+ 1e
884
+ I
885
+ 33
886
+ I
887
+ 1f
888
+ I
889
+ 4c
890
+ I
891
+ 20
892
+ I
893
+ 6f
894
+ I
895
+ 21
896
+ I
897
+ 79
898
+ x
899
+ 47
900
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
901
+ p
902
+ 2
903
+ x
904
+ 5
905
+ entry
906
+ x
907
+ 1
908
+ i
909
+ x
910
+ 15
911
+ each_with_index
912
+ x
913
+ 4
914
+ Haml
915
+ n
916
+ x
917
+ 4
918
+ Util
919
+ x
920
+ 9
921
+ haml_warn
922
+ x
923
+ 9
924
+ pop_frame
925
+ p
926
+ 19
927
+ I
928
+ 0
929
+ I
930
+ 18
931
+ I
932
+ 0
933
+ I
934
+ 19
935
+ I
936
+ 2a
937
+ I
938
+ 1a
939
+ I
940
+ 34
941
+ I
942
+ 1b
943
+ I
944
+ 4c
945
+ I
946
+ 1c
947
+ I
948
+ 5a
949
+ I
950
+ 1d
951
+ I
952
+ 66
953
+ I
954
+ 23
955
+ I
956
+ 71
957
+ I
958
+ 24
959
+ I
960
+ 77
961
+ I
962
+ 26
963
+ I
964
+ 84
965
+ x
966
+ 47
967
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
968
+ p
969
+ 3
970
+ x
971
+ 11
972
+ environment
973
+ x
974
+ 3
975
+ res
976
+ x
977
+ 3
978
+ msg
979
+ p
980
+ 9
981
+ I
982
+ 2
983
+ I
984
+ 8
985
+ I
986
+ 11
987
+ I
988
+ d
989
+ I
990
+ 16
991
+ I
992
+ 10
993
+ I
994
+ 25
995
+ I
996
+ 18
997
+ I
998
+ 34
999
+ x
1000
+ 47
1001
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
1002
+ p
1003
+ 0
1004
+ x
1005
+ 13
1006
+ attach_method
1007
+ p
1008
+ 3
1009
+ I
1010
+ 2
1011
+ I
1012
+ 6
1013
+ I
1014
+ 22
1015
+ x
1016
+ 47
1017
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
1018
+ p
1019
+ 0
1020
+ x
1021
+ 13
1022
+ attach_method
1023
+ p
1024
+ 3
1025
+ I
1026
+ 2
1027
+ I
1028
+ 2
1029
+ I
1030
+ 1f
1031
+ x
1032
+ 47
1033
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
1034
+ p
1035
+ 0
1036
+ x
1037
+ 13
1038
+ attach_method
1039
+ p
1040
+ 3
1041
+ I
1042
+ 0
1043
+ I
1044
+ 1
1045
+ I
1046
+ 1f
1047
+ x
1048
+ 47
1049
+ /home/nex3/code/haml/lib/sass/tree/warn_node.rb
1050
+ p
1051
+ 0