commonmarker 0.0.1

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

Potentially problematic release.


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

Files changed (291) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +119 -0
  5. data/Rakefile +39 -0
  6. data/bin/commonmarker +41 -0
  7. data/commonmarker.gemspec +30 -0
  8. data/ext/commonmarker/cmark/CMakeLists.txt +25 -0
  9. data/ext/commonmarker/cmark/COPYING +192 -0
  10. data/ext/commonmarker/cmark/FindAsan.cmake +74 -0
  11. data/ext/commonmarker/cmark/Makefile +170 -0
  12. data/ext/commonmarker/cmark/Makefile.nmake +36 -0
  13. data/ext/commonmarker/cmark/README.md +169 -0
  14. data/ext/commonmarker/cmark/api_test/CMakeLists.txt +25 -0
  15. data/ext/commonmarker/cmark/api_test/cplusplus.cpp +15 -0
  16. data/ext/commonmarker/cmark/api_test/cplusplus.h +17 -0
  17. data/ext/commonmarker/cmark/api_test/harness.c +102 -0
  18. data/ext/commonmarker/cmark/api_test/harness.h +42 -0
  19. data/ext/commonmarker/cmark/api_test/main.c +700 -0
  20. data/ext/commonmarker/cmark/appveyor.yml +15 -0
  21. data/ext/commonmarker/cmark/bench/statistics.py +595 -0
  22. data/ext/commonmarker/cmark/bench/stats.py +19 -0
  23. data/ext/commonmarker/cmark/benchmarks.md +33 -0
  24. data/ext/commonmarker/cmark/build/CMakeCache.txt +362 -0
  25. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCCompiler.cmake +63 -0
  26. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake +64 -0
  27. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_C.bin +0 -0
  28. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  29. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeSystem.cmake +15 -0
  30. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.c +499 -0
  31. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/a.out +0 -0
  32. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +489 -0
  33. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/a.out +0 -0
  34. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  35. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +30 -0
  36. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +598 -0
  37. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +77 -0
  38. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +268 -0
  39. data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +4 -0
  40. data/ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache +1 -0
  41. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
  42. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +34 -0
  43. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +405 -0
  44. data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +1 -0
  45. data/ext/commonmarker/cmark/build/CTestTestfile.cmake +10 -0
  46. data/ext/commonmarker/cmark/build/Makefile +237 -0
  47. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  48. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/C.includecache +92 -0
  49. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/CXX.includecache +36 -0
  50. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +29 -0
  51. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +155 -0
  52. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +12 -0
  53. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o +0 -0
  54. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.internal +25 -0
  55. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make +25 -0
  56. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +13 -0
  57. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/harness.c.o +0 -0
  58. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -0
  59. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/main.c.o +0 -0
  60. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +4 -0
  61. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +1 -0
  62. data/ext/commonmarker/cmark/build/api_test/Makefile +277 -0
  63. data/ext/commonmarker/cmark/build/api_test/api_test +0 -0
  64. data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +29 -0
  65. data/ext/commonmarker/cmark/build/cmake_install.cmake +48 -0
  66. data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  67. data/ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks +1 -0
  68. data/ext/commonmarker/cmark/build/man/Makefile +181 -0
  69. data/ext/commonmarker/cmark/build/man/cmake_install.cmake +37 -0
  70. data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  71. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/C.includecache +422 -0
  72. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake +39 -0
  73. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/blocks.c.o +0 -0
  74. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/buffer.c.o +0 -0
  75. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +544 -0
  76. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake +27 -0
  77. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark.c.o +0 -0
  78. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark_ctype.c.o +0 -0
  79. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/commonmark.c.o +0 -0
  80. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.internal +177 -0
  81. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.make +177 -0
  82. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +8 -0
  83. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_href_e.c.o +0 -0
  84. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_e.c.o +0 -0
  85. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_u.c.o +0 -0
  86. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/html.c.o +0 -0
  87. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/inlines.c.o +0 -0
  88. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/iterator.c.o +0 -0
  89. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt +1 -0
  90. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/main.c.o +0 -0
  91. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/man.c.o +0 -0
  92. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/node.c.o +0 -0
  93. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make +19 -0
  94. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/references.c.o +0 -0
  95. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/scanners.c.o +0 -0
  96. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/utf8.c.o +0 -0
  97. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/xml.c.o +0 -0
  98. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/C.includecache +394 -0
  99. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +44 -0
  100. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/blocks.c.o +0 -0
  101. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/buffer.c.o +0 -0
  102. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +522 -0
  103. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +27 -0
  104. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark.c.o +0 -0
  105. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark_ctype.c.o +0 -0
  106. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/commonmark.c.o +0 -0
  107. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.internal +169 -0
  108. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.make +169 -0
  109. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +8 -0
  110. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_href_e.c.o +0 -0
  111. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_e.c.o +0 -0
  112. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_u.c.o +0 -0
  113. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/html.c.o +0 -0
  114. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/inlines.c.o +0 -0
  115. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/iterator.c.o +0 -0
  116. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -0
  117. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/man.c.o +0 -0
  118. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/node.c.o +0 -0
  119. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make +18 -0
  120. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/references.c.o +0 -0
  121. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/scanners.c.o +0 -0
  122. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/utf8.c.o +0 -0
  123. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/xml.c.o +0 -0
  124. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache +394 -0
  125. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake +38 -0
  126. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
  127. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/buffer.c.o +0 -0
  128. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +519 -0
  129. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake +26 -0
  130. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake +3 -0
  131. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
  132. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o +0 -0
  133. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
  134. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +169 -0
  135. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +169 -0
  136. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +8 -0
  137. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o +0 -0
  138. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o +0 -0
  139. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o +0 -0
  140. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
  141. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
  142. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.c.o +0 -0
  143. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt +2 -0
  144. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o +0 -0
  145. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
  146. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/progress.make +18 -0
  147. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
  148. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
  149. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/utf8.c.o +0 -0
  150. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
  151. data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +1 -0
  152. data/ext/commonmarker/cmark/build/src/Makefile +814 -0
  153. data/ext/commonmarker/cmark/build/src/cmake_install.cmake +69 -0
  154. data/ext/commonmarker/cmark/build/src/cmark +0 -0
  155. data/ext/commonmarker/cmark/build/src/cmark_export.h +41 -0
  156. data/ext/commonmarker/cmark/build/src/cmark_version.h +7 -0
  157. data/ext/commonmarker/cmark/build/src/config.h +23 -0
  158. data/ext/commonmarker/cmark/build/src/libcmark.0.19.0.dylib +0 -0
  159. data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
  160. data/ext/commonmarker/cmark/build/src/libcmark.dylib +0 -0
  161. data/ext/commonmarker/cmark/build/src/libcmark.pc +10 -0
  162. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  163. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks +1 -0
  164. data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +12 -0
  165. data/ext/commonmarker/cmark/build/testdir/Makefile +181 -0
  166. data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +29 -0
  167. data/ext/commonmarker/cmark/changelog.txt +153 -0
  168. data/ext/commonmarker/cmark/data/CaseFolding-3.2.0.txt +912 -0
  169. data/ext/commonmarker/cmark/man/CMakeLists.txt +8 -0
  170. data/ext/commonmarker/cmark/man/make_man_page.py +131 -0
  171. data/ext/commonmarker/cmark/man/man1/cmark.1 +54 -0
  172. data/ext/commonmarker/cmark/man/man3/cmark.3 +583 -0
  173. data/ext/commonmarker/cmark/nmake.bat +1 -0
  174. data/ext/commonmarker/cmark/src/CMakeLists.txt +166 -0
  175. data/ext/commonmarker/cmark/src/bench.h +27 -0
  176. data/ext/commonmarker/cmark/src/blocks.c +887 -0
  177. data/ext/commonmarker/cmark/src/buffer.c +381 -0
  178. data/ext/commonmarker/cmark/src/buffer.h +113 -0
  179. data/ext/commonmarker/cmark/src/case_fold_switch.inc +2637 -0
  180. data/ext/commonmarker/cmark/src/chunk.h +110 -0
  181. data/ext/commonmarker/cmark/src/cmark.c +24 -0
  182. data/ext/commonmarker/cmark/src/cmark.h +565 -0
  183. data/ext/commonmarker/cmark/src/cmark_ctype.c +53 -0
  184. data/ext/commonmarker/cmark/src/cmark_ctype.h +24 -0
  185. data/ext/commonmarker/cmark/src/cmark_version.h.in +7 -0
  186. data/ext/commonmarker/cmark/src/commonmark.c +607 -0
  187. data/ext/commonmarker/cmark/src/config.h.in +23 -0
  188. data/ext/commonmarker/cmark/src/debug.h +36 -0
  189. data/ext/commonmarker/cmark/src/houdini.h +52 -0
  190. data/ext/commonmarker/cmark/src/houdini_href_e.c +107 -0
  191. data/ext/commonmarker/cmark/src/houdini_html_e.c +81 -0
  192. data/ext/commonmarker/cmark/src/houdini_html_u.c +116 -0
  193. data/ext/commonmarker/cmark/src/html.c +322 -0
  194. data/ext/commonmarker/cmark/src/html_unescape.gperf +2130 -0
  195. data/ext/commonmarker/cmark/src/html_unescape.h +13375 -0
  196. data/ext/commonmarker/cmark/src/inlines.c +1147 -0
  197. data/ext/commonmarker/cmark/src/inlines.h +19 -0
  198. data/ext/commonmarker/cmark/src/iterator.c +148 -0
  199. data/ext/commonmarker/cmark/src/iterator.h +25 -0
  200. data/ext/commonmarker/cmark/src/libcmark.pc.in +10 -0
  201. data/ext/commonmarker/cmark/src/main.c +191 -0
  202. data/ext/commonmarker/cmark/src/man.c +287 -0
  203. data/ext/commonmarker/cmark/src/node.c +873 -0
  204. data/ext/commonmarker/cmark/src/node.h +82 -0
  205. data/ext/commonmarker/cmark/src/parser.h +29 -0
  206. data/ext/commonmarker/cmark/src/references.c +154 -0
  207. data/ext/commonmarker/cmark/src/references.h +37 -0
  208. data/ext/commonmarker/cmark/src/scanners.c +15291 -0
  209. data/ext/commonmarker/cmark/src/scanners.h +41 -0
  210. data/ext/commonmarker/cmark/src/scanners.re +247 -0
  211. data/ext/commonmarker/cmark/src/utf8.c +452 -0
  212. data/ext/commonmarker/cmark/src/utf8.h +22 -0
  213. data/ext/commonmarker/cmark/src/xml.c +170 -0
  214. data/ext/commonmarker/cmark/test/CMakeLists.txt +53 -0
  215. data/ext/commonmarker/cmark/test/afl_dictionary/asterisk +1 -0
  216. data/ext/commonmarker/cmark/test/afl_dictionary/attr_generic +1 -0
  217. data/ext/commonmarker/cmark/test/afl_dictionary/attr_href +1 -0
  218. data/ext/commonmarker/cmark/test/afl_dictionary/attr_xml_lang +1 -0
  219. data/ext/commonmarker/cmark/test/afl_dictionary/attr_xmlns +1 -0
  220. data/ext/commonmarker/cmark/test/afl_dictionary/backslash +1 -0
  221. data/ext/commonmarker/cmark/test/afl_dictionary/backtick +1 -0
  222. data/ext/commonmarker/cmark/test/afl_dictionary/colon +1 -0
  223. data/ext/commonmarker/cmark/test/afl_dictionary/dashes +1 -0
  224. data/ext/commonmarker/cmark/test/afl_dictionary/double_quote +1 -0
  225. data/ext/commonmarker/cmark/test/afl_dictionary/entity_builtin +1 -0
  226. data/ext/commonmarker/cmark/test/afl_dictionary/entity_decimal +1 -0
  227. data/ext/commonmarker/cmark/test/afl_dictionary/entity_external +1 -0
  228. data/ext/commonmarker/cmark/test/afl_dictionary/entity_hex +1 -0
  229. data/ext/commonmarker/cmark/test/afl_dictionary/equals +1 -0
  230. data/ext/commonmarker/cmark/test/afl_dictionary/exclamation +1 -0
  231. data/ext/commonmarker/cmark/test/afl_dictionary/greater_than +1 -0
  232. data/ext/commonmarker/cmark/test/afl_dictionary/hash +1 -0
  233. data/ext/commonmarker/cmark/test/afl_dictionary/hyphen +0 -0
  234. data/ext/commonmarker/cmark/test/afl_dictionary/indent +1 -0
  235. data/ext/commonmarker/cmark/test/afl_dictionary/left_bracket +1 -0
  236. data/ext/commonmarker/cmark/test/afl_dictionary/left_paren +1 -0
  237. data/ext/commonmarker/cmark/test/afl_dictionary/less_than +1 -0
  238. data/ext/commonmarker/cmark/test/afl_dictionary/plus +1 -0
  239. data/ext/commonmarker/cmark/test/afl_dictionary/right_bracket +1 -0
  240. data/ext/commonmarker/cmark/test/afl_dictionary/right_paren +1 -0
  241. data/ext/commonmarker/cmark/test/afl_dictionary/single_quote +1 -0
  242. data/ext/commonmarker/cmark/test/afl_dictionary/string_any +1 -0
  243. data/ext/commonmarker/cmark/test/afl_dictionary/string_brackets +1 -0
  244. data/ext/commonmarker/cmark/test/afl_dictionary/string_cdata +1 -0
  245. data/ext/commonmarker/cmark/test/afl_dictionary/string_dashes +1 -0
  246. data/ext/commonmarker/cmark/test/afl_dictionary/string_empty_dblquotes +1 -0
  247. data/ext/commonmarker/cmark/test/afl_dictionary/string_empty_quotes +1 -0
  248. data/ext/commonmarker/cmark/test/afl_dictionary/string_idrefs +1 -0
  249. data/ext/commonmarker/cmark/test/afl_dictionary/string_parentheses +1 -0
  250. data/ext/commonmarker/cmark/test/afl_dictionary/string_pcdata +1 -0
  251. data/ext/commonmarker/cmark/test/afl_dictionary/tag_cdata +1 -0
  252. data/ext/commonmarker/cmark/test/afl_dictionary/tag_close +1 -0
  253. data/ext/commonmarker/cmark/test/afl_dictionary/tag_doctype +1 -0
  254. data/ext/commonmarker/cmark/test/afl_dictionary/tag_element +1 -0
  255. data/ext/commonmarker/cmark/test/afl_dictionary/tag_entity +1 -0
  256. data/ext/commonmarker/cmark/test/afl_dictionary/tag_notation +1 -0
  257. data/ext/commonmarker/cmark/test/afl_dictionary/tag_open +1 -0
  258. data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_close +1 -0
  259. data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_exclamation +1 -0
  260. data/ext/commonmarker/cmark/test/afl_dictionary/tag_open_q +1 -0
  261. data/ext/commonmarker/cmark/test/afl_dictionary/tag_sq2_close +1 -0
  262. data/ext/commonmarker/cmark/test/afl_dictionary/tag_xml_q +1 -0
  263. data/ext/commonmarker/cmark/test/afl_dictionary/underscore +1 -0
  264. data/ext/commonmarker/cmark/test/afl_test_cases/test.md +36 -0
  265. data/ext/commonmarker/cmark/test/cmark.py +40 -0
  266. data/ext/commonmarker/cmark/test/normalize.py +179 -0
  267. data/ext/commonmarker/cmark/test/pathological_tests.py +63 -0
  268. data/ext/commonmarker/cmark/test/roundtrip.sh +2 -0
  269. data/ext/commonmarker/cmark/test/smart_punct.txt +96 -0
  270. data/ext/commonmarker/cmark/test/spec.txt +7505 -0
  271. data/ext/commonmarker/cmark/test/spec_tests.py +139 -0
  272. data/ext/commonmarker/cmark/toolchain-mingw32.cmake +17 -0
  273. data/ext/commonmarker/cmark/tools/mkcasefold.pl +22 -0
  274. data/ext/commonmarker/cmark/wrappers/wrapper.lua +239 -0
  275. data/ext/commonmarker/cmark/wrappers/wrapper.py +37 -0
  276. data/ext/commonmarker/cmark/wrappers/wrapper.rb +15 -0
  277. data/ext/commonmarker/cmark/wrappers/wrapper.rkt +190 -0
  278. data/ext/commonmarker/commonmarker.c +165 -0
  279. data/ext/commonmarker/commonmarker.h +11 -0
  280. data/ext/commonmarker/extconf.rb +18 -0
  281. data/lib/commonmarker/config.rb +20 -0
  282. data/lib/commonmarker/version.rb +3 -0
  283. data/lib/commonmarker.rb +588 -0
  284. data/test/benchmark.rb +30 -0
  285. data/test/spec_tests.json +4074 -0
  286. data/test/test_basics.rb +44 -0
  287. data/test/test_helper.rb +5 -0
  288. data/test/test_maliciousness.rb +9 -0
  289. data/test/test_pathological_inputs.rb +52 -0
  290. data/test/test_spec.rb +20 -0
  291. metadata +399 -0
@@ -0,0 +1,44 @@
1
+ require 'test_helper'
2
+
3
+ class TestNode < Minitest::Unit::TestCase
4
+ def setup
5
+ @doc = Node.parse_string("Hi *there*")
6
+ end
7
+
8
+ def test_walk
9
+ nodes = []
10
+ @doc.walk do |node|
11
+ nodes << node.type
12
+ end
13
+ assert_equal [:document, :paragraph, :text, :emph, :text], nodes
14
+ end
15
+
16
+ def test_insert_illegal
17
+ assert_raises NodeError do
18
+ @doc.insert_before(@doc)
19
+ end
20
+ end
21
+
22
+ def test_to_html
23
+ assert_equal "<p>Hi <em>there</em></p>\n", @doc.to_html
24
+ end
25
+
26
+ def test_html_renderer
27
+ renderer = HtmlRenderer.new
28
+ result = renderer.render(@doc)
29
+ assert_equal "<p>Hi <em>there</em></p>\n", result
30
+ end
31
+
32
+ def test_walk_and_set_string_content
33
+ @doc.walk do |node|
34
+ if node.type == :text && node.string_content == 'there'
35
+ node.string_content = 'world'
36
+ assert_equal 'world', node.string_content
37
+ end
38
+ end
39
+ end
40
+
41
+ def teardown
42
+ @doc.free
43
+ end
44
+ end
@@ -0,0 +1,5 @@
1
+ require 'bundler/setup'
2
+ require 'commonmarker'
3
+ require 'minitest/autorun'
4
+
5
+ include CommonMarker
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ class CommonMarker::TestMaliciousness < Minitest::Unit::TestCase
4
+ def test_init
5
+ assert_raises NodeError do
6
+ render = Node.new(99999)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,52 @@
1
+ # coding: UTF-8
2
+ require 'test_helper'
3
+ require 'minitest/benchmark'
4
+
5
+ def markdown(s)
6
+ Node.parse_string(s).to_html
7
+ end
8
+
9
+ # Disabled by default
10
+ # (these are the easy ones -- the evil ones are not disclosed)
11
+ class PathologicalInputsTest < MiniTest::Unit::TestCase
12
+ def setup
13
+ end
14
+
15
+ def test_pathological_1
16
+ assert_performance_linear 0.99 do |n|
17
+ star = '*' * (n * 10)
18
+ markdown("#{star}#{star}hi#{star}#{star}")
19
+ end
20
+ end
21
+
22
+ def test_pathological_2
23
+ assert_performance_linear 0.99 do |n|
24
+ c = "`t`t`t`t`t`t" * (n * 10)
25
+ markdown(c)
26
+ end
27
+ end
28
+
29
+ def test_pathological_3
30
+ assert_performance_linear 0.99 do |n|
31
+ markdown(" [a]: #{ "A" * n }\n\n#{ "[a][]" * n }\n")
32
+ end
33
+ end
34
+
35
+ def test_pathological_4
36
+ assert_performance_linear 0.5 do |n|
37
+ markdown("#{'[' * n}a#{']' * n}")
38
+ end
39
+ end
40
+
41
+ def test_pathological_5
42
+ assert_performance_linear 0.99 do |n|
43
+ markdown("#{'**a *a ' * n}#{'a* a**' * n}")
44
+ end
45
+ end
46
+
47
+ def test_unbound_recursion
48
+ assert_performance_linear 0.99 do |n|
49
+ markdown(("[" * n) + "foo" + ("](bar)" * n ))
50
+ end
51
+ end
52
+ end
data/test/test_spec.rb ADDED
@@ -0,0 +1,20 @@
1
+ require 'test_helper'
2
+ require 'json'
3
+
4
+ class TestSpec < Minitest::Unit::TestCase
5
+ cases = JSON.parse(open("test/spec_tests.json", 'r').read)
6
+ cases.each do |testcase|
7
+ define_method("test_to_html_example_#{testcase['example']}") do
8
+ doc = Node.parse_string(testcase['markdown'])
9
+ actual = doc.to_html
10
+ doc.free
11
+ assert_equal testcase['html'], actual, testcase['markdown']
12
+ end
13
+ define_method("test_html_renderer_example_#{testcase['example']}") do
14
+ doc = Node.parse_string(testcase['markdown'])
15
+ actual = HtmlRenderer.new.render(doc)
16
+ doc.free
17
+ assert_equal testcase['html'], actual, testcase['markdown']
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,399 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: commonmarker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Garen Torikian
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby-enum
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.9'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.9'
55
+ - !ruby/object:Gem::Dependency
56
+ name: json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.8.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.8.1
69
+ description: A fast, safe, extensible parser for CommonMark
70
+ email:
71
+ - gjtorikian@gmail.com
72
+ executables:
73
+ - commonmarker
74
+ extensions:
75
+ - ext/commonmarker/extconf.rb
76
+ extra_rdoc_files: []
77
+ files:
78
+ - Gemfile
79
+ - LICENSE.txt
80
+ - README.md
81
+ - Rakefile
82
+ - bin/commonmarker
83
+ - commonmarker.gemspec
84
+ - ext/commonmarker/cmark/CMakeLists.txt
85
+ - ext/commonmarker/cmark/COPYING
86
+ - ext/commonmarker/cmark/FindAsan.cmake
87
+ - ext/commonmarker/cmark/Makefile
88
+ - ext/commonmarker/cmark/Makefile.nmake
89
+ - ext/commonmarker/cmark/README.md
90
+ - ext/commonmarker/cmark/api_test/CMakeLists.txt
91
+ - ext/commonmarker/cmark/api_test/cplusplus.cpp
92
+ - ext/commonmarker/cmark/api_test/cplusplus.h
93
+ - ext/commonmarker/cmark/api_test/harness.c
94
+ - ext/commonmarker/cmark/api_test/harness.h
95
+ - ext/commonmarker/cmark/api_test/main.c
96
+ - ext/commonmarker/cmark/appveyor.yml
97
+ - ext/commonmarker/cmark/bench/statistics.py
98
+ - ext/commonmarker/cmark/bench/stats.py
99
+ - ext/commonmarker/cmark/benchmarks.md
100
+ - ext/commonmarker/cmark/build/CMakeCache.txt
101
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCCompiler.cmake
102
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake
103
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_C.bin
104
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_CXX.bin
105
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeSystem.cmake
106
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.c
107
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/a.out
108
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
109
+ - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/a.out
110
+ - ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake
111
+ - ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log
112
+ - ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log
113
+ - ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake
114
+ - ext/commonmarker/cmark/build/CMakeFiles/Makefile2
115
+ - ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt
116
+ - ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache
117
+ - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin
118
+ - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c
119
+ - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx
120
+ - ext/commonmarker/cmark/build/CMakeFiles/progress.marks
121
+ - ext/commonmarker/cmark/build/CTestTestfile.cmake
122
+ - ext/commonmarker/cmark/build/Makefile
123
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake
124
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/C.includecache
125
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/CXX.includecache
126
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake
127
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make
128
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake
129
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o
130
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.internal
131
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make
132
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make
133
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/harness.c.o
134
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt
135
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/main.c.o
136
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make
137
+ - ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks
138
+ - ext/commonmarker/cmark/build/api_test/Makefile
139
+ - ext/commonmarker/cmark/build/api_test/api_test
140
+ - ext/commonmarker/cmark/build/api_test/cmake_install.cmake
141
+ - ext/commonmarker/cmark/build/cmake_install.cmake
142
+ - ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake
143
+ - ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks
144
+ - ext/commonmarker/cmark/build/man/Makefile
145
+ - ext/commonmarker/cmark/build/man/cmake_install.cmake
146
+ - ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
147
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/C.includecache
148
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake
149
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/blocks.c.o
150
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/buffer.c.o
151
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make
152
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake
153
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark.c.o
154
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark_ctype.c.o
155
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/commonmark.c.o
156
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.internal
157
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.make
158
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make
159
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_href_e.c.o
160
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_e.c.o
161
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_u.c.o
162
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/html.c.o
163
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/inlines.c.o
164
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/iterator.c.o
165
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt
166
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/main.c.o
167
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/man.c.o
168
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/node.c.o
169
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make
170
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/references.c.o
171
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/scanners.c.o
172
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/utf8.c.o
173
+ - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/xml.c.o
174
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/C.includecache
175
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake
176
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/blocks.c.o
177
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/buffer.c.o
178
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make
179
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake
180
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark.c.o
181
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark_ctype.c.o
182
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/commonmark.c.o
183
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.internal
184
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.make
185
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make
186
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_href_e.c.o
187
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_e.c.o
188
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_u.c.o
189
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/html.c.o
190
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/inlines.c.o
191
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/iterator.c.o
192
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt
193
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/man.c.o
194
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/node.c.o
195
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make
196
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/references.c.o
197
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/scanners.c.o
198
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/utf8.c.o
199
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/xml.c.o
200
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache
201
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake
202
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o
203
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/buffer.c.o
204
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make
205
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake
206
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake
207
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o
208
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o
209
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o
210
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal
211
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make
212
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make
213
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o
214
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o
215
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o
216
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o
217
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o
218
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.c.o
219
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt
220
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o
221
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o
222
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/progress.make
223
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o
224
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o
225
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/utf8.c.o
226
+ - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o
227
+ - ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks
228
+ - ext/commonmarker/cmark/build/src/Makefile
229
+ - ext/commonmarker/cmark/build/src/cmake_install.cmake
230
+ - ext/commonmarker/cmark/build/src/cmark
231
+ - ext/commonmarker/cmark/build/src/cmark_export.h
232
+ - ext/commonmarker/cmark/build/src/cmark_version.h
233
+ - ext/commonmarker/cmark/build/src/config.h
234
+ - ext/commonmarker/cmark/build/src/libcmark.0.19.0.dylib
235
+ - ext/commonmarker/cmark/build/src/libcmark.a
236
+ - ext/commonmarker/cmark/build/src/libcmark.dylib
237
+ - ext/commonmarker/cmark/build/src/libcmark.pc
238
+ - ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake
239
+ - ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks
240
+ - ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake
241
+ - ext/commonmarker/cmark/build/testdir/Makefile
242
+ - ext/commonmarker/cmark/build/testdir/cmake_install.cmake
243
+ - ext/commonmarker/cmark/changelog.txt
244
+ - ext/commonmarker/cmark/data/CaseFolding-3.2.0.txt
245
+ - ext/commonmarker/cmark/man/CMakeLists.txt
246
+ - ext/commonmarker/cmark/man/make_man_page.py
247
+ - ext/commonmarker/cmark/man/man1/cmark.1
248
+ - ext/commonmarker/cmark/man/man3/cmark.3
249
+ - ext/commonmarker/cmark/nmake.bat
250
+ - ext/commonmarker/cmark/src/CMakeLists.txt
251
+ - ext/commonmarker/cmark/src/bench.h
252
+ - ext/commonmarker/cmark/src/blocks.c
253
+ - ext/commonmarker/cmark/src/buffer.c
254
+ - ext/commonmarker/cmark/src/buffer.h
255
+ - ext/commonmarker/cmark/src/case_fold_switch.inc
256
+ - ext/commonmarker/cmark/src/chunk.h
257
+ - ext/commonmarker/cmark/src/cmark.c
258
+ - ext/commonmarker/cmark/src/cmark.h
259
+ - ext/commonmarker/cmark/src/cmark_ctype.c
260
+ - ext/commonmarker/cmark/src/cmark_ctype.h
261
+ - ext/commonmarker/cmark/src/cmark_version.h.in
262
+ - ext/commonmarker/cmark/src/commonmark.c
263
+ - ext/commonmarker/cmark/src/config.h.in
264
+ - ext/commonmarker/cmark/src/debug.h
265
+ - ext/commonmarker/cmark/src/houdini.h
266
+ - ext/commonmarker/cmark/src/houdini_href_e.c
267
+ - ext/commonmarker/cmark/src/houdini_html_e.c
268
+ - ext/commonmarker/cmark/src/houdini_html_u.c
269
+ - ext/commonmarker/cmark/src/html.c
270
+ - ext/commonmarker/cmark/src/html_unescape.gperf
271
+ - ext/commonmarker/cmark/src/html_unescape.h
272
+ - ext/commonmarker/cmark/src/inlines.c
273
+ - ext/commonmarker/cmark/src/inlines.h
274
+ - ext/commonmarker/cmark/src/iterator.c
275
+ - ext/commonmarker/cmark/src/iterator.h
276
+ - ext/commonmarker/cmark/src/libcmark.pc.in
277
+ - ext/commonmarker/cmark/src/main.c
278
+ - ext/commonmarker/cmark/src/man.c
279
+ - ext/commonmarker/cmark/src/node.c
280
+ - ext/commonmarker/cmark/src/node.h
281
+ - ext/commonmarker/cmark/src/parser.h
282
+ - ext/commonmarker/cmark/src/references.c
283
+ - ext/commonmarker/cmark/src/references.h
284
+ - ext/commonmarker/cmark/src/scanners.c
285
+ - ext/commonmarker/cmark/src/scanners.h
286
+ - ext/commonmarker/cmark/src/scanners.re
287
+ - ext/commonmarker/cmark/src/utf8.c
288
+ - ext/commonmarker/cmark/src/utf8.h
289
+ - ext/commonmarker/cmark/src/xml.c
290
+ - ext/commonmarker/cmark/test/CMakeLists.txt
291
+ - ext/commonmarker/cmark/test/afl_dictionary/asterisk
292
+ - ext/commonmarker/cmark/test/afl_dictionary/attr_generic
293
+ - ext/commonmarker/cmark/test/afl_dictionary/attr_href
294
+ - ext/commonmarker/cmark/test/afl_dictionary/attr_xml_lang
295
+ - ext/commonmarker/cmark/test/afl_dictionary/attr_xmlns
296
+ - ext/commonmarker/cmark/test/afl_dictionary/backslash
297
+ - ext/commonmarker/cmark/test/afl_dictionary/backtick
298
+ - ext/commonmarker/cmark/test/afl_dictionary/colon
299
+ - ext/commonmarker/cmark/test/afl_dictionary/dashes
300
+ - ext/commonmarker/cmark/test/afl_dictionary/double_quote
301
+ - ext/commonmarker/cmark/test/afl_dictionary/entity_builtin
302
+ - ext/commonmarker/cmark/test/afl_dictionary/entity_decimal
303
+ - ext/commonmarker/cmark/test/afl_dictionary/entity_external
304
+ - ext/commonmarker/cmark/test/afl_dictionary/entity_hex
305
+ - ext/commonmarker/cmark/test/afl_dictionary/equals
306
+ - ext/commonmarker/cmark/test/afl_dictionary/exclamation
307
+ - ext/commonmarker/cmark/test/afl_dictionary/greater_than
308
+ - ext/commonmarker/cmark/test/afl_dictionary/hash
309
+ - ext/commonmarker/cmark/test/afl_dictionary/hyphen
310
+ - ext/commonmarker/cmark/test/afl_dictionary/indent
311
+ - ext/commonmarker/cmark/test/afl_dictionary/left_bracket
312
+ - ext/commonmarker/cmark/test/afl_dictionary/left_paren
313
+ - ext/commonmarker/cmark/test/afl_dictionary/less_than
314
+ - ext/commonmarker/cmark/test/afl_dictionary/plus
315
+ - ext/commonmarker/cmark/test/afl_dictionary/right_bracket
316
+ - ext/commonmarker/cmark/test/afl_dictionary/right_paren
317
+ - ext/commonmarker/cmark/test/afl_dictionary/single_quote
318
+ - ext/commonmarker/cmark/test/afl_dictionary/string_any
319
+ - ext/commonmarker/cmark/test/afl_dictionary/string_brackets
320
+ - ext/commonmarker/cmark/test/afl_dictionary/string_cdata
321
+ - ext/commonmarker/cmark/test/afl_dictionary/string_dashes
322
+ - ext/commonmarker/cmark/test/afl_dictionary/string_empty_dblquotes
323
+ - ext/commonmarker/cmark/test/afl_dictionary/string_empty_quotes
324
+ - ext/commonmarker/cmark/test/afl_dictionary/string_idrefs
325
+ - ext/commonmarker/cmark/test/afl_dictionary/string_parentheses
326
+ - ext/commonmarker/cmark/test/afl_dictionary/string_pcdata
327
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_cdata
328
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_close
329
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_doctype
330
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_element
331
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_entity
332
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_notation
333
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_open
334
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_open_close
335
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_open_exclamation
336
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_open_q
337
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_sq2_close
338
+ - ext/commonmarker/cmark/test/afl_dictionary/tag_xml_q
339
+ - ext/commonmarker/cmark/test/afl_dictionary/underscore
340
+ - ext/commonmarker/cmark/test/afl_test_cases/test.md
341
+ - ext/commonmarker/cmark/test/cmark.py
342
+ - ext/commonmarker/cmark/test/normalize.py
343
+ - ext/commonmarker/cmark/test/pathological_tests.py
344
+ - ext/commonmarker/cmark/test/roundtrip.sh
345
+ - ext/commonmarker/cmark/test/smart_punct.txt
346
+ - ext/commonmarker/cmark/test/spec.txt
347
+ - ext/commonmarker/cmark/test/spec_tests.py
348
+ - ext/commonmarker/cmark/toolchain-mingw32.cmake
349
+ - ext/commonmarker/cmark/tools/mkcasefold.pl
350
+ - ext/commonmarker/cmark/wrappers/wrapper.lua
351
+ - ext/commonmarker/cmark/wrappers/wrapper.py
352
+ - ext/commonmarker/cmark/wrappers/wrapper.rb
353
+ - ext/commonmarker/cmark/wrappers/wrapper.rkt
354
+ - ext/commonmarker/commonmarker.c
355
+ - ext/commonmarker/commonmarker.h
356
+ - ext/commonmarker/extconf.rb
357
+ - lib/commonmarker.rb
358
+ - lib/commonmarker/config.rb
359
+ - lib/commonmarker/version.rb
360
+ - test/benchmark.rb
361
+ - test/spec_tests.json
362
+ - test/test_basics.rb
363
+ - test/test_helper.rb
364
+ - test/test_maliciousness.rb
365
+ - test/test_pathological_inputs.rb
366
+ - test/test_spec.rb
367
+ homepage: http://github.com/gjtorikian/commonmarker
368
+ licenses:
369
+ - MIT
370
+ metadata: {}
371
+ post_install_message:
372
+ rdoc_options: []
373
+ require_paths:
374
+ - lib
375
+ - ext
376
+ required_ruby_version: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - ">="
379
+ - !ruby/object:Gem::Version
380
+ version: 2.0.0
381
+ required_rubygems_version: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - ">="
384
+ - !ruby/object:Gem::Version
385
+ version: '0'
386
+ requirements: []
387
+ rubyforge_project:
388
+ rubygems_version: 2.2.3
389
+ signing_key:
390
+ specification_version: 4
391
+ summary: CommonMark parser and renderer. Written in C, wrapped in Ruby
392
+ test_files:
393
+ - test/benchmark.rb
394
+ - test/spec_tests.json
395
+ - test/test_basics.rb
396
+ - test/test_helper.rb
397
+ - test/test_maliciousness.rb
398
+ - test/test_pathological_inputs.rb
399
+ - test/test_spec.rb