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