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