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,311 @@
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
+ SCSS
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
+ SCSS
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
+ 10
194
+ SassParser
195
+ x
196
+ 6
197
+ Parser
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
+ 10
212
+ SassParser
213
+ i
214
+ 12
215
+ 5
216
+ 66
217
+ 45
218
+ 0
219
+ 1
220
+ 43
221
+ 2
222
+ 43
223
+ 3
224
+ 38
225
+ 4
226
+ 11
227
+ I
228
+ 1
229
+ I
230
+ 0
231
+ I
232
+ 0
233
+ I
234
+ 0
235
+ n
236
+ p
237
+ 5
238
+ x
239
+ 4
240
+ Sass
241
+ n
242
+ x
243
+ 6
244
+ Script
245
+ x
246
+ 6
247
+ Parser
248
+ x
249
+ 19
250
+ @sass_script_parser
251
+ p
252
+ 3
253
+ I
254
+ 2
255
+ I
256
+ 8
257
+ I
258
+ c
259
+ x
260
+ 49
261
+ /home/nex3/code/haml/lib/sass/scss/sass_parser.rb
262
+ p
263
+ 0
264
+ x
265
+ 13
266
+ attach_method
267
+ p
268
+ 3
269
+ I
270
+ 2
271
+ I
272
+ 7
273
+ I
274
+ 22
275
+ x
276
+ 49
277
+ /home/nex3/code/haml/lib/sass/scss/sass_parser.rb
278
+ p
279
+ 0
280
+ x
281
+ 13
282
+ attach_method
283
+ p
284
+ 3
285
+ I
286
+ 2
287
+ I
288
+ 2
289
+ I
290
+ 1f
291
+ x
292
+ 49
293
+ /home/nex3/code/haml/lib/sass/scss/sass_parser.rb
294
+ p
295
+ 0
296
+ x
297
+ 13
298
+ attach_method
299
+ p
300
+ 3
301
+ I
302
+ 0
303
+ I
304
+ 1
305
+ I
306
+ 1f
307
+ x
308
+ 49
309
+ /home/nex3/code/haml/lib/sass/scss/sass_parser.rb
310
+ p
311
+ 0
@@ -0,0 +1,466 @@
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
+ SCSS
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
+ SCSS
141
+ i
142
+ 31
143
+ 5
144
+ 66
145
+ 45
146
+ 0
147
+ 1
148
+ 7
149
+ 2
150
+ 65
151
+ 49
152
+ 3
153
+ 2
154
+ 13
155
+ 45
156
+ 0
157
+ 4
158
+ 12
159
+ 7
160
+ 5
161
+ 12
162
+ 7
163
+ 6
164
+ 12
165
+ 65
166
+ 12
167
+ 49
168
+ 7
169
+ 4
170
+ 15
171
+ 48
172
+ 5
173
+ 11
174
+ I
175
+ 6
176
+ I
177
+ 0
178
+ I
179
+ 0
180
+ I
181
+ 0
182
+ n
183
+ p
184
+ 8
185
+ x
186
+ 8
187
+ Rubinius
188
+ n
189
+ x
190
+ 11
191
+ ScriptLexer
192
+ x
193
+ 11
194
+ open_module
195
+ n
196
+ x
197
+ 15
198
+ __module_init__
199
+ M
200
+ 1
201
+ n
202
+ n
203
+ x
204
+ 11
205
+ ScriptLexer
206
+ i
207
+ 22
208
+ 5
209
+ 66
210
+ 5
211
+ 47
212
+ 48
213
+ 0
214
+ 15
215
+ 45
216
+ 1
217
+ 2
218
+ 7
219
+ 3
220
+ 7
221
+ 4
222
+ 65
223
+ 67
224
+ 48
225
+ 5
226
+ 49
227
+ 6
228
+ 4
229
+ 11
230
+ I
231
+ 5
232
+ I
233
+ 0
234
+ I
235
+ 0
236
+ I
237
+ 0
238
+ n
239
+ p
240
+ 7
241
+ x
242
+ 7
243
+ private
244
+ x
245
+ 8
246
+ Rubinius
247
+ n
248
+ x
249
+ 8
250
+ variable
251
+ M
252
+ 1
253
+ n
254
+ n
255
+ x
256
+ 8
257
+ variable
258
+ i
259
+ 59
260
+ 5
261
+ 45
262
+ 0
263
+ 1
264
+ 43
265
+ 2
266
+ 43
267
+ 3
268
+ 43
269
+ 4
270
+ 47
271
+ 49
272
+ 5
273
+ 1
274
+ 9
275
+ 26
276
+ 7
277
+ 6
278
+ 7
279
+ 7
280
+ 64
281
+ 35
282
+ 2
283
+ 11
284
+ 8
285
+ 27
286
+ 1
287
+ 15
288
+ 5
289
+ 45
290
+ 8
291
+ 9
292
+ 7
293
+ 10
294
+ 45
295
+ 0
296
+ 11
297
+ 43
298
+ 2
299
+ 43
300
+ 3
301
+ 43
302
+ 12
303
+ 47
304
+ 48
305
+ 13
306
+ 7
307
+ 14
308
+ 63
309
+ 3
310
+ 78
311
+ 49
312
+ 15
313
+ 2
314
+ 47
315
+ 49
316
+ 16
317
+ 1
318
+ 11
319
+ I
320
+ 5
321
+ I
322
+ 0
323
+ I
324
+ 0
325
+ I
326
+ 0
327
+ n
328
+ p
329
+ 17
330
+ x
331
+ 4
332
+ Sass
333
+ n
334
+ x
335
+ 4
336
+ SCSS
337
+ x
338
+ 2
339
+ RX
340
+ x
341
+ 9
342
+ IMPORTANT
343
+ x
344
+ 4
345
+ scan
346
+ x
347
+ 3
348
+ raw
349
+ s
350
+ 10
351
+ !important
352
+ x
353
+ 6
354
+ Regexp
355
+ n
356
+ s
357
+ 5
358
+ (\$)(
359
+ n
360
+ x
361
+ 5
362
+ IDENT
363
+ x
364
+ 4
365
+ to_s
366
+ s
367
+ 1
368
+ )
369
+ x
370
+ 3
371
+ new
372
+ x
373
+ 9
374
+ _variable
375
+ p
376
+ 7
377
+ I
378
+ 0
379
+ I
380
+ 9
381
+ I
382
+ 0
383
+ I
384
+ a
385
+ I
386
+ 1c
387
+ I
388
+ b
389
+ I
390
+ 3b
391
+ x
392
+ 50
393
+ /home/nex3/code/haml/lib/sass/scss/script_lexer.rb
394
+ p
395
+ 0
396
+ x
397
+ 17
398
+ method_visibility
399
+ x
400
+ 15
401
+ add_defn_method
402
+ p
403
+ 5
404
+ I
405
+ 2
406
+ I
407
+ 7
408
+ I
409
+ 7
410
+ I
411
+ 9
412
+ I
413
+ 16
414
+ x
415
+ 50
416
+ /home/nex3/code/haml/lib/sass/scss/script_lexer.rb
417
+ p
418
+ 0
419
+ x
420
+ 13
421
+ attach_method
422
+ p
423
+ 3
424
+ I
425
+ 2
426
+ I
427
+ 6
428
+ I
429
+ 1f
430
+ x
431
+ 50
432
+ /home/nex3/code/haml/lib/sass/scss/script_lexer.rb
433
+ p
434
+ 0
435
+ x
436
+ 13
437
+ attach_method
438
+ p
439
+ 3
440
+ I
441
+ 2
442
+ I
443
+ 2
444
+ I
445
+ 1f
446
+ x
447
+ 50
448
+ /home/nex3/code/haml/lib/sass/scss/script_lexer.rb
449
+ p
450
+ 0
451
+ x
452
+ 13
453
+ attach_method
454
+ p
455
+ 3
456
+ I
457
+ 0
458
+ I
459
+ 1
460
+ I
461
+ 1f
462
+ x
463
+ 50
464
+ /home/nex3/code/haml/lib/sass/scss/script_lexer.rb
465
+ p
466
+ 0