radiant 0.9.0.rc2 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of radiant might be problematic. Click here for more details.

Files changed (946) hide show
  1. data/CHANGELOG +18 -6
  2. data/CONTRIBUTORS +7 -1
  3. data/INSTALL +0 -5
  4. data/README +21 -0
  5. data/app/controllers/admin/layouts_controller.rb +1 -0
  6. data/app/controllers/admin/preferences_controller.rb +4 -3
  7. data/app/controllers/admin/resource_controller.rb +62 -8
  8. data/app/controllers/admin/snippets_controller.rb +1 -0
  9. data/app/controllers/admin/users_controller.rb +1 -0
  10. data/app/controllers/application_controller.rb +0 -17
  11. data/app/controllers/site_controller.rb +6 -4
  12. data/app/helpers/application_helper.rb +19 -0
  13. data/app/models/standard_tags.rb +212 -18
  14. data/app/models/status.rb +1 -1
  15. data/app/models/user.rb +2 -2
  16. data/app/views/admin/extensions/index.html.haml +1 -1
  17. data/app/views/admin/layouts/_form.html.haml +4 -4
  18. data/app/views/admin/layouts/index.html.haml +2 -2
  19. data/app/views/admin/page_parts/_page_part.html.haml +2 -2
  20. data/app/views/admin/pages/_fields.html.haml +5 -5
  21. data/app/views/admin/preferences/edit.html.haml +3 -3
  22. data/app/views/admin/snippets/_form.html.haml +5 -5
  23. data/app/views/admin/snippets/index.html.haml +3 -3
  24. data/app/views/admin/users/_form.html.haml +3 -4
  25. data/app/views/admin/users/index.html.haml +2 -1
  26. data/app/views/layouts/application.html.haml +1 -1
  27. data/config/environment.rb +2 -2
  28. data/config/environments/cucumber.rb +3 -3
  29. data/config/locales/en.yml +10 -10
  30. data/config/locales/en_available_tags.yml +80 -1
  31. data/db/migrate/20081203140407_add_indexes.rb +10 -10
  32. data/db/schema.rb +1 -1
  33. data/features/admin/resource_pagination.feature +27 -0
  34. data/features/admin/user_preferences.feature +17 -0
  35. data/features/step_definitions/admin/pagination_steps.rb +46 -0
  36. data/features/step_definitions/web_steps.rb +13 -3
  37. data/features/support/env.rb +7 -3
  38. data/features/support/paths.rb +1 -1
  39. data/lib/generators/instance/templates/instance_environment.rb +2 -2
  40. data/lib/generators/language_extension/templates/lang.yml +6 -6
  41. data/lib/plugins/active_record_extensions/lib/active_record_extensions.rb +0 -29
  42. data/lib/radiant.rb +3 -3
  43. data/lib/radiant/admin_ui.rb +1 -1
  44. data/lib/radiant/extension/script.rb +20 -5
  45. data/lib/radiant/extension_loader.rb +1 -1
  46. data/lib/radiant/initializer.rb +9 -3
  47. data/lib/radiant/pagination/controller.rb +34 -0
  48. data/lib/radiant/pagination/link_renderer.rb +7 -4
  49. data/lib/task_support.rb +6 -1
  50. data/lib/tasks/cucumber.rake +1 -1
  51. data/lib/tasks/framework.rake +1 -2
  52. data/lib/tasks/release.rake +11 -3
  53. data/lib/tasks/rspec.rake +1 -1
  54. data/public/images/admin/shadow.png +0 -0
  55. data/public/images/admin/shadow_grey.png +0 -0
  56. data/public/javascripts/admin/application.js +4 -1
  57. data/public/javascripts/admin/cookie.js +2 -2
  58. data/public/javascripts/admin/validationerror.js +18 -0
  59. data/public/stylesheets/admin/main.css +110 -37
  60. data/public/stylesheets/sass/admin/main.sass +3 -2
  61. data/public/stylesheets/sass/admin/modules/_grid.sass +56 -0
  62. data/public/stylesheets/sass/admin/partials/_actions.sass +74 -34
  63. data/public/stylesheets/sass/admin/partials/{_depreciated.sass → _deprecated.sass} +1 -1
  64. data/public/stylesheets/sass/admin/partials/_popup.sass +1 -1
  65. data/public/stylesheets/sass/admin/partials/_validations.sass +21 -0
  66. data/spec/controllers/admin/paginated_controller_spec.rb +26 -0
  67. data/spec/controllers/admin/preferences_controller_spec.rb +14 -0
  68. data/spec/controllers/application_controller_spec.rb +1 -11
  69. data/spec/controllers/site_controller_spec.rb +9 -0
  70. data/spec/datasets/users_dataset.rb +1 -1
  71. data/spec/generators/instance_generator_spec.rb +1 -1
  72. data/spec/helpers/application_helper_spec.rb +38 -0
  73. data/spec/lib/radiant/extension/script_spec.rb +5 -1
  74. data/spec/lib/radiant/initializer_spec.rb +7 -0
  75. data/spec/lib/radiant_spec.rb +1 -1
  76. data/spec/lib/task_support_spec.rb +14 -0
  77. data/spec/matchers/render_matcher.rb +14 -1
  78. data/spec/models/layout_spec.rb +3 -3
  79. data/spec/models/page_part_spec.rb +3 -3
  80. data/spec/models/page_spec.rb +8 -9
  81. data/spec/models/snippet_spec.rb +3 -3
  82. data/spec/models/standard_tags_spec.rb +99 -5
  83. data/spec/models/user_spec.rb +11 -11
  84. data/vendor/extensions/archive/app/models/archive_finder.rb +5 -0
  85. data/vendor/extensions/french_language_pack/config/locales/fr.yml +31 -25
  86. data/vendor/extensions/german_language_pack/README +2 -1
  87. data/vendor/extensions/german_language_pack/config/locales/de.yml +47 -45
  88. data/vendor/extensions/german_language_pack/config/locales/de_available_tags.yml +375 -304
  89. data/vendor/extensions/german_language_pack/german_language_pack_extension.rb +2 -2
  90. data/vendor/extensions/markdown_filter/README +1 -1
  91. data/vendor/extensions/markdown_filter/lib/markdown_filter.rb +4 -4
  92. data/vendor/extensions/markdown_filter/lib/markdown_tags.rb +0 -15
  93. data/vendor/extensions/markdown_filter/markdown_filter_extension.rb +1 -10
  94. data/vendor/extensions/markdown_filter/spec/models/markdown_filter_spec.rb +1 -1
  95. data/vendor/extensions/markdown_filter/vendor/kramdown/CONTRIBUTERS +4 -0
  96. data/vendor/extensions/markdown_filter/vendor/kramdown/ChangeLog +1332 -0
  97. data/vendor/extensions/markdown_filter/vendor/kramdown/README +10 -0
  98. data/vendor/extensions/markdown_filter/vendor/kramdown/Rakefile +97 -38
  99. data/vendor/extensions/markdown_filter/vendor/kramdown/VERSION +1 -1
  100. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/generate_data.rb +6 -4
  101. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-jruby-1.4.0.dat +7 -7
  102. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.6.dat +7 -7
  103. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.7.dat +7 -7
  104. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.1p243.dat +7 -7
  105. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.2dev.dat +7 -7
  106. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/testing.sh +1 -1
  107. data/vendor/extensions/markdown_filter/vendor/kramdown/bin/kramdown +11 -4
  108. data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.html +9 -0
  109. data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.latex +43 -0
  110. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.less.css +510 -0
  111. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.template +26 -33
  112. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/documentation.page +72 -0
  113. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/index.page +21 -49
  114. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/installation.page +6 -6
  115. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/links.markdown +6 -0
  116. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/news.page +3 -2
  117. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/quickref.page +140 -127
  118. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/syntax.page +501 -431
  119. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/tests.page +3 -3
  120. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown.rb +1 -1
  121. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/compatibility.rb +1 -1
  122. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter.rb +8 -3
  123. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/base.rb +40 -4
  124. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/html.rb +99 -27
  125. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/latex.rb +57 -18
  126. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/document.rb +32 -13
  127. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/error.rb +1 -1
  128. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/options.rb +34 -14
  129. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser.rb +9 -3
  130. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/base.rb +95 -0
  131. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/html.rb +387 -0
  132. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown.rb +74 -65
  133. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/abbreviation.rb +65 -0
  134. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/attribute_list.rb +3 -2
  135. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/autolink.rb +8 -3
  136. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blank_line.rb +2 -2
  137. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blockquote.rb +2 -2
  138. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codeblock.rb +3 -3
  139. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codespan.rb +1 -1
  140. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/emphasis.rb +4 -3
  141. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/eob.rb +2 -2
  142. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/escaped_chars.rb +2 -2
  143. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/extension.rb +47 -55
  144. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/footnote.rb +1 -1
  145. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/header.rb +3 -18
  146. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/horizontal_rule.rb +2 -2
  147. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html.rb +69 -149
  148. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html_entity.rb +4 -4
  149. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/line_break.rb +1 -1
  150. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/link.rb +2 -2
  151. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/list.rb +12 -9
  152. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/math.rb +53 -0
  153. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/paragraph.rb +2 -2
  154. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/smart_quotes.rb +5 -4
  155. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/table.rb +4 -3
  156. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/typographic_symbol.rb +7 -3
  157. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/version.rb +2 -2
  158. data/vendor/extensions/markdown_filter/vendor/kramdown/man/man1/kramdown.1 +222 -0
  159. data/vendor/extensions/markdown_filter/vendor/kramdown/test/run_tests.rb +1 -0
  160. data/vendor/extensions/markdown_filter/vendor/kramdown/test/test_files.rb +68 -7
  161. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.html +3 -0
  162. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.options +2 -0
  163. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.text +3 -0
  164. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.html +9 -0
  165. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.text +5 -0
  166. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/mixed.html +9 -3
  167. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.html +49 -0
  168. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.text +29 -0
  169. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.html +5 -0
  170. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.text +3 -0
  171. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/tables.html +2 -2
  172. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.html +10 -0
  173. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.text +9 -0
  174. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.html +7 -0
  175. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.text +8 -0
  176. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.html +1 -0
  177. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.text +1 -0
  178. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.html +1 -0
  179. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.text +1 -0
  180. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.html +6 -0
  181. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.options +2 -0
  182. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.text +6 -0
  183. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.html +8 -0
  184. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.text +8 -0
  185. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.html +15 -0
  186. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.text +17 -0
  187. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.html +19 -0
  188. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.text +22 -0
  189. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/options +1 -0
  190. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.html +3 -0
  191. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.text +4 -0
  192. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.html +13 -0
  193. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.text +12 -0
  194. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.html +10 -0
  195. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.text +14 -0
  196. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.html +1 -0
  197. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.text +1 -0
  198. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.html +3 -5
  199. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.text +0 -1
  200. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.html +1 -1
  201. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.text +1 -1
  202. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.html +5 -0
  203. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.text +7 -0
  204. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/comment.text +5 -5
  205. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.html +0 -2
  206. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.text +3 -6
  207. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/nomarkdown.text +4 -4
  208. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.html +1 -1
  209. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.text +5 -6
  210. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options2.text +1 -1
  211. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options3.text +1 -1
  212. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.html +19 -0
  213. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.text +18 -0
  214. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/errors.html +1 -1
  215. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.html +4 -0
  216. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.text +3 -0
  217. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/definitions.latex +18 -0
  218. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.latex +6 -0
  219. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/markers.latex +32 -0
  220. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.html +1 -0
  221. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.text +1 -0
  222. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.html +8 -0
  223. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.text +15 -0
  224. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.html +2 -0
  225. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.text +5 -0
  226. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.html +3 -0
  227. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.text +3 -0
  228. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.html +6 -0
  229. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.text +6 -0
  230. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.html +1 -0
  231. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.text +1 -0
  232. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.html +1 -0
  233. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.text +1 -0
  234. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.html +1 -0
  235. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.text +1 -0
  236. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.html +2 -1
  237. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.text +1 -0
  238. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.html +5 -0
  239. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.text +5 -0
  240. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.html +3 -0
  241. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.text +3 -0
  242. data/vendor/extensions/smarty_pants_filter/README +1 -0
  243. data/vendor/extensions/smarty_pants_filter/Rakefile +136 -0
  244. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/lib/smarty_pants_filter.rb +0 -0
  245. data/vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb +18 -0
  246. data/vendor/extensions/smarty_pants_filter/lib/tasks/smarty_pants_filter_extension_tasks.rake +28 -0
  247. data/vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb +18 -0
  248. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/smartypants.html +0 -0
  249. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/spec/models/smarty_pants_filter_spec.rb +0 -0
  250. data/vendor/extensions/smarty_pants_filter/spec/spec.opts +6 -0
  251. data/vendor/extensions/smarty_pants_filter/spec/spec_helper.rb +36 -0
  252. data/vendor/extensions/smarty_pants_filter/test/test_helper.rb +19 -0
  253. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/test/unit/smarty_pants_filter_test.rb +0 -0
  254. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/README +0 -0
  255. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/Rakefile +0 -0
  256. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/install.rb +0 -0
  257. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/rubypants.rb +0 -0
  258. data/vendor/extensions/{markdown_filter → smarty_pants_filter}/vendor/rubypants/test_rubypants.rb +0 -0
  259. data/vendor/plugins/haml/Rakefile +84 -52
  260. data/vendor/plugins/haml/VERSION +1 -1
  261. data/vendor/plugins/haml/doc-src/HAML_CHANGELOG.md +77 -0
  262. data/vendor/plugins/haml/doc-src/SASS_CHANGELOG.md +60 -0
  263. data/vendor/plugins/haml/extra/haml-mode.el +15 -12
  264. data/vendor/plugins/haml/extra/sass-mode.el +2 -2
  265. data/vendor/plugins/haml/haml.gemspec +16 -7
  266. data/vendor/plugins/haml/init.rb +3 -1
  267. data/vendor/plugins/haml/lib/haml.rb +1 -0
  268. data/vendor/plugins/haml/lib/haml/filters.rb +14 -2
  269. data/vendor/plugins/haml/lib/haml/helpers.rb +34 -14
  270. data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +6 -4
  271. data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +74 -34
  272. data/vendor/plugins/haml/lib/haml/helpers/xss_mods.rb +37 -8
  273. data/vendor/plugins/haml/lib/haml/html.rb +1 -1
  274. data/vendor/plugins/haml/lib/haml/precompiler.rb +3 -2
  275. data/vendor/plugins/haml/lib/haml/railtie.rb +18 -0
  276. data/vendor/plugins/haml/lib/haml/template.rb +15 -4
  277. data/vendor/plugins/haml/lib/haml/template/plugin.rb +37 -2
  278. data/vendor/plugins/haml/lib/haml/util.rb +56 -2
  279. data/vendor/plugins/haml/lib/haml/version.rb +29 -14
  280. data/vendor/plugins/haml/lib/sass/files.rb +10 -2
  281. data/vendor/plugins/haml/lib/sass/plugin.rb +7 -2
  282. data/vendor/plugins/haml/lib/sass/plugin/rack.rb +2 -2
  283. data/vendor/plugins/haml/lib/sass/plugin/rails.rb +2 -1
  284. data/vendor/plugins/haml/lib/sass/script/number.rb +2 -2
  285. data/vendor/plugins/haml/lib/sass/tree/if_node.rb +1 -0
  286. data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +9 -1
  287. data/vendor/plugins/haml/test/haml/engine_test.rb +24 -2
  288. data/vendor/plugins/haml/test/haml/helper_test.rb +60 -9
  289. data/vendor/plugins/haml/test/haml/template_test.rb +80 -3
  290. data/vendor/plugins/haml/test/haml/templates/helpers.haml +26 -0
  291. data/vendor/plugins/haml/test/haml/templates/partial_layout.haml +6 -2
  292. data/vendor/plugins/haml/test/sass/engine_test.rb +6 -1
  293. data/vendor/plugins/haml/test/test_helper.rb +16 -1
  294. data/vendor/radius/LICENSE +19 -0
  295. data/vendor/radius/QUICKSTART.rdoc +7 -7
  296. data/vendor/radius/README.rdoc +9 -25
  297. data/vendor/radius/Rakefile +4 -27
  298. data/vendor/radius/VERSION +1 -0
  299. data/vendor/radius/lib/radius/parser.rb +4 -4
  300. data/vendor/radius/lib/radius/parser/scan.rb +371 -940
  301. data/vendor/radius/lib/radius/parser/scan.rl +2 -1
  302. data/vendor/radius/lib/radius/version.rb +5 -11
  303. data/vendor/radius/radius.gemspec +55 -22
  304. data/vendor/radius/tasks/jeweler.rake +21 -0
  305. data/vendor/radius/tasks/rdoc.rake +13 -0
  306. data/vendor/radius/tasks/test.rake +7 -0
  307. data/vendor/radius/test/parser_test.rb +5 -0
  308. data/vendor/radius/test/test_helper.rb +1 -0
  309. data/vendor/rails/actionmailer/CHANGELOG +18 -0
  310. data/vendor/rails/actionmailer/MIT-LICENSE +1 -1
  311. data/vendor/rails/actionmailer/Rakefile +1 -1
  312. data/vendor/rails/actionmailer/lib/action_mailer.rb +1 -1
  313. data/vendor/rails/actionmailer/lib/action_mailer/base.rb +2 -2
  314. data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +1 -0
  315. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail.rb +1 -0
  316. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/Makefile +18 -0
  317. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/address.rb +4 -38
  318. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb +65 -0
  319. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/base64.rb +0 -0
  320. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/compat.rb +0 -0
  321. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/config.rb +0 -0
  322. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/core_extensions.rb +0 -0
  323. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/encode.rb +9 -0
  324. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/header.rb +4 -2
  325. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/index.rb +0 -0
  326. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/interface.rb +33 -1
  327. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/loader.rb +0 -0
  328. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mail.rb +1 -1
  329. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mailbox.rb +3 -2
  330. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/main.rb +0 -0
  331. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/mbox.rb +0 -0
  332. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/net.rb +3 -1
  333. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/obsolete.rb +0 -0
  334. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.rb +1060 -0
  335. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.y +416 -0
  336. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/port.rb +0 -0
  337. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/quoting.rb +47 -1
  338. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/require_arch.rb +0 -0
  339. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/scanner.rb +0 -0
  340. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/scanner_r.rb +2 -1
  341. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/stringio.rb +0 -0
  342. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/utils.rb +50 -25
  343. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/COPYING +504 -0
  344. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/README +12 -0
  345. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb +67 -0
  346. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5freq.rb +927 -0
  347. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5prober.rb +42 -0
  348. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/chardistribution.rb +238 -0
  349. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetgroupprober.rb +112 -0
  350. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetprober.rb +75 -0
  351. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/codingstatemachine.rb +64 -0
  352. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/constants.rb +42 -0
  353. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escprober.rb +89 -0
  354. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escsm.rb +244 -0
  355. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/eucjpprober.rb +88 -0
  356. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrfreq.rb +596 -0
  357. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrprober.rb +42 -0
  358. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwfreq.rb +430 -0
  359. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwprober.rb +42 -0
  360. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312freq.rb +474 -0
  361. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312prober.rb +42 -0
  362. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/hebrewprober.rb +289 -0
  363. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jisfreq.rb +570 -0
  364. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jpcntx.rb +229 -0
  365. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langbulgarianmodel.rb +229 -0
  366. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langcyrillicmodel.rb +330 -0
  367. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langgreekmodel.rb +227 -0
  368. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhebrewmodel.rb +202 -0
  369. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhungarianmodel.rb +226 -0
  370. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langthaimodel.rb +201 -0
  371. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/latin1prober.rb +147 -0
  372. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcharsetprober.rb +89 -0
  373. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb +45 -0
  374. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcssm.rb +542 -0
  375. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb +124 -0
  376. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcsgroupprober.rb +56 -0
  377. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sjisprober.rb +88 -0
  378. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/universaldetector.rb +168 -0
  379. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/utf8prober.rb +87 -0
  380. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.3 → tmail-1.2.7}/tmail/version.rb +1 -1
  381. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +2 -2
  382. data/vendor/rails/actionmailer/lib/action_mailer/version.rb +1 -1
  383. data/vendor/rails/actionmailer/test/abstract_unit.rb +4 -4
  384. data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +1 -1
  385. data/vendor/rails/actionmailer/test/mail_service_test.rb +66 -2
  386. data/vendor/rails/actionmailer/test/quoting_test.rb +10 -4
  387. data/vendor/rails/actionpack/CHANGELOG +55 -0
  388. data/vendor/rails/actionpack/MIT-LICENSE +1 -1
  389. data/vendor/rails/actionpack/README +7 -7
  390. data/vendor/rails/actionpack/Rakefile +2 -2
  391. data/vendor/rails/actionpack/lib/action_controller.rb +2 -2
  392. data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +18 -9
  393. data/vendor/rails/actionpack/lib/action_controller/base.rb +14 -14
  394. data/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +6 -6
  395. data/vendor/rails/actionpack/lib/action_controller/cookies.rb +96 -0
  396. data/vendor/rails/actionpack/lib/action_controller/failsafe.rb +1 -0
  397. data/vendor/rails/actionpack/lib/action_controller/flash.rb +42 -0
  398. data/vendor/rails/actionpack/lib/action_controller/integration.rb +5 -1
  399. data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +1 -1
  400. data/vendor/rails/actionpack/lib/action_controller/rack_lint_patch.rb +1 -1
  401. data/vendor/rails/actionpack/lib/action_controller/rescue.rb +2 -2
  402. data/vendor/rails/actionpack/lib/action_controller/response.rb +4 -7
  403. data/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +1 -0
  404. data/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +6 -0
  405. data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +6 -0
  406. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +2 -2
  407. data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +4 -1
  408. data/vendor/rails/actionpack/lib/action_pack.rb +1 -1
  409. data/vendor/rails/actionpack/lib/action_pack/version.rb +1 -1
  410. data/vendor/rails/actionpack/lib/action_view.rb +3 -3
  411. data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +11 -11
  412. data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +2 -2
  413. data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +2 -2
  414. data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +12 -11
  415. data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +2 -2
  416. data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +49 -12
  417. data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +3 -4
  418. data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +7 -4
  419. data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +1 -1
  420. data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +1 -1
  421. data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +2 -2
  422. data/vendor/rails/actionpack/lib/action_view/helpers/raw_output_helper.rb +2 -2
  423. data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +2 -10
  424. data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +6 -5
  425. data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +5 -5
  426. data/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +37 -9
  427. data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +9 -11
  428. data/vendor/rails/actionpack/lib/action_view/partials.rb +2 -1
  429. data/vendor/rails/actionpack/lib/action_view/paths.rb +8 -0
  430. data/vendor/rails/actionpack/lib/action_view/renderable.rb +16 -2
  431. data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +7 -4
  432. data/vendor/rails/actionpack/lib/action_view/test_case.rb +1 -1
  433. data/vendor/rails/actionpack/test/abstract_unit.rb +8 -8
  434. data/vendor/rails/actionpack/test/active_record_unit.rb +1 -1
  435. data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +3 -1
  436. data/vendor/rails/actionpack/test/controller/assert_select_test.rb +6 -5
  437. data/vendor/rails/actionpack/test/controller/caching_test.rb +16 -2
  438. data/vendor/rails/actionpack/test/controller/capture_test.rb +1 -1
  439. data/vendor/rails/actionpack/test/controller/cookie_test.rb +37 -1
  440. data/vendor/rails/actionpack/test/controller/flash_test.rb +28 -1
  441. data/vendor/rails/actionpack/test/controller/helper_test.rb +1 -1
  442. data/vendor/rails/actionpack/test/controller/integration_test.rb +0 -1
  443. data/vendor/rails/actionpack/test/controller/localized_templates_test.rb +24 -0
  444. data/vendor/rails/actionpack/test/controller/output_escaping_test.rb +19 -0
  445. data/vendor/rails/actionpack/test/controller/rack_test.rb +1 -4
  446. data/vendor/rails/actionpack/test/controller/render_test.rb +11 -2
  447. data/vendor/rails/actionpack/test/controller/rescue_test.rb +8 -2
  448. data/vendor/rails/actionpack/test/controller/routing_test.rb +1 -0
  449. data/vendor/rails/actionpack/test/controller/send_file_test.rb +1 -1
  450. data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +2 -2
  451. data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +10 -6
  452. data/vendor/rails/actionpack/test/fixtures/localized/hello_world.de.html +1 -0
  453. data/vendor/rails/actionpack/test/fixtures/localized/hello_world.en.html +1 -0
  454. data/vendor/rails/actionpack/test/fixtures/test/_customer_counter_with_as.erb +1 -0
  455. data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial.html.erb +1 -0
  456. data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial_magic.html.erb +2 -0
  457. data/vendor/rails/actionpack/test/fixtures/test/array_translation.erb +1 -0
  458. data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +2 -2
  459. data/vendor/rails/actionpack/test/fixtures/test/scoped_array_translation.erb +1 -0
  460. data/vendor/rails/actionpack/test/fixtures/test/translation.erb +1 -0
  461. data/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +4 -2
  462. data/vendor/rails/actionpack/test/fixtures/test/utf8_magic.html.erb +5 -0
  463. data/vendor/rails/actionpack/test/fixtures/test/utf8_magic_with_bare_partial.html.erb +5 -0
  464. data/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +9 -2
  465. data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -1
  466. data/vendor/rails/actionpack/test/template/date_helper_test.rb +118 -0
  467. data/vendor/rails/actionpack/test/template/erb_util_test.rb +12 -0
  468. data/vendor/rails/actionpack/test/template/form_helper_test.rb +57 -3
  469. data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +21 -9
  470. data/vendor/rails/actionpack/test/template/render_test.rb +47 -8
  471. data/vendor/rails/actionpack/test/template/text_helper_test.rb +26 -1
  472. data/vendor/rails/actionpack/test/template/translation_helper_test.rb +72 -9
  473. data/vendor/rails/actionpack/test/template/url_helper_test.rb +20 -1
  474. data/vendor/rails/actionpack/test/view/test_case_test.rb +2 -2
  475. data/vendor/rails/activerecord/CHANGELOG +43 -0
  476. data/vendor/rails/activerecord/Rakefile +1 -1
  477. data/vendor/rails/activerecord/examples/performance.sql +85 -0
  478. data/vendor/rails/activerecord/lib/active_record.rb +1 -2
  479. data/vendor/rails/activerecord/lib/active_record/association_preload.rb +9 -2
  480. data/vendor/rails/activerecord/lib/active_record/associations.rb +48 -38
  481. data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +15 -11
  482. data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +16 -6
  483. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +11 -1
  484. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -10
  485. data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +5 -0
  486. data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +5 -5
  487. data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +10 -1
  488. data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +5 -1
  489. data/vendor/rails/activerecord/lib/active_record/autosave_association.rb +66 -35
  490. data/vendor/rails/activerecord/lib/active_record/base.rb +77 -36
  491. data/vendor/rails/activerecord/lib/active_record/batches.rb +13 -9
  492. data/vendor/rails/activerecord/lib/active_record/calculations.rb +6 -3
  493. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +3 -3
  494. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb +57 -0
  495. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +1 -1
  496. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +3 -7
  497. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +1 -1
  498. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +64 -10
  499. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +2 -0
  500. data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +31 -1
  501. data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +31 -66
  502. data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +5 -5
  503. data/vendor/rails/activerecord/lib/active_record/dirty.rb +2 -2
  504. data/vendor/rails/activerecord/lib/active_record/fixtures.rb +1 -0
  505. data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +34 -1
  506. data/vendor/rails/activerecord/lib/active_record/migration.rb +5 -0
  507. data/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +64 -52
  508. data/vendor/rails/activerecord/lib/active_record/reflection.rb +66 -1
  509. data/vendor/rails/activerecord/lib/active_record/schema.rb +5 -1
  510. data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +3 -0
  511. data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +1 -1
  512. data/vendor/rails/activerecord/lib/active_record/validations.rb +13 -1
  513. data/vendor/rails/activerecord/lib/active_record/version.rb +1 -1
  514. data/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +22 -0
  515. data/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +13 -0
  516. data/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +8 -7
  517. data/vendor/rails/activerecord/test/cases/associations/eager_test.rb +7 -1
  518. data/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +26 -0
  519. data/vendor/rails/activerecord/test/cases/associations/inverse_associations_test.rb +566 -0
  520. data/vendor/rails/activerecord/test/cases/associations_test.rb +10 -0
  521. data/vendor/rails/activerecord/test/cases/autosave_association_test.rb +86 -10
  522. data/vendor/rails/activerecord/test/cases/base_test.rb +29 -0
  523. data/vendor/rails/activerecord/test/cases/batches_test.rb +20 -0
  524. data/vendor/rails/activerecord/test/cases/calculations_test.rb +2 -3
  525. data/vendor/rails/activerecord/test/cases/encoding_test.rb +6 -0
  526. data/vendor/rails/activerecord/test/cases/finder_test.rb +19 -3
  527. data/vendor/rails/activerecord/test/cases/fixtures_test.rb +5 -0
  528. data/vendor/rails/activerecord/test/cases/json_serialization_test.rb +14 -0
  529. data/vendor/rails/activerecord/test/cases/locking_test.rb +48 -3
  530. data/vendor/rails/activerecord/test/cases/migration_test.rb +115 -0
  531. data/vendor/rails/activerecord/test/cases/modules_test.rb +28 -0
  532. data/vendor/rails/activerecord/test/cases/named_scope_test.rb +1 -1
  533. data/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +239 -7
  534. data/vendor/rails/activerecord/test/cases/query_cache_test.rb +7 -1
  535. data/vendor/rails/activerecord/test/cases/reflection_test.rb +47 -7
  536. data/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +2 -2
  537. data/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +6 -36
  538. data/vendor/rails/activerecord/test/cases/validations_test.rb +33 -1
  539. data/vendor/rails/activerecord/test/cases/yaml_serialization_test.rb +11 -0
  540. data/vendor/rails/activerecord/test/fixtures/faces.yml +11 -0
  541. data/vendor/rails/{pkg/rails-3.0.pre.gem → activerecord/test/fixtures/fixture_database.sqlite} +0 -0
  542. data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
  543. data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite +0 -0
  544. data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
  545. data/vendor/rails/activerecord/test/fixtures/interests.yml +33 -0
  546. data/vendor/rails/activerecord/test/fixtures/men.yml +5 -0
  547. data/vendor/rails/activerecord/test/fixtures/zines.yml +5 -0
  548. data/vendor/rails/activerecord/test/models/author.rb +3 -0
  549. data/vendor/rails/activerecord/test/models/bird.rb +6 -0
  550. data/vendor/rails/activerecord/test/models/company_in_module.rb +17 -0
  551. data/vendor/rails/activerecord/test/models/event_author.rb +5 -0
  552. data/vendor/rails/activerecord/test/models/face.rb +7 -0
  553. data/vendor/rails/activerecord/test/models/interest.rb +5 -0
  554. data/vendor/rails/activerecord/test/models/invoice.rb +4 -0
  555. data/vendor/rails/activerecord/test/models/line_item.rb +3 -0
  556. data/vendor/rails/activerecord/test/models/man.rb +9 -0
  557. data/vendor/rails/activerecord/test/models/parrot.rb +6 -0
  558. data/vendor/rails/activerecord/test/models/pirate.rb +10 -0
  559. data/vendor/rails/activerecord/test/models/ship.rb +10 -1
  560. data/vendor/rails/activerecord/test/models/ship_part.rb +3 -1
  561. data/vendor/rails/activerecord/test/models/zine.rb +3 -0
  562. data/vendor/rails/activerecord/test/schema/schema.rb +41 -0
  563. data/vendor/rails/activeresource/CHANGELOG +15 -0
  564. data/vendor/rails/activeresource/Rakefile +1 -1
  565. data/vendor/rails/activeresource/lib/active_resource/base.rb +11 -2
  566. data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +2 -2
  567. data/vendor/rails/activeresource/lib/active_resource/validations.rb +3 -3
  568. data/vendor/rails/activeresource/lib/active_resource/version.rb +1 -1
  569. data/vendor/rails/activeresource/test/abstract_unit.rb +2 -2
  570. data/vendor/rails/activeresource/test/base_errors_test.rb +13 -0
  571. data/vendor/rails/activeresource/test/base_test.rb +49 -0
  572. data/vendor/rails/activeresource/test/debug.log +80350 -0
  573. data/vendor/rails/activesupport/CHANGELOG +37 -0
  574. data/vendor/rails/activesupport/lib/active_support.rb +1 -0
  575. data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +1 -1
  576. data/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +7 -1
  577. data/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +1 -1
  578. data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +1 -1
  579. data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +11 -1
  580. data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +35 -28
  581. data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +14 -4
  582. data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +14 -3
  583. data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +6 -0
  584. data/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +2 -1
  585. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +1 -1
  586. data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +1 -1
  587. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +1 -1
  588. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +33 -26
  589. data/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +1 -1
  590. data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +2 -2
  591. data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +1 -0
  592. data/vendor/rails/activesupport/lib/active_support/core_ext/object/blank.rb +20 -2
  593. data/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +6 -5
  594. data/vendor/rails/activesupport/lib/active_support/core_ext/object/singleton_class.rb +13 -0
  595. data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -1
  596. data/vendor/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb +108 -44
  597. data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +2 -4
  598. data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +8 -4
  599. data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +12 -3
  600. data/vendor/rails/activesupport/lib/active_support/deprecation.rb +3 -2
  601. data/vendor/rails/activesupport/lib/active_support/inflections.rb +1 -1
  602. data/vendor/rails/activesupport/lib/active_support/inflector.rb +5 -2
  603. data/vendor/rails/activesupport/lib/active_support/json/backends/yajl.rb +40 -0
  604. data/vendor/rails/activesupport/lib/active_support/json/backends/yaml.rb +10 -7
  605. data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +16 -1
  606. data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +11 -2
  607. data/vendor/rails/activesupport/lib/active_support/memoizable.rb +1 -1
  608. data/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +2 -2
  609. data/vendor/rails/activesupport/lib/active_support/multibyte/utils.rb +6 -7
  610. data/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +28 -11
  611. data/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +14 -0
  612. data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +84 -76
  613. data/vendor/rails/activesupport/lib/active_support/vendor.rb +10 -2
  614. data/vendor/rails/activesupport/lib/active_support/vendor/{i18n-0.1.3/lib → i18n-0.3.7}/i18n.rb +175 -39
  615. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend.rb +19 -0
  616. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record.rb +66 -0
  617. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/missing.rb +67 -0
  618. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/store_procs.rb +38 -0
  619. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/translation.rb +88 -0
  620. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/base.rb +266 -0
  621. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cache.rb +76 -0
  622. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cascade.rb +58 -0
  623. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/chain.rb +75 -0
  624. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cldr.rb +100 -0
  625. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fallbacks.rb +69 -0
  626. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fast.rb +69 -0
  627. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/gettext.rb +75 -0
  628. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/helpers.rb +68 -0
  629. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/interpolation_compiler.rb +119 -0
  630. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/links.rb +34 -0
  631. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/metadata.rb +73 -0
  632. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/pluralization.rb +57 -0
  633. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/simple.rb +22 -0
  634. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/except.rb +8 -0
  635. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/slice.rb +8 -0
  636. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/object/meta_class.rb +5 -0
  637. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/string/interpolate.rb +99 -0
  638. data/vendor/rails/activesupport/lib/active_support/vendor/{i18n-0.1.3/lib → i18n-0.3.7}/i18n/exceptions.rb +15 -7
  639. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext.rb +25 -0
  640. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext/po_parser.rb +329 -0
  641. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers.rb +5 -0
  642. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers/gettext.rb +65 -0
  643. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale.rb +6 -0
  644. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/fallbacks.rb +98 -0
  645. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag.rb +28 -0
  646. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/parents.rb +24 -0
  647. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/rfc4646.rb +76 -0
  648. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/simple.rb +41 -0
  649. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/version.rb +3 -0
  650. data/vendor/rails/activesupport/lib/active_support/version.rb +1 -1
  651. data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +1 -1
  652. data/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +23 -83
  653. data/vendor/rails/activesupport/lib/active_support/xml_mini/libxmlsax.rb +74 -0
  654. data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +25 -22
  655. data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogirisax.rb +73 -0
  656. data/vendor/rails/railties/CHANGELOG +18 -2
  657. data/vendor/rails/railties/MIT-LICENSE +1 -1
  658. data/vendor/rails/railties/Rakefile +5 -5
  659. data/vendor/rails/railties/bin/rails +6 -5
  660. data/vendor/rails/railties/builtin/rails_info/rails/info.rb +1 -1
  661. data/vendor/rails/railties/configs/initializers/cookie_verification_secret.rb +7 -0
  662. data/vendor/rails/railties/guides/source/getting_started.textile +2 -2
  663. data/vendor/rails/railties/lib/commands/dbconsole.rb +1 -1
  664. data/vendor/rails/railties/lib/commands/runner.rb +1 -1
  665. data/vendor/rails/railties/lib/dispatcher.rb +1 -1
  666. data/vendor/rails/railties/lib/rails/gem_dependency.rb +11 -4
  667. data/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +1 -1
  668. data/vendor/rails/railties/lib/rails/version.rb +1 -1
  669. data/vendor/rails/railties/lib/rails_generator.rb +5 -2
  670. data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +7 -6
  671. data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +3 -0
  672. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +9 -5
  673. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +2 -2
  674. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +2 -4
  675. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +1 -1
  676. data/vendor/rails/railties/lib/tasks/databases.rake +14 -14
  677. data/vendor/rails/railties/lib/tasks/framework.rake +4 -1
  678. data/vendor/rails/railties/lib/tasks/rails.rb +6 -1
  679. metadata +276 -321
  680. data/config/initializers/pagination.rb +0 -1
  681. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.css +0 -293
  682. data/vendor/plugins/haml/FAQ +0 -138
  683. data/vendor/plugins/haml/README.rdoc +0 -319
  684. data/vendor/plugins/haml/REVISION +0 -1
  685. data/vendor/plugins/haml/lib/sass/constant.rb +0 -216
  686. data/vendor/plugins/haml/lib/sass/constant/color.rb +0 -101
  687. data/vendor/plugins/haml/lib/sass/constant/literal.rb +0 -54
  688. data/vendor/plugins/haml/lib/sass/constant/nil.rb +0 -9
  689. data/vendor/plugins/haml/lib/sass/constant/number.rb +0 -87
  690. data/vendor/plugins/haml/lib/sass/constant/operation.rb +0 -30
  691. data/vendor/plugins/haml/lib/sass/constant/string.rb +0 -22
  692. data/vendor/plugins/haml/lib/sass/tree/attr_node.rb +0 -57
  693. data/vendor/plugins/haml/lib/sass/tree/value_node.rb +0 -20
  694. data/vendor/plugins/haml/test/sass/results/constants.css +0 -16
  695. data/vendor/plugins/haml/test/sass/templates/constants.sass +0 -100
  696. data/vendor/radius/Manifest.txt +0 -21
  697. data/vendor/rails/Rakefile +0 -81
  698. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -46
  699. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -1478
  700. data/vendor/rails/actionmailer/pkg/actionmailer-3.0.pre.gem +0 -0
  701. data/vendor/rails/actionpack/lib/action_view/erb/util.rb +0 -44
  702. data/vendor/rails/actionpack/lib/action_view/safe_buffer.rb +0 -28
  703. data/vendor/rails/actionpack/pkg/actionpack-3.0.pre.gem +0 -0
  704. data/vendor/rails/actionpack/test/view/safe_buffer_test.rb +0 -36
  705. data/vendor/rails/activemodel/CHANGES +0 -12
  706. data/vendor/rails/activemodel/README +0 -21
  707. data/vendor/rails/activemodel/Rakefile +0 -24
  708. data/vendor/rails/activemodel/lib/active_model.rb +0 -5
  709. data/vendor/rails/activemodel/lib/active_model/base.rb +0 -8
  710. data/vendor/rails/activemodel/lib/active_model/callbacks.rb +0 -7
  711. data/vendor/rails/activemodel/lib/active_model/core.rb +0 -7
  712. data/vendor/rails/activemodel/lib/active_model/deprecated_error_methods.rb +0 -38
  713. data/vendor/rails/activemodel/lib/active_model/errors.rb +0 -82
  714. data/vendor/rails/activemodel/lib/active_model/observing.rb +0 -98
  715. data/vendor/rails/activemodel/lib/active_model/state_machine.rb +0 -68
  716. data/vendor/rails/activemodel/lib/active_model/state_machine/event.rb +0 -64
  717. data/vendor/rails/activemodel/lib/active_model/state_machine/machine.rb +0 -78
  718. data/vendor/rails/activemodel/lib/active_model/state_machine/state.rb +0 -47
  719. data/vendor/rails/activemodel/lib/active_model/state_machine/state_transition.rb +0 -40
  720. data/vendor/rails/activemodel/lib/active_model/validations.rb +0 -126
  721. data/vendor/rails/activemodel/lib/active_model/validations/acceptance.rb +0 -45
  722. data/vendor/rails/activemodel/lib/active_model/validations/associated.rb +0 -46
  723. data/vendor/rails/activemodel/lib/active_model/validations/confirmation.rb +0 -44
  724. data/vendor/rails/activemodel/lib/active_model/validations/exclusion.rb +0 -37
  725. data/vendor/rails/activemodel/lib/active_model/validations/format.rb +0 -39
  726. data/vendor/rails/activemodel/lib/active_model/validations/inclusion.rb +0 -37
  727. data/vendor/rails/activemodel/lib/active_model/validations/length.rb +0 -95
  728. data/vendor/rails/activemodel/lib/active_model/validations/numericality.rb +0 -80
  729. data/vendor/rails/activemodel/lib/active_model/validations/presence.rb +0 -42
  730. data/vendor/rails/activemodel/lib/active_model/validations/uniqueness.rb +0 -104
  731. data/vendor/rails/activemodel/pkg/activemodel-3.0.pre.gem +0 -0
  732. data/vendor/rails/activemodel/test/observing_test.rb +0 -121
  733. data/vendor/rails/activemodel/test/state_machine/event_test.rb +0 -49
  734. data/vendor/rails/activemodel/test/state_machine/machine_test.rb +0 -43
  735. data/vendor/rails/activemodel/test/state_machine/state_test.rb +0 -72
  736. data/vendor/rails/activemodel/test/state_machine/state_transition_test.rb +0 -84
  737. data/vendor/rails/activemodel/test/state_machine_test.rb +0 -312
  738. data/vendor/rails/activemodel/test/test_helper.rb +0 -21
  739. data/vendor/rails/activerecord/MIT-LICENSE +0 -20
  740. data/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +0 -26
  741. data/vendor/rails/activerecord/pkg/activerecord-3.0.pre.gem +0 -0
  742. data/vendor/rails/activeresource/MIT-LICENSE +0 -20
  743. data/vendor/rails/activeresource/pkg/activeresource-3.0.pre.gem +0 -0
  744. data/vendor/rails/activesupport/MIT-LICENSE +0 -20
  745. data/vendor/rails/activesupport/Rakefile +0 -175
  746. data/vendor/rails/activesupport/bin/generate_tables +0 -147
  747. data/vendor/rails/activesupport/install.rb +0 -30
  748. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +0 -20
  749. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +0 -20
  750. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +0 -5
  751. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +0 -27
  752. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +0 -214
  753. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +0 -5
  754. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +0 -99
  755. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +0 -124
  756. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +0 -1
  757. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +0 -3
  758. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +0 -567
  759. data/vendor/rails/activesupport/pkg/activesupport-3.0.pre.gem +0 -0
  760. data/vendor/rails/activesupport/test/abstract_unit.rb +0 -36
  761. data/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +0 -2
  762. data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +0 -2
  763. data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +0 -2
  764. data/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +0 -1
  765. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +0 -3
  766. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +0 -3
  767. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +0 -2
  768. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +0 -7
  769. data/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +0 -1
  770. data/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +0 -5
  771. data/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +0 -2
  772. data/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +0 -2
  773. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +0 -2
  774. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +0 -4
  775. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +0 -2
  776. data/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +0 -1
  777. data/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +0 -2
  778. data/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +0 -3
  779. data/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +0 -3
  780. data/vendor/rails/activesupport/test/buffered_logger_test.rb +0 -146
  781. data/vendor/rails/activesupport/test/caching_test.rb +0 -348
  782. data/vendor/rails/activesupport/test/callbacks_test.rb +0 -188
  783. data/vendor/rails/activesupport/test/clean_backtrace_test.rb +0 -47
  784. data/vendor/rails/activesupport/test/clean_logger_test.rb +0 -57
  785. data/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +0 -363
  786. data/vendor/rails/activesupport/test/core_ext/base64_ext_test.rb +0 -8
  787. data/vendor/rails/activesupport/test/core_ext/bigdecimal.rb +0 -10
  788. data/vendor/rails/activesupport/test/core_ext/blank_test.rb +0 -24
  789. data/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +0 -14
  790. data/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +0 -31
  791. data/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +0 -224
  792. data/vendor/rails/activesupport/test/core_ext/class/delegating_attributes_test.rb +0 -115
  793. data/vendor/rails/activesupport/test/core_ext/class_test.rb +0 -46
  794. data/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +0 -278
  795. data/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +0 -359
  796. data/vendor/rails/activesupport/test/core_ext/duplicable_test.rb +0 -22
  797. data/vendor/rails/activesupport/test/core_ext/duration_test.rb +0 -121
  798. data/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +0 -97
  799. data/vendor/rails/activesupport/test/core_ext/exception_test.rb +0 -68
  800. data/vendor/rails/activesupport/test/core_ext/file_test.rb +0 -67
  801. data/vendor/rails/activesupport/test/core_ext/float_ext_test.rb +0 -25
  802. data/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +0 -1014
  803. data/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +0 -37
  804. data/vendor/rails/activesupport/test/core_ext/kernel_test.rb +0 -43
  805. data/vendor/rails/activesupport/test/core_ext/load_error_test.rb +0 -16
  806. data/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +0 -30
  807. data/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +0 -52
  808. data/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +0 -33
  809. data/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +0 -58
  810. data/vendor/rails/activesupport/test/core_ext/module/model_naming_test.rb +0 -27
  811. data/vendor/rails/activesupport/test/core_ext/module/synchronization_test.rb +0 -85
  812. data/vendor/rails/activesupport/test/core_ext/module_test.rb +0 -363
  813. data/vendor/rails/activesupport/test/core_ext/name_error_test.rb +0 -20
  814. data/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +0 -162
  815. data/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +0 -282
  816. data/vendor/rails/activesupport/test/core_ext/object_ext_test.rb +0 -8
  817. data/vendor/rails/activesupport/test/core_ext/pathname_test.rb +0 -9
  818. data/vendor/rails/activesupport/test/core_ext/proc_test.rb +0 -11
  819. data/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +0 -63
  820. data/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +0 -369
  821. data/vendor/rails/activesupport/test/core_ext/symbol_test.rb +0 -9
  822. data/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +0 -744
  823. data/vendor/rails/activesupport/test/core_ext/time_with_zone_test.rb +0 -845
  824. data/vendor/rails/activesupport/test/core_ext/uri_ext_test.rb +0 -12
  825. data/vendor/rails/activesupport/test/dependencies/check_warnings.rb +0 -2
  826. data/vendor/rails/activesupport/test/dependencies/conflict.rb +0 -1
  827. data/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +0 -3
  828. data/vendor/rails/activesupport/test/dependencies/mutual_one.rb +0 -4
  829. data/vendor/rails/activesupport/test/dependencies/mutual_two.rb +0 -4
  830. data/vendor/rails/activesupport/test/dependencies/raises_exception.rb +0 -3
  831. data/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +0 -1
  832. data/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +0 -1
  833. data/vendor/rails/activesupport/test/dependencies/service_one.rb +0 -5
  834. data/vendor/rails/activesupport/test/dependencies/service_two.rb +0 -2
  835. data/vendor/rails/activesupport/test/dependencies_test.rb +0 -782
  836. data/vendor/rails/activesupport/test/deprecation_test.rb +0 -167
  837. data/vendor/rails/activesupport/test/flush_cache_on_private_memoization_test.rb +0 -43
  838. data/vendor/rails/activesupport/test/gzip_test.rb +0 -7
  839. data/vendor/rails/activesupport/test/i18n_test.rb +0 -98
  840. data/vendor/rails/activesupport/test/inflector_test.rb +0 -298
  841. data/vendor/rails/activesupport/test/inflector_test_cases.rb +0 -252
  842. data/vendor/rails/activesupport/test/json/decoding_test.rb +0 -73
  843. data/vendor/rails/activesupport/test/json/encoding_test.rb +0 -160
  844. data/vendor/rails/activesupport/test/memoizable_test.rb +0 -247
  845. data/vendor/rails/activesupport/test/message_encryptor_test.rb +0 -46
  846. data/vendor/rails/activesupport/test/message_verifier_test.rb +0 -31
  847. data/vendor/rails/activesupport/test/multibyte_chars_test.rb +0 -606
  848. data/vendor/rails/activesupport/test/multibyte_conformance.rb +0 -129
  849. data/vendor/rails/activesupport/test/multibyte_test_helpers.rb +0 -19
  850. data/vendor/rails/activesupport/test/multibyte_unicode_database_test.rb +0 -22
  851. data/vendor/rails/activesupport/test/multibyte_utils_test.rb +0 -137
  852. data/vendor/rails/activesupport/test/option_merger_test.rb +0 -85
  853. data/vendor/rails/activesupport/test/ordered_hash_test.rb +0 -201
  854. data/vendor/rails/activesupport/test/ordered_options_test.rb +0 -53
  855. data/vendor/rails/activesupport/test/rescuable_test.rb +0 -75
  856. data/vendor/rails/activesupport/test/secure_random_test.rb +0 -19
  857. data/vendor/rails/activesupport/test/string_inquirer_test.rb +0 -15
  858. data/vendor/rails/activesupport/test/test_test.rb +0 -148
  859. data/vendor/rails/activesupport/test/time_zone_test.rb +0 -266
  860. data/vendor/rails/activesupport/test/whiny_nil_test.rb +0 -50
  861. data/vendor/rails/activesupport/test/xml_mini/jdom_engine_test.rb +0 -153
  862. data/vendor/rails/activesupport/test/xml_mini/nokogiri_engine_test.rb +0 -168
  863. data/vendor/rails/activesupport/test/xml_mini/rexml_engine_test.rb +0 -15
  864. data/vendor/rails/ci/ci_build.rb +0 -119
  865. data/vendor/rails/ci/ci_setup_notes.txt +0 -131
  866. data/vendor/rails/ci/cruise_config.rb +0 -9
  867. data/vendor/rails/ci/geminstaller.yml +0 -24
  868. data/vendor/rails/ci/site.css +0 -13
  869. data/vendor/rails/ci/site_config.rb +0 -72
  870. data/vendor/rails/doc/template/horo.rb +0 -613
  871. data/vendor/rails/pushgems.rb +0 -14
  872. data/vendor/rails/railties/pkg/railties-3.0.pre.gem +0 -0
  873. data/vendor/rails/railties/test/abstract_unit.rb +0 -27
  874. data/vendor/rails/railties/test/backtrace_cleaner_test.rb +0 -61
  875. data/vendor/rails/railties/test/boot_test.rb +0 -178
  876. data/vendor/rails/railties/test/console_app_test.rb +0 -42
  877. data/vendor/rails/railties/test/fcgi_dispatcher_test.rb +0 -266
  878. data/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/about.yml +0 -1
  879. data/vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb +0 -1
  880. data/vendor/rails/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb +0 -1
  881. data/vendor/rails/railties/test/fixtures/eager/zoo.rb +0 -3
  882. data/vendor/rails/railties/test/fixtures/eager/zoo/reptile_house.rb +0 -2
  883. data/vendor/rails/railties/test/fixtures/environment_with_constant.rb +0 -1
  884. data/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
  885. data/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +0 -2
  886. data/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_a.rb +0 -5
  887. data/vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_b.rb +0 -5
  888. data/vendor/rails/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb +0 -5
  889. data/vendor/rails/railties/test/fixtures/metal/singlemetal/app/metal/foo_metal.rb +0 -5
  890. data/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb +0 -7
  891. data/vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb +0 -7
  892. data/vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb +0 -4
  893. data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/init.rb +0 -1
  894. data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/lib/gemlike.rb +0 -2
  895. data/vendor/rails/railties/test/fixtures/plugins/default/gemlike/rails/init.rb +0 -7
  896. data/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
  897. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/about.yml +0 -2
  898. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb +0 -4
  899. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +0 -7
  900. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +0 -2
  901. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/controllers/engine_controller.rb +0 -2
  902. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/metal/engine_metal.rb +0 -10
  903. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/app/models/engine_model.rb +0 -2
  904. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/config/locales/en.yml +0 -2
  905. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/config/routes.rb +0 -3
  906. data/vendor/rails/railties/test/fixtures/plugins/engines/engine/init.rb +0 -3
  907. data/vendor/rails/railties/test/fixtures/public/foo/bar.html +0 -1
  908. data/vendor/rails/railties/test/fixtures/public/foo/index.html +0 -1
  909. data/vendor/rails/railties/test/fixtures/public/index.html +0 -1
  910. data/vendor/rails/railties/test/gem_dependency_test.rb +0 -219
  911. data/vendor/rails/railties/test/generator_lookup_test.rb +0 -40
  912. data/vendor/rails/railties/test/generators/generator_test_helper.rb +0 -310
  913. data/vendor/rails/railties/test/generators/rails_controller_generator_test.rb +0 -44
  914. data/vendor/rails/railties/test/generators/rails_helper_generator_test.rb +0 -36
  915. data/vendor/rails/railties/test/generators/rails_mailer_generator_test.rb +0 -29
  916. data/vendor/rails/railties/test/generators/rails_model_generator_test.rb +0 -96
  917. data/vendor/rails/railties/test/generators/rails_resource_generator_test.rb +0 -29
  918. data/vendor/rails/railties/test/generators/rails_scaffold_generator_test.rb +0 -151
  919. data/vendor/rails/railties/test/generators/rails_template_runner_test.rb +0 -216
  920. data/vendor/rails/railties/test/initializer_test.rb +0 -416
  921. data/vendor/rails/railties/test/metal_test.rb +0 -72
  922. data/vendor/rails/railties/test/mocks/routes.rb +0 -6
  923. data/vendor/rails/railties/test/plugin_loader_test.rb +0 -172
  924. data/vendor/rails/railties/test/plugin_locator_test.rb +0 -62
  925. data/vendor/rails/railties/test/plugin_test.rb +0 -162
  926. data/vendor/rails/railties/test/plugin_test_helper.rb +0 -29
  927. data/vendor/rails/railties/test/rack_static_test.rb +0 -46
  928. data/vendor/rails/railties/test/rails_generator_test.rb +0 -145
  929. data/vendor/rails/railties/test/rails_info_controller_test.rb +0 -52
  930. data/vendor/rails/railties/test/rails_info_test.rb +0 -99
  931. data/vendor/rails/railties/test/secret_key_generation_test.rb +0 -38
  932. data/vendor/rails/railties/test/vendor/gems/dummy-gem-a-0.4.0/lib/dummy-gem-a.rb +0 -1
  933. data/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.4.0/lib/dummy-gem-b.rb +0 -1
  934. data/vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.6.0/lib/dummy-gem-b.rb +0 -1
  935. data/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.4.0/lib/dummy-gem-c.rb +0 -1
  936. data/vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.6.0/lib/dummy-gem-c.rb +0 -1
  937. data/vendor/rails/railties/test/vendor/gems/dummy-gem-d-1.0.0/lib/dummy-gem-d.rb +0 -1
  938. data/vendor/rails/railties/test/vendor/gems/dummy-gem-e-1.0.0/lib/dummy-gem-e.rb +0 -1
  939. data/vendor/rails/railties/test/vendor/gems/dummy-gem-f-1.0.0/lib/dummy-gem-f.rb +0 -1
  940. data/vendor/rails/railties/test/vendor/gems/dummy-gem-g-1.0.0/lib/dummy-gem-g.rb +0 -1
  941. data/vendor/rails/railties/test/vendor/gems/dummy-gem-h-1.0.0/lib/dummy-gem-h.rb +0 -1
  942. data/vendor/rails/railties/test/vendor/gems/dummy-gem-i-1.0.0/ext/dummy-gem-i/Makefile +0 -0
  943. data/vendor/rails/railties/test/vendor/gems/dummy-gem-i-1.0.0/lib/dummy-gem-i.rb +0 -1
  944. data/vendor/rails/railties/test/vendor/gems/dummy-gem-j-1.0.0/lib/dummy-gem-j.rb +0 -1
  945. data/vendor/rails/railties/test/vendor/gems/dummy-gem-k-1.0.0/lib/dummy-gem-k.rb +0 -1
  946. data/vendor/rails/release.rb +0 -25
@@ -1,9 +1,10 @@
1
1
  = Radius -- Powerful Tag-Based Templates
2
2
 
3
- Radius is a powerful tag-based template language for Ruby inspired by the template languages
4
- used in MovableType[http://www.movabletype.org] and TextPattern[http://www.textpattern.com].
5
- It uses tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail,
6
- etc...).
3
+ Radius is a powerful tag-based template language for Ruby inspired by the
4
+ template languages used in MovableType[http://www.movabletype.org] and
5
+ TextPattern[http://www.textpattern.com]. It uses tags similar to XML, but can
6
+ be used to generate any form of plain text (HTML, e-mail, etc...).
7
+
7
8
 
8
9
  == Usage
9
10
 
@@ -65,25 +66,8 @@ You can also install Radius by copying lib/radius.rb into the Ruby load path.
65
66
 
66
67
  == License
67
68
 
68
- Radius is free software and may be redistributed under the terms of the MIT-LICENSE:
69
-
70
- Copyright (c) 2006-2009, John W. Long
71
-
72
- Permission is hereby granted, free of charge, to any person obtaining a copy of this
73
- software and associated documentation files (the "Software"), to deal in the Software
74
- without restriction, including without limitation the rights to use, copy, modify, merge,
75
- publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
76
- to whom the Software is furnished to do so, subject to the following conditions:
77
-
78
- The above copyright notice and this permission notice shall be included in all copies or
79
- substantial portions of the Software.
80
-
81
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
82
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
83
- PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
84
- FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
85
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
86
- DEALINGS IN THE SOFTWARE.
69
+ Radius is released under the MIT license and is copyright (c) 2006-2010
70
+ John W. Long. A copy of the MIT license can be found in the LICENSE file.
87
71
 
88
72
 
89
73
  == Roadmap
@@ -110,9 +94,9 @@ Experimental and development versions of Radius can be found on Github:
110
94
 
111
95
  http://github.com/jlong/radius
112
96
 
113
- If you are interested in helping with the development of Radiant, feel free to
97
+ If you are interested in helping with the development of Radius, feel free to
114
98
  fork the project on GitHub and send me a pull request.
115
99
 
116
100
 
117
101
  John Long ::
118
- http://wiseheartdesign.com
102
+ http://wiseheartdesign.com
@@ -1,31 +1,8 @@
1
- %w(rubygems rake rake/clean fileutils newgem rubigen hoe).each { |f| require f }
1
+ require 'rubygems'
2
+ require 'rake'
2
3
 
3
4
  require 'lib/radius/version'
4
5
 
5
- # Generate all the Rake tasks
6
- # Run 'rake -T' to see list of generated tasks (from gem root directory)
7
- Hoe.spec 'radius' do |p|
8
- p.version = Radius::Version.to_s
9
- p.url = "http://radius.rubyforge.org"
10
- p.developer('John W. Long', 'me@johnwlong.com')
11
- p.author = [
12
- "John W. Long (me@johnwlong.com)",
13
- "David Chelimsky (dchelimsky@gmail.com)",
14
- "Bryce Kerley (bkerley@brycekerley.net)"
15
- ]
16
- p.changes = p.paragraphs_of("CHANGELOG", 1..2).join("\n\n")
17
- p.rubyforge_name = p.name
18
- p.extra_dev_deps = [
19
- ['newgem', ">= #{::Newgem::VERSION}"]
20
- ]
21
- p.readme_file = 'README.rdoc'
22
- p.extra_rdoc_files |= %w(README.rdoc QUICKSTART.rdoc)
23
- p.clean_globs |= %w(**/.DS_Store tmp *.log) # Remove these files on "rake clean"
24
- path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
25
- p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
26
- p.rsync_args = '-av --delete --ignore-errors'
27
- p.test_globs = "test/**/*_test.rb"
28
- end
6
+ Dir['tasks/**/*.rake'].each { |t| load t }
29
7
 
30
- require 'newgem/tasks' # load /tasks/*.rake
31
- Dir['tasks/**/*.rake'].each { |t| load t }
8
+ task :default => :test
@@ -0,0 +1 @@
1
+ 0.7.0.prerelease
@@ -7,11 +7,11 @@ module Radius
7
7
  class Parser
8
8
  # The Context object used to expand template tags.
9
9
  attr_accessor :context
10
-
10
+
11
11
  # The string that prefixes all tags that are expanded by a parser
12
12
  # (the part in the tag name before the first colon).
13
13
  attr_accessor :tag_prefix
14
-
14
+
15
15
  # Creates a new parser object initialized with a Context.
16
16
  def initialize(context = Context.new, options = {})
17
17
  if context.kind_of?(Hash) and options.empty?
@@ -22,7 +22,7 @@ module Radius
22
22
  @context = context
23
23
  @tag_prefix = options[:tag_prefix] || 'radius'
24
24
  end
25
-
25
+
26
26
  # Parses string for tags, expands them, and returns the result.
27
27
  def parse(string)
28
28
  @stack = [ParseContainerTag.new { |t| t.contents.to_s }]
@@ -30,7 +30,7 @@ module Radius
30
30
  stack_up
31
31
  @stack.last.to_s
32
32
  end
33
-
33
+
34
34
  protected
35
35
  # Convert the string into a list of text blocks and scanners (tokens)
36
36
  def tokenize(string)
@@ -1,5 +1,7 @@
1
+
1
2
  # line 1 "scan.rl"
2
- # line 83 "scan.rl"
3
+
4
+ # line 84 "scan.rl"
3
5
 
4
6
 
5
7
  module Radius
@@ -35,50 +37,132 @@ module Radius
35
37
 
36
38
  @prefix = prefix
37
39
 
38
- # line 39 "scan.rb"
40
+ # line 41 "scan.rb"
41
+ class << self
42
+ attr_accessor :_parser_actions
43
+ private :_parser_actions, :_parser_actions=
44
+ end
45
+ self._parser_actions = [
46
+ 0, 1, 0, 1, 1, 1, 2, 1,
47
+ 3, 1, 4, 1, 5, 1, 6, 1,
48
+ 7, 1, 8, 1, 9, 1, 13, 1,
49
+ 14, 1, 18, 1, 20, 1, 21, 1,
50
+ 22, 2, 4, 5, 2, 5, 6, 2,
51
+ 8, 4, 2, 8, 9, 2, 9, 8,
52
+ 2, 10, 19, 2, 11, 19, 2, 12,
53
+ 19, 2, 15, 16, 2, 15, 17, 3,
54
+ 4, 5, 6, 3, 8, 4, 5, 3,
55
+ 15, 5, 16, 4, 8, 4, 5, 6,
56
+ 4, 15, 4, 5, 16, 5, 15, 8,
57
+ 4, 5, 16
58
+ ]
59
+
60
+ class << self
61
+ attr_accessor :_parser_key_offsets
62
+ private :_parser_key_offsets, :_parser_key_offsets=
63
+ end
64
+ self._parser_key_offsets = [
65
+ 0, 0, 11, 21, 34, 47, 61, 65,
66
+ 70, 72, 74, 87, 100, 101, 103, 118,
67
+ 133, 149, 155, 161, 176, 179, 182, 185,
68
+ 200, 202, 204, 219, 235, 241, 247, 250,
69
+ 253, 269, 285, 302, 309, 315, 331, 335,
70
+ 351, 366, 369, 371, 381, 392, 402, 416,
71
+ 420, 420, 421, 430, 430, 430, 432, 434,
72
+ 437, 440, 442, 444
73
+ ]
74
+
39
75
  class << self
40
76
  attr_accessor :_parser_trans_keys
41
77
  private :_parser_trans_keys, :_parser_trans_keys=
42
78
  end
43
79
  self._parser_trans_keys = [
44
- 0, 0, 45, 122, 45, 122,
45
- 9, 122, 9, 122, 9,
46
- 122, 9, 61, 9, 39,
47
- 34, 92, 34, 92, 9, 122,
48
- 9, 122, 62, 62, 34,
49
- 92, 9, 122, 9, 122,
50
- 9, 122, 9, 92, 9, 92,
51
- 9, 122, 34, 92, 34,
52
- 92, 34, 92, 9, 122,
53
- 39, 92, 39, 92, 9, 122,
54
- 9, 122, 9, 92, 9,
55
- 92, 34, 92, 34, 92,
56
- 9, 122, 9, 122, 9, 122,
57
- 9, 92, 9, 92, 9,
58
- 122, 34, 92, 9, 122,
59
- 9, 122, 39, 92, 39, 92,
60
- 45, 122, 45, 122, 45,
61
- 122, 9, 122, 9, 62,
62
- 0, 0, 60, 60, 45, 122,
63
- 0, 0, 0, 0, 34,
64
- 92, 34, 92, 34, 92,
65
- 34, 92, 39, 92, 39, 92,
66
- 0, 0, 0
80
+ 58, 63, 95, 45, 46, 48, 57, 65,
81
+ 90, 97, 122, 63, 95, 45, 46, 48,
82
+ 58, 65, 90, 97, 122, 32, 47, 62,
83
+ 63, 95, 9, 13, 45, 58, 65, 90,
84
+ 97, 122, 32, 47, 62, 63, 95, 9,
85
+ 13, 45, 58, 65, 90, 97, 122, 32,
86
+ 61, 63, 95, 9, 13, 45, 46, 48,
87
+ 58, 65, 90, 97, 122, 32, 61, 9,
88
+ 13, 32, 34, 39, 9, 13, 34, 92,
89
+ 34, 92, 32, 47, 62, 63, 95, 9,
90
+ 13, 45, 58, 65, 90, 97, 122, 32,
91
+ 47, 62, 63, 95, 9, 13, 45, 58,
92
+ 65, 90, 97, 122, 62, 34, 92, 32,
93
+ 34, 47, 62, 63, 92, 95, 9, 13,
94
+ 45, 58, 65, 90, 97, 122, 32, 34,
95
+ 47, 62, 63, 92, 95, 9, 13, 45,
96
+ 58, 65, 90, 97, 122, 32, 34, 61,
97
+ 63, 92, 95, 9, 13, 45, 46, 48,
98
+ 58, 65, 90, 97, 122, 32, 34, 61,
99
+ 92, 9, 13, 32, 34, 39, 92, 9,
100
+ 13, 32, 34, 47, 62, 63, 92, 95,
101
+ 9, 13, 45, 58, 65, 90, 97, 122,
102
+ 34, 62, 92, 34, 39, 92, 34, 39,
103
+ 92, 32, 39, 47, 62, 63, 92, 95,
104
+ 9, 13, 45, 58, 65, 90, 97, 122,
105
+ 39, 92, 39, 92, 32, 39, 47, 62,
106
+ 63, 92, 95, 9, 13, 45, 58, 65,
107
+ 90, 97, 122, 32, 39, 61, 63, 92,
108
+ 95, 9, 13, 45, 46, 48, 58, 65,
109
+ 90, 97, 122, 32, 39, 61, 92, 9,
110
+ 13, 32, 34, 39, 92, 9, 13, 34,
111
+ 39, 92, 34, 39, 92, 32, 34, 39,
112
+ 47, 62, 63, 92, 95, 9, 13, 45,
113
+ 58, 65, 90, 97, 122, 32, 34, 39,
114
+ 47, 62, 63, 92, 95, 9, 13, 45,
115
+ 58, 65, 90, 97, 122, 32, 34, 39,
116
+ 61, 63, 92, 95, 9, 13, 45, 46,
117
+ 48, 58, 65, 90, 97, 122, 32, 34,
118
+ 39, 61, 92, 9, 13, 32, 34, 39,
119
+ 92, 9, 13, 32, 34, 39, 47, 62,
120
+ 63, 92, 95, 9, 13, 45, 58, 65,
121
+ 90, 97, 122, 34, 39, 62, 92, 32,
122
+ 34, 39, 47, 62, 63, 92, 95, 9,
123
+ 13, 45, 58, 65, 90, 97, 122, 32,
124
+ 39, 47, 62, 63, 92, 95, 9, 13,
125
+ 45, 58, 65, 90, 97, 122, 39, 62,
126
+ 92, 39, 92, 63, 95, 45, 46, 48,
127
+ 57, 65, 90, 97, 122, 58, 63, 95,
128
+ 45, 46, 48, 57, 65, 90, 97, 122,
129
+ 63, 95, 45, 46, 48, 58, 65, 90,
130
+ 97, 122, 32, 62, 63, 95, 9, 13,
131
+ 45, 46, 48, 58, 65, 90, 97, 122,
132
+ 32, 62, 9, 13, 60, 47, 63, 95,
133
+ 45, 57, 65, 90, 97, 122, 34, 92,
134
+ 34, 92, 34, 39, 92, 34, 39, 92,
135
+ 39, 92, 39, 92, 0
67
136
  ]
68
137
 
69
138
  class << self
70
- attr_accessor :_parser_key_spans
71
- private :_parser_key_spans, :_parser_key_spans=
139
+ attr_accessor :_parser_single_lengths
140
+ private :_parser_single_lengths, :_parser_single_lengths=
72
141
  end
73
- self._parser_key_spans = [
74
- 0, 78, 78, 114, 114, 114, 53, 31,
75
- 59, 59, 114, 114, 1, 59, 114, 114,
76
- 114, 84, 84, 114, 59, 59, 59, 114,
77
- 54, 54, 114, 114, 84, 84, 59, 59,
78
- 114, 114, 114, 84, 84, 114, 59, 114,
79
- 114, 54, 54, 78, 78, 78, 114, 54,
80
- 0, 1, 78, 0, 0, 59, 59, 59,
81
- 59, 54, 54, 0
142
+ self._parser_single_lengths = [
143
+ 0, 3, 2, 5, 5, 4, 2, 3,
144
+ 2, 2, 5, 5, 1, 2, 7, 7,
145
+ 6, 4, 4, 7, 3, 3, 3, 7,
146
+ 2, 2, 7, 6, 4, 4, 3, 3,
147
+ 8, 8, 7, 5, 4, 8, 4, 8,
148
+ 7, 3, 2, 2, 3, 2, 4, 2,
149
+ 0, 1, 3, 0, 0, 2, 2, 3,
150
+ 3, 2, 2, 0
151
+ ]
152
+
153
+ class << self
154
+ attr_accessor :_parser_range_lengths
155
+ private :_parser_range_lengths, :_parser_range_lengths=
156
+ end
157
+ self._parser_range_lengths = [
158
+ 0, 4, 4, 4, 4, 5, 1, 1,
159
+ 0, 0, 4, 4, 0, 0, 4, 4,
160
+ 5, 1, 1, 4, 0, 0, 0, 4,
161
+ 0, 0, 4, 5, 1, 1, 0, 0,
162
+ 4, 4, 5, 1, 1, 4, 0, 4,
163
+ 4, 0, 0, 4, 4, 4, 5, 1,
164
+ 0, 0, 3, 0, 0, 0, 0, 0,
165
+ 0, 0, 0, 0
82
166
  ]
83
167
 
84
168
  class << self
@@ -86,14 +170,14 @@ class << self
86
170
  private :_parser_index_offsets, :_parser_index_offsets=
87
171
  end
88
172
  self._parser_index_offsets = [
89
- 0, 0, 79, 158, 273, 388, 503, 557,
90
- 589, 649, 709, 824, 939, 941, 1001, 1116,
91
- 1231, 1346, 1431, 1516, 1631, 1691, 1751, 1811,
92
- 1926, 1981, 2036, 2151, 2266, 2351, 2436, 2496,
93
- 2556, 2671, 2786, 2901, 2986, 3071, 3186, 3246,
94
- 3361, 3476, 3531, 3586, 3665, 3744, 3823, 3938,
95
- 3993, 3994, 3996, 4075, 4076, 4077, 4137, 4197,
96
- 4257, 4317, 4372, 4427
173
+ 0, 0, 8, 15, 25, 35, 45, 49,
174
+ 54, 57, 60, 70, 80, 82, 85, 97,
175
+ 109, 121, 127, 133, 145, 149, 153, 157,
176
+ 169, 172, 175, 187, 199, 205, 211, 215,
177
+ 219, 232, 245, 258, 265, 271, 284, 289,
178
+ 302, 314, 318, 321, 328, 336, 343, 353,
179
+ 357, 358, 360, 367, 368, 369, 372, 375,
180
+ 379, 383, 386, 389
97
181
  ]
98
182
 
99
183
  class << self
@@ -101,560 +185,55 @@ class << self
101
185
  private :_parser_indicies, :_parser_indicies=
102
186
  end
103
187
  self._parser_indicies = [
104
- 1, 1, 0, 1, 1, 1, 1, 1,
105
- 1, 1, 1, 1, 1, 2, 0, 0,
106
- 0, 0, 1, 0, 1, 1, 1, 1,
107
- 1, 1, 1, 1, 1, 1, 1, 1,
108
- 1, 1, 1, 1, 1, 1, 1, 1,
109
- 1, 1, 1, 1, 1, 1, 0, 0,
110
- 0, 0, 1, 0, 1, 1, 1, 1,
111
- 1, 1, 1, 1, 1, 1, 1, 1,
112
- 1, 1, 1, 1, 1, 1, 1, 1,
113
- 1, 1, 1, 1, 1, 1, 0, 3,
114
- 3, 0, 3, 3, 3, 3, 3, 3,
115
- 3, 3, 3, 3, 3, 0, 0, 0,
116
- 0, 3, 0, 3, 3, 3, 3, 3,
117
- 3, 3, 3, 3, 3, 3, 3, 3,
118
- 3, 3, 3, 3, 3, 3, 3, 3,
119
- 3, 3, 3, 3, 3, 0, 0, 0,
120
- 0, 3, 0, 3, 3, 3, 3, 3,
121
- 3, 3, 3, 3, 3, 3, 3, 3,
122
- 3, 3, 3, 3, 3, 3, 3, 3,
123
- 3, 3, 3, 3, 3, 0, 4, 4,
124
- 4, 4, 4, 0, 0, 0, 0, 0,
125
- 0, 0, 0, 0, 0, 0, 0, 0,
126
- 0, 0, 0, 0, 0, 4, 0, 0,
127
- 0, 0, 0, 0, 0, 0, 0, 0,
128
- 0, 0, 5, 5, 6, 5, 5, 5,
129
- 5, 5, 5, 5, 5, 5, 5, 5,
130
- 0, 0, 0, 7, 5, 0, 5, 5,
131
- 5, 5, 5, 5, 5, 5, 5, 5,
132
- 5, 5, 5, 5, 5, 5, 5, 5,
133
- 5, 5, 5, 5, 5, 5, 5, 5,
134
- 0, 0, 0, 0, 5, 0, 5, 5,
135
- 5, 5, 5, 5, 5, 5, 5, 5,
136
- 5, 5, 5, 5, 5, 5, 5, 5,
137
- 5, 5, 5, 5, 5, 5, 5, 5,
138
- 0, 8, 8, 8, 8, 8, 0, 0,
139
- 0, 0, 0, 0, 0, 0, 0, 0,
140
- 0, 0, 0, 0, 0, 0, 0, 0,
141
- 8, 0, 0, 0, 0, 0, 0, 0,
142
- 0, 0, 0, 0, 0, 9, 9, 10,
143
- 9, 9, 9, 9, 9, 9, 9, 9,
144
- 9, 9, 9, 0, 0, 0, 11, 9,
145
- 0, 9, 9, 9, 9, 9, 9, 9,
146
- 9, 9, 9, 9, 9, 9, 9, 9,
147
- 9, 9, 9, 9, 9, 9, 9, 9,
148
- 9, 9, 9, 0, 0, 0, 0, 9,
149
- 0, 9, 9, 9, 9, 9, 9, 9,
150
- 9, 9, 9, 9, 9, 9, 9, 9,
151
- 9, 9, 9, 9, 9, 9, 9, 9,
152
- 9, 9, 9, 0, 13, 13, 13, 13,
153
- 13, 12, 12, 12, 12, 12, 12, 12,
154
- 12, 12, 12, 12, 12, 12, 12, 12,
155
- 12, 12, 12, 13, 12, 12, 12, 12,
156
- 12, 12, 12, 12, 12, 12, 12, 12,
157
- 14, 14, 12, 14, 14, 14, 14, 14,
158
- 14, 14, 14, 14, 14, 14, 12, 12,
159
- 15, 12, 14, 12, 14, 14, 14, 14,
160
- 14, 14, 14, 14, 14, 14, 14, 14,
161
- 14, 14, 14, 14, 14, 14, 14, 14,
162
- 14, 14, 14, 14, 14, 14, 12, 12,
163
- 12, 12, 14, 12, 14, 14, 14, 14,
164
- 14, 14, 14, 14, 14, 14, 14, 14,
165
- 14, 14, 14, 14, 14, 14, 14, 14,
166
- 14, 14, 14, 14, 14, 14, 12, 16,
167
- 16, 16, 16, 16, 12, 12, 12, 12,
168
- 12, 12, 12, 12, 12, 12, 12, 12,
169
- 12, 12, 12, 12, 12, 12, 16, 12,
170
- 12, 12, 12, 12, 12, 12, 12, 12,
171
- 12, 12, 12, 12, 12, 12, 12, 12,
172
- 12, 12, 12, 12, 12, 12, 12, 12,
173
- 12, 12, 12, 17, 12, 17, 17, 17,
174
- 17, 17, 12, 12, 12, 12, 12, 12,
175
- 12, 12, 12, 12, 12, 12, 12, 12,
176
- 12, 12, 12, 12, 17, 12, 18, 12,
177
- 12, 12, 12, 19, 12, 21, 20, 20,
178
- 20, 20, 20, 20, 20, 20, 20, 20,
179
- 20, 20, 20, 20, 20, 20, 20, 20,
180
- 20, 20, 20, 20, 20, 20, 20, 20,
181
- 20, 20, 20, 20, 20, 20, 20, 20,
182
- 20, 20, 20, 20, 20, 20, 20, 20,
183
- 20, 20, 20, 20, 20, 20, 20, 20,
184
- 20, 20, 20, 20, 20, 20, 20, 22,
185
- 20, 24, 23, 23, 23, 23, 23, 23,
186
- 23, 23, 23, 23, 23, 23, 23, 23,
187
- 23, 23, 23, 23, 23, 23, 23, 23,
188
- 23, 23, 23, 23, 23, 23, 23, 23,
189
- 23, 23, 23, 23, 23, 23, 23, 23,
190
- 23, 23, 23, 23, 23, 23, 23, 23,
191
- 23, 23, 23, 23, 23, 23, 23, 23,
192
- 23, 23, 23, 25, 23, 26, 26, 26,
193
- 26, 26, 12, 12, 12, 12, 12, 12,
194
- 12, 12, 12, 12, 12, 12, 12, 12,
195
- 12, 12, 12, 12, 26, 12, 12, 12,
196
- 12, 12, 12, 12, 12, 12, 12, 12,
197
- 12, 27, 27, 28, 27, 27, 27, 27,
198
- 27, 27, 27, 27, 27, 27, 27, 12,
199
- 12, 12, 29, 27, 12, 27, 27, 27,
200
- 27, 27, 27, 27, 27, 27, 27, 27,
201
- 27, 27, 27, 27, 27, 27, 27, 27,
202
- 27, 27, 27, 27, 27, 27, 27, 12,
203
- 12, 12, 12, 27, 12, 27, 27, 27,
204
- 27, 27, 27, 27, 27, 27, 27, 27,
205
- 27, 27, 27, 27, 27, 27, 27, 27,
206
- 27, 27, 27, 27, 27, 27, 27, 12,
207
- 30, 30, 30, 30, 30, 12, 12, 12,
208
- 12, 12, 12, 12, 12, 12, 12, 12,
209
- 12, 12, 12, 12, 12, 12, 12, 30,
210
- 12, 12, 12, 12, 12, 12, 12, 12,
211
- 12, 12, 12, 12, 31, 31, 32, 31,
212
- 31, 31, 31, 31, 31, 31, 31, 31,
213
- 31, 31, 12, 12, 12, 33, 31, 12,
214
- 31, 31, 31, 31, 31, 31, 31, 31,
215
- 31, 31, 31, 31, 31, 31, 31, 31,
216
- 31, 31, 31, 31, 31, 31, 31, 31,
217
- 31, 31, 12, 12, 12, 12, 31, 12,
218
- 31, 31, 31, 31, 31, 31, 31, 31,
219
- 31, 31, 31, 31, 31, 31, 31, 31,
220
- 31, 31, 31, 31, 31, 31, 31, 31,
221
- 31, 31, 12, 34, 12, 35, 23, 23,
222
- 23, 23, 23, 23, 23, 23, 23, 23,
223
- 23, 23, 23, 23, 23, 23, 23, 23,
224
- 23, 23, 23, 23, 23, 23, 23, 23,
225
- 23, 23, 23, 23, 23, 23, 23, 23,
226
- 23, 23, 23, 23, 23, 23, 23, 23,
227
- 23, 23, 23, 23, 23, 23, 23, 23,
228
- 23, 23, 23, 23, 23, 23, 23, 25,
229
- 23, 36, 36, 36, 36, 36, 23, 23,
230
- 23, 23, 23, 23, 23, 23, 23, 23,
231
- 23, 23, 23, 23, 23, 23, 23, 23,
232
- 36, 23, 24, 23, 23, 23, 23, 23,
233
- 23, 23, 23, 23, 23, 37, 37, 38,
234
- 37, 37, 37, 37, 37, 37, 37, 37,
235
- 37, 37, 37, 23, 23, 23, 39, 37,
236
- 23, 37, 37, 37, 37, 37, 37, 37,
237
- 37, 37, 37, 37, 37, 37, 37, 37,
238
- 37, 37, 37, 37, 37, 37, 37, 37,
239
- 37, 37, 37, 23, 25, 23, 23, 37,
240
- 23, 37, 37, 37, 37, 37, 37, 37,
241
- 37, 37, 37, 37, 37, 37, 37, 37,
242
- 37, 37, 37, 37, 37, 37, 37, 37,
243
- 37, 37, 37, 23, 40, 40, 40, 40,
244
- 40, 23, 23, 23, 23, 23, 23, 23,
245
- 23, 23, 23, 23, 23, 23, 23, 23,
246
- 23, 23, 23, 40, 23, 24, 23, 23,
247
- 23, 23, 23, 23, 23, 23, 23, 23,
248
- 41, 41, 42, 41, 41, 41, 41, 41,
249
- 41, 41, 41, 41, 41, 41, 23, 23,
250
- 23, 43, 41, 23, 41, 41, 41, 41,
251
- 41, 41, 41, 41, 41, 41, 41, 41,
252
- 41, 41, 41, 41, 41, 41, 41, 41,
253
- 41, 41, 41, 41, 41, 41, 23, 25,
254
- 23, 23, 41, 23, 41, 41, 41, 41,
255
- 41, 41, 41, 41, 41, 41, 41, 41,
256
- 41, 41, 41, 41, 41, 41, 41, 41,
257
- 41, 41, 41, 41, 41, 41, 23, 44,
258
- 44, 44, 44, 44, 23, 23, 23, 23,
259
- 23, 23, 23, 23, 23, 23, 23, 23,
260
- 23, 23, 23, 23, 23, 23, 44, 23,
261
- 24, 23, 23, 23, 23, 23, 23, 23,
262
- 23, 23, 23, 45, 45, 23, 45, 45,
263
- 45, 45, 45, 45, 45, 45, 45, 45,
264
- 45, 23, 23, 46, 23, 45, 23, 45,
265
- 45, 45, 45, 45, 45, 45, 45, 45,
266
- 45, 45, 45, 45, 45, 45, 45, 45,
267
- 45, 45, 45, 45, 45, 45, 45, 45,
268
- 45, 23, 25, 23, 23, 45, 23, 45,
269
- 45, 45, 45, 45, 45, 45, 45, 45,
270
- 45, 45, 45, 45, 45, 45, 45, 45,
271
- 45, 45, 45, 45, 45, 45, 45, 45,
272
- 45, 23, 47, 47, 47, 47, 47, 23,
273
- 23, 23, 23, 23, 23, 23, 23, 23,
274
- 23, 23, 23, 23, 23, 23, 23, 23,
275
- 23, 47, 23, 24, 23, 23, 23, 23,
276
- 23, 23, 23, 23, 23, 23, 23, 23,
277
- 23, 23, 23, 23, 23, 23, 23, 23,
278
- 23, 23, 23, 23, 23, 23, 48, 23,
279
- 23, 23, 23, 23, 23, 23, 23, 23,
280
- 23, 23, 23, 23, 23, 23, 23, 23,
281
- 23, 23, 23, 23, 23, 23, 23, 23,
282
- 23, 23, 23, 23, 23, 25, 23, 48,
283
- 48, 48, 48, 48, 23, 23, 23, 23,
284
- 23, 23, 23, 23, 23, 23, 23, 23,
285
- 23, 23, 23, 23, 23, 23, 48, 23,
286
- 49, 23, 23, 23, 23, 50, 23, 23,
287
- 23, 23, 23, 23, 23, 23, 23, 23,
288
- 23, 23, 23, 23, 23, 23, 23, 23,
289
- 23, 23, 23, 23, 23, 23, 23, 23,
290
- 23, 23, 23, 23, 23, 23, 23, 23,
291
- 23, 23, 23, 23, 23, 23, 23, 23,
292
- 23, 23, 23, 23, 23, 23, 23, 23,
293
- 23, 23, 25, 23, 51, 51, 51, 51,
294
- 51, 20, 20, 20, 20, 20, 20, 20,
295
- 20, 20, 20, 20, 20, 20, 20, 20,
296
- 20, 20, 20, 51, 20, 21, 20, 20,
297
- 20, 20, 20, 20, 20, 20, 20, 20,
298
- 52, 52, 53, 52, 52, 52, 52, 52,
299
- 52, 52, 52, 52, 52, 52, 20, 20,
300
- 20, 54, 52, 20, 52, 52, 52, 52,
301
- 52, 52, 52, 52, 52, 52, 52, 52,
302
- 52, 52, 52, 52, 52, 52, 52, 52,
303
- 52, 52, 52, 52, 52, 52, 20, 22,
304
- 20, 20, 52, 20, 52, 52, 52, 52,
305
- 52, 52, 52, 52, 52, 52, 52, 52,
306
- 52, 52, 52, 52, 52, 52, 52, 52,
307
- 52, 52, 52, 52, 52, 52, 20, 24,
308
- 23, 23, 23, 23, 23, 23, 23, 23,
309
- 23, 23, 23, 23, 23, 23, 23, 23,
310
- 23, 23, 23, 23, 23, 23, 23, 23,
311
- 23, 23, 23, 55, 23, 23, 23, 23,
312
- 23, 23, 23, 23, 23, 23, 23, 23,
313
- 23, 23, 23, 23, 23, 23, 23, 23,
314
- 23, 23, 23, 23, 23, 23, 23, 23,
315
- 23, 25, 23, 57, 56, 56, 56, 56,
316
- 58, 56, 56, 56, 56, 56, 56, 56,
317
- 56, 56, 56, 56, 56, 56, 56, 56,
318
- 56, 56, 56, 56, 56, 56, 56, 56,
319
- 56, 56, 56, 56, 56, 56, 56, 56,
320
- 56, 56, 56, 56, 56, 56, 56, 56,
321
- 56, 56, 56, 56, 56, 56, 56, 56,
322
- 56, 56, 56, 56, 56, 59, 56, 61,
323
- 60, 60, 60, 60, 35, 60, 60, 60,
324
- 60, 60, 60, 60, 60, 60, 60, 60,
325
- 60, 60, 60, 60, 60, 60, 60, 60,
326
- 60, 60, 60, 60, 60, 60, 60, 60,
327
- 60, 60, 60, 60, 60, 60, 60, 60,
328
- 60, 60, 60, 60, 60, 60, 60, 60,
329
- 60, 60, 60, 60, 60, 60, 60, 60,
330
- 60, 62, 60, 64, 64, 64, 64, 64,
331
- 63, 63, 63, 63, 63, 63, 63, 63,
332
- 63, 63, 63, 63, 63, 63, 63, 63,
333
- 63, 63, 64, 63, 63, 63, 63, 63,
334
- 63, 24, 63, 63, 63, 63, 63, 65,
335
- 65, 66, 65, 65, 65, 65, 65, 65,
336
- 65, 65, 65, 65, 65, 63, 63, 63,
337
- 67, 65, 63, 65, 65, 65, 65, 65,
338
- 65, 65, 65, 65, 65, 65, 65, 65,
339
- 65, 65, 65, 65, 65, 65, 65, 65,
340
- 65, 65, 65, 65, 65, 63, 68, 63,
341
- 63, 65, 63, 65, 65, 65, 65, 65,
342
- 65, 65, 65, 65, 65, 65, 65, 65,
343
- 65, 65, 65, 65, 65, 65, 65, 65,
344
- 65, 65, 65, 65, 65, 63, 24, 63,
345
- 63, 63, 63, 63, 63, 63, 63, 63,
346
- 63, 63, 63, 63, 63, 63, 63, 63,
347
- 63, 63, 63, 63, 63, 63, 63, 63,
348
- 63, 63, 63, 63, 63, 63, 63, 63,
349
- 63, 63, 63, 63, 63, 63, 63, 63,
350
- 63, 63, 63, 63, 63, 63, 63, 63,
351
- 63, 63, 63, 68, 63, 61, 63, 63,
352
- 63, 63, 63, 63, 63, 63, 63, 63,
353
- 63, 63, 63, 63, 63, 63, 63, 63,
354
- 63, 63, 63, 63, 63, 63, 63, 63,
355
- 63, 63, 63, 63, 63, 63, 63, 63,
356
- 63, 63, 63, 63, 63, 63, 63, 63,
357
- 63, 63, 63, 63, 63, 63, 63, 63,
358
- 63, 63, 68, 63, 69, 69, 69, 69,
359
- 69, 63, 63, 63, 63, 63, 63, 63,
360
- 63, 63, 63, 63, 63, 63, 63, 63,
361
- 63, 63, 63, 69, 63, 63, 63, 63,
362
- 63, 63, 24, 63, 63, 63, 63, 63,
363
- 70, 70, 71, 70, 70, 70, 70, 70,
364
- 70, 70, 70, 70, 70, 70, 63, 63,
365
- 63, 72, 70, 63, 70, 70, 70, 70,
366
- 70, 70, 70, 70, 70, 70, 70, 70,
367
- 70, 70, 70, 70, 70, 70, 70, 70,
368
- 70, 70, 70, 70, 70, 70, 63, 68,
369
- 63, 63, 70, 63, 70, 70, 70, 70,
370
- 70, 70, 70, 70, 70, 70, 70, 70,
371
- 70, 70, 70, 70, 70, 70, 70, 70,
372
- 70, 70, 70, 70, 70, 70, 63, 73,
373
- 73, 73, 73, 73, 63, 63, 63, 63,
374
- 63, 63, 63, 63, 63, 63, 63, 63,
375
- 63, 63, 63, 63, 63, 63, 73, 63,
376
- 63, 63, 63, 63, 63, 24, 63, 63,
377
- 63, 63, 63, 74, 74, 63, 74, 74,
378
- 74, 74, 74, 74, 74, 74, 74, 74,
379
- 74, 63, 63, 75, 63, 74, 63, 74,
380
- 74, 74, 74, 74, 74, 74, 74, 74,
381
- 74, 74, 74, 74, 74, 74, 74, 74,
382
- 74, 74, 74, 74, 74, 74, 74, 74,
383
- 74, 63, 68, 63, 63, 74, 63, 74,
384
- 74, 74, 74, 74, 74, 74, 74, 74,
385
- 74, 74, 74, 74, 74, 74, 74, 74,
386
- 74, 74, 74, 74, 74, 74, 74, 74,
387
- 74, 63, 76, 76, 76, 76, 76, 63,
388
- 63, 63, 63, 63, 63, 63, 63, 63,
389
- 63, 63, 63, 63, 63, 63, 63, 63,
390
- 63, 76, 63, 63, 63, 63, 63, 63,
391
- 24, 63, 63, 63, 63, 63, 63, 63,
392
- 63, 63, 63, 63, 63, 63, 63, 63,
393
- 63, 63, 63, 63, 63, 63, 77, 63,
394
- 63, 63, 63, 63, 63, 63, 63, 63,
395
- 63, 63, 63, 63, 63, 63, 63, 63,
396
- 63, 63, 63, 63, 63, 63, 63, 63,
397
- 63, 63, 63, 63, 63, 68, 63, 77,
398
- 77, 77, 77, 77, 63, 63, 63, 63,
399
- 63, 63, 63, 63, 63, 63, 63, 63,
400
- 63, 63, 63, 63, 63, 63, 77, 63,
401
- 78, 63, 63, 63, 63, 79, 63, 63,
402
- 63, 63, 63, 63, 63, 63, 63, 63,
403
- 63, 63, 63, 63, 63, 63, 63, 63,
404
- 63, 63, 63, 63, 63, 63, 63, 63,
405
- 63, 63, 63, 63, 63, 63, 63, 63,
406
- 63, 63, 63, 63, 63, 63, 63, 63,
407
- 63, 63, 63, 63, 63, 63, 63, 63,
408
- 63, 63, 68, 63, 80, 56, 56, 56,
409
- 56, 58, 56, 56, 56, 56, 56, 56,
410
- 56, 56, 56, 56, 56, 56, 56, 56,
411
- 56, 56, 56, 56, 56, 56, 56, 56,
412
- 56, 56, 56, 56, 56, 56, 56, 56,
413
- 56, 56, 56, 56, 56, 56, 56, 56,
414
- 56, 56, 56, 56, 56, 56, 56, 56,
415
- 56, 56, 56, 56, 56, 56, 59, 56,
416
- 81, 60, 60, 60, 60, 81, 60, 60,
417
- 60, 60, 60, 60, 60, 60, 60, 60,
418
- 60, 60, 60, 60, 60, 60, 60, 60,
419
- 60, 60, 60, 60, 60, 60, 60, 60,
420
- 60, 60, 60, 60, 60, 60, 60, 60,
421
- 60, 60, 60, 60, 60, 60, 60, 60,
422
- 60, 60, 60, 60, 60, 60, 60, 60,
423
- 60, 60, 62, 60, 82, 82, 82, 82,
424
- 82, 60, 60, 60, 60, 60, 60, 60,
425
- 60, 60, 60, 60, 60, 60, 60, 60,
426
- 60, 60, 60, 82, 60, 61, 60, 60,
427
- 60, 60, 35, 60, 60, 60, 60, 60,
428
- 83, 83, 84, 83, 83, 83, 83, 83,
429
- 83, 83, 83, 83, 83, 83, 60, 60,
430
- 60, 85, 83, 60, 83, 83, 83, 83,
431
- 83, 83, 83, 83, 83, 83, 83, 83,
432
- 83, 83, 83, 83, 83, 83, 83, 83,
433
- 83, 83, 83, 83, 83, 83, 60, 62,
434
- 60, 60, 83, 60, 83, 83, 83, 83,
435
- 83, 83, 83, 83, 83, 83, 83, 83,
436
- 83, 83, 83, 83, 83, 83, 83, 83,
437
- 83, 83, 83, 83, 83, 83, 60, 86,
438
- 86, 86, 86, 86, 60, 60, 60, 60,
439
- 60, 60, 60, 60, 60, 60, 60, 60,
440
- 60, 60, 60, 60, 60, 60, 86, 60,
441
- 61, 60, 60, 60, 60, 35, 60, 60,
442
- 60, 60, 60, 87, 87, 88, 87, 87,
443
- 87, 87, 87, 87, 87, 87, 87, 87,
444
- 87, 60, 60, 60, 89, 87, 60, 87,
445
- 87, 87, 87, 87, 87, 87, 87, 87,
446
- 87, 87, 87, 87, 87, 87, 87, 87,
447
- 87, 87, 87, 87, 87, 87, 87, 87,
448
- 87, 60, 62, 60, 60, 87, 60, 87,
449
- 87, 87, 87, 87, 87, 87, 87, 87,
450
- 87, 87, 87, 87, 87, 87, 87, 87,
451
- 87, 87, 87, 87, 87, 87, 87, 87,
452
- 87, 60, 90, 90, 90, 90, 90, 60,
453
- 60, 60, 60, 60, 60, 60, 60, 60,
454
- 60, 60, 60, 60, 60, 60, 60, 60,
455
- 60, 90, 60, 61, 60, 60, 60, 60,
456
- 35, 60, 60, 60, 60, 60, 91, 91,
457
- 60, 91, 91, 91, 91, 91, 91, 91,
458
- 91, 91, 91, 91, 60, 60, 92, 60,
459
- 91, 60, 91, 91, 91, 91, 91, 91,
460
- 91, 91, 91, 91, 91, 91, 91, 91,
461
- 91, 91, 91, 91, 91, 91, 91, 91,
462
- 91, 91, 91, 91, 60, 62, 60, 60,
463
- 91, 60, 91, 91, 91, 91, 91, 91,
464
- 91, 91, 91, 91, 91, 91, 91, 91,
465
- 91, 91, 91, 91, 91, 91, 91, 91,
466
- 91, 91, 91, 91, 60, 93, 93, 93,
467
- 93, 93, 60, 60, 60, 60, 60, 60,
468
- 60, 60, 60, 60, 60, 60, 60, 60,
469
- 60, 60, 60, 60, 93, 60, 61, 60,
470
- 60, 60, 60, 35, 60, 60, 60, 60,
471
- 60, 60, 60, 60, 60, 60, 60, 60,
472
- 60, 60, 60, 60, 60, 60, 60, 60,
473
- 60, 94, 60, 60, 60, 60, 60, 60,
474
- 60, 60, 60, 60, 60, 60, 60, 60,
475
- 60, 60, 60, 60, 60, 60, 60, 60,
476
- 60, 60, 60, 60, 60, 60, 60, 60,
477
- 62, 60, 94, 94, 94, 94, 94, 60,
478
- 60, 60, 60, 60, 60, 60, 60, 60,
479
- 60, 60, 60, 60, 60, 60, 60, 60,
480
- 60, 94, 60, 95, 60, 60, 60, 60,
481
- 96, 60, 60, 60, 60, 60, 60, 60,
482
- 60, 60, 60, 60, 60, 60, 60, 60,
483
- 60, 60, 60, 60, 60, 60, 60, 60,
484
- 60, 60, 60, 60, 60, 60, 60, 60,
485
- 60, 60, 60, 60, 60, 60, 60, 60,
486
- 60, 60, 60, 60, 60, 60, 60, 60,
487
- 60, 60, 60, 60, 60, 62, 60, 97,
488
- 97, 97, 97, 97, 56, 56, 56, 56,
489
- 56, 56, 56, 56, 56, 56, 56, 56,
490
- 56, 56, 56, 56, 56, 56, 97, 56,
491
- 80, 56, 56, 56, 56, 58, 56, 56,
492
- 56, 56, 56, 98, 98, 99, 98, 98,
493
- 98, 98, 98, 98, 98, 98, 98, 98,
494
- 98, 56, 56, 56, 100, 98, 56, 98,
495
- 98, 98, 98, 98, 98, 98, 98, 98,
496
- 98, 98, 98, 98, 98, 98, 98, 98,
497
- 98, 98, 98, 98, 98, 98, 98, 98,
498
- 98, 56, 59, 56, 56, 98, 56, 98,
499
- 98, 98, 98, 98, 98, 98, 98, 98,
500
- 98, 98, 98, 98, 98, 98, 98, 98,
501
- 98, 98, 98, 98, 98, 98, 98, 98,
502
- 98, 56, 61, 60, 60, 60, 60, 35,
503
- 60, 60, 60, 60, 60, 60, 60, 60,
504
- 60, 60, 60, 60, 60, 60, 60, 60,
505
- 60, 60, 60, 60, 60, 60, 101, 60,
506
- 60, 60, 60, 60, 60, 60, 60, 60,
507
- 60, 60, 60, 60, 60, 60, 60, 60,
508
- 60, 60, 60, 60, 60, 60, 60, 60,
509
- 60, 60, 60, 60, 62, 60, 97, 97,
510
- 97, 97, 97, 56, 56, 56, 56, 56,
511
- 56, 56, 56, 56, 56, 56, 56, 56,
512
- 56, 56, 56, 56, 56, 97, 56, 57,
513
- 56, 56, 56, 56, 58, 56, 56, 56,
514
- 56, 56, 98, 98, 99, 98, 98, 98,
515
- 98, 98, 98, 98, 98, 98, 98, 98,
516
- 56, 56, 56, 100, 98, 56, 98, 98,
517
- 98, 98, 98, 98, 98, 98, 98, 98,
518
- 98, 98, 98, 98, 98, 98, 98, 98,
519
- 98, 98, 98, 98, 98, 98, 98, 98,
520
- 56, 59, 56, 56, 98, 56, 98, 98,
521
- 98, 98, 98, 98, 98, 98, 98, 98,
522
- 98, 98, 98, 98, 98, 98, 98, 98,
523
- 98, 98, 98, 98, 98, 98, 98, 98,
524
- 56, 103, 103, 103, 103, 103, 102, 102,
525
- 102, 102, 102, 102, 102, 102, 102, 102,
526
- 102, 102, 102, 102, 102, 102, 102, 102,
527
- 103, 102, 102, 102, 102, 102, 102, 21,
528
- 102, 102, 102, 102, 102, 104, 104, 105,
529
- 104, 104, 104, 104, 104, 104, 104, 104,
530
- 104, 104, 104, 102, 102, 102, 106, 104,
531
- 102, 104, 104, 104, 104, 104, 104, 104,
532
- 104, 104, 104, 104, 104, 104, 104, 104,
533
- 104, 104, 104, 104, 104, 104, 104, 104,
534
- 104, 104, 104, 102, 107, 102, 102, 104,
535
- 102, 104, 104, 104, 104, 104, 104, 104,
536
- 104, 104, 104, 104, 104, 104, 104, 104,
537
- 104, 104, 104, 104, 104, 104, 104, 104,
538
- 104, 104, 104, 102, 24, 63, 63, 63,
539
- 63, 63, 63, 63, 63, 63, 63, 63,
540
- 63, 63, 63, 63, 63, 63, 63, 63,
541
- 63, 63, 63, 108, 63, 63, 63, 63,
542
- 63, 63, 63, 63, 63, 63, 63, 63,
543
- 63, 63, 63, 63, 63, 63, 63, 63,
544
- 63, 63, 63, 63, 63, 63, 63, 63,
545
- 63, 68, 63, 21, 102, 102, 102, 102,
546
- 102, 102, 102, 102, 102, 102, 102, 102,
547
- 102, 102, 102, 102, 102, 102, 102, 102,
548
- 102, 102, 102, 102, 102, 102, 102, 102,
549
- 102, 102, 102, 102, 102, 102, 102, 102,
550
- 102, 102, 102, 102, 102, 102, 102, 102,
551
- 102, 102, 102, 102, 102, 102, 102, 102,
552
- 107, 102, 109, 109, 0, 109, 109, 109,
553
- 109, 109, 109, 109, 109, 109, 109, 0,
554
- 0, 0, 0, 0, 109, 0, 109, 109,
555
- 109, 109, 109, 109, 109, 109, 109, 109,
556
- 109, 109, 109, 109, 109, 109, 109, 109,
557
- 109, 109, 109, 109, 109, 109, 109, 109,
558
- 0, 0, 0, 0, 109, 0, 109, 109,
559
- 109, 109, 109, 109, 109, 109, 109, 109,
560
- 109, 109, 109, 109, 109, 109, 109, 109,
561
- 109, 109, 109, 109, 109, 109, 109, 109,
562
- 0, 110, 110, 0, 110, 110, 110, 110,
563
- 110, 110, 110, 110, 110, 110, 111, 0,
564
- 0, 0, 0, 110, 0, 110, 110, 110,
565
- 110, 110, 110, 110, 110, 110, 110, 110,
566
- 110, 110, 110, 110, 110, 110, 110, 110,
567
- 110, 110, 110, 110, 110, 110, 110, 0,
568
- 0, 0, 0, 110, 0, 110, 110, 110,
569
- 110, 110, 110, 110, 110, 110, 110, 110,
570
- 110, 110, 110, 110, 110, 110, 110, 110,
571
- 110, 110, 110, 110, 110, 110, 110, 0,
572
- 112, 112, 0, 112, 112, 112, 112, 112,
573
- 112, 112, 112, 112, 112, 112, 0, 0,
574
- 0, 0, 112, 0, 112, 112, 112, 112,
575
- 112, 112, 112, 112, 112, 112, 112, 112,
576
- 112, 112, 112, 112, 112, 112, 112, 112,
577
- 112, 112, 112, 112, 112, 112, 0, 0,
578
- 0, 0, 112, 0, 112, 112, 112, 112,
579
- 112, 112, 112, 112, 112, 112, 112, 112,
580
- 112, 112, 112, 112, 112, 112, 112, 112,
188
+ 2, 1, 1, 1, 1, 1, 1, 0,
189
+ 3, 3, 3, 3, 3, 3, 0, 4,
190
+ 6, 7, 5, 5, 4, 5, 5, 5,
191
+ 0, 8, 10, 11, 9, 9, 8, 9,
192
+ 9, 9, 0, 13, 15, 14, 14, 13,
193
+ 14, 14, 14, 14, 12, 16, 17, 16,
194
+ 12, 17, 18, 19, 17, 12, 21, 22,
195
+ 20, 24, 25, 23, 26, 28, 29, 27,
196
+ 27, 26, 27, 27, 27, 12, 30, 32,
197
+ 33, 31, 31, 30, 31, 31, 31, 12,
198
+ 34, 12, 35, 25, 23, 36, 24, 38,
199
+ 39, 37, 25, 37, 36, 37, 37, 37,
200
+ 23, 40, 24, 42, 43, 41, 25, 41,
201
+ 40, 41, 41, 41, 23, 44, 24, 46,
202
+ 45, 25, 45, 44, 45, 45, 45, 45,
203
+ 23, 47, 24, 48, 25, 47, 23, 48,
204
+ 49, 50, 25, 48, 23, 51, 21, 53,
205
+ 54, 52, 22, 52, 51, 52, 52, 52,
206
+ 20, 24, 55, 25, 23, 57, 58, 59,
207
+ 56, 61, 35, 62, 60, 64, 24, 66,
208
+ 67, 65, 68, 65, 64, 65, 65, 65,
209
+ 63, 24, 68, 63, 61, 68, 63, 69,
210
+ 24, 71, 72, 70, 68, 70, 69, 70,
211
+ 70, 70, 63, 73, 24, 75, 74, 68,
212
+ 74, 73, 74, 74, 74, 74, 63, 76,
213
+ 24, 77, 68, 76, 63, 77, 78, 79,
214
+ 68, 77, 63, 80, 58, 59, 56, 81,
215
+ 81, 62, 60, 82, 61, 35, 84, 85,
216
+ 83, 62, 83, 82, 83, 83, 83, 60,
217
+ 86, 61, 35, 88, 89, 87, 62, 87,
218
+ 86, 87, 87, 87, 60, 90, 61, 35,
219
+ 92, 91, 62, 91, 90, 91, 91, 91,
220
+ 91, 60, 93, 61, 35, 94, 62, 93,
221
+ 60, 94, 95, 96, 62, 94, 60, 97,
222
+ 80, 58, 99, 100, 98, 59, 98, 97,
223
+ 98, 98, 98, 56, 61, 35, 101, 62,
224
+ 60, 97, 57, 58, 99, 100, 98, 59,
225
+ 98, 97, 98, 98, 98, 56, 103, 21,
226
+ 105, 106, 104, 107, 104, 103, 104, 104,
227
+ 104, 102, 24, 108, 68, 63, 21, 107,
228
+ 102, 109, 109, 109, 109, 109, 109, 0,
229
+ 111, 110, 110, 110, 110, 110, 110, 0,
581
230
  112, 112, 112, 112, 112, 112, 0, 113,
582
- 113, 113, 113, 113, 0, 0, 0, 0,
583
- 0, 0, 0, 0, 0, 0, 0, 0,
584
- 0, 0, 0, 0, 0, 0, 113, 0,
585
- 0, 0, 0, 0, 0, 0, 0, 0,
586
- 0, 0, 0, 114, 114, 0, 114, 114,
587
- 114, 114, 114, 114, 114, 114, 114, 114,
588
- 114, 0, 0, 0, 115, 114, 0, 114,
589
- 114, 114, 114, 114, 114, 114, 114, 114,
590
- 114, 114, 114, 114, 114, 114, 114, 114,
591
- 114, 114, 114, 114, 114, 114, 114, 114,
592
- 114, 0, 0, 0, 0, 114, 0, 114,
593
- 114, 114, 114, 114, 114, 114, 114, 114,
594
- 114, 114, 114, 114, 114, 114, 114, 114,
595
- 114, 114, 114, 114, 114, 114, 114, 114,
596
- 114, 0, 116, 116, 116, 116, 116, 0,
597
- 0, 0, 0, 0, 0, 0, 0, 0,
598
- 0, 0, 0, 0, 0, 0, 0, 0,
599
- 0, 116, 0, 0, 0, 0, 0, 0,
600
- 0, 0, 0, 0, 0, 0, 0, 0,
601
- 0, 0, 0, 0, 0, 0, 0, 0,
602
- 0, 0, 0, 0, 0, 0, 0, 117,
603
- 0, 118, 120, 119, 122, 122, 123, 122,
604
- 122, 122, 122, 122, 122, 122, 122, 122,
605
- 122, 121, 121, 121, 121, 121, 122, 121,
606
- 122, 122, 122, 122, 122, 122, 122, 122,
607
- 122, 122, 122, 122, 122, 122, 122, 122,
608
- 122, 122, 122, 122, 122, 122, 122, 122,
609
- 122, 122, 121, 121, 121, 121, 122, 121,
610
- 122, 122, 122, 122, 122, 122, 122, 122,
611
- 122, 122, 122, 122, 122, 122, 122, 122,
612
- 122, 122, 122, 122, 122, 122, 122, 122,
613
- 122, 122, 121, 124, 125, 24, 23, 23,
614
- 23, 23, 23, 23, 23, 23, 23, 23,
615
- 23, 23, 23, 23, 23, 23, 23, 23,
616
- 23, 23, 23, 23, 23, 23, 23, 23,
617
- 23, 23, 23, 23, 23, 23, 23, 23,
618
- 23, 23, 23, 23, 23, 23, 23, 23,
619
- 23, 23, 23, 23, 23, 23, 23, 23,
620
- 23, 23, 23, 23, 23, 23, 23, 25,
621
- 23, 24, 23, 23, 23, 23, 23, 23,
622
- 23, 23, 23, 23, 23, 23, 23, 23,
623
- 23, 23, 23, 23, 23, 23, 23, 23,
624
- 23, 23, 23, 23, 23, 23, 23, 23,
625
- 23, 23, 23, 23, 23, 23, 23, 23,
626
- 23, 23, 23, 23, 23, 23, 23, 23,
627
- 23, 23, 23, 23, 23, 23, 23, 23,
628
- 23, 23, 23, 25, 23, 61, 60, 60,
629
- 60, 60, 35, 60, 60, 60, 60, 60,
630
- 60, 60, 60, 60, 60, 60, 60, 60,
631
- 60, 60, 60, 60, 60, 60, 60, 60,
632
- 60, 60, 60, 60, 60, 60, 60, 60,
633
- 60, 60, 60, 60, 60, 60, 60, 60,
634
- 60, 60, 60, 60, 60, 60, 60, 60,
635
- 60, 60, 60, 60, 60, 60, 60, 62,
636
- 60, 61, 60, 60, 60, 60, 35, 60,
637
- 60, 60, 60, 60, 60, 60, 60, 60,
638
- 60, 60, 60, 60, 60, 60, 60, 60,
639
- 60, 60, 60, 60, 60, 60, 60, 60,
640
- 60, 60, 60, 60, 60, 60, 60, 60,
641
- 60, 60, 60, 60, 60, 60, 60, 60,
642
- 60, 60, 60, 60, 60, 60, 60, 60,
643
- 60, 60, 60, 62, 60, 24, 63, 63,
644
- 63, 63, 63, 63, 63, 63, 63, 63,
645
- 63, 63, 63, 63, 63, 63, 63, 63,
646
- 63, 63, 63, 63, 63, 63, 63, 63,
647
- 63, 63, 63, 63, 63, 63, 63, 63,
648
- 63, 63, 63, 63, 63, 63, 63, 63,
649
- 63, 63, 63, 63, 63, 63, 63, 63,
650
- 63, 63, 68, 63, 24, 63, 63, 63,
651
- 63, 63, 63, 63, 63, 63, 63, 63,
652
- 63, 63, 63, 63, 63, 63, 63, 63,
653
- 63, 63, 63, 63, 63, 63, 63, 63,
654
- 63, 63, 63, 63, 63, 63, 63, 63,
655
- 63, 63, 63, 63, 63, 63, 63, 63,
656
- 63, 63, 63, 63, 63, 63, 63, 63,
657
- 63, 68, 63, 126, 0
231
+ 115, 114, 114, 113, 114, 114, 114, 114,
232
+ 0, 116, 117, 116, 0, 118, 120, 119,
233
+ 123, 122, 122, 122, 122, 122, 121, 124,
234
+ 125, 24, 25, 23, 24, 25, 23, 61,
235
+ 35, 62, 60, 61, 35, 62, 60, 24,
236
+ 68, 63, 24, 68, 63, 126, 0
658
237
  ]
659
238
 
660
239
  class << self
@@ -685,22 +264,22 @@ class << self
685
264
  private :_parser_trans_actions, :_parser_trans_actions=
686
265
  end
687
266
  self._parser_trans_actions = [
688
- 1, 0, 2, 3, 4, 0, 4, 4,
689
- 0, 5, 0, 0, 6, 7, 0, 7,
690
- 0, 0, 0, 0, 8, 9, 8, 0,
691
- 10, 0, 11, 12, 13, 13, 0, 14,
692
- 15, 15, 0, 10, 11, 12, 13, 16,
693
- 0, 14, 15, 17, 7, 0, 7, 0,
694
- 0, 10, 0, 18, 19, 20, 21, 22,
695
- 8, 23, 9, 8, 0, 10, 0, 0,
696
- 11, 12, 13, 16, 0, 0, 14, 15,
697
- 17, 7, 0, 7, 0, 0, 0, 10,
698
- 9, 10, 11, 12, 13, 16, 0, 14,
699
- 15, 17, 7, 0, 7, 0, 0, 10,
700
- 10, 18, 19, 20, 21, 22, 8, 18,
701
- 19, 20, 21, 8, 22, 24, 0, 2,
702
- 3, 4, 0, 4, 0, 0, 0, 27,
703
- 28, 29, 24, 0, 30, 31, 32
267
+ 29, 0, 3, 5, 7, 0, 7, 7,
268
+ 0, 13, 0, 0, 31, 15, 0, 15,
269
+ 0, 0, 0, 0, 17, 42, 17, 0,
270
+ 19, 0, 9, 63, 33, 33, 0, 36,
271
+ 11, 11, 0, 19, 9, 63, 33, 80,
272
+ 0, 36, 11, 71, 15, 0, 15, 0,
273
+ 0, 19, 0, 39, 75, 67, 85, 57,
274
+ 17, 45, 42, 17, 0, 19, 0, 0,
275
+ 9, 63, 33, 80, 0, 0, 36, 11,
276
+ 71, 15, 0, 15, 0, 0, 0, 19,
277
+ 42, 19, 9, 63, 33, 80, 0, 36,
278
+ 11, 71, 15, 0, 15, 0, 0, 19,
279
+ 19, 39, 75, 67, 85, 57, 17, 39,
280
+ 75, 67, 85, 17, 57, 1, 0, 3,
281
+ 5, 7, 0, 7, 0, 0, 0, 25,
282
+ 60, 27, 1, 0, 51, 48, 54
704
283
  ]
705
284
 
706
285
  class << self
@@ -714,7 +293,7 @@ self._parser_to_state_actions = [
714
293
  0, 0, 0, 0, 0, 0, 0, 0,
715
294
  0, 0, 0, 0, 0, 0, 0, 0,
716
295
  0, 0, 0, 0, 0, 0, 0, 0,
717
- 25, 25, 0, 0, 0, 0, 0, 0,
296
+ 21, 21, 0, 0, 0, 0, 0, 0,
718
297
  0, 0, 0, 0
719
298
  ]
720
299
 
@@ -729,7 +308,7 @@ self._parser_from_state_actions = [
729
308
  0, 0, 0, 0, 0, 0, 0, 0,
730
309
  0, 0, 0, 0, 0, 0, 0, 0,
731
310
  0, 0, 0, 0, 0, 0, 0, 0,
732
- 0, 26, 0, 0, 0, 0, 0, 0,
311
+ 0, 23, 0, 0, 0, 0, 0, 0,
733
312
  0, 0, 0, 0
734
313
  ]
735
314
 
@@ -770,9 +349,10 @@ class << self
770
349
  end
771
350
  self.parser_en_main = 49;
772
351
 
773
- # line 118 "scan.rl"
352
+
353
+ # line 119 "scan.rl"
774
354
 
775
- # line 776 "scan.rb"
355
+ # line 356 "scan.rb"
776
356
  begin
777
357
  p ||= 0
778
358
  pe ||= data.length
@@ -781,12 +361,12 @@ begin
781
361
  te = nil
782
362
  act = 0
783
363
  end
784
- # line 119 "scan.rl"
364
+
365
+ # line 120 "scan.rl"
785
366
 
786
- # line 787 "scan.rb"
367
+ # line 368 "scan.rb"
787
368
  begin
788
- testEof = false
789
- _slen, _trans, _keys, _inds, _acts, _nacts = nil
369
+ _klen, _trans, _keys, _acts, _nacts = nil
790
370
  _goto_level = 0
791
371
  _resume = 10
792
372
  _eof_trans = 15
@@ -794,6 +374,7 @@ begin
794
374
  _test_eof = 30
795
375
  _out = 40
796
376
  while true
377
+ _trigger_goto = false
797
378
  if _goto_level <= 0
798
379
  if p == pe
799
380
  _goto_level = _test_eof
@@ -805,95 +386,166 @@ begin
805
386
  end
806
387
  end
807
388
  if _goto_level <= _resume
808
- case _parser_from_state_actions[cs]
809
- when 26 then
810
- # line 1 "scan.rl"
389
+ _acts = _parser_from_state_actions[cs]
390
+ _nacts = _parser_actions[_acts]
391
+ _acts += 1
392
+ while _nacts > 0
393
+ _nacts -= 1
394
+ _acts += 1
395
+ case _parser_actions[_acts - 1]
396
+ when 14 then
397
+ # line 1 "NONE"
811
398
  begin
812
399
  ts = p
813
400
  end
814
- # line 1 "scan.rl"
815
- # line 816 "scan.rb"
401
+ # line 402 "scan.rb"
402
+ end # from state action switch
816
403
  end
817
- _keys = cs << 1
818
- _inds = _parser_index_offsets[cs]
819
- _slen = _parser_key_spans[cs]
820
- _trans = if ( _slen > 0 &&
821
- _parser_trans_keys[_keys] <= data[p] &&
822
- data[p] <= _parser_trans_keys[_keys + 1]
823
- ) then
824
- _parser_indicies[ _inds + data[p] - _parser_trans_keys[_keys] ]
825
- else
826
- _parser_indicies[ _inds + _slen ]
827
- end
404
+ if _trigger_goto
405
+ next
406
+ end
407
+ _keys = _parser_key_offsets[cs]
408
+ _trans = _parser_index_offsets[cs]
409
+ _klen = _parser_single_lengths[cs]
410
+ _break_match = false
411
+
412
+ begin
413
+ if _klen > 0
414
+ _lower = _keys
415
+ _upper = _keys + _klen - 1
416
+
417
+ loop do
418
+ break if _upper < _lower
419
+ _mid = _lower + ( (_upper - _lower) >> 1 )
420
+
421
+ if data[p] < _parser_trans_keys[_mid]
422
+ _upper = _mid - 1
423
+ elsif data[p] > _parser_trans_keys[_mid]
424
+ _lower = _mid + 1
425
+ else
426
+ _trans += (_mid - _keys)
427
+ _break_match = true
428
+ break
429
+ end
430
+ end # loop
431
+ break if _break_match
432
+ _keys += _klen
433
+ _trans += _klen
434
+ end
435
+ _klen = _parser_range_lengths[cs]
436
+ if _klen > 0
437
+ _lower = _keys
438
+ _upper = _keys + (_klen << 1) - 2
439
+ loop do
440
+ break if _upper < _lower
441
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1)
442
+ if data[p] < _parser_trans_keys[_mid]
443
+ _upper = _mid - 2
444
+ elsif data[p] > _parser_trans_keys[_mid+1]
445
+ _lower = _mid + 2
446
+ else
447
+ _trans += ((_mid - _keys) >> 1)
448
+ _break_match = true
449
+ break
450
+ end
451
+ end # loop
452
+ break if _break_match
453
+ _trans += _klen
454
+ end
455
+ end while false
456
+ _trans = _parser_indicies[_trans]
828
457
  end
829
458
  if _goto_level <= _eof_trans
830
459
  cs = _parser_trans_targs[_trans]
831
460
  if _parser_trans_actions[_trans] != 0
832
- case _parser_trans_actions[_trans]
833
- when 24 then
461
+ _acts = _parser_trans_actions[_trans]
462
+ _nacts = _parser_actions[_acts]
463
+ _acts += 1
464
+ while _nacts > 0
465
+ _nacts -= 1
466
+ _acts += 1
467
+ case _parser_actions[_acts - 1]
468
+ when 0 then
834
469
  # line 5 "scan.rl"
835
470
  begin
836
471
  mark_pfx = p end
837
- # line 5 "scan.rl"
838
- when 2 then
472
+ when 1 then
839
473
  # line 6 "scan.rl"
840
474
  begin
841
475
 
842
476
  if data[mark_pfx..p-1] != @prefix
843
- @nodes.last << data[mark_pfx-1..p]
477
+ closing = data[mark_pfx-1,1] == '/'
478
+ @nodes.last << data[mark_pfx-(closing ? 2 : 1)..p]
844
479
  begin
845
480
  p += 1
481
+ _trigger_goto = true
846
482
  _goto_level = _out
847
- next
483
+ break
848
484
  end
849
485
 
850
486
  end
851
487
  end
852
- # line 6 "scan.rl"
853
- when 3 then
854
- # line 12 "scan.rl"
488
+ when 2 then
489
+ # line 13 "scan.rl"
855
490
  begin
856
491
  mark_stg = p end
857
- # line 12 "scan.rl"
858
- when 4 then
859
- # line 13 "scan.rl"
492
+ when 3 then
493
+ # line 14 "scan.rl"
860
494
  begin
861
495
  @starttag = data[mark_stg..p-1] end
862
- # line 13 "scan.rl"
863
- when 11 then
864
- # line 14 "scan.rl"
496
+ when 4 then
497
+ # line 15 "scan.rl"
865
498
  begin
866
499
  mark_attr = p end
867
- # line 14 "scan.rl"
868
- when 15 then
869
- # line 15 "scan.rl"
500
+ when 5 then
501
+ # line 16 "scan.rl"
870
502
  begin
871
503
 
872
504
  @attrs[@nat] = @vat
873
505
  end
874
- # line 15 "scan.rl"
875
- when 5 then
876
- # line 24 "scan.rl"
506
+ when 6 then
507
+ # line 25 "scan.rl"
877
508
  begin
878
509
  mark_nat = p end
879
- # line 24 "scan.rl"
880
- when 7 then
881
- # line 25 "scan.rl"
510
+ when 7 then
511
+ # line 26 "scan.rl"
882
512
  begin
883
513
  @nat = data[mark_nat..p-1] end
884
- # line 25 "scan.rl"
885
- when 8 then
886
- # line 26 "scan.rl"
514
+ when 8 then
515
+ # line 27 "scan.rl"
887
516
  begin
888
517
  mark_vat = p end
889
- # line 26 "scan.rl"
890
- when 10 then
891
- # line 27 "scan.rl"
518
+ when 9 then
519
+ # line 28 "scan.rl"
892
520
  begin
893
521
  @vat = data[mark_vat..p-1] end
894
- # line 27 "scan.rl"
895
- when 27 then
896
- # line 78 "scan.rl"
522
+ when 10 then
523
+ # line 30 "scan.rl"
524
+ begin
525
+ @flavor = :open end
526
+ when 11 then
527
+ # line 31 "scan.rl"
528
+ begin
529
+ @flavor = :self end
530
+ when 12 then
531
+ # line 32 "scan.rl"
532
+ begin
533
+ @flavor = :close end
534
+ when 15 then
535
+ # line 1 "NONE"
536
+ begin
537
+ te = p+1
538
+ end
539
+ when 16 then
540
+ # line 70 "scan.rl"
541
+ begin
542
+ act = 1; end
543
+ when 17 then
544
+ # line 79 "scan.rl"
545
+ begin
546
+ act = 2; end
547
+ when 18 then
548
+ # line 79 "scan.rl"
897
549
  begin
898
550
  te = p+1
899
551
  begin
@@ -901,9 +553,28 @@ te = p+1
901
553
  @tagstart = p
902
554
  end
903
555
  end
904
- # line 78 "scan.rl"
905
- when 29 then
906
- # line 78 "scan.rl"
556
+ when 19 then
557
+ # line 70 "scan.rl"
558
+ begin
559
+ te = p
560
+ p = p - 1; begin
561
+ tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs}
562
+ @prefix = nil
563
+ @name = nil
564
+ @flavor = :tasteless
565
+ @attrs = {}
566
+ @nodes << tag << ''
567
+ begin
568
+ p += 1
569
+ _trigger_goto = true
570
+ _goto_level = _out
571
+ break
572
+ end
573
+
574
+ end
575
+ end
576
+ when 20 then
577
+ # line 79 "scan.rl"
907
578
  begin
908
579
  te = p
909
580
  p = p - 1; begin
@@ -911,9 +582,8 @@ p = p - 1; begin
911
582
  @tagstart = p
912
583
  end
913
584
  end
914
- # line 78 "scan.rl"
915
- when 1 then
916
- # line 78 "scan.rl"
585
+ when 21 then
586
+ # line 79 "scan.rl"
917
587
  begin
918
588
  begin p = ((te))-1; end
919
589
  begin
@@ -921,9 +591,8 @@ p = p - 1; begin
921
591
  @tagstart = p
922
592
  end
923
593
  end
924
- # line 78 "scan.rl"
925
- when 6 then
926
- # line 1 "scan.rl"
594
+ when 22 then
595
+ # line 1 "NONE"
927
596
  begin
928
597
  case act
929
598
  when 1 then
@@ -937,8 +606,9 @@ p = p - 1; begin
937
606
  @nodes << tag << ''
938
607
  begin
939
608
  p += 1
609
+ _trigger_goto = true
940
610
  _goto_level = _out
941
- next
611
+ break
942
612
  end
943
613
 
944
614
  end
@@ -950,271 +620,32 @@ p = p - 1; begin
950
620
  end
951
621
  end
952
622
  end
953
- # line 1 "scan.rl"
954
- when 13 then
955
- # line 14 "scan.rl"
956
- begin
957
- mark_attr = p end
958
- # line 14 "scan.rl"
959
- # line 15 "scan.rl"
960
- begin
961
-
962
- @attrs[@nat] = @vat
963
- end
964
- # line 15 "scan.rl"
965
- when 14 then
966
- # line 15 "scan.rl"
967
- begin
968
-
969
- @attrs[@nat] = @vat
970
- end
971
- # line 15 "scan.rl"
972
- # line 24 "scan.rl"
973
- begin
974
- mark_nat = p end
975
- # line 24 "scan.rl"
976
- when 18 then
977
- # line 26 "scan.rl"
978
- begin
979
- mark_vat = p end
980
- # line 26 "scan.rl"
981
- # line 14 "scan.rl"
982
- begin
983
- mark_attr = p end
984
- # line 14 "scan.rl"
985
- when 9 then
986
- # line 26 "scan.rl"
987
- begin
988
- mark_vat = p end
989
- # line 26 "scan.rl"
990
- # line 27 "scan.rl"
991
- begin
992
- @vat = data[mark_vat..p-1] end
993
- # line 27 "scan.rl"
994
- when 23 then
995
- # line 27 "scan.rl"
996
- begin
997
- @vat = data[mark_vat..p-1] end
998
- # line 27 "scan.rl"
999
- # line 26 "scan.rl"
1000
- begin
1001
- mark_vat = p end
1002
- # line 26 "scan.rl"
1003
- when 31 then
1004
- # line 29 "scan.rl"
1005
- begin
1006
- @flavor = :open end
1007
- # line 29 "scan.rl"
1008
- # line 69 "scan.rl"
1009
- begin
1010
- te = p
1011
- p = p - 1; begin
1012
- tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs}
1013
- @prefix = nil
1014
- @name = nil
1015
- @flavor = :tasteless
1016
- @attrs = {}
1017
- @nodes << tag << ''
1018
- begin
1019
- p += 1
1020
- _goto_level = _out
1021
- next
1022
- end
1023
-
1024
- end
623
+ # line 624 "scan.rb"
624
+ end # action switch
1025
625
  end
1026
- # line 69 "scan.rl"
1027
- when 30 then
1028
- # line 30 "scan.rl"
1029
- begin
1030
- @flavor = :self end
1031
- # line 30 "scan.rl"
1032
- # line 69 "scan.rl"
1033
- begin
1034
- te = p
1035
- p = p - 1; begin
1036
- tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs}
1037
- @prefix = nil
1038
- @name = nil
1039
- @flavor = :tasteless
1040
- @attrs = {}
1041
- @nodes << tag << ''
1042
- begin
1043
- p += 1
1044
- _goto_level = _out
1045
- next
1046
626
  end
1047
-
1048
- end
1049
- end
1050
- # line 69 "scan.rl"
1051
- when 32 then
1052
- # line 31 "scan.rl"
1053
- begin
1054
- @flavor = :close end
1055
- # line 31 "scan.rl"
1056
- # line 69 "scan.rl"
1057
- begin
1058
- te = p
1059
- p = p - 1; begin
1060
- tag = {:prefix=>@prefix, :name=>@starttag, :flavor => @flavor, :attrs => @attrs}
1061
- @prefix = nil
1062
- @name = nil
1063
- @flavor = :tasteless
1064
- @attrs = {}
1065
- @nodes << tag << ''
1066
- begin
1067
- p += 1
1068
- _goto_level = _out
627
+ if _trigger_goto
1069
628
  next
1070
- end
1071
-
1072
- end
1073
- end
1074
- # line 69 "scan.rl"
1075
- when 22 then
1076
- # line 1 "scan.rl"
1077
- begin
1078
- te = p+1
1079
- end
1080
- # line 1 "scan.rl"
1081
- # line 69 "scan.rl"
1082
- begin
1083
- act = 1; end
1084
- # line 69 "scan.rl"
1085
- when 28 then
1086
- # line 1 "scan.rl"
1087
- begin
1088
- te = p+1
1089
- end
1090
- # line 1 "scan.rl"
1091
- # line 78 "scan.rl"
1092
- begin
1093
- act = 2; end
1094
- # line 78 "scan.rl"
1095
- when 12 then
1096
- # line 14 "scan.rl"
1097
- begin
1098
- mark_attr = p end
1099
- # line 14 "scan.rl"
1100
- # line 15 "scan.rl"
1101
- begin
1102
-
1103
- @attrs[@nat] = @vat
1104
- end
1105
- # line 15 "scan.rl"
1106
- # line 24 "scan.rl"
1107
- begin
1108
- mark_nat = p end
1109
- # line 24 "scan.rl"
1110
- when 20 then
1111
- # line 26 "scan.rl"
1112
- begin
1113
- mark_vat = p end
1114
- # line 26 "scan.rl"
1115
- # line 14 "scan.rl"
1116
- begin
1117
- mark_attr = p end
1118
- # line 14 "scan.rl"
1119
- # line 15 "scan.rl"
1120
- begin
1121
-
1122
- @attrs[@nat] = @vat
1123
- end
1124
- # line 15 "scan.rl"
1125
- when 17 then
1126
- # line 1 "scan.rl"
1127
- begin
1128
- te = p+1
1129
- end
1130
- # line 1 "scan.rl"
1131
- # line 15 "scan.rl"
1132
- begin
1133
-
1134
- @attrs[@nat] = @vat
1135
- end
1136
- # line 15 "scan.rl"
1137
- # line 69 "scan.rl"
1138
- begin
1139
- act = 1; end
1140
- # line 69 "scan.rl"
1141
- when 19 then
1142
- # line 26 "scan.rl"
1143
- begin
1144
- mark_vat = p end
1145
- # line 26 "scan.rl"
1146
- # line 14 "scan.rl"
1147
- begin
1148
- mark_attr = p end
1149
- # line 14 "scan.rl"
1150
- # line 15 "scan.rl"
1151
- begin
1152
-
1153
- @attrs[@nat] = @vat
1154
- end
1155
- # line 15 "scan.rl"
1156
- # line 24 "scan.rl"
1157
- begin
1158
- mark_nat = p end
1159
- # line 24 "scan.rl"
1160
- when 16 then
1161
- # line 1 "scan.rl"
1162
- begin
1163
- te = p+1
1164
- end
1165
- # line 1 "scan.rl"
1166
- # line 14 "scan.rl"
1167
- begin
1168
- mark_attr = p end
1169
- # line 14 "scan.rl"
1170
- # line 15 "scan.rl"
1171
- begin
1172
-
1173
- @attrs[@nat] = @vat
1174
- end
1175
- # line 15 "scan.rl"
1176
- # line 69 "scan.rl"
1177
- begin
1178
- act = 1; end
1179
- # line 69 "scan.rl"
1180
- when 21 then
1181
- # line 1 "scan.rl"
1182
- begin
1183
- te = p+1
1184
- end
1185
- # line 1 "scan.rl"
1186
- # line 26 "scan.rl"
1187
- begin
1188
- mark_vat = p end
1189
- # line 26 "scan.rl"
1190
- # line 14 "scan.rl"
1191
- begin
1192
- mark_attr = p end
1193
- # line 14 "scan.rl"
1194
- # line 15 "scan.rl"
1195
- begin
1196
-
1197
- @attrs[@nat] = @vat
1198
- end
1199
- # line 15 "scan.rl"
1200
- # line 69 "scan.rl"
1201
- begin
1202
- act = 1; end
1203
- # line 69 "scan.rl"
1204
- # line 1205 "scan.rb"
1205
- end
1206
629
  end
1207
630
  end
1208
631
  if _goto_level <= _again
1209
- case _parser_to_state_actions[cs]
1210
- when 25 then
1211
- # line 1 "scan.rl"
632
+ _acts = _parser_to_state_actions[cs]
633
+ _nacts = _parser_actions[_acts]
634
+ _acts += 1
635
+ while _nacts > 0
636
+ _nacts -= 1
637
+ _acts += 1
638
+ case _parser_actions[_acts - 1]
639
+ when 13 then
640
+ # line 1 "NONE"
1212
641
  begin
1213
642
  ts = nil; end
1214
- # line 1 "scan.rl"
1215
- # line 1216 "scan.rb"
643
+ # line 644 "scan.rb"
644
+ end # to state action switch
645
+ end
646
+ if _trigger_goto
647
+ next
1216
648
  end
1217
-
1218
649
  if cs == 0
1219
650
  _goto_level = _out
1220
651
  next
@@ -1232,15 +663,15 @@ ts = nil; end
1232
663
  _goto_level = _eof_trans
1233
664
  next;
1234
665
  end
1235
- end
1236
-
666
+ end
1237
667
  end
1238
668
  if _goto_level <= _out
1239
669
  break
1240
670
  end
1241
- end
1242
671
  end
1243
- # line 120 "scan.rl"
672
+ end
673
+
674
+ # line 121 "scan.rl"
1244
675
  return p
1245
676
  end
1246
677
  end