rj_schema 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +18 -0
  3. data/ext/rj_schema/extconf.rb +7 -0
  4. data/ext/rj_schema/rapidjson/CHANGELOG.md +158 -0
  5. data/ext/rj_schema/rapidjson/CMakeLists.txt +221 -0
  6. data/ext/rj_schema/rapidjson/CMakeModules/FindGTestSrc.cmake +30 -0
  7. data/ext/rj_schema/rapidjson/RapidJSON.pc.in +7 -0
  8. data/ext/rj_schema/rapidjson/RapidJSONConfig.cmake.in +15 -0
  9. data/ext/rj_schema/rapidjson/RapidJSONConfigVersion.cmake.in +10 -0
  10. data/ext/rj_schema/rapidjson/appveyor.yml +41 -0
  11. data/ext/rj_schema/rapidjson/bin/data/glossary.json +22 -0
  12. data/ext/rj_schema/rapidjson/bin/data/menu.json +27 -0
  13. data/ext/rj_schema/rapidjson/bin/data/readme.txt +1 -0
  14. data/ext/rj_schema/rapidjson/bin/data/sample.json +3315 -0
  15. data/ext/rj_schema/rapidjson/bin/data/webapp.json +88 -0
  16. data/ext/rj_schema/rapidjson/bin/data/widget.json +26 -0
  17. data/ext/rj_schema/rapidjson/bin/draft-04/schema +150 -0
  18. data/ext/rj_schema/rapidjson/bin/encodings/utf16be.json +0 -0
  19. data/ext/rj_schema/rapidjson/bin/encodings/utf16bebom.json +0 -0
  20. data/ext/rj_schema/rapidjson/bin/encodings/utf16le.json +0 -0
  21. data/ext/rj_schema/rapidjson/bin/encodings/utf16lebom.json +0 -0
  22. data/ext/rj_schema/rapidjson/bin/encodings/utf32be.json +0 -0
  23. data/ext/rj_schema/rapidjson/bin/encodings/utf32bebom.json +0 -0
  24. data/ext/rj_schema/rapidjson/bin/encodings/utf32le.json +0 -0
  25. data/ext/rj_schema/rapidjson/bin/encodings/utf32lebom.json +0 -0
  26. data/ext/rj_schema/rapidjson/bin/encodings/utf8.json +7 -0
  27. data/ext/rj_schema/rapidjson/bin/encodings/utf8bom.json +7 -0
  28. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail1.json +1 -0
  29. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail10.json +1 -0
  30. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail11.json +1 -0
  31. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail12.json +1 -0
  32. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail13.json +1 -0
  33. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail14.json +1 -0
  34. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail15.json +1 -0
  35. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail16.json +1 -0
  36. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail17.json +1 -0
  37. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail18.json +1 -0
  38. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail19.json +1 -0
  39. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail2.json +1 -0
  40. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail20.json +1 -0
  41. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail21.json +1 -0
  42. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail22.json +1 -0
  43. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail23.json +1 -0
  44. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail24.json +1 -0
  45. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail25.json +1 -0
  46. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail26.json +1 -0
  47. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail27.json +2 -0
  48. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail28.json +2 -0
  49. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail29.json +1 -0
  50. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail3.json +1 -0
  51. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail30.json +1 -0
  52. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail31.json +1 -0
  53. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail32.json +1 -0
  54. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail33.json +1 -0
  55. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail4.json +1 -0
  56. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail5.json +1 -0
  57. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail6.json +1 -0
  58. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail7.json +1 -0
  59. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail8.json +1 -0
  60. data/ext/rj_schema/rapidjson/bin/jsonchecker/fail9.json +1 -0
  61. data/ext/rj_schema/rapidjson/bin/jsonchecker/pass1.json +58 -0
  62. data/ext/rj_schema/rapidjson/bin/jsonchecker/pass2.json +1 -0
  63. data/ext/rj_schema/rapidjson/bin/jsonchecker/pass3.json +6 -0
  64. data/ext/rj_schema/rapidjson/bin/jsonchecker/readme.txt +3 -0
  65. data/ext/rj_schema/rapidjson/bin/jsonschema/LICENSE +19 -0
  66. data/ext/rj_schema/rapidjson/bin/jsonschema/README.md +148 -0
  67. data/ext/rj_schema/rapidjson/bin/jsonschema/bin/jsonschema_suite +283 -0
  68. data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/folder/folderInteger.json +3 -0
  69. data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/integer.json +3 -0
  70. data/ext/rj_schema/rapidjson/bin/jsonschema/remotes/subSchemas.json +8 -0
  71. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalItems.json +82 -0
  72. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalProperties.json +88 -0
  73. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/default.json +49 -0
  74. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/dependencies.json +108 -0
  75. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/disallow.json +80 -0
  76. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/divisibleBy.json +60 -0
  77. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/enum.json +71 -0
  78. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/extends.json +94 -0
  79. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/items.json +46 -0
  80. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxItems.json +28 -0
  81. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxLength.json +33 -0
  82. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json +42 -0
  83. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minItems.json +28 -0
  84. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minLength.json +33 -0
  85. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minimum.json +42 -0
  86. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/bignum.json +107 -0
  87. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/format.json +222 -0
  88. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json +18 -0
  89. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json +15 -0
  90. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/pattern.json +34 -0
  91. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/patternProperties.json +110 -0
  92. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/properties.json +92 -0
  93. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/ref.json +159 -0
  94. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/refRemote.json +74 -0
  95. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/required.json +53 -0
  96. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/type.json +474 -0
  97. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/uniqueItems.json +79 -0
  98. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalItems.json +82 -0
  99. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalProperties.json +88 -0
  100. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/allOf.json +112 -0
  101. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/anyOf.json +68 -0
  102. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/default.json +49 -0
  103. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/definitions.json +32 -0
  104. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/dependencies.json +113 -0
  105. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/enum.json +72 -0
  106. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/items.json +46 -0
  107. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxItems.json +28 -0
  108. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxLength.json +33 -0
  109. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxProperties.json +28 -0
  110. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json +42 -0
  111. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minItems.json +28 -0
  112. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minLength.json +33 -0
  113. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minProperties.json +28 -0
  114. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minimum.json +42 -0
  115. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/multipleOf.json +60 -0
  116. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/not.json +96 -0
  117. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/oneOf.json +68 -0
  118. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/bignum.json +107 -0
  119. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/format.json +148 -0
  120. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/zeroTerminatedFloats.json +15 -0
  121. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/pattern.json +34 -0
  122. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/patternProperties.json +110 -0
  123. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/properties.json +92 -0
  124. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/ref.json +159 -0
  125. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/refRemote.json +74 -0
  126. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json +39 -0
  127. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/type.json +330 -0
  128. data/ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/uniqueItems.json +79 -0
  129. data/ext/rj_schema/rapidjson/bin/jsonschema/tox.ini +8 -0
  130. data/ext/rj_schema/rapidjson/bin/types/booleans.json +102 -0
  131. data/ext/rj_schema/rapidjson/bin/types/floats.json +102 -0
  132. data/ext/rj_schema/rapidjson/bin/types/guids.json +102 -0
  133. data/ext/rj_schema/rapidjson/bin/types/integers.json +102 -0
  134. data/ext/rj_schema/rapidjson/bin/types/mixed.json +592 -0
  135. data/ext/rj_schema/rapidjson/bin/types/nulls.json +102 -0
  136. data/ext/rj_schema/rapidjson/bin/types/paragraphs.json +102 -0
  137. data/ext/rj_schema/rapidjson/bin/types/readme.txt +1 -0
  138. data/ext/rj_schema/rapidjson/contrib/natvis/LICENSE +45 -0
  139. data/ext/rj_schema/rapidjson/contrib/natvis/README.md +7 -0
  140. data/ext/rj_schema/rapidjson/contrib/natvis/rapidjson.natvis +38 -0
  141. data/ext/rj_schema/rapidjson/doc/CMakeLists.txt +27 -0
  142. data/ext/rj_schema/rapidjson/doc/Doxyfile.in +2369 -0
  143. data/ext/rj_schema/rapidjson/doc/Doxyfile.zh-cn.in +2369 -0
  144. data/ext/rj_schema/rapidjson/doc/diagram/architecture.dot +50 -0
  145. data/ext/rj_schema/rapidjson/doc/diagram/architecture.png +0 -0
  146. data/ext/rj_schema/rapidjson/doc/diagram/insituparsing.dot +65 -0
  147. data/ext/rj_schema/rapidjson/doc/diagram/insituparsing.png +0 -0
  148. data/ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.dot +62 -0
  149. data/ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.png +0 -0
  150. data/ext/rj_schema/rapidjson/doc/diagram/makefile +8 -0
  151. data/ext/rj_schema/rapidjson/doc/diagram/move1.dot +47 -0
  152. data/ext/rj_schema/rapidjson/doc/diagram/move1.png +0 -0
  153. data/ext/rj_schema/rapidjson/doc/diagram/move2.dot +62 -0
  154. data/ext/rj_schema/rapidjson/doc/diagram/move2.png +0 -0
  155. data/ext/rj_schema/rapidjson/doc/diagram/move3.dot +60 -0
  156. data/ext/rj_schema/rapidjson/doc/diagram/move3.png +0 -0
  157. data/ext/rj_schema/rapidjson/doc/diagram/normalparsing.dot +56 -0
  158. data/ext/rj_schema/rapidjson/doc/diagram/normalparsing.png +0 -0
  159. data/ext/rj_schema/rapidjson/doc/diagram/simpledom.dot +54 -0
  160. data/ext/rj_schema/rapidjson/doc/diagram/simpledom.png +0 -0
  161. data/ext/rj_schema/rapidjson/doc/diagram/tutorial.dot +58 -0
  162. data/ext/rj_schema/rapidjson/doc/diagram/tutorial.png +0 -0
  163. data/ext/rj_schema/rapidjson/doc/diagram/utilityclass.dot +73 -0
  164. data/ext/rj_schema/rapidjson/doc/diagram/utilityclass.png +0 -0
  165. data/ext/rj_schema/rapidjson/doc/dom.md +280 -0
  166. data/ext/rj_schema/rapidjson/doc/dom.zh-cn.md +284 -0
  167. data/ext/rj_schema/rapidjson/doc/encoding.md +146 -0
  168. data/ext/rj_schema/rapidjson/doc/encoding.zh-cn.md +152 -0
  169. data/ext/rj_schema/rapidjson/doc/faq.md +289 -0
  170. data/ext/rj_schema/rapidjson/doc/faq.zh-cn.md +290 -0
  171. data/ext/rj_schema/rapidjson/doc/features.md +104 -0
  172. data/ext/rj_schema/rapidjson/doc/features.zh-cn.md +103 -0
  173. data/ext/rj_schema/rapidjson/doc/internals.md +368 -0
  174. data/ext/rj_schema/rapidjson/doc/internals.zh-cn.md +363 -0
  175. data/ext/rj_schema/rapidjson/doc/logo/rapidjson.png +0 -0
  176. data/ext/rj_schema/rapidjson/doc/logo/rapidjson.svg +119 -0
  177. data/ext/rj_schema/rapidjson/doc/misc/DoxygenLayout.xml +194 -0
  178. data/ext/rj_schema/rapidjson/doc/misc/doxygenextra.css +274 -0
  179. data/ext/rj_schema/rapidjson/doc/misc/footer.html +11 -0
  180. data/ext/rj_schema/rapidjson/doc/misc/header.html +24 -0
  181. data/ext/rj_schema/rapidjson/doc/npm.md +31 -0
  182. data/ext/rj_schema/rapidjson/doc/performance.md +26 -0
  183. data/ext/rj_schema/rapidjson/doc/performance.zh-cn.md +26 -0
  184. data/ext/rj_schema/rapidjson/doc/pointer.md +234 -0
  185. data/ext/rj_schema/rapidjson/doc/pointer.zh-cn.md +234 -0
  186. data/ext/rj_schema/rapidjson/doc/sax.md +509 -0
  187. data/ext/rj_schema/rapidjson/doc/sax.zh-cn.md +487 -0
  188. data/ext/rj_schema/rapidjson/doc/schema.md +505 -0
  189. data/ext/rj_schema/rapidjson/doc/schema.zh-cn.md +237 -0
  190. data/ext/rj_schema/rapidjson/doc/stream.md +426 -0
  191. data/ext/rj_schema/rapidjson/doc/stream.zh-cn.md +426 -0
  192. data/ext/rj_schema/rapidjson/doc/tutorial.md +536 -0
  193. data/ext/rj_schema/rapidjson/doc/tutorial.zh-cn.md +534 -0
  194. data/ext/rj_schema/rapidjson/docker/debian/Dockerfile +8 -0
  195. data/ext/rj_schema/rapidjson/example/CMakeLists.txt +45 -0
  196. data/ext/rj_schema/rapidjson/example/archiver/archiver.cpp +292 -0
  197. data/ext/rj_schema/rapidjson/example/archiver/archiver.h +145 -0
  198. data/ext/rj_schema/rapidjson/example/archiver/archivertest.cpp +287 -0
  199. data/ext/rj_schema/rapidjson/example/capitalize/capitalize.cpp +67 -0
  200. data/ext/rj_schema/rapidjson/example/condense/condense.cpp +32 -0
  201. data/ext/rj_schema/rapidjson/example/filterkey/filterkey.cpp +135 -0
  202. data/ext/rj_schema/rapidjson/example/filterkeydom/filterkeydom.cpp +170 -0
  203. data/ext/rj_schema/rapidjson/example/jsonx/jsonx.cpp +207 -0
  204. data/ext/rj_schema/rapidjson/example/lookaheadparser/lookaheadparser.cpp +350 -0
  205. data/ext/rj_schema/rapidjson/example/messagereader/messagereader.cpp +105 -0
  206. data/ext/rj_schema/rapidjson/example/parsebyparts/parsebyparts.cpp +176 -0
  207. data/ext/rj_schema/rapidjson/example/pretty/pretty.cpp +30 -0
  208. data/ext/rj_schema/rapidjson/example/prettyauto/prettyauto.cpp +56 -0
  209. data/ext/rj_schema/rapidjson/example/schemavalidator/schemavalidator.cpp +78 -0
  210. data/ext/rj_schema/rapidjson/example/serialize/serialize.cpp +173 -0
  211. data/ext/rj_schema/rapidjson/example/simpledom/simpledom.cpp +29 -0
  212. data/ext/rj_schema/rapidjson/example/simplepullreader/simplepullreader.cpp +53 -0
  213. data/ext/rj_schema/rapidjson/example/simplereader/simplereader.cpp +42 -0
  214. data/ext/rj_schema/rapidjson/example/simplewriter/simplewriter.cpp +36 -0
  215. data/ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp +151 -0
  216. data/ext/rj_schema/rapidjson/include/rapidjson/allocators.h +271 -0
  217. data/ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h +78 -0
  218. data/ext/rj_schema/rapidjson/include/rapidjson/document.h +2630 -0
  219. data/ext/rj_schema/rapidjson/include/rapidjson/encodedstream.h +299 -0
  220. data/ext/rj_schema/rapidjson/include/rapidjson/encodings.h +716 -0
  221. data/ext/rj_schema/rapidjson/include/rapidjson/error/en.h +74 -0
  222. data/ext/rj_schema/rapidjson/include/rapidjson/error/error.h +161 -0
  223. data/ext/rj_schema/rapidjson/include/rapidjson/filereadstream.h +99 -0
  224. data/ext/rj_schema/rapidjson/include/rapidjson/filewritestream.h +104 -0
  225. data/ext/rj_schema/rapidjson/include/rapidjson/fwd.h +151 -0
  226. data/ext/rj_schema/rapidjson/include/rapidjson/internal/biginteger.h +290 -0
  227. data/ext/rj_schema/rapidjson/include/rapidjson/internal/diyfp.h +258 -0
  228. data/ext/rj_schema/rapidjson/include/rapidjson/internal/dtoa.h +245 -0
  229. data/ext/rj_schema/rapidjson/include/rapidjson/internal/ieee754.h +78 -0
  230. data/ext/rj_schema/rapidjson/include/rapidjson/internal/itoa.h +304 -0
  231. data/ext/rj_schema/rapidjson/include/rapidjson/internal/meta.h +181 -0
  232. data/ext/rj_schema/rapidjson/include/rapidjson/internal/pow10.h +55 -0
  233. data/ext/rj_schema/rapidjson/include/rapidjson/internal/regex.h +734 -0
  234. data/ext/rj_schema/rapidjson/include/rapidjson/internal/stack.h +231 -0
  235. data/ext/rj_schema/rapidjson/include/rapidjson/internal/strfunc.h +69 -0
  236. data/ext/rj_schema/rapidjson/include/rapidjson/internal/strtod.h +269 -0
  237. data/ext/rj_schema/rapidjson/include/rapidjson/internal/swap.h +46 -0
  238. data/ext/rj_schema/rapidjson/include/rapidjson/istreamwrapper.h +115 -0
  239. data/ext/rj_schema/rapidjson/include/rapidjson/memorybuffer.h +70 -0
  240. data/ext/rj_schema/rapidjson/include/rapidjson/memorystream.h +71 -0
  241. data/ext/rj_schema/rapidjson/include/rapidjson/msinttypes/inttypes.h +316 -0
  242. data/ext/rj_schema/rapidjson/include/rapidjson/msinttypes/stdint.h +300 -0
  243. data/ext/rj_schema/rapidjson/include/rapidjson/ostreamwrapper.h +81 -0
  244. data/ext/rj_schema/rapidjson/include/rapidjson/pointer.h +1363 -0
  245. data/ext/rj_schema/rapidjson/include/rapidjson/prettywriter.h +277 -0
  246. data/ext/rj_schema/rapidjson/include/rapidjson/rapidjson.h +628 -0
  247. data/ext/rj_schema/rapidjson/include/rapidjson/reader.h +2222 -0
  248. data/ext/rj_schema/rapidjson/include/rapidjson/schema.h +2479 -0
  249. data/ext/rj_schema/rapidjson/include/rapidjson/stream.h +223 -0
  250. data/ext/rj_schema/rapidjson/include/rapidjson/stringbuffer.h +121 -0
  251. data/ext/rj_schema/rapidjson/include/rapidjson/writer.h +716 -0
  252. data/ext/rj_schema/rapidjson/include_dirs.js +2 -0
  253. data/ext/rj_schema/rapidjson/library.json +15 -0
  254. data/ext/rj_schema/rapidjson/license.txt +57 -0
  255. data/ext/rj_schema/rapidjson/package.json +24 -0
  256. data/ext/rj_schema/rapidjson/rapidjson.autopkg +77 -0
  257. data/ext/rj_schema/rapidjson/readme.md +160 -0
  258. data/ext/rj_schema/rapidjson/readme.zh-cn.md +152 -0
  259. data/ext/rj_schema/rapidjson/test/CMakeLists.txt +20 -0
  260. data/ext/rj_schema/rapidjson/test/perftest/CMakeLists.txt +28 -0
  261. data/ext/rj_schema/rapidjson/test/perftest/misctest.cpp +974 -0
  262. data/ext/rj_schema/rapidjson/test/perftest/perftest.cpp +24 -0
  263. data/ext/rj_schema/rapidjson/test/perftest/perftest.h +185 -0
  264. data/ext/rj_schema/rapidjson/test/perftest/platformtest.cpp +166 -0
  265. data/ext/rj_schema/rapidjson/test/perftest/rapidjsontest.cpp +472 -0
  266. data/ext/rj_schema/rapidjson/test/perftest/schematest.cpp +216 -0
  267. data/ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt +92 -0
  268. data/ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp +102 -0
  269. data/ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp +133 -0
  270. data/ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp +115 -0
  271. data/ext/rj_schema/rapidjson/test/unittest/documenttest.cpp +672 -0
  272. data/ext/rj_schema/rapidjson/test/unittest/dtoatest.cpp +98 -0
  273. data/ext/rj_schema/rapidjson/test/unittest/encodedstreamtest.cpp +313 -0
  274. data/ext/rj_schema/rapidjson/test/unittest/encodingstest.cpp +451 -0
  275. data/ext/rj_schema/rapidjson/test/unittest/filestreamtest.cpp +112 -0
  276. data/ext/rj_schema/rapidjson/test/unittest/fwdtest.cpp +230 -0
  277. data/ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp +181 -0
  278. data/ext/rj_schema/rapidjson/test/unittest/itoatest.cpp +160 -0
  279. data/ext/rj_schema/rapidjson/test/unittest/jsoncheckertest.cpp +143 -0
  280. data/ext/rj_schema/rapidjson/test/unittest/namespacetest.cpp +70 -0
  281. data/ext/rj_schema/rapidjson/test/unittest/ostreamwrappertest.cpp +92 -0
  282. data/ext/rj_schema/rapidjson/test/unittest/pointertest.cpp +1529 -0
  283. data/ext/rj_schema/rapidjson/test/unittest/prettywritertest.cpp +344 -0
  284. data/ext/rj_schema/rapidjson/test/unittest/readertest.cpp +1895 -0
  285. data/ext/rj_schema/rapidjson/test/unittest/regextest.cpp +638 -0
  286. data/ext/rj_schema/rapidjson/test/unittest/schematest.cpp +2009 -0
  287. data/ext/rj_schema/rapidjson/test/unittest/simdtest.cpp +219 -0
  288. data/ext/rj_schema/rapidjson/test/unittest/strfunctest.cpp +30 -0
  289. data/ext/rj_schema/rapidjson/test/unittest/stringbuffertest.cpp +192 -0
  290. data/ext/rj_schema/rapidjson/test/unittest/strtodtest.cpp +132 -0
  291. data/ext/rj_schema/rapidjson/test/unittest/unittest.cpp +51 -0
  292. data/ext/rj_schema/rapidjson/test/unittest/unittest.h +140 -0
  293. data/ext/rj_schema/rapidjson/test/unittest/valuetest.cpp +1829 -0
  294. data/ext/rj_schema/rapidjson/test/unittest/writertest.cpp +598 -0
  295. data/ext/rj_schema/rapidjson/test/valgrind.supp +17 -0
  296. data/ext/rj_schema/rapidjson/travis-doxygen.sh +121 -0
  297. data/ext/rj_schema/rj_schema.cpp +136 -0
  298. data/lib/rj_schema.rb +7 -0
  299. metadata +371 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ Suppress wcslen valgrind report 1
3
+ Memcheck:Cond
4
+ fun:__wcslen_sse2
5
+ }
6
+
7
+ {
8
+ Suppress wcslen valgrind report 2
9
+ Memcheck:Addr8
10
+ fun:__wcslen_sse2
11
+ }
12
+
13
+ {
14
+ Suppress wcslen valgrind report 3
15
+ Memcheck:Value8
16
+ fun:__wcslen_sse2
17
+ }
@@ -0,0 +1,121 @@
1
+ #!/bin/bash
2
+ # Update Doxygen documentation after push to 'master'.
3
+ # Author: @pah
4
+
5
+ set -e
6
+
7
+ DOXYGEN_VER=doxygen-1.8.13
8
+ DOXYGEN_TAR=${DOXYGEN_VER}.linux.bin.tar.gz
9
+ DOXYGEN_URL="http://ftp.stack.nl/pub/users/dimitri/${DOXYGEN_TAR}"
10
+
11
+ : ${GITHUB_REPO:="Tencent/rapidjson"}
12
+ GITHUB_HOST="github.com"
13
+ GITHUB_CLONE="git://${GITHUB_HOST}/${GITHUB_REPO}"
14
+ GITHUB_URL="https://${GITHUB_HOST}/${GITHUB_PUSH-${GITHUB_REPO}}"
15
+
16
+ # if not set, ignore password
17
+ #GIT_ASKPASS="${TRAVIS_BUILD_DIR}/gh_ignore_askpass.sh"
18
+
19
+ skip() {
20
+ echo "$@" 1>&2
21
+ echo "Exiting..." 1>&2
22
+ exit 0
23
+ }
24
+
25
+ abort() {
26
+ echo "Error: $@" 1>&2
27
+ echo "Exiting..." 1>&2
28
+ exit 1
29
+ }
30
+
31
+ # TRAVIS_BUILD_DIR not set, exiting
32
+ [ -d "${TRAVIS_BUILD_DIR-/nonexistent}" ] || \
33
+ abort '${TRAVIS_BUILD_DIR} not set or nonexistent.'
34
+
35
+ # check for pull-requests
36
+ [ "${TRAVIS_PULL_REQUEST}" = "false" ] || \
37
+ skip "Not running Doxygen for pull-requests."
38
+
39
+ # check for branch name
40
+ [ "${TRAVIS_BRANCH}" = "master" ] || \
41
+ skip "Running Doxygen only for updates on 'master' branch (current: ${TRAVIS_BRANCH})."
42
+
43
+ # check for job number
44
+ # [ "${TRAVIS_JOB_NUMBER}" = "${TRAVIS_BUILD_NUMBER}.1" ] || \
45
+ # skip "Running Doxygen only on first job of build ${TRAVIS_BUILD_NUMBER} (current: ${TRAVIS_JOB_NUMBER})."
46
+
47
+ # install doxygen binary distribution
48
+ doxygen_install()
49
+ {
50
+ wget -O - "${DOXYGEN_URL}" | \
51
+ tar xz -C ${TMPDIR-/tmp} ${DOXYGEN_VER}/bin/doxygen
52
+ export PATH="${TMPDIR-/tmp}/${DOXYGEN_VER}/bin:$PATH"
53
+ }
54
+
55
+ doxygen_run()
56
+ {
57
+ cd "${TRAVIS_BUILD_DIR}";
58
+ doxygen ${TRAVIS_BUILD_DIR}/build/doc/Doxyfile;
59
+ doxygen ${TRAVIS_BUILD_DIR}/build/doc/Doxyfile.zh-cn;
60
+ }
61
+
62
+ gh_pages_prepare()
63
+ {
64
+ cd "${TRAVIS_BUILD_DIR}/build/doc";
65
+ [ ! -d "html" ] || \
66
+ abort "Doxygen target directory already exists."
67
+ git --version
68
+ git clone --single-branch -b gh-pages "${GITHUB_CLONE}" html
69
+ cd html
70
+ # setup git config (with defaults)
71
+ git config user.name "${GIT_NAME-travis}"
72
+ git config user.email "${GIT_EMAIL-"travis@localhost"}"
73
+ # clean working dir
74
+ rm -f .git/index
75
+ git clean -df
76
+ }
77
+
78
+ gh_pages_commit() {
79
+ cd "${TRAVIS_BUILD_DIR}/build/doc/html";
80
+ echo "rapidjson.org" > CNAME
81
+ git add --all;
82
+ git diff-index --quiet HEAD || git commit -m "Automatic doxygen build";
83
+ }
84
+
85
+ gh_setup_askpass() {
86
+ cat > ${GIT_ASKPASS} <<EOF
87
+ #!/bin/bash
88
+ echo
89
+ exit 0
90
+ EOF
91
+ chmod a+x "$GIT_ASKPASS"
92
+ }
93
+
94
+ gh_pages_push() {
95
+ # check for secure variables
96
+ [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] || \
97
+ skip "Secure variables not available, not updating GitHub pages."
98
+ # check for GitHub access token
99
+ [ "${GH_TOKEN+set}" = set ] || \
100
+ skip "GitHub access token not available, not updating GitHub pages."
101
+ [ "${#GH_TOKEN}" -eq 40 ] || \
102
+ abort "GitHub token invalid: found ${#GH_TOKEN} characters, expected 40."
103
+
104
+ cd "${TRAVIS_BUILD_DIR}/build/doc/html";
105
+ # setup credentials (hide in "set -x" mode)
106
+ git remote set-url --push origin "${GITHUB_URL}"
107
+ git config credential.helper 'store'
108
+ # ( set +x ; git config credential.username "${GH_TOKEN}" )
109
+ ( set +x ; [ -f ${HOME}/.git-credentials ] || \
110
+ ( echo "https://${GH_TOKEN}:@${GITHUB_HOST}" > ${HOME}/.git-credentials ; \
111
+ chmod go-rw ${HOME}/.git-credentials ) )
112
+ # push to GitHub
113
+ git push origin gh-pages
114
+ }
115
+
116
+ doxygen_install
117
+ gh_pages_prepare
118
+ doxygen_run
119
+ gh_pages_commit
120
+ gh_pages_push
121
+
@@ -0,0 +1,136 @@
1
+ #include <vector>
2
+ #include <ruby.h>
3
+
4
+ #define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
5
+ #define RAPIDJSON_SCHEMA_USE_STDREGEX 1
6
+
7
+ #include <rapidjson/schema.h>
8
+ #include <rapidjson/filereadstream.h>
9
+ #include <rapidjson/prettywriter.h>
10
+
11
+ typedef std::vector<rapidjson::SchemaDocument> RemoteSchemaCollection;
12
+
13
+ class RemoteSchemaDocumentProvider : public rapidjson::IRemoteSchemaDocumentProvider {
14
+ RemoteSchemaCollection* schema_collection;
15
+
16
+ public:
17
+ RemoteSchemaDocumentProvider(RemoteSchemaCollection* schema_collection) : schema_collection(schema_collection) { }
18
+ virtual const rapidjson::SchemaDocument* GetRemoteDocument(const char* uri, rapidjson::SizeType length) {
19
+ for (const auto& schema : *schema_collection)
20
+ if (typename rapidjson::SchemaDocument::URIType(uri, length) == schema.GetURI())
21
+ return &schema;
22
+ throw std::invalid_argument(std::string("$ref remote schema not provided: ") + uri);
23
+ }
24
+ };
25
+
26
+ struct RemoteSchemaManager {
27
+ RemoteSchemaCollection collection;
28
+ RemoteSchemaDocumentProvider provider;
29
+
30
+ RemoteSchemaManager() : provider(&collection) { }
31
+ };
32
+
33
+ rapidjson::Document parse_document(VALUE arg) {
34
+ const char* json_document;
35
+
36
+ if (RB_TYPE_P(arg, T_FILE)) {
37
+ VALUE content = rb_funcall(arg, rb_intern("read"), 0);
38
+ json_document = StringValueCStr(content);
39
+ }
40
+ else if (RB_TYPE_P(arg, T_HASH)) {
41
+ VALUE content = rb_funcall(arg, rb_intern("to_json"), 0);
42
+ json_document = StringValueCStr(content);
43
+ }
44
+ else {
45
+ json_document = StringValueCStr(arg);
46
+ }
47
+
48
+ rapidjson::Document document;
49
+
50
+ if (document.Parse(json_document).HasParseError())
51
+ throw std::invalid_argument("document is not valid JSON");
52
+
53
+ return document;
54
+ }
55
+
56
+ extern "C" VALUE validator_validate(VALUE self, VALUE schema_arg, VALUE document_arg) {
57
+ try {
58
+ RemoteSchemaManager* schema_manager;
59
+ Data_Get_Struct(self, RemoteSchemaManager, schema_manager);
60
+
61
+ auto document = parse_document(document_arg);
62
+ auto schema = rapidjson::SchemaDocument(
63
+ parse_document(schema_arg),
64
+ 0,
65
+ 0,
66
+ &schema_manager->provider
67
+ );
68
+
69
+ rapidjson::SchemaValidator validator(schema);
70
+
71
+ if (!document.Accept(validator)) {
72
+ rapidjson::StringBuffer buffer;
73
+ rapidjson::PrettyWriter<rapidjson::StringBuffer> writer(buffer);
74
+ validator.GetError().Accept(writer);
75
+
76
+ VALUE errors = rb_funcall(rb_const_get(rb_cObject, rb_intern("JSON")), rb_intern("parse"), 1, rb_str_new_cstr(buffer.GetString()));
77
+ return RB_TYPE_P(errors, T_HASH) ? rb_ary_new4(1, &errors) : errors;
78
+ }
79
+ }
80
+ catch (const std::invalid_argument& e) {
81
+ rb_raise(rb_eArgError, e.what());
82
+ }
83
+
84
+ return rb_ary_new();
85
+ }
86
+
87
+ extern "C" void validator_free(RemoteSchemaManager* schema_manager) {
88
+ delete schema_manager;
89
+ }
90
+
91
+ extern "C" VALUE validator_alloc(VALUE self) {
92
+ auto* schema_manager = new RemoteSchemaManager;
93
+ return Data_Wrap_Struct(self, NULL, validator_free, schema_manager);
94
+ }
95
+
96
+ extern "C" int validator_initialize_load_schema(VALUE key, VALUE value, VALUE input) {
97
+ auto* schema_manager = reinterpret_cast<RemoteSchemaManager*>(input);
98
+
99
+ try {
100
+ schema_manager->collection.emplace_back(
101
+ parse_document(value),
102
+ StringValueCStr(key),
103
+ RSTRING_LEN(key),
104
+ &schema_manager->provider
105
+ );
106
+ }
107
+ catch (const std::invalid_argument& e) {
108
+ rb_raise(rb_eArgError, e.what());
109
+ }
110
+
111
+ return ST_CONTINUE;
112
+ }
113
+
114
+ extern "C" VALUE validator_initialize(int argc, VALUE* argv, VALUE self) {
115
+ if (argc == 0)
116
+ return self;
117
+
118
+ RemoteSchemaManager* schema_manager;
119
+ Data_Get_Struct(self, RemoteSchemaManager, schema_manager);
120
+
121
+ rb_hash_foreach(argv[0], reinterpret_cast<int(*)(...)>(validator_initialize_load_schema), reinterpret_cast<VALUE>(schema_manager));
122
+
123
+ return self;
124
+ }
125
+
126
+ extern "C" void Init_rj_schema(void) {
127
+ VALUE cValidator = rb_define_class_under(
128
+ rb_const_get(rb_cObject, rb_intern("RjSchema")),
129
+ "Validator",
130
+ rb_cObject
131
+ );
132
+
133
+ rb_define_alloc_func(cValidator, validator_alloc);
134
+ rb_define_method(cValidator, "initialize", reinterpret_cast<VALUE(*)(...)>(validator_initialize), -1);
135
+ rb_define_method(cValidator, "validate", reinterpret_cast<VALUE(*)(...)>(validator_validate), 2);
136
+ }
data/lib/rj_schema.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'json'
2
+
3
+ class RjSchema
4
+ VERSION = '0.0.1'
5
+ end
6
+
7
+ require 'rj_schema/rj_schema'
metadata ADDED
@@ -0,0 +1,371 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rj_schema
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Christian
8
+ - Semmler
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2018-02-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake-compiler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: minitest
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '5.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '5.0'
42
+ description: gem using RapidJSON as a backend to provide fast validation for JSON
43
+ schemas
44
+ email: mail@csemmler.com
45
+ executables: []
46
+ extensions:
47
+ - ext/rj_schema/extconf.rb
48
+ extra_rdoc_files: []
49
+ files:
50
+ - Rakefile
51
+ - ext/rj_schema/extconf.rb
52
+ - ext/rj_schema/rapidjson/CHANGELOG.md
53
+ - ext/rj_schema/rapidjson/CMakeLists.txt
54
+ - ext/rj_schema/rapidjson/CMakeModules/FindGTestSrc.cmake
55
+ - ext/rj_schema/rapidjson/RapidJSON.pc.in
56
+ - ext/rj_schema/rapidjson/RapidJSONConfig.cmake.in
57
+ - ext/rj_schema/rapidjson/RapidJSONConfigVersion.cmake.in
58
+ - ext/rj_schema/rapidjson/appveyor.yml
59
+ - ext/rj_schema/rapidjson/bin/data/glossary.json
60
+ - ext/rj_schema/rapidjson/bin/data/menu.json
61
+ - ext/rj_schema/rapidjson/bin/data/readme.txt
62
+ - ext/rj_schema/rapidjson/bin/data/sample.json
63
+ - ext/rj_schema/rapidjson/bin/data/webapp.json
64
+ - ext/rj_schema/rapidjson/bin/data/widget.json
65
+ - ext/rj_schema/rapidjson/bin/draft-04/schema
66
+ - ext/rj_schema/rapidjson/bin/encodings/utf16be.json
67
+ - ext/rj_schema/rapidjson/bin/encodings/utf16bebom.json
68
+ - ext/rj_schema/rapidjson/bin/encodings/utf16le.json
69
+ - ext/rj_schema/rapidjson/bin/encodings/utf16lebom.json
70
+ - ext/rj_schema/rapidjson/bin/encodings/utf32be.json
71
+ - ext/rj_schema/rapidjson/bin/encodings/utf32bebom.json
72
+ - ext/rj_schema/rapidjson/bin/encodings/utf32le.json
73
+ - ext/rj_schema/rapidjson/bin/encodings/utf32lebom.json
74
+ - ext/rj_schema/rapidjson/bin/encodings/utf8.json
75
+ - ext/rj_schema/rapidjson/bin/encodings/utf8bom.json
76
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail1.json
77
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail10.json
78
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail11.json
79
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail12.json
80
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail13.json
81
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail14.json
82
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail15.json
83
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail16.json
84
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail17.json
85
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail18.json
86
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail19.json
87
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail2.json
88
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail20.json
89
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail21.json
90
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail22.json
91
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail23.json
92
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail24.json
93
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail25.json
94
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail26.json
95
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail27.json
96
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail28.json
97
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail29.json
98
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail3.json
99
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail30.json
100
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail31.json
101
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail32.json
102
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail33.json
103
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail4.json
104
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail5.json
105
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail6.json
106
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail7.json
107
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail8.json
108
+ - ext/rj_schema/rapidjson/bin/jsonchecker/fail9.json
109
+ - ext/rj_schema/rapidjson/bin/jsonchecker/pass1.json
110
+ - ext/rj_schema/rapidjson/bin/jsonchecker/pass2.json
111
+ - ext/rj_schema/rapidjson/bin/jsonchecker/pass3.json
112
+ - ext/rj_schema/rapidjson/bin/jsonchecker/readme.txt
113
+ - ext/rj_schema/rapidjson/bin/jsonschema/LICENSE
114
+ - ext/rj_schema/rapidjson/bin/jsonschema/README.md
115
+ - ext/rj_schema/rapidjson/bin/jsonschema/bin/jsonschema_suite
116
+ - ext/rj_schema/rapidjson/bin/jsonschema/remotes/folder/folderInteger.json
117
+ - ext/rj_schema/rapidjson/bin/jsonschema/remotes/integer.json
118
+ - ext/rj_schema/rapidjson/bin/jsonschema/remotes/subSchemas.json
119
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalItems.json
120
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/additionalProperties.json
121
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/default.json
122
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/dependencies.json
123
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/disallow.json
124
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/divisibleBy.json
125
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/enum.json
126
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/extends.json
127
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/items.json
128
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxItems.json
129
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maxLength.json
130
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/maximum.json
131
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minItems.json
132
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minLength.json
133
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/minimum.json
134
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/bignum.json
135
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/format.json
136
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/jsregex.json
137
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/optional/zeroTerminatedFloats.json
138
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/pattern.json
139
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/patternProperties.json
140
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/properties.json
141
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/ref.json
142
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/refRemote.json
143
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/required.json
144
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/type.json
145
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft3/uniqueItems.json
146
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalItems.json
147
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/additionalProperties.json
148
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/allOf.json
149
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/anyOf.json
150
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/default.json
151
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/definitions.json
152
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/dependencies.json
153
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/enum.json
154
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/items.json
155
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxItems.json
156
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxLength.json
157
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maxProperties.json
158
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/maximum.json
159
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minItems.json
160
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minLength.json
161
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minProperties.json
162
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/minimum.json
163
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/multipleOf.json
164
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/not.json
165
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/oneOf.json
166
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/bignum.json
167
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/format.json
168
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/optional/zeroTerminatedFloats.json
169
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/pattern.json
170
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/patternProperties.json
171
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/properties.json
172
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/ref.json
173
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/refRemote.json
174
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/required.json
175
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/type.json
176
+ - ext/rj_schema/rapidjson/bin/jsonschema/tests/draft4/uniqueItems.json
177
+ - ext/rj_schema/rapidjson/bin/jsonschema/tox.ini
178
+ - ext/rj_schema/rapidjson/bin/types/booleans.json
179
+ - ext/rj_schema/rapidjson/bin/types/floats.json
180
+ - ext/rj_schema/rapidjson/bin/types/guids.json
181
+ - ext/rj_schema/rapidjson/bin/types/integers.json
182
+ - ext/rj_schema/rapidjson/bin/types/mixed.json
183
+ - ext/rj_schema/rapidjson/bin/types/nulls.json
184
+ - ext/rj_schema/rapidjson/bin/types/paragraphs.json
185
+ - ext/rj_schema/rapidjson/bin/types/readme.txt
186
+ - ext/rj_schema/rapidjson/contrib/natvis/LICENSE
187
+ - ext/rj_schema/rapidjson/contrib/natvis/README.md
188
+ - ext/rj_schema/rapidjson/contrib/natvis/rapidjson.natvis
189
+ - ext/rj_schema/rapidjson/doc/CMakeLists.txt
190
+ - ext/rj_schema/rapidjson/doc/Doxyfile.in
191
+ - ext/rj_schema/rapidjson/doc/Doxyfile.zh-cn.in
192
+ - ext/rj_schema/rapidjson/doc/diagram/architecture.dot
193
+ - ext/rj_schema/rapidjson/doc/diagram/architecture.png
194
+ - ext/rj_schema/rapidjson/doc/diagram/insituparsing.dot
195
+ - ext/rj_schema/rapidjson/doc/diagram/insituparsing.png
196
+ - ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.dot
197
+ - ext/rj_schema/rapidjson/doc/diagram/iterative-parser-states-diagram.png
198
+ - ext/rj_schema/rapidjson/doc/diagram/makefile
199
+ - ext/rj_schema/rapidjson/doc/diagram/move1.dot
200
+ - ext/rj_schema/rapidjson/doc/diagram/move1.png
201
+ - ext/rj_schema/rapidjson/doc/diagram/move2.dot
202
+ - ext/rj_schema/rapidjson/doc/diagram/move2.png
203
+ - ext/rj_schema/rapidjson/doc/diagram/move3.dot
204
+ - ext/rj_schema/rapidjson/doc/diagram/move3.png
205
+ - ext/rj_schema/rapidjson/doc/diagram/normalparsing.dot
206
+ - ext/rj_schema/rapidjson/doc/diagram/normalparsing.png
207
+ - ext/rj_schema/rapidjson/doc/diagram/simpledom.dot
208
+ - ext/rj_schema/rapidjson/doc/diagram/simpledom.png
209
+ - ext/rj_schema/rapidjson/doc/diagram/tutorial.dot
210
+ - ext/rj_schema/rapidjson/doc/diagram/tutorial.png
211
+ - ext/rj_schema/rapidjson/doc/diagram/utilityclass.dot
212
+ - ext/rj_schema/rapidjson/doc/diagram/utilityclass.png
213
+ - ext/rj_schema/rapidjson/doc/dom.md
214
+ - ext/rj_schema/rapidjson/doc/dom.zh-cn.md
215
+ - ext/rj_schema/rapidjson/doc/encoding.md
216
+ - ext/rj_schema/rapidjson/doc/encoding.zh-cn.md
217
+ - ext/rj_schema/rapidjson/doc/faq.md
218
+ - ext/rj_schema/rapidjson/doc/faq.zh-cn.md
219
+ - ext/rj_schema/rapidjson/doc/features.md
220
+ - ext/rj_schema/rapidjson/doc/features.zh-cn.md
221
+ - ext/rj_schema/rapidjson/doc/internals.md
222
+ - ext/rj_schema/rapidjson/doc/internals.zh-cn.md
223
+ - ext/rj_schema/rapidjson/doc/logo/rapidjson.png
224
+ - ext/rj_schema/rapidjson/doc/logo/rapidjson.svg
225
+ - ext/rj_schema/rapidjson/doc/misc/DoxygenLayout.xml
226
+ - ext/rj_schema/rapidjson/doc/misc/doxygenextra.css
227
+ - ext/rj_schema/rapidjson/doc/misc/footer.html
228
+ - ext/rj_schema/rapidjson/doc/misc/header.html
229
+ - ext/rj_schema/rapidjson/doc/npm.md
230
+ - ext/rj_schema/rapidjson/doc/performance.md
231
+ - ext/rj_schema/rapidjson/doc/performance.zh-cn.md
232
+ - ext/rj_schema/rapidjson/doc/pointer.md
233
+ - ext/rj_schema/rapidjson/doc/pointer.zh-cn.md
234
+ - ext/rj_schema/rapidjson/doc/sax.md
235
+ - ext/rj_schema/rapidjson/doc/sax.zh-cn.md
236
+ - ext/rj_schema/rapidjson/doc/schema.md
237
+ - ext/rj_schema/rapidjson/doc/schema.zh-cn.md
238
+ - ext/rj_schema/rapidjson/doc/stream.md
239
+ - ext/rj_schema/rapidjson/doc/stream.zh-cn.md
240
+ - ext/rj_schema/rapidjson/doc/tutorial.md
241
+ - ext/rj_schema/rapidjson/doc/tutorial.zh-cn.md
242
+ - ext/rj_schema/rapidjson/docker/debian/Dockerfile
243
+ - ext/rj_schema/rapidjson/example/CMakeLists.txt
244
+ - ext/rj_schema/rapidjson/example/archiver/archiver.cpp
245
+ - ext/rj_schema/rapidjson/example/archiver/archiver.h
246
+ - ext/rj_schema/rapidjson/example/archiver/archivertest.cpp
247
+ - ext/rj_schema/rapidjson/example/capitalize/capitalize.cpp
248
+ - ext/rj_schema/rapidjson/example/condense/condense.cpp
249
+ - ext/rj_schema/rapidjson/example/filterkey/filterkey.cpp
250
+ - ext/rj_schema/rapidjson/example/filterkeydom/filterkeydom.cpp
251
+ - ext/rj_schema/rapidjson/example/jsonx/jsonx.cpp
252
+ - ext/rj_schema/rapidjson/example/lookaheadparser/lookaheadparser.cpp
253
+ - ext/rj_schema/rapidjson/example/messagereader/messagereader.cpp
254
+ - ext/rj_schema/rapidjson/example/parsebyparts/parsebyparts.cpp
255
+ - ext/rj_schema/rapidjson/example/pretty/pretty.cpp
256
+ - ext/rj_schema/rapidjson/example/prettyauto/prettyauto.cpp
257
+ - ext/rj_schema/rapidjson/example/schemavalidator/schemavalidator.cpp
258
+ - ext/rj_schema/rapidjson/example/serialize/serialize.cpp
259
+ - ext/rj_schema/rapidjson/example/simpledom/simpledom.cpp
260
+ - ext/rj_schema/rapidjson/example/simplepullreader/simplepullreader.cpp
261
+ - ext/rj_schema/rapidjson/example/simplereader/simplereader.cpp
262
+ - ext/rj_schema/rapidjson/example/simplewriter/simplewriter.cpp
263
+ - ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp
264
+ - ext/rj_schema/rapidjson/include/rapidjson/allocators.h
265
+ - ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h
266
+ - ext/rj_schema/rapidjson/include/rapidjson/document.h
267
+ - ext/rj_schema/rapidjson/include/rapidjson/encodedstream.h
268
+ - ext/rj_schema/rapidjson/include/rapidjson/encodings.h
269
+ - ext/rj_schema/rapidjson/include/rapidjson/error/en.h
270
+ - ext/rj_schema/rapidjson/include/rapidjson/error/error.h
271
+ - ext/rj_schema/rapidjson/include/rapidjson/filereadstream.h
272
+ - ext/rj_schema/rapidjson/include/rapidjson/filewritestream.h
273
+ - ext/rj_schema/rapidjson/include/rapidjson/fwd.h
274
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/biginteger.h
275
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/diyfp.h
276
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/dtoa.h
277
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/ieee754.h
278
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/itoa.h
279
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/meta.h
280
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/pow10.h
281
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/regex.h
282
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/stack.h
283
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/strfunc.h
284
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/strtod.h
285
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/swap.h
286
+ - ext/rj_schema/rapidjson/include/rapidjson/istreamwrapper.h
287
+ - ext/rj_schema/rapidjson/include/rapidjson/memorybuffer.h
288
+ - ext/rj_schema/rapidjson/include/rapidjson/memorystream.h
289
+ - ext/rj_schema/rapidjson/include/rapidjson/msinttypes/inttypes.h
290
+ - ext/rj_schema/rapidjson/include/rapidjson/msinttypes/stdint.h
291
+ - ext/rj_schema/rapidjson/include/rapidjson/ostreamwrapper.h
292
+ - ext/rj_schema/rapidjson/include/rapidjson/pointer.h
293
+ - ext/rj_schema/rapidjson/include/rapidjson/prettywriter.h
294
+ - ext/rj_schema/rapidjson/include/rapidjson/rapidjson.h
295
+ - ext/rj_schema/rapidjson/include/rapidjson/reader.h
296
+ - ext/rj_schema/rapidjson/include/rapidjson/schema.h
297
+ - ext/rj_schema/rapidjson/include/rapidjson/stream.h
298
+ - ext/rj_schema/rapidjson/include/rapidjson/stringbuffer.h
299
+ - ext/rj_schema/rapidjson/include/rapidjson/writer.h
300
+ - ext/rj_schema/rapidjson/include_dirs.js
301
+ - ext/rj_schema/rapidjson/library.json
302
+ - ext/rj_schema/rapidjson/license.txt
303
+ - ext/rj_schema/rapidjson/package.json
304
+ - ext/rj_schema/rapidjson/rapidjson.autopkg
305
+ - ext/rj_schema/rapidjson/readme.md
306
+ - ext/rj_schema/rapidjson/readme.zh-cn.md
307
+ - ext/rj_schema/rapidjson/test/CMakeLists.txt
308
+ - ext/rj_schema/rapidjson/test/perftest/CMakeLists.txt
309
+ - ext/rj_schema/rapidjson/test/perftest/misctest.cpp
310
+ - ext/rj_schema/rapidjson/test/perftest/perftest.cpp
311
+ - ext/rj_schema/rapidjson/test/perftest/perftest.h
312
+ - ext/rj_schema/rapidjson/test/perftest/platformtest.cpp
313
+ - ext/rj_schema/rapidjson/test/perftest/rapidjsontest.cpp
314
+ - ext/rj_schema/rapidjson/test/perftest/schematest.cpp
315
+ - ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt
316
+ - ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp
317
+ - ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp
318
+ - ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp
319
+ - ext/rj_schema/rapidjson/test/unittest/documenttest.cpp
320
+ - ext/rj_schema/rapidjson/test/unittest/dtoatest.cpp
321
+ - ext/rj_schema/rapidjson/test/unittest/encodedstreamtest.cpp
322
+ - ext/rj_schema/rapidjson/test/unittest/encodingstest.cpp
323
+ - ext/rj_schema/rapidjson/test/unittest/filestreamtest.cpp
324
+ - ext/rj_schema/rapidjson/test/unittest/fwdtest.cpp
325
+ - ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp
326
+ - ext/rj_schema/rapidjson/test/unittest/itoatest.cpp
327
+ - ext/rj_schema/rapidjson/test/unittest/jsoncheckertest.cpp
328
+ - ext/rj_schema/rapidjson/test/unittest/namespacetest.cpp
329
+ - ext/rj_schema/rapidjson/test/unittest/ostreamwrappertest.cpp
330
+ - ext/rj_schema/rapidjson/test/unittest/pointertest.cpp
331
+ - ext/rj_schema/rapidjson/test/unittest/prettywritertest.cpp
332
+ - ext/rj_schema/rapidjson/test/unittest/readertest.cpp
333
+ - ext/rj_schema/rapidjson/test/unittest/regextest.cpp
334
+ - ext/rj_schema/rapidjson/test/unittest/schematest.cpp
335
+ - ext/rj_schema/rapidjson/test/unittest/simdtest.cpp
336
+ - ext/rj_schema/rapidjson/test/unittest/strfunctest.cpp
337
+ - ext/rj_schema/rapidjson/test/unittest/stringbuffertest.cpp
338
+ - ext/rj_schema/rapidjson/test/unittest/strtodtest.cpp
339
+ - ext/rj_schema/rapidjson/test/unittest/unittest.cpp
340
+ - ext/rj_schema/rapidjson/test/unittest/unittest.h
341
+ - ext/rj_schema/rapidjson/test/unittest/valuetest.cpp
342
+ - ext/rj_schema/rapidjson/test/unittest/writertest.cpp
343
+ - ext/rj_schema/rapidjson/test/valgrind.supp
344
+ - ext/rj_schema/rapidjson/travis-doxygen.sh
345
+ - ext/rj_schema/rj_schema.cpp
346
+ - lib/rj_schema.rb
347
+ homepage: https://github.com/foxtacles/rj_schema
348
+ licenses:
349
+ - MIT
350
+ metadata: {}
351
+ post_install_message:
352
+ rdoc_options: []
353
+ require_paths:
354
+ - lib
355
+ required_ruby_version: !ruby/object:Gem::Requirement
356
+ requirements:
357
+ - - ">="
358
+ - !ruby/object:Gem::Version
359
+ version: '0'
360
+ required_rubygems_version: !ruby/object:Gem::Requirement
361
+ requirements:
362
+ - - ">="
363
+ - !ruby/object:Gem::Version
364
+ version: '0'
365
+ requirements: []
366
+ rubyforge_project:
367
+ rubygems_version: 2.4.5
368
+ signing_key:
369
+ specification_version: 4
370
+ summary: JSON schema validation with RapidJSON
371
+ test_files: []