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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 0
8
- - 4
9
- version: 3.0.4
8
+ - 5
9
+ version: 3.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nathan Weizenbaum
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-05-14 00:00:00 -07:00
19
+ date: 2010-05-23 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -66,86 +66,157 @@ extra_rdoc_files:
66
66
  - REVISION
67
67
  files:
68
68
  - rails/init.rb
69
+ - lib/haml.rbc
69
70
  - lib/sass.rb
70
71
  - lib/sass/css.rb
72
+ - lib/sass/script/node.rbc
71
73
  - lib/sass/script/node.rb
74
+ - lib/sass/script/funcall.rbc
75
+ - lib/sass/script/operation.rbc
72
76
  - lib/sass/script/interpolation.rb
73
77
  - lib/sass/script/number.rb
78
+ - lib/sass/script/css_lexer.rbc
79
+ - lib/sass/script/bool.rbc
80
+ - lib/sass/script/lexer.rbc
74
81
  - lib/sass/script/css_lexer.rb
75
82
  - lib/sass/script/operation.rb
76
83
  - lib/sass/script/literal.rb
84
+ - lib/sass/script/interpolation.rbc
77
85
  - lib/sass/script/functions.rb
78
86
  - lib/sass/script/string_interpolation.rb
87
+ - lib/sass/script/functions.rbc
79
88
  - lib/sass/script/bool.rb
89
+ - lib/sass/script/string_interpolation.rbc
90
+ - lib/sass/script/color.rbc
91
+ - lib/sass/script/literal.rbc
92
+ - lib/sass/script/string.rbc
80
93
  - lib/sass/script/color.rb
81
94
  - lib/sass/script/lexer.rb
95
+ - lib/sass/script/unary_operation.rbc
96
+ - lib/sass/script/variable.rbc
97
+ - lib/sass/script/number.rbc
82
98
  - lib/sass/script/parser.rb
83
99
  - lib/sass/script/css_parser.rb
84
100
  - lib/sass/script/variable.rb
85
101
  - lib/sass/script/string.rb
86
102
  - lib/sass/script/funcall.rb
87
103
  - lib/sass/script/unary_operation.rb
104
+ - lib/sass/script/parser.rbc
105
+ - lib/sass/script/css_parser.rbc
88
106
  - lib/sass/script.rb
89
107
  - lib/sass/error.rb
90
108
  - lib/sass/repl.rb
109
+ - lib/sass/error.rbc
110
+ - lib/sass/tree/node.rbc
91
111
  - lib/sass/tree/comment_node.rb
112
+ - lib/sass/tree/variable_node.rbc
92
113
  - lib/sass/tree/node.rb
93
114
  - lib/sass/tree/extend_node.rb
115
+ - lib/sass/tree/directive_node.rbc
116
+ - lib/sass/tree/comment_node.rbc
94
117
  - lib/sass/tree/for_node.rb
118
+ - lib/sass/tree/mixin_node.rbc
95
119
  - lib/sass/tree/warn_node.rb
96
120
  - lib/sass/tree/debug_node.rb
97
121
  - lib/sass/tree/import_node.rb
122
+ - lib/sass/tree/warn_node.rbc
123
+ - lib/sass/tree/extend_node.rbc
98
124
  - lib/sass/tree/while_node.rb
99
125
  - lib/sass/tree/mixin_def_node.rb
126
+ - lib/sass/tree/if_node.rbc
100
127
  - lib/sass/tree/root_node.rb
128
+ - lib/sass/tree/while_node.rbc
101
129
  - lib/sass/tree/if_node.rb
102
130
  - lib/sass/tree/mixin_node.rb
131
+ - lib/sass/tree/prop_node.rbc
103
132
  - lib/sass/tree/directive_node.rb
133
+ - lib/sass/tree/mixin_def_node.rbc
134
+ - lib/sass/tree/rule_node.rbc
135
+ - lib/sass/tree/root_node.rbc
104
136
  - lib/sass/tree/rule_node.rb
137
+ - lib/sass/tree/for_node.rbc
138
+ - lib/sass/tree/debug_node.rbc
105
139
  - lib/sass/tree/prop_node.rb
140
+ - lib/sass/tree/import_node.rbc
106
141
  - lib/sass/tree/variable_node.rb
107
142
  - lib/sass/plugin/rails.rb
108
143
  - lib/sass/plugin/rack.rb
109
144
  - lib/sass/plugin/configuration.rb
110
145
  - lib/sass/plugin/merb.rb
146
+ - lib/sass/plugin/staleness_checker.rbc
111
147
  - lib/sass/plugin/staleness_checker.rb
148
+ - lib/sass/plugin/configuration.rbc
112
149
  - lib/sass/environment.rb
113
150
  - lib/sass/callbacks.rb
114
151
  - lib/sass/selector/simple_sequence.rb
152
+ - lib/sass/selector/comma_sequence.rbc
153
+ - lib/sass/selector/sequence.rbc
154
+ - lib/sass/selector/simple.rbc
155
+ - lib/sass/selector/abstract_sequence.rbc
156
+ - lib/sass/selector/simple_sequence.rbc
115
157
  - lib/sass/selector/abstract_sequence.rb
116
158
  - lib/sass/selector/comma_sequence.rb
117
159
  - lib/sass/selector/sequence.rb
118
160
  - lib/sass/selector/simple.rb
119
161
  - lib/sass/selector.rb
120
162
  - lib/sass/files.rb
163
+ - lib/sass/script.rbc
121
164
  - lib/sass/scss.rb
122
165
  - lib/sass/engine.rb
166
+ - lib/sass/scss.rbc
167
+ - lib/sass/callbacks.rbc
123
168
  - lib/sass/plugin.rb
169
+ - lib/sass/less.rbc
170
+ - lib/sass/selector.rbc
124
171
  - lib/sass/scss/static_parser.rb
172
+ - lib/sass/scss/script_parser.rbc
125
173
  - lib/sass/scss/sass_parser.rb
174
+ - lib/sass/scss/static_parser.rbc
126
175
  - lib/sass/scss/rx.rb
127
176
  - lib/sass/scss/script_lexer.rb
177
+ - lib/sass/scss/sass_parser.rbc
128
178
  - lib/sass/scss/parser.rb
129
179
  - lib/sass/scss/css_parser.rb
180
+ - lib/sass/scss/rx.rbc
181
+ - lib/sass/scss/script_lexer.rbc
182
+ - lib/sass/scss/parser.rbc
183
+ - lib/sass/scss/css_parser.rbc
130
184
  - lib/sass/scss/script_parser.rb
131
185
  - lib/sass/less.rb
186
+ - lib/sass/environment.rbc
187
+ - lib/sass/files.rbc
188
+ - lib/sass/engine.rbc
189
+ - lib/sass/plugin.rbc
190
+ - lib/sass.rbc
132
191
  - lib/haml/filters.rb
133
192
  - lib/haml/exec.rb
193
+ - lib/haml/util.rbc
134
194
  - lib/haml/railtie.rb
135
195
  - lib/haml/error.rb
196
+ - lib/haml/version.rbc
197
+ - lib/haml/error.rbc
198
+ - lib/haml/helpers.rbc
199
+ - lib/haml/util/subset_map.rbc
136
200
  - lib/haml/util/subset_map.rb
137
201
  - lib/haml/html/erb.rb
138
202
  - lib/haml/template.rb
203
+ - lib/haml/root.rbc
204
+ - lib/haml/filters.rbc
139
205
  - lib/haml/shared.rb
206
+ - lib/haml/shared.rbc
140
207
  - lib/haml/engine.rb
141
208
  - lib/haml/version.rb
142
209
  - lib/haml/template/patch.rb
143
210
  - lib/haml/template/plugin.rb
144
211
  - lib/haml/template/options.rb
145
212
  - lib/haml/helpers.rb
213
+ - lib/haml/buffer.rbc
146
214
  - lib/haml/buffer.rb
147
215
  - lib/haml/html.rb
216
+ - lib/haml/engine.rbc
148
217
  - lib/haml/root.rb
218
+ - lib/haml/railtie.rbc
219
+ - lib/haml/precompiler.rbc
149
220
  - lib/haml/precompiler.rb
150
221
  - lib/haml/util.rb
151
222
  - lib/haml/helpers/action_view_mods.rb
@@ -187,14 +258,20 @@ files:
187
258
  - bin/css2sass
188
259
  - bin/html2haml
189
260
  - bin/haml
261
+ - test/test_helper.rbc
190
262
  - test/linked_rails.rb
191
263
  - test/benchmark.rb
264
+ - test/linked_rails.rbc
192
265
  - test/sass/script_test.rb
266
+ - test/sass/engine_test.rbc
193
267
  - test/sass/less_conversion_test.rb
268
+ - test/sass/plugin_test.rbc
194
269
  - test/sass/css2sass_test.rb
270
+ - test/sass/extend_test.rbc
195
271
  - test/sass/script_conversion_test.rb
196
272
  - test/sass/extend_test.rb
197
273
  - test/sass/data/hsl-rgb.txt
274
+ - test/sass/less_conversion_test.rbc
198
275
  - test/sass/results/warn_imported.css
199
276
  - test/sass/results/units.css
200
277
  - test/sass/results/parent_ref.css
@@ -266,6 +343,7 @@ files:
266
343
  - test/sass/scss/test_helper.rb
267
344
  - test/sass/scss/rx_test.rb
268
345
  - test/sass/plugin_test.rb
346
+ - test/haml/engine_test.rbc
269
347
  - test/haml/mocks/article.rb
270
348
  - test/haml/util_test.rb
271
349
  - test/haml/spec_test.rb