haml 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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