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,858 @@
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
+ 12
194
+ VariableNode
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
+ 12
212
+ VariableNode
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
+ 20
294
+ 20
295
+ 0
296
+ 38
297
+ 0
298
+ 15
299
+ 20
300
+ 1
301
+ 38
302
+ 1
303
+ 15
304
+ 20
305
+ 2
306
+ 38
307
+ 2
308
+ 15
309
+ 54
310
+ 52
311
+ 3
312
+ 0
313
+ 11
314
+ I
315
+ 4
316
+ I
317
+ 3
318
+ I
319
+ 3
320
+ I
321
+ 3
322
+ n
323
+ p
324
+ 4
325
+ x
326
+ 5
327
+ @name
328
+ x
329
+ 5
330
+ @expr
331
+ x
332
+ 8
333
+ @guarded
334
+ x
335
+ 10
336
+ initialize
337
+ p
338
+ 11
339
+ I
340
+ 0
341
+ I
342
+ a
343
+ I
344
+ 0
345
+ I
346
+ b
347
+ I
348
+ 5
349
+ I
350
+ c
351
+ I
352
+ a
353
+ I
354
+ d
355
+ I
356
+ f
357
+ I
358
+ e
359
+ I
360
+ 14
361
+ x
362
+ 51
363
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
364
+ p
365
+ 3
366
+ x
367
+ 4
368
+ name
369
+ x
370
+ 4
371
+ expr
372
+ x
373
+ 7
374
+ guarded
375
+ x
376
+ 17
377
+ method_visibility
378
+ x
379
+ 15
380
+ add_defn_method
381
+ x
382
+ 9
383
+ protected
384
+ n
385
+ x
386
+ 6
387
+ to_src
388
+ M
389
+ 1
390
+ n
391
+ n
392
+ x
393
+ 6
394
+ to_src
395
+ i
396
+ 65
397
+ 7
398
+ 0
399
+ 64
400
+ 20
401
+ 0
402
+ 49
403
+ 1
404
+ 1
405
+ 47
406
+ 48
407
+ 2
408
+ 7
409
+ 3
410
+ 5
411
+ 39
412
+ 4
413
+ 20
414
+ 1
415
+ 47
416
+ 49
417
+ 5
418
+ 2
419
+ 47
420
+ 48
421
+ 2
422
+ 7
423
+ 6
424
+ 39
425
+ 7
426
+ 20
427
+ 1
428
+ 49
429
+ 8
430
+ 1
431
+ 47
432
+ 48
433
+ 2
434
+ 39
435
+ 9
436
+ 9
437
+ 46
438
+ 7
439
+ 10
440
+ 64
441
+ 8
442
+ 47
443
+ 1
444
+ 47
445
+ 48
446
+ 2
447
+ 5
448
+ 20
449
+ 2
450
+ 47
451
+ 49
452
+ 11
453
+ 1
454
+ 47
455
+ 48
456
+ 2
457
+ 7
458
+ 12
459
+ 63
460
+ 8
461
+ 11
462
+ I
463
+ b
464
+ I
465
+ 3
466
+ I
467
+ 3
468
+ I
469
+ 3
470
+ n
471
+ p
472
+ 13
473
+ s
474
+ 2
475
+
476
+ x
477
+ 1
478
+ *
479
+ x
480
+ 4
481
+ to_s
482
+ s
483
+ 1
484
+ $
485
+ x
486
+ 5
487
+ @name
488
+ x
489
+ 9
490
+ dasherize
491
+ s
492
+ 2
493
+ :
494
+ x
495
+ 5
496
+ @expr
497
+ x
498
+ 7
499
+ to_sass
500
+ x
501
+ 8
502
+ @guarded
503
+ s
504
+ 9
505
+ !default
506
+ x
507
+ 4
508
+ semi
509
+ s
510
+ 1
511
+
512
+
513
+ p
514
+ 5
515
+ I
516
+ 0
517
+ I
518
+ 14
519
+ I
520
+ 0
521
+ I
522
+ 15
523
+ I
524
+ 41
525
+ x
526
+ 51
527
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
528
+ p
529
+ 3
530
+ x
531
+ 4
532
+ tabs
533
+ x
534
+ 4
535
+ opts
536
+ x
537
+ 3
538
+ fmt
539
+ n
540
+ x
541
+ 8
542
+ _perform
543
+ M
544
+ 1
545
+ n
546
+ n
547
+ x
548
+ 8
549
+ _perform
550
+ i
551
+ 120
552
+ 39
553
+ 0
554
+ 13
555
+ 9
556
+ 21
557
+ 15
558
+ 20
559
+ 0
560
+ 39
561
+ 1
562
+ 49
563
+ 2
564
+ 1
565
+ 48
566
+ 3
567
+ 10
568
+ 20
569
+ 2
570
+ 8
571
+ 21
572
+ 3
573
+ 9
574
+ 28
575
+ 35
576
+ 0
577
+ 11
578
+ 8
579
+ 29
580
+ 1
581
+ 15
582
+ 39
583
+ 4
584
+ 20
585
+ 0
586
+ 49
587
+ 5
588
+ 1
589
+ 19
590
+ 1
591
+ 15
592
+ 39
593
+ 4
594
+ 48
595
+ 6
596
+ 7
597
+ 7
598
+ 83
599
+ 8
600
+ 13
601
+ 9
602
+ 64
603
+ 15
604
+ 20
605
+ 1
606
+ 45
607
+ 9
608
+ 10
609
+ 43
610
+ 11
611
+ 43
612
+ 12
613
+ 49
614
+ 13
615
+ 1
616
+ 9
617
+ 105
618
+ 45
619
+ 9
620
+ 14
621
+ 43
622
+ 11
623
+ 43
624
+ 12
625
+ 13
626
+ 71
627
+ 15
628
+ 47
629
+ 9
630
+ 94
631
+ 47
632
+ 48
633
+ 16
634
+ 13
635
+ 20
636
+ 1
637
+ 48
638
+ 17
639
+ 47
640
+ 49
641
+ 18
642
+ 1
643
+ 15
644
+ 8
645
+ 101
646
+ 20
647
+ 1
648
+ 48
649
+ 17
650
+ 49
651
+ 15
652
+ 1
653
+ 19
654
+ 1
655
+ 8
656
+ 106
657
+ 1
658
+ 15
659
+ 20
660
+ 0
661
+ 39
662
+ 1
663
+ 20
664
+ 1
665
+ 49
666
+ 19
667
+ 2
668
+ 15
669
+ 35
670
+ 0
671
+ 11
672
+ I
673
+ 5
674
+ I
675
+ 2
676
+ I
677
+ 1
678
+ I
679
+ 1
680
+ n
681
+ p
682
+ 20
683
+ x
684
+ 8
685
+ @guarded
686
+ x
687
+ 5
688
+ @name
689
+ x
690
+ 3
691
+ var
692
+ x
693
+ 4
694
+ nil?
695
+ x
696
+ 5
697
+ @expr
698
+ x
699
+ 7
700
+ perform
701
+ x
702
+ 7
703
+ context
704
+ x
705
+ 6
706
+ equals
707
+ x
708
+ 2
709
+ ==
710
+ x
711
+ 4
712
+ Sass
713
+ n
714
+ x
715
+ 6
716
+ Script
717
+ x
718
+ 6
719
+ String
720
+ x
721
+ 5
722
+ is_a?
723
+ n
724
+ x
725
+ 3
726
+ new
727
+ x
728
+ 8
729
+ allocate
730
+ x
731
+ 5
732
+ value
733
+ x
734
+ 10
735
+ initialize
736
+ x
737
+ 7
738
+ set_var
739
+ p
740
+ 17
741
+ I
742
+ 0
743
+ I
744
+ 1c
745
+ I
746
+ 0
747
+ I
748
+ 1d
749
+ I
750
+ 1e
751
+ I
752
+ 1e
753
+ I
754
+ 28
755
+ I
756
+ 1f
757
+ I
758
+ 42
759
+ I
760
+ 20
761
+ I
762
+ 69
763
+ I
764
+ 1f
765
+ I
766
+ 6b
767
+ I
768
+ 22
769
+ I
770
+ 75
771
+ I
772
+ 23
773
+ I
774
+ 78
775
+ x
776
+ 51
777
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
778
+ p
779
+ 2
780
+ x
781
+ 11
782
+ environment
783
+ x
784
+ 3
785
+ val
786
+ p
787
+ 9
788
+ I
789
+ 2
790
+ I
791
+ a
792
+ I
793
+ 11
794
+ I
795
+ 11
796
+ I
797
+ 16
798
+ I
799
+ 14
800
+ I
801
+ 25
802
+ I
803
+ 1c
804
+ I
805
+ 34
806
+ x
807
+ 51
808
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
809
+ p
810
+ 0
811
+ x
812
+ 13
813
+ attach_method
814
+ p
815
+ 3
816
+ I
817
+ 2
818
+ I
819
+ 6
820
+ I
821
+ 22
822
+ x
823
+ 51
824
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
825
+ p
826
+ 0
827
+ x
828
+ 13
829
+ attach_method
830
+ p
831
+ 3
832
+ I
833
+ 2
834
+ I
835
+ 2
836
+ I
837
+ 1f
838
+ x
839
+ 51
840
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
841
+ p
842
+ 0
843
+ x
844
+ 13
845
+ attach_method
846
+ p
847
+ 3
848
+ I
849
+ 0
850
+ I
851
+ 1
852
+ I
853
+ 1f
854
+ x
855
+ 51
856
+ /home/nex3/code/haml/lib/sass/tree/variable_node.rb
857
+ p
858
+ 0