rj_schema 0.2.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. checksums.yaml +4 -4
  2. data/ext/rj_schema/rapidjson/CMakeLists.txt +9 -4
  3. data/ext/rj_schema/rapidjson/RapidJSONConfig.cmake.in +10 -0
  4. data/ext/rj_schema/rapidjson/appveyor.yml +22 -9
  5. data/ext/rj_schema/rapidjson/bin/data/abcde.txt +1 -0
  6. data/ext/rj_schema/rapidjson/bin/unittestschema/address.json +139 -0
  7. data/ext/rj_schema/rapidjson/bin/unittestschema/allOf_address.json +7 -0
  8. data/ext/rj_schema/rapidjson/bin/unittestschema/anyOf_address.json +7 -0
  9. data/ext/rj_schema/rapidjson/bin/unittestschema/oneOf_address.json +7 -0
  10. data/ext/rj_schema/rapidjson/contrib/natvis/rapidjson.natvis +2 -2
  11. data/ext/rj_schema/rapidjson/doc/dom.md +1 -0
  12. data/ext/rj_schema/rapidjson/doc/dom.zh-cn.md +1 -0
  13. data/ext/rj_schema/rapidjson/doc/faq.md +3 -3
  14. data/ext/rj_schema/rapidjson/doc/faq.zh-cn.md +8 -8
  15. data/ext/rj_schema/rapidjson/doc/internals.md +1 -1
  16. data/ext/rj_schema/rapidjson/doc/internals.zh-cn.md +2 -2
  17. data/ext/rj_schema/rapidjson/doc/pointer.zh-cn.md +1 -1
  18. data/ext/rj_schema/rapidjson/doc/sax.md +1 -1
  19. data/ext/rj_schema/rapidjson/doc/sax.zh-cn.md +2 -2
  20. data/ext/rj_schema/rapidjson/doc/stream.md +1 -1
  21. data/ext/rj_schema/rapidjson/doc/tutorial.md +1 -1
  22. data/ext/rj_schema/rapidjson/doc/tutorial.zh-cn.md +7 -6
  23. data/ext/rj_schema/rapidjson/example/CMakeLists.txt +1 -0
  24. data/ext/rj_schema/rapidjson/example/schemavalidator/schemavalidator.cpp +118 -0
  25. data/ext/rj_schema/rapidjson/example/sortkeys/sortkeys.cpp +62 -0
  26. data/ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp +1 -1
  27. data/ext/rj_schema/rapidjson/include/rapidjson/allocators.h +6 -6
  28. data/ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h +1 -1
  29. data/ext/rj_schema/rapidjson/include/rapidjson/document.h +124 -35
  30. data/ext/rj_schema/rapidjson/include/rapidjson/encodedstream.h +1 -1
  31. data/ext/rj_schema/rapidjson/include/rapidjson/encodings.h +1 -1
  32. data/ext/rj_schema/rapidjson/include/rapidjson/error/en.h +49 -1
  33. data/ext/rj_schema/rapidjson/include/rapidjson/error/error.h +56 -1
  34. data/ext/rj_schema/rapidjson/include/rapidjson/filereadstream.h +2 -2
  35. data/ext/rj_schema/rapidjson/include/rapidjson/filewritestream.h +1 -1
  36. data/ext/rj_schema/rapidjson/include/rapidjson/fwd.h +2 -2
  37. data/ext/rj_schema/rapidjson/include/rapidjson/internal/biginteger.h +2 -2
  38. data/ext/rj_schema/rapidjson/include/rapidjson/internal/clzll.h +71 -0
  39. data/ext/rj_schema/rapidjson/include/rapidjson/internal/diyfp.h +3 -17
  40. data/ext/rj_schema/rapidjson/include/rapidjson/internal/dtoa.h +1 -1
  41. data/ext/rj_schema/rapidjson/include/rapidjson/internal/ieee754.h +1 -1
  42. data/ext/rj_schema/rapidjson/include/rapidjson/internal/itoa.h +1 -1
  43. data/ext/rj_schema/rapidjson/include/rapidjson/internal/meta.h +1 -1
  44. data/ext/rj_schema/rapidjson/include/rapidjson/internal/pow10.h +1 -1
  45. data/ext/rj_schema/rapidjson/include/rapidjson/internal/regex.h +20 -13
  46. data/ext/rj_schema/rapidjson/include/rapidjson/internal/stack.h +4 -3
  47. data/ext/rj_schema/rapidjson/include/rapidjson/internal/strfunc.h +1 -1
  48. data/ext/rj_schema/rapidjson/include/rapidjson/internal/strtod.h +1 -1
  49. data/ext/rj_schema/rapidjson/include/rapidjson/internal/swap.h +1 -1
  50. data/ext/rj_schema/rapidjson/include/rapidjson/istreamwrapper.h +50 -35
  51. data/ext/rj_schema/rapidjson/include/rapidjson/memorybuffer.h +1 -1
  52. data/ext/rj_schema/rapidjson/include/rapidjson/memorystream.h +1 -1
  53. data/ext/rj_schema/rapidjson/include/rapidjson/ostreamwrapper.h +1 -1
  54. data/ext/rj_schema/rapidjson/include/rapidjson/pointer.h +63 -5
  55. data/ext/rj_schema/rapidjson/include/rapidjson/prettywriter.h +2 -2
  56. data/ext/rj_schema/rapidjson/include/rapidjson/rapidjson.h +63 -1
  57. data/ext/rj_schema/rapidjson/include/rapidjson/reader.h +67 -53
  58. data/ext/rj_schema/rapidjson/include/rapidjson/schema.h +318 -164
  59. data/ext/rj_schema/rapidjson/include/rapidjson/stream.h +1 -1
  60. data/ext/rj_schema/rapidjson/include/rapidjson/stringbuffer.h +1 -1
  61. data/ext/rj_schema/rapidjson/include/rapidjson/writer.h +10 -10
  62. data/ext/rj_schema/rapidjson/readme.md +51 -1
  63. data/ext/rj_schema/rapidjson/readme.zh-cn.md +2 -2
  64. data/ext/rj_schema/rapidjson/test/perftest/misctest.cpp +1 -1
  65. data/ext/rj_schema/rapidjson/test/perftest/perftest.cpp +1 -1
  66. data/ext/rj_schema/rapidjson/test/perftest/perftest.h +1 -1
  67. data/ext/rj_schema/rapidjson/test/perftest/platformtest.cpp +2 -2
  68. data/ext/rj_schema/rapidjson/test/perftest/rapidjsontest.cpp +75 -1
  69. data/ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt +1 -0
  70. data/ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp +1 -1
  71. data/ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp +1 -1
  72. data/ext/rj_schema/rapidjson/test/unittest/clzlltest.cpp +34 -0
  73. data/ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp +19 -19
  74. data/ext/rj_schema/rapidjson/test/unittest/documenttest.cpp +1 -1
  75. data/ext/rj_schema/rapidjson/test/unittest/dtoatest.cpp +1 -1
  76. data/ext/rj_schema/rapidjson/test/unittest/encodedstreamtest.cpp +1 -1
  77. data/ext/rj_schema/rapidjson/test/unittest/encodingstest.cpp +1 -1
  78. data/ext/rj_schema/rapidjson/test/unittest/filestreamtest.cpp +45 -2
  79. data/ext/rj_schema/rapidjson/test/unittest/fwdtest.cpp +1 -1
  80. data/ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp +10 -10
  81. data/ext/rj_schema/rapidjson/test/unittest/itoatest.cpp +8 -8
  82. data/ext/rj_schema/rapidjson/test/unittest/jsoncheckertest.cpp +1 -1
  83. data/ext/rj_schema/rapidjson/test/unittest/namespacetest.cpp +1 -1
  84. data/ext/rj_schema/rapidjson/test/unittest/ostreamwrappertest.cpp +1 -1
  85. data/ext/rj_schema/rapidjson/test/unittest/pointertest.cpp +157 -16
  86. data/ext/rj_schema/rapidjson/test/unittest/prettywritertest.cpp +1 -1
  87. data/ext/rj_schema/rapidjson/test/unittest/readertest.cpp +113 -75
  88. data/ext/rj_schema/rapidjson/test/unittest/regextest.cpp +2 -1
  89. data/ext/rj_schema/rapidjson/test/unittest/schematest.cpp +593 -78
  90. data/ext/rj_schema/rapidjson/test/unittest/simdtest.cpp +1 -1
  91. data/ext/rj_schema/rapidjson/test/unittest/strfunctest.cpp +1 -1
  92. data/ext/rj_schema/rapidjson/test/unittest/stringbuffertest.cpp +5 -5
  93. data/ext/rj_schema/rapidjson/test/unittest/strtodtest.cpp +1 -1
  94. data/ext/rj_schema/rapidjson/test/unittest/unittest.cpp +1 -1
  95. data/ext/rj_schema/rapidjson/test/unittest/unittest.h +4 -1
  96. data/ext/rj_schema/rapidjson/test/unittest/valuetest.cpp +12 -12
  97. data/ext/rj_schema/rapidjson/test/unittest/writertest.cpp +1 -1
  98. data/ext/rj_schema/rapidjson/thirdparty/gtest/BUILD.bazel +175 -0
  99. data/ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt +18 -1
  100. data/ext/rj_schema/rapidjson/thirdparty/gtest/CONTRIBUTING.md +160 -0
  101. data/ext/rj_schema/rapidjson/thirdparty/gtest/LICENSE +28 -0
  102. data/ext/rj_schema/rapidjson/thirdparty/gtest/Makefile.am +14 -0
  103. data/ext/rj_schema/rapidjson/thirdparty/gtest/README.md +16 -35
  104. data/ext/rj_schema/rapidjson/thirdparty/gtest/WORKSPACE +8 -0
  105. data/ext/rj_schema/rapidjson/thirdparty/gtest/appveyor.yml +104 -0
  106. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-autotools.sh +44 -0
  107. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-bazel.sh +36 -0
  108. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-linux.sh +41 -0
  109. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-osx.sh +40 -0
  110. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/get-nprocessors.sh +48 -0
  111. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-linux.sh +49 -0
  112. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-osx.sh +39 -0
  113. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/log-config.sh +51 -0
  114. data/ext/rj_schema/rapidjson/thirdparty/gtest/ci/travis.sh +44 -0
  115. data/ext/rj_schema/rapidjson/thirdparty/gtest/configure.ac +16 -0
  116. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES +1 -1
  117. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +72 -32
  118. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md +53 -42
  119. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock.pc.in +9 -0
  120. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock_main.pc.in +9 -0
  121. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac +4 -4
  122. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +6 -4
  123. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +117 -132
  124. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +7 -4
  125. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +20 -12
  126. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +1 -2
  127. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +83 -26
  128. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +262 -68
  129. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +45 -6
  130. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +650 -366
  131. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +76 -20
  132. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +308 -229
  133. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +18 -15
  134. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +87 -26
  135. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +33 -16
  136. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +1209 -353
  137. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +33 -0
  138. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +159 -88
  139. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +2 -1
  140. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +1 -1
  141. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +3 -4
  142. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +16 -9
  143. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +71 -8
  144. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +7 -11
  145. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +14 -0
  146. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +69 -6
  147. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +2 -2
  148. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +69 -6
  149. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +83 -8
  150. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +14 -0
  151. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +63 -2
  152. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +63 -2
  153. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +76 -3
  154. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +1 -1
  155. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +4 -5
  156. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +3 -3
  157. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +1 -1
  158. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +36 -6
  159. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +210 -135
  160. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +108 -48
  161. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +23 -1
  162. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/BUILD.bazel +123 -0
  163. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +166 -2
  164. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +1 -1
  165. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +64 -62
  166. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +43 -18
  167. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +11 -9
  168. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +91 -36
  169. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +33 -14
  170. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +1286 -167
  171. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +85 -83
  172. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +102 -15
  173. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +136 -9
  174. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +1 -1
  175. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +1 -1
  176. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +24 -2
  177. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +8 -5
  178. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +20 -1
  179. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +8 -1
  180. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +3 -2
  181. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +44 -2
  182. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +5 -7
  183. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +40 -14
  184. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am +60 -31
  185. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md +232 -171
  186. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest.pc.in +9 -0
  187. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest_main.pc.in +10 -0
  188. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +54 -16
  189. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac +1 -1
  190. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Pkgconfig.md +146 -0
  191. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +2 -2
  192. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +6 -6
  193. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/{AdvancedGuide.md → advanced.md} +260 -26
  194. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/{FAQ.md → faq.md} +62 -57
  195. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/{Primer.md → primer.md} +43 -9
  196. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/{Samples.md → samples.md} +0 -0
  197. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +53 -5
  198. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +1 -2
  199. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +30 -36
  200. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +8 -17
  201. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +140 -51
  202. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +2 -3
  203. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +4 -3
  204. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +126 -30
  205. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +6 -7
  206. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +8 -5
  207. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +6 -5
  208. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +4 -0
  209. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +13 -57
  210. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +1 -2
  211. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +98 -59
  212. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +34 -41
  213. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +3 -10
  214. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +9 -17
  215. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +8 -1
  216. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +232 -99
  217. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +3 -3
  218. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +17 -1
  219. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +17 -1
  220. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.sln +55 -0
  221. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj +149 -0
  222. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj.filters +18 -0
  223. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.sln +55 -0
  224. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj +149 -0
  225. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj.filters +18 -0
  226. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj +154 -0
  227. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj.filters +18 -0
  228. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj +162 -0
  229. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj.filters +18 -0
  230. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj +199 -0
  231. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj.filters +26 -0
  232. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj +191 -0
  233. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj.filters +26 -0
  234. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj +188 -0
  235. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj.filters +18 -0
  236. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj +180 -0
  237. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj.filters +18 -0
  238. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +6 -2
  239. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +1 -1
  240. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +0 -4
  241. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +2 -1
  242. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +2 -1
  243. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +7 -6
  244. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +5 -1
  245. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +3 -3
  246. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +2 -1
  247. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +10 -22
  248. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +2 -1
  249. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +0 -3
  250. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +1 -1
  251. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +10 -10
  252. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1 -1
  253. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +1 -1
  254. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +226 -32
  255. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +5 -7
  256. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +21 -29
  257. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +85 -67
  258. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +93 -8
  259. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +1 -9
  260. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +1 -0
  261. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +622 -164
  262. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +1 -1
  263. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/BUILD.bazel +396 -0
  264. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +12 -15
  265. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +2 -12
  266. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +1 -1
  267. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +6 -8
  268. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +1 -5
  269. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +84 -29
  270. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +1 -5
  271. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +11 -12
  272. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +165 -63
  273. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +1 -1
  274. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +1 -1
  275. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +1 -1
  276. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +13 -13
  277. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_assert_by_exception_test.cc +119 -0
  278. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +1 -3
  279. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +1 -2
  280. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +0 -2
  281. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +1 -1
  282. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +1 -2
  283. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +0 -8
  284. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +6 -4
  285. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +0 -2
  286. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +0 -3
  287. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +20 -18
  288. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +0 -2
  289. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +1 -1
  290. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_outfiles_test.py +162 -0
  291. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_output_unittest.py +611 -0
  292. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_test_utils.py +60 -0
  293. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +4 -4
  294. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +2 -2
  295. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +11 -7
  296. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +17 -12
  297. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +104 -66
  298. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +1 -1
  299. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +2 -2
  300. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +2 -19
  301. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +0 -6
  302. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +12 -14
  303. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test.py +65 -0
  304. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test_.cc +44 -0
  305. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +1 -1
  306. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +4 -5
  307. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +2 -2
  308. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +240 -149
  309. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +0 -1
  310. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +0 -1
  311. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +15 -7
  312. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +100 -30
  313. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +0 -2
  314. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +25 -23
  315. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc +1 -1
  316. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h +1 -1
  317. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +4 -4
  318. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +47 -0
  319. data/ext/rj_schema/rapidjson/travis-doxygen.sh +13 -6
  320. data/ext/rj_schema/rj_schema.cpp +161 -17
  321. data/lib/rj_schema.rb +1 -1
  322. metadata +63 -58
  323. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md +0 -132
  324. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md +0 -525
  325. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md +0 -3250
  326. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md +0 -11
  327. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md +0 -439
  328. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +0 -624
  329. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md +0 -534
  330. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md +0 -3342
  331. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md +0 -12
  332. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md +0 -439
  333. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +0 -628
  334. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md +0 -556
  335. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md +0 -3432
  336. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md +0 -12
  337. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md +0 -439
  338. data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +0 -628
  339. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md +0 -126
  340. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md +0 -14
  341. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md +0 -2096
  342. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md +0 -12
  343. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md +0 -886
  344. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md +0 -497
  345. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md +0 -177
  346. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md +0 -93
  347. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md +0 -2178
  348. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md +0 -14
  349. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md +0 -1038
  350. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md +0 -501
  351. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md +0 -177
  352. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md +0 -14
  353. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md +0 -93
  354. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md +0 -2181
  355. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md +0 -14
  356. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md +0 -1082
  357. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md +0 -501
  358. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md +0 -177
  359. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md +0 -14
  360. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md +0 -93
  361. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln +0 -45
  362. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj +0 -126
  363. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln +0 -45
  364. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj +0 -126
  365. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj +0 -129
  366. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj +0 -129
  367. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj +0 -164
  368. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj +0 -164
  369. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj +0 -147
  370. data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj +0 -147
  371. data/ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh +0 -15
@@ -79,6 +79,13 @@
79
79
  4539C9390EC280E200A70F4C /* gtest-param-util-generated.h in Copy Headers Internal */ = {isa = PBXBuildFile; fileRef = 4539C9360EC280E200A70F4C /* gtest-param-util-generated.h */; };
80
80
  4539C93A0EC280E200A70F4C /* gtest-param-util.h in Copy Headers Internal */ = {isa = PBXBuildFile; fileRef = 4539C9370EC280E200A70F4C /* gtest-param-util.h */; };
81
81
  4567C8181264FF71007740BE /* gtest-printers.h in Headers */ = {isa = PBXBuildFile; fileRef = 4567C8171264FF71007740BE /* gtest-printers.h */; settings = {ATTRIBUTES = (Public, ); }; };
82
+ F67D4F3E1C7F5D8B0017C729 /* gtest-port-arch.h in Headers */ = {isa = PBXBuildFile; fileRef = F67D4F3D1C7F5D8B0017C729 /* gtest-port-arch.h */; };
83
+ F67D4F3F1C7F5DA70017C729 /* gtest-port-arch.h in Copy Headers Internal */ = {isa = PBXBuildFile; fileRef = F67D4F3D1C7F5D8B0017C729 /* gtest-port-arch.h */; };
84
+ F67D4F441C7F5DD00017C729 /* gtest-port.h in Headers */ = {isa = PBXBuildFile; fileRef = F67D4F411C7F5DD00017C729 /* gtest-port.h */; };
85
+ F67D4F451C7F5DD00017C729 /* gtest-printers.h in Headers */ = {isa = PBXBuildFile; fileRef = F67D4F421C7F5DD00017C729 /* gtest-printers.h */; };
86
+ F67D4F461C7F5DD00017C729 /* gtest.h in Headers */ = {isa = PBXBuildFile; fileRef = F67D4F431C7F5DD00017C729 /* gtest.h */; };
87
+ F67D4F481C7F5E160017C729 /* gtest-port.h in Copy Headers Internal Custom */ = {isa = PBXBuildFile; fileRef = F67D4F411C7F5DD00017C729 /* gtest-port.h */; };
88
+ F67D4F491C7F5E260017C729 /* gtest-printers.h in Copy Headers Internal Custom */ = {isa = PBXBuildFile; fileRef = F67D4F421C7F5DD00017C729 /* gtest-printers.h */; };
82
89
  /* End PBXBuildFile section */
83
90
 
84
91
  /* Begin PBXContainerItemProxy section */
@@ -182,6 +189,7 @@
182
189
  dstPath = Headers/internal;
183
190
  dstSubfolderSpec = 6;
184
191
  files = (
192
+ F67D4F3F1C7F5DA70017C729 /* gtest-port-arch.h in Copy Headers Internal */,
185
193
  404884A00E2F7BE600CF7658 /* gtest-death-test-internal.h in Copy Headers Internal */,
186
194
  404884A10E2F7BE600CF7658 /* gtest-filepath.h in Copy Headers Internal */,
187
195
  404884A20E2F7BE600CF7658 /* gtest-internal.h in Copy Headers Internal */,
@@ -196,6 +204,18 @@
196
204
  name = "Copy Headers Internal";
197
205
  runOnlyForDeploymentPostprocessing = 0;
198
206
  };
207
+ F67D4F471C7F5DF60017C729 /* Copy Headers Internal Custom */ = {
208
+ isa = PBXCopyFilesBuildPhase;
209
+ buildActionMask = 2147483647;
210
+ dstPath = Headers/internal/custom;
211
+ dstSubfolderSpec = 6;
212
+ files = (
213
+ F67D4F491C7F5E260017C729 /* gtest-printers.h in Copy Headers Internal Custom */,
214
+ F67D4F481C7F5E160017C729 /* gtest-port.h in Copy Headers Internal Custom */,
215
+ );
216
+ name = "Copy Headers Internal Custom";
217
+ runOnlyForDeploymentPostprocessing = 0;
218
+ };
199
219
  /* End PBXCopyFilesBuildPhase section */
200
220
 
201
221
  /* Begin PBXFileReference section */
@@ -244,6 +264,10 @@
244
264
  4539C9360EC280E200A70F4C /* gtest-param-util-generated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-param-util-generated.h"; sourceTree = "<group>"; };
245
265
  4539C9370EC280E200A70F4C /* gtest-param-util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-param-util.h"; sourceTree = "<group>"; };
246
266
  4567C8171264FF71007740BE /* gtest-printers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-printers.h"; sourceTree = "<group>"; };
267
+ F67D4F3D1C7F5D8B0017C729 /* gtest-port-arch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-port-arch.h"; sourceTree = "<group>"; };
268
+ F67D4F411C7F5DD00017C729 /* gtest-port.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-port.h"; sourceTree = "<group>"; };
269
+ F67D4F421C7F5DD00017C729 /* gtest-printers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "gtest-printers.h"; sourceTree = "<group>"; };
270
+ F67D4F431C7F5DD00017C729 /* gtest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gtest.h; sourceTree = "<group>"; };
247
271
  /* End PBXFileReference section */
248
272
 
249
273
  /* Begin PBXFrameworksBuildPhase section */
@@ -375,6 +399,7 @@
375
399
  404883E10E2F799B00CF7658 /* internal */ = {
376
400
  isa = PBXGroup;
377
401
  children = (
402
+ F67D4F401C7F5DD00017C729 /* custom */,
378
403
  404883E20E2F799B00CF7658 /* gtest-death-test-internal.h */,
379
404
  404883E30E2F799B00CF7658 /* gtest-filepath.h */,
380
405
  404883E40E2F799B00CF7658 /* gtest-internal.h */,
@@ -382,6 +407,7 @@
382
407
  4539C9360EC280E200A70F4C /* gtest-param-util-generated.h */,
383
408
  4539C9370EC280E200A70F4C /* gtest-param-util.h */,
384
409
  404883E50E2F799B00CF7658 /* gtest-port.h */,
410
+ F67D4F3D1C7F5D8B0017C729 /* gtest-port-arch.h */,
385
411
  404883E60E2F799B00CF7658 /* gtest-string.h */,
386
412
  40899F4D0FFA7271000B29AE /* gtest-tuple.h */,
387
413
  3BF6F29F0E79B5AD000F2EEE /* gtest-type-util.h */,
@@ -430,6 +456,16 @@
430
456
  path = Resources;
431
457
  sourceTree = "<group>";
432
458
  };
459
+ F67D4F401C7F5DD00017C729 /* custom */ = {
460
+ isa = PBXGroup;
461
+ children = (
462
+ F67D4F411C7F5DD00017C729 /* gtest-port.h */,
463
+ F67D4F421C7F5DD00017C729 /* gtest-printers.h */,
464
+ F67D4F431C7F5DD00017C729 /* gtest.h */,
465
+ );
466
+ path = custom;
467
+ sourceTree = "<group>";
468
+ };
433
469
  /* End PBXGroup section */
434
470
 
435
471
  /* Begin PBXHeadersBuildPhase section */
@@ -437,10 +473,14 @@
437
473
  isa = PBXHeadersBuildPhase;
438
474
  buildActionMask = 2147483647;
439
475
  files = (
476
+ F67D4F451C7F5DD00017C729 /* gtest-printers.h in Headers */,
440
477
  404884380E2F799B00CF7658 /* gtest-death-test.h in Headers */,
441
478
  404884390E2F799B00CF7658 /* gtest-message.h in Headers */,
442
479
  4539C9340EC280AE00A70F4C /* gtest-param-test.h in Headers */,
480
+ F67D4F461C7F5DD00017C729 /* gtest.h in Headers */,
481
+ F67D4F441C7F5DD00017C729 /* gtest-port.h in Headers */,
443
482
  4567C8181264FF71007740BE /* gtest-printers.h in Headers */,
483
+ F67D4F3E1C7F5D8B0017C729 /* gtest-port-arch.h in Headers */,
444
484
  3BF6F2A50E79B616000F2EEE /* gtest-typed-test.h in Headers */,
445
485
  4048843A0E2F799B00CF7658 /* gtest-spi.h in Headers */,
446
486
  4048843B0E2F799B00CF7658 /* gtest.h in Headers */,
@@ -560,6 +600,7 @@
560
600
  8D07F2C10486CC7A007CD1D0 /* Sources */,
561
601
  8D07F2BD0486CC7A007CD1D0 /* Headers */,
562
602
  404884A50E2F7C0400CF7658 /* Copy Headers Internal */,
603
+ F67D4F471C7F5DF60017C729 /* Copy Headers Internal Custom */,
563
604
  8D07F2BF0486CC7A007CD1D0 /* Resources */,
564
605
  );
565
606
  buildRules = (
@@ -1026,6 +1067,9 @@
1026
1067
  isa = XCBuildConfiguration;
1027
1068
  baseConfigurationReference = 40D4CDF10E30E07400294801 /* DebugProject.xcconfig */;
1028
1069
  buildSettings = {
1070
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1071
+ CLANG_CXX_LIBRARY = "libc++";
1072
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
1029
1073
  };
1030
1074
  name = Debug;
1031
1075
  };
@@ -1033,6 +1077,9 @@
1033
1077
  isa = XCBuildConfiguration;
1034
1078
  baseConfigurationReference = 40D4CDF40E30E07400294801 /* ReleaseProject.xcconfig */;
1035
1079
  buildSettings = {
1080
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1081
+ CLANG_CXX_LIBRARY = "libc++";
1082
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
1036
1083
  };
1037
1084
  name = Release;
1038
1085
  };
@@ -4,9 +4,8 @@
4
4
 
5
5
  set -e
6
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}"
7
+ DOXYGEN_VER=1_8_16
8
+ DOXYGEN_URL="https://codeload.github.com/doxygen/doxygen/tar.gz/Release_${DOXYGEN_VER}"
10
9
 
11
10
  : ${GITHUB_REPO:="Tencent/rapidjson"}
12
11
  GITHUB_HOST="github.com"
@@ -47,9 +46,17 @@ abort() {
47
46
  # install doxygen binary distribution
48
47
  doxygen_install()
49
48
  {
50
- wget -O - "${DOXYGEN_URL}" | \
51
- tar xz -C ${TMPDIR-/tmp} ${DOXYGEN_VER}/bin/doxygen
52
- export PATH="${TMPDIR-/tmp}/${DOXYGEN_VER}/bin:$PATH"
49
+ cd ${TMPDIR-/tmp}
50
+ curl ${DOXYGEN_URL} -o doxygen.tar.gz
51
+ tar zxvf doxygen.tar.gz
52
+ mkdir doxygen_build
53
+ cd doxygen_build
54
+ cmake ../doxygen-Release_${DOXYGEN_VER}/
55
+ make
56
+
57
+ export PATH="${TMPDIR-/tmp}/doxygen_build/bin:$PATH"
58
+
59
+ cd ../../
53
60
  }
54
61
 
55
62
  doxygen_run()
@@ -9,6 +9,7 @@
9
9
  #endif
10
10
 
11
11
  #include <unordered_map>
12
+ #include <sstream>
12
13
  #include <ruby.h>
13
14
  #include <ruby/version.h>
14
15
 
@@ -25,8 +26,11 @@ namespace std {
25
26
 
26
27
  #include <rapidjson/schema.h>
27
28
  #include <rapidjson/filereadstream.h>
28
- #include <rapidjson/prettywriter.h>
29
+ #include <rapidjson/writer.h>
30
+ #include <rapidjson/error/error.h>
31
+ #include <rapidjson/error/en.h>
29
32
 
33
+ typedef rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::CrtAllocator> ErrorType;
30
34
  typedef std::unordered_map<std::string, VALUE> SchemaInput;
31
35
  typedef std::unordered_map<ID, rapidjson::SchemaDocument> SchemaCollection;
32
36
  struct SchemaManager;
@@ -54,7 +58,7 @@ rapidjson::Document parse_document(VALUE arg) {
54
58
  rb_funcall(arg, rb_intern("rewind"), 0);
55
59
  arg = str;
56
60
  }
57
- else if (RB_TYPE_P(arg, T_HASH)) {
61
+ else if (!RB_TYPE_P(arg, T_STRING)) {
58
62
  arg = rb_funcall(arg, rb_intern("to_json"), 0);
59
63
  }
60
64
 
@@ -93,25 +97,149 @@ const rapidjson::SchemaDocument* SchemaManager::provide(const char* uri, rapidjs
93
97
  throw std::invalid_argument(std::string("$ref remote schema not provided: ") + uri);
94
98
  }
95
99
 
96
- VALUE perform_validation(VALUE self, VALUE schema_arg, VALUE document_arg, bool with_errors) {
100
+ static void CreateHumanErrorMessages(std::ostringstream& ss, const ErrorType& errors, size_t depth = 0, const char* context = 0) {
101
+ auto get_string = [](const ErrorType& val) -> std::string {
102
+ if (val.IsString())
103
+ return val.GetString();
104
+ else if (val.IsDouble())
105
+ return std::to_string(val.GetDouble());
106
+ else if (val.IsUint())
107
+ return std::to_string(val.GetUint());
108
+ else if (val.IsInt())
109
+ return std::to_string(val.GetInt());
110
+ else if (val.IsUint64())
111
+ return std::to_string(val.GetUint64());
112
+ else if (val.IsInt64())
113
+ return std::to_string(val.GetInt64());
114
+ else if (val.IsBool() && val.GetBool())
115
+ return "true";
116
+ else if (val.IsBool())
117
+ return "false";
118
+ else if (val.IsFloat())
119
+ return std::to_string(val.GetFloat());
120
+ return "";
121
+ };
122
+
123
+ auto handle_error = [&ss, &get_string](const char* errorName, const ErrorType& error, size_t depth, const char* context) {
124
+ if (!error.ObjectEmpty()) {
125
+ int code = error["errorCode"].GetInt();
126
+ std::string message(GetValidateError_En(static_cast<rapidjson::ValidateErrorCode>(code)));
127
+
128
+ for (const auto& member : error.GetObject()) {
129
+ std::string insertName("%");
130
+ insertName += member.name.GetString();
131
+ std::size_t insertPos = message.find(insertName);
132
+
133
+ if (insertPos != std::string::npos) {
134
+ std::string insertString("");
135
+ const ErrorType& insert = member.value;
136
+
137
+ if (insert.IsArray()) {
138
+ for (ErrorType::ConstValueIterator itemsItr = insert.Begin(); itemsItr != insert.End(); ++itemsItr) {
139
+ if (itemsItr != insert.Begin())
140
+ insertString += ",";
141
+
142
+ insertString += get_string(*itemsItr);
143
+ }
144
+ }
145
+ else {
146
+ insertString += get_string(insert);
147
+ }
148
+
149
+ message.replace(insertPos, insertName.length(), insertString);
150
+ }
151
+ }
152
+
153
+ std::string indent(depth * 2, ' ');
154
+ ss << indent << "Error Name: " << errorName << std::endl;
155
+ ss << indent << "Message: " << message << std::endl;
156
+ ss << indent << "Instance: " << error["instanceRef"].GetString() << std::endl;
157
+ ss << indent << "Schema: " << error["schemaRef"].GetString() << std::endl;
158
+ if (depth > 0)
159
+ ss << indent << "Context: " << context << std::endl;
160
+ ss << std::endl;
161
+
162
+ if (error.HasMember("errors")) {
163
+ depth++;
164
+ const ErrorType& childErrors = error["errors"];
165
+
166
+ if (childErrors.IsArray()) {
167
+ for (const auto& item : childErrors.GetArray()) {
168
+ CreateHumanErrorMessages(ss, item, depth, errorName);
169
+ }
170
+ }
171
+ else if (childErrors.IsObject()) {
172
+ for (const auto& member : childErrors.GetObject()) {
173
+ CreateHumanErrorMessages(ss, member.value, depth, errorName);
174
+ }
175
+ }
176
+ }
177
+ }
178
+ };
179
+
180
+ for (const auto& member : errors.GetObject()) {
181
+ const char* errorName = member.name.GetString();
182
+ const ErrorType& errorContent = member.value;
183
+
184
+ if (errorContent.IsArray()) {
185
+ for (const auto& item : errorContent.GetArray()) {
186
+ handle_error(errorName, item, depth, context);
187
+ }
188
+ }
189
+ else if (errorContent.IsObject()) {
190
+ handle_error(errorName, errorContent, depth, context);
191
+ }
192
+ }
193
+ }
194
+
195
+ VALUE perform_validation(VALUE self, VALUE schema_arg, VALUE document_arg, VALUE continue_on_error, VALUE machine_errors, VALUE human_errors) {
196
+ if (continue_on_error == Qnil)
197
+ continue_on_error = Qfalse;
198
+ if (machine_errors == Qnil)
199
+ machine_errors = Qtrue;
200
+ if (human_errors == Qnil)
201
+ human_errors = Qfalse;
202
+
97
203
  try {
98
204
  SchemaManager* schema_manager;
99
205
  Data_Get_Struct(self, SchemaManager, schema_manager);
206
+
100
207
  auto document = parse_document(document_arg);
101
- auto validate = [with_errors, &document](const rapidjson::SchemaDocument& schema) -> VALUE {
208
+ auto validate = [&continue_on_error, &machine_errors, &human_errors, &document](const rapidjson::SchemaDocument& schema) -> VALUE {
102
209
  rapidjson::SchemaValidator validator(schema);
103
- if (document.Accept(validator)) {
104
- return with_errors ? rb_ary_new() : Qtrue;
105
- }
106
- else {
107
- if (!with_errors)
108
- return Qfalse;
210
+
211
+ if (continue_on_error == Qtrue)
212
+ validator.SetValidateFlags(rapidjson::RAPIDJSON_VALIDATE_DEFAULT_FLAGS | rapidjson::kValidateContinueOnErrorFlag);
213
+
214
+ document.Accept(validator);
215
+
216
+ if (machine_errors == Qfalse && human_errors == Qfalse)
217
+ return validator.IsValid() ? Qtrue : Qfalse;
218
+
219
+ VALUE result = rb_hash_new();
220
+
221
+ if (machine_errors == Qtrue) {
109
222
  rapidjson::StringBuffer buffer;
110
- rapidjson::PrettyWriter<rapidjson::StringBuffer> writer(buffer);
223
+ rapidjson::Writer<rapidjson::StringBuffer> writer(buffer);
111
224
  validator.GetError().Accept(writer);
112
- VALUE errors = rb_funcall(rb_const_get(rb_cObject, rb_intern("JSON")), rb_intern("parse"), 1, rb_str_new_cstr(buffer.GetString()));
113
- return RB_TYPE_P(errors, T_HASH) ? rb_ary_new4(1, &errors) : errors;
225
+ rb_hash_aset(
226
+ result,
227
+ ID2SYM(rb_intern("machine_errors")),
228
+ rb_funcall(rb_const_get(rb_cObject, rb_intern("JSON")), rb_intern("parse"), 1, rb_str_new_cstr(buffer.GetString()))
229
+ );
230
+ }
231
+
232
+ if (human_errors == Qtrue) {
233
+ std::ostringstream ss;
234
+ CreateHumanErrorMessages(ss, validator.GetError());
235
+ rb_hash_aset(
236
+ result,
237
+ ID2SYM(rb_intern("human_errors")),
238
+ rb_str_new_cstr(ss.str().c_str())
239
+ );
114
240
  }
241
+
242
+ return result;
115
243
  };
116
244
 
117
245
  if (SYMBOL_P(schema_arg)) {
@@ -135,12 +263,28 @@ VALUE perform_validation(VALUE self, VALUE schema_arg, VALUE document_arg, bool
135
263
  }
136
264
  }
137
265
 
138
- extern "C" VALUE validator_validate(VALUE self, VALUE schema_arg, VALUE document_arg) {
139
- return perform_validation(self, schema_arg, document_arg, true);
266
+ extern "C" VALUE validator_validate(int argc, VALUE* argv, VALUE self) {
267
+ VALUE schema_arg, document_arg, opts;
268
+
269
+ rb_scan_args(argc, argv, "2:", &schema_arg, &document_arg, &opts);
270
+
271
+ if (NIL_P(opts))
272
+ opts = rb_hash_new();
273
+
274
+ VALUE result = perform_validation(
275
+ self,
276
+ schema_arg,
277
+ document_arg,
278
+ rb_hash_aref(opts, ID2SYM(rb_intern("continue_on_error"))),
279
+ rb_hash_aref(opts, ID2SYM(rb_intern("machine_errors"))),
280
+ rb_hash_aref(opts, ID2SYM(rb_intern("human_errors")))
281
+ );
282
+
283
+ return (result == Qtrue || result == Qfalse) ? rb_hash_new() : result;
140
284
  }
141
285
 
142
286
  extern "C" VALUE validator_valid(VALUE self, VALUE schema_arg, VALUE document_arg) {
143
- return perform_validation(self, schema_arg, document_arg, false);
287
+ return perform_validation(self, schema_arg, document_arg, Qfalse, Qfalse, Qfalse);
144
288
  }
145
289
 
146
290
  extern "C" void validator_free(SchemaManager* schema_manager) {
@@ -191,6 +335,6 @@ extern "C" void Init_rj_schema(void) {
191
335
 
192
336
  rb_define_alloc_func(cValidator, validator_alloc);
193
337
  rb_define_method(cValidator, "initialize", reinterpret_cast<VALUE(*)(...)>(validator_initialize), -1);
194
- rb_define_method(cValidator, "validate", reinterpret_cast<VALUE(*)(...)>(validator_validate), 2);
338
+ rb_define_method(cValidator, "validate", reinterpret_cast<VALUE(*)(...)>(validator_validate), -1);
195
339
  rb_define_method(cValidator, "valid?", reinterpret_cast<VALUE(*)(...)>(validator_valid), 2);
196
340
  }
data/lib/rj_schema.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'json'
2
2
 
3
3
  class RjSchema
4
- VERSION = '0.2.0'
4
+ VERSION = '1.0.0'
5
5
  end
6
6
 
7
7
  require 'rj_schema/rj_schema'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rj_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Semmler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2021-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
- type: :runtime
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -111,6 +111,7 @@ files:
111
111
  - ext/rj_schema/rapidjson/RapidJSONConfig.cmake.in
112
112
  - ext/rj_schema/rapidjson/RapidJSONConfigVersion.cmake.in
113
113
  - ext/rj_schema/rapidjson/appveyor.yml
114
+ - ext/rj_schema/rapidjson/bin/data/abcde.txt
114
115
  - ext/rj_schema/rapidjson/bin/data/glossary.json
115
116
  - ext/rj_schema/rapidjson/bin/data/menu.json
116
117
  - ext/rj_schema/rapidjson/bin/data/readme.txt
@@ -238,6 +239,10 @@ files:
238
239
  - ext/rj_schema/rapidjson/bin/types/nulls.json
239
240
  - ext/rj_schema/rapidjson/bin/types/paragraphs.json
240
241
  - ext/rj_schema/rapidjson/bin/types/readme.txt
242
+ - ext/rj_schema/rapidjson/bin/unittestschema/address.json
243
+ - ext/rj_schema/rapidjson/bin/unittestschema/allOf_address.json
244
+ - ext/rj_schema/rapidjson/bin/unittestschema/anyOf_address.json
245
+ - ext/rj_schema/rapidjson/bin/unittestschema/oneOf_address.json
241
246
  - ext/rj_schema/rapidjson/contrib/natvis/LICENSE
242
247
  - ext/rj_schema/rapidjson/contrib/natvis/README.md
243
248
  - ext/rj_schema/rapidjson/contrib/natvis/rapidjson.natvis
@@ -315,6 +320,7 @@ files:
315
320
  - ext/rj_schema/rapidjson/example/simplepullreader/simplepullreader.cpp
316
321
  - ext/rj_schema/rapidjson/example/simplereader/simplereader.cpp
317
322
  - ext/rj_schema/rapidjson/example/simplewriter/simplewriter.cpp
323
+ - ext/rj_schema/rapidjson/example/sortkeys/sortkeys.cpp
318
324
  - ext/rj_schema/rapidjson/example/tutorial/tutorial.cpp
319
325
  - ext/rj_schema/rapidjson/include/rapidjson/allocators.h
320
326
  - ext/rj_schema/rapidjson/include/rapidjson/cursorstreamwrapper.h
@@ -327,6 +333,7 @@ files:
327
333
  - ext/rj_schema/rapidjson/include/rapidjson/filewritestream.h
328
334
  - ext/rj_schema/rapidjson/include/rapidjson/fwd.h
329
335
  - ext/rj_schema/rapidjson/include/rapidjson/internal/biginteger.h
336
+ - ext/rj_schema/rapidjson/include/rapidjson/internal/clzll.h
330
337
  - ext/rj_schema/rapidjson/include/rapidjson/internal/diyfp.h
331
338
  - ext/rj_schema/rapidjson/include/rapidjson/internal/dtoa.h
332
339
  - ext/rj_schema/rapidjson/include/rapidjson/internal/ieee754.h
@@ -370,6 +377,7 @@ files:
370
377
  - ext/rj_schema/rapidjson/test/unittest/CMakeLists.txt
371
378
  - ext/rj_schema/rapidjson/test/unittest/allocatorstest.cpp
372
379
  - ext/rj_schema/rapidjson/test/unittest/bigintegertest.cpp
380
+ - ext/rj_schema/rapidjson/test/unittest/clzlltest.cpp
373
381
  - ext/rj_schema/rapidjson/test/unittest/cursorstreamwrappertest.cpp
374
382
  - ext/rj_schema/rapidjson/test/unittest/documenttest.cpp
375
383
  - ext/rj_schema/rapidjson/test/unittest/dtoatest.cpp
@@ -396,38 +404,40 @@ files:
396
404
  - ext/rj_schema/rapidjson/test/unittest/valuetest.cpp
397
405
  - ext/rj_schema/rapidjson/test/unittest/writertest.cpp
398
406
  - ext/rj_schema/rapidjson/test/valgrind.supp
407
+ - ext/rj_schema/rapidjson/thirdparty/gtest/BUILD.bazel
399
408
  - ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt
409
+ - ext/rj_schema/rapidjson/thirdparty/gtest/CONTRIBUTING.md
410
+ - ext/rj_schema/rapidjson/thirdparty/gtest/LICENSE
411
+ - ext/rj_schema/rapidjson/thirdparty/gtest/Makefile.am
400
412
  - ext/rj_schema/rapidjson/thirdparty/gtest/README.md
413
+ - ext/rj_schema/rapidjson/thirdparty/gtest/WORKSPACE
414
+ - ext/rj_schema/rapidjson/thirdparty/gtest/appveyor.yml
415
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-autotools.sh
416
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/build-linux-bazel.sh
417
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-linux.sh
418
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/env-osx.sh
419
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/get-nprocessors.sh
420
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-linux.sh
421
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/install-osx.sh
422
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/log-config.sh
423
+ - ext/rj_schema/rapidjson/thirdparty/gtest/ci/travis.sh
424
+ - ext/rj_schema/rapidjson/thirdparty/gtest/configure.ac
401
425
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES
402
426
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt
403
427
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS
404
428
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE
405
429
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am
406
430
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md
431
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock.pc.in
432
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/cmake/gmock_main.pc.in
407
433
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac
408
434
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md
409
435
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md
410
436
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md
411
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md
412
437
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md
413
438
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md
414
439
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md
415
440
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md
416
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md
417
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md
418
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md
419
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md
420
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md
421
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md
422
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md
423
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md
424
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md
425
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md
426
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md
427
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md
428
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md
429
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md
430
- - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md
431
441
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h
432
442
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h
433
443
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h
@@ -490,6 +500,7 @@ files:
490
500
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc
491
501
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc
492
502
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc
503
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/BUILD.bazel
493
504
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc
494
505
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc
495
506
  - ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc
@@ -521,6 +532,8 @@ files:
521
532
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE
522
533
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am
523
534
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md
535
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest.pc.in
536
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/gtest_main.pc.in
524
537
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake
525
538
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj
526
539
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj
@@ -529,34 +542,13 @@ files:
529
542
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj
530
543
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj
531
544
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac
532
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/AdvancedGuide.md
533
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md
534
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md
535
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/FAQ.md
536
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Primer.md
545
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Pkgconfig.md
537
546
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md
538
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Samples.md
539
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md
540
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md
541
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md
542
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md
543
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md
544
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md
545
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md
546
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md
547
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md
548
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md
549
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md
550
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md
551
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md
552
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md
553
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md
554
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md
555
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md
556
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md
557
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md
558
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md
559
547
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md
548
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/advanced.md
549
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/faq.md
550
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/primer.md
551
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/samples.md
560
552
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h
561
553
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h
562
554
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h
@@ -588,16 +580,24 @@ files:
588
580
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4
589
581
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4
590
582
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/make/Makefile
591
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln
592
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj
593
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln
594
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj
595
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj
596
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj
597
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj
598
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj
599
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj
600
- - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj
583
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.sln
584
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj
585
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest-md.vcxproj.filters
586
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.sln
587
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj
588
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest.vcxproj.filters
589
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj
590
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main-md.vcxproj.filters
591
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj
592
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_main.vcxproj.filters
593
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj
594
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test-md.vcxproj.filters
595
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj
596
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_prod_test.vcxproj.filters
597
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj
598
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest-md.vcxproj.filters
599
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj
600
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/2010/gtest_unittest.vcxproj.filters
601
601
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h
602
602
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc
603
603
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h
@@ -635,6 +635,7 @@ files:
635
635
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc
636
636
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc
637
637
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc
638
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/BUILD.bazel
638
639
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc
639
640
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc
640
641
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc
@@ -654,6 +655,7 @@ files:
654
655
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h
655
656
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc
656
657
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc
658
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_assert_by_exception_test.cc
657
659
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py
658
660
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc
659
661
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py
@@ -667,6 +669,9 @@ files:
667
669
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc
668
670
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py
669
671
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc
672
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_outfiles_test.py
673
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_output_unittest.py
674
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_json_test_utils.py
670
675
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py
671
676
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc
672
677
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc
@@ -683,6 +688,8 @@ files:
683
688
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc
684
689
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc
685
690
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py
691
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test.py
692
+ - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_testbridge_test_.cc
686
693
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc
687
694
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py
688
695
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc
@@ -713,7 +720,6 @@ files:
713
720
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh
714
721
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py
715
722
  - ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj
716
- - ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh
717
723
  - ext/rj_schema/rapidjson/travis-doxygen.sh
718
724
  - ext/rj_schema/rj_schema.cpp
719
725
  - lib/rj_schema.rb
@@ -736,8 +742,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
736
742
  - !ruby/object:Gem::Version
737
743
  version: '0'
738
744
  requirements: []
739
- rubyforge_project:
740
- rubygems_version: 2.7.7
745
+ rubygems_version: 3.2.3
741
746
  signing_key:
742
747
  specification_version: 4
743
748
  summary: JSON schema validation with RapidJSON