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,740 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 42
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 45
23
+ 2
24
+ 3
25
+ 7
26
+ 4
27
+ 45
28
+ 5
29
+ 6
30
+ 49
31
+ 7
32
+ 2
33
+ 13
34
+ 45
35
+ 2
36
+ 8
37
+ 12
38
+ 7
39
+ 9
40
+ 12
41
+ 7
42
+ 10
43
+ 12
44
+ 65
45
+ 12
46
+ 49
47
+ 11
48
+ 4
49
+ 15
50
+ 48
51
+ 9
52
+ 15
53
+ 2
54
+ 11
55
+ I
56
+ 6
57
+ I
58
+ 0
59
+ I
60
+ 0
61
+ I
62
+ 0
63
+ n
64
+ p
65
+ 12
66
+ s
67
+ 14
68
+ sass/tree/node
69
+ x
70
+ 7
71
+ require
72
+ x
73
+ 8
74
+ Rubinius
75
+ n
76
+ x
77
+ 4
78
+ Tree
79
+ x
80
+ 4
81
+ Sass
82
+ n
83
+ x
84
+ 17
85
+ open_module_under
86
+ n
87
+ x
88
+ 15
89
+ __module_init__
90
+ M
91
+ 1
92
+ n
93
+ n
94
+ x
95
+ 4
96
+ Tree
97
+ i
98
+ 34
99
+ 5
100
+ 66
101
+ 45
102
+ 0
103
+ 1
104
+ 7
105
+ 2
106
+ 45
107
+ 3
108
+ 4
109
+ 65
110
+ 49
111
+ 5
112
+ 3
113
+ 13
114
+ 45
115
+ 0
116
+ 6
117
+ 12
118
+ 7
119
+ 7
120
+ 12
121
+ 7
122
+ 8
123
+ 12
124
+ 65
125
+ 12
126
+ 49
127
+ 9
128
+ 4
129
+ 15
130
+ 48
131
+ 7
132
+ 11
133
+ I
134
+ 6
135
+ I
136
+ 0
137
+ I
138
+ 0
139
+ I
140
+ 0
141
+ n
142
+ p
143
+ 10
144
+ x
145
+ 8
146
+ Rubinius
147
+ n
148
+ x
149
+ 9
150
+ WhileNode
151
+ x
152
+ 4
153
+ Node
154
+ n
155
+ x
156
+ 10
157
+ open_class
158
+ n
159
+ x
160
+ 14
161
+ __class_init__
162
+ M
163
+ 1
164
+ n
165
+ n
166
+ x
167
+ 9
168
+ WhileNode
169
+ i
170
+ 67
171
+ 5
172
+ 66
173
+ 45
174
+ 0
175
+ 1
176
+ 7
177
+ 2
178
+ 7
179
+ 3
180
+ 65
181
+ 67
182
+ 48
183
+ 4
184
+ 49
185
+ 5
186
+ 4
187
+ 15
188
+ 5
189
+ 47
190
+ 48
191
+ 6
192
+ 15
193
+ 45
194
+ 0
195
+ 7
196
+ 7
197
+ 8
198
+ 7
199
+ 9
200
+ 65
201
+ 67
202
+ 48
203
+ 4
204
+ 49
205
+ 5
206
+ 4
207
+ 15
208
+ 45
209
+ 0
210
+ 10
211
+ 7
212
+ 11
213
+ 7
214
+ 12
215
+ 65
216
+ 67
217
+ 48
218
+ 4
219
+ 49
220
+ 5
221
+ 4
222
+ 15
223
+ 45
224
+ 0
225
+ 13
226
+ 7
227
+ 14
228
+ 7
229
+ 15
230
+ 65
231
+ 67
232
+ 48
233
+ 4
234
+ 49
235
+ 5
236
+ 4
237
+ 11
238
+ I
239
+ 5
240
+ I
241
+ 0
242
+ I
243
+ 0
244
+ I
245
+ 0
246
+ n
247
+ p
248
+ 16
249
+ x
250
+ 8
251
+ Rubinius
252
+ n
253
+ x
254
+ 10
255
+ initialize
256
+ M
257
+ 1
258
+ n
259
+ n
260
+ x
261
+ 10
262
+ initialize
263
+ i
264
+ 10
265
+ 20
266
+ 0
267
+ 38
268
+ 0
269
+ 15
270
+ 54
271
+ 52
272
+ 1
273
+ 0
274
+ 11
275
+ I
276
+ 2
277
+ I
278
+ 1
279
+ I
280
+ 1
281
+ I
282
+ 1
283
+ n
284
+ p
285
+ 2
286
+ x
287
+ 5
288
+ @expr
289
+ x
290
+ 10
291
+ initialize
292
+ p
293
+ 7
294
+ I
295
+ 0
296
+ I
297
+ 9
298
+ I
299
+ 0
300
+ I
301
+ a
302
+ I
303
+ 5
304
+ I
305
+ b
306
+ I
307
+ a
308
+ x
309
+ 48
310
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
311
+ p
312
+ 1
313
+ x
314
+ 4
315
+ expr
316
+ x
317
+ 17
318
+ method_visibility
319
+ x
320
+ 15
321
+ add_defn_method
322
+ x
323
+ 9
324
+ protected
325
+ n
326
+ x
327
+ 6
328
+ to_src
329
+ M
330
+ 1
331
+ n
332
+ n
333
+ x
334
+ 6
335
+ to_src
336
+ i
337
+ 39
338
+ 7
339
+ 0
340
+ 64
341
+ 20
342
+ 0
343
+ 49
344
+ 1
345
+ 1
346
+ 47
347
+ 48
348
+ 2
349
+ 7
350
+ 3
351
+ 39
352
+ 4
353
+ 20
354
+ 1
355
+ 49
356
+ 5
357
+ 1
358
+ 47
359
+ 48
360
+ 2
361
+ 63
362
+ 3
363
+ 5
364
+ 20
365
+ 0
366
+ 20
367
+ 1
368
+ 20
369
+ 2
370
+ 47
371
+ 49
372
+ 6
373
+ 3
374
+ 81
375
+ 7
376
+ 11
377
+ I
378
+ 8
379
+ I
380
+ 3
381
+ I
382
+ 3
383
+ I
384
+ 3
385
+ n
386
+ p
387
+ 8
388
+ s
389
+ 2
390
+
391
+ x
392
+ 1
393
+ *
394
+ x
395
+ 4
396
+ to_s
397
+ s
398
+ 7
399
+ @while
400
+ x
401
+ 5
402
+ @expr
403
+ x
404
+ 7
405
+ to_sass
406
+ x
407
+ 15
408
+ children_to_src
409
+ x
410
+ 1
411
+ +
412
+ p
413
+ 5
414
+ I
415
+ 0
416
+ I
417
+ 11
418
+ I
419
+ 0
420
+ I
421
+ 12
422
+ I
423
+ 27
424
+ x
425
+ 48
426
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
427
+ p
428
+ 3
429
+ x
430
+ 4
431
+ tabs
432
+ x
433
+ 4
434
+ opts
435
+ x
436
+ 3
437
+ fmt
438
+ n
439
+ x
440
+ 8
441
+ _perform
442
+ M
443
+ 1
444
+ n
445
+ n
446
+ x
447
+ 8
448
+ _perform
449
+ i
450
+ 70
451
+ 35
452
+ 0
453
+ 19
454
+ 1
455
+ 15
456
+ 45
457
+ 0
458
+ 1
459
+ 43
460
+ 2
461
+ 13
462
+ 71
463
+ 3
464
+ 47
465
+ 9
466
+ 29
467
+ 47
468
+ 48
469
+ 4
470
+ 13
471
+ 20
472
+ 0
473
+ 47
474
+ 49
475
+ 5
476
+ 1
477
+ 15
478
+ 8
479
+ 34
480
+ 20
481
+ 0
482
+ 49
483
+ 3
484
+ 1
485
+ 19
486
+ 2
487
+ 15
488
+ 39
489
+ 6
490
+ 20
491
+ 0
492
+ 49
493
+ 7
494
+ 1
495
+ 48
496
+ 8
497
+ 9
498
+ 65
499
+ 20
500
+ 1
501
+ 5
502
+ 20
503
+ 2
504
+ 47
505
+ 49
506
+ 9
507
+ 1
508
+ 81
509
+ 10
510
+ 19
511
+ 1
512
+ 15
513
+ 68
514
+ 8
515
+ 37
516
+ 1
517
+ 15
518
+ 20
519
+ 1
520
+ 11
521
+ I
522
+ 6
523
+ I
524
+ 3
525
+ I
526
+ 1
527
+ I
528
+ 1
529
+ n
530
+ p
531
+ 11
532
+ x
533
+ 4
534
+ Sass
535
+ n
536
+ x
537
+ 11
538
+ Environment
539
+ x
540
+ 3
541
+ new
542
+ x
543
+ 8
544
+ allocate
545
+ x
546
+ 10
547
+ initialize
548
+ x
549
+ 5
550
+ @expr
551
+ x
552
+ 7
553
+ perform
554
+ x
555
+ 7
556
+ to_bool
557
+ x
558
+ 16
559
+ perform_children
560
+ x
561
+ 1
562
+ +
563
+ p
564
+ 13
565
+ I
566
+ 0
567
+ I
568
+ 1b
569
+ I
570
+ 0
571
+ I
572
+ 1c
573
+ I
574
+ 5
575
+ I
576
+ 1d
577
+ I
578
+ 25
579
+ I
580
+ 1e
581
+ I
582
+ 30
583
+ I
584
+ 1f
585
+ I
586
+ 43
587
+ I
588
+ 21
589
+ I
590
+ 46
591
+ x
592
+ 48
593
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
594
+ p
595
+ 3
596
+ x
597
+ 11
598
+ environment
599
+ x
600
+ 8
601
+ children
602
+ x
603
+ 15
604
+ new_environment
605
+ n
606
+ x
607
+ 14
608
+ invalid_child?
609
+ M
610
+ 1
611
+ n
612
+ n
613
+ x
614
+ 14
615
+ invalid_child?
616
+ i
617
+ 17
618
+ 20
619
+ 0
620
+ 45
621
+ 0
622
+ 1
623
+ 49
624
+ 2
625
+ 1
626
+ 9
627
+ 13
628
+ 1
629
+ 8
630
+ 16
631
+ 54
632
+ 89
633
+ 3
634
+ 11
635
+ I
636
+ 3
637
+ I
638
+ 1
639
+ I
640
+ 1
641
+ I
642
+ 1
643
+ n
644
+ p
645
+ 4
646
+ x
647
+ 10
648
+ ExtendNode
649
+ n
650
+ x
651
+ 5
652
+ is_a?
653
+ x
654
+ 14
655
+ invalid_child?
656
+ p
657
+ 5
658
+ I
659
+ 0
660
+ I
661
+ 2c
662
+ I
663
+ 0
664
+ I
665
+ 2d
666
+ I
667
+ 11
668
+ x
669
+ 48
670
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
671
+ p
672
+ 1
673
+ x
674
+ 5
675
+ child
676
+ p
677
+ 11
678
+ I
679
+ 2
680
+ I
681
+ 9
682
+ I
683
+ 11
684
+ I
685
+ e
686
+ I
687
+ 16
688
+ I
689
+ 11
690
+ I
691
+ 25
692
+ I
693
+ 1b
694
+ I
695
+ 34
696
+ I
697
+ 2c
698
+ I
699
+ 43
700
+ x
701
+ 48
702
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
703
+ p
704
+ 0
705
+ x
706
+ 13
707
+ attach_method
708
+ p
709
+ 3
710
+ I
711
+ 2
712
+ I
713
+ 7
714
+ I
715
+ 22
716
+ x
717
+ 48
718
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
719
+ p
720
+ 0
721
+ x
722
+ 13
723
+ attach_method
724
+ p
725
+ 5
726
+ I
727
+ 0
728
+ I
729
+ 1
730
+ I
731
+ 9
732
+ I
733
+ 3
734
+ I
735
+ 2a
736
+ x
737
+ 48
738
+ /home/nex3/code/haml/lib/sass/tree/while_node.rb
739
+ p
740
+ 0