rj_schema 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +4 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt +16 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/README.md +141 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +202 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am +224 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md +333 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac +146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md +562 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md +3675 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md +132 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/KnownIssues.md +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CheatSheet.md +525 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/CookBook.md +3250 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/Documentation.md +11 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_5/FrequentlyAskedQuestions.md +624 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CheatSheet.md +534 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/CookBook.md +3342 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_6/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CheatSheet.md +556 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/CookBook.md +3432 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/ForDummies.md +439 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/v1_7/FrequentlyAskedQuestions.md +628 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h +1205 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h +2377 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump +794 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h +1095 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump +291 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h +2179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump +672 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h +397 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump +161 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h +4399 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h +246 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h +58 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h +1847 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h +94 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump +10 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h +39 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +279 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump +136 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h +511 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h +91 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/make/Makefile +101 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj +191 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops +15 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj +187 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj +201 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj +101 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj +84 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props +19 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj +90 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj +103 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py +240 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE +203 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README +35 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean +115 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py +0 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py +1733 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py +227 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py +448 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py +287 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py +31 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in +303 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py +640 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc +156 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc +174 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc +498 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc +823 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc +183 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc +1411 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc +428 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc +1228 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc +622 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc +1286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc +699 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc +5648 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc +708 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc +424 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc +2644 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc +51 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc +81 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py +108 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h +669 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py +180 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc +291 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt +310 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc +322 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc +220 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py +112 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CHANGES +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS +37 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am +310 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md +280 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake +242 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj +138 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj +54 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc +40 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/configure.ac +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/AdvancedGuide.md +2182 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/DevGuide.md +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/FAQ.md +1087 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Primer.md +502 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_AdvancedGuide.md +2096 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Documentation.md +12 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_FAQ.md +886 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_Primer.md +497 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_5_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_AdvancedGuide.md +2178 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_FAQ.md +1038 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Primer.md +501 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_6_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_AdvancedGuide.md +2181 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Documentation.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_FAQ.md +1082 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Primer.md +501 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_PumpManual.md +177 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_Samples.md +14 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/V1_7_XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h +294 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h +250 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h +1444 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump +510 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h +993 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h +232 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h +179 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h +263 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h +2236 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h +358 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h +58 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h +69 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h +319 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h +206 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h +1238 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h +243 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h +5146 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump +286 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h +731 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h +2554 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h +167 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h +1020 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump +347 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h +3331 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump +297 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4 +363 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4 +74 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/make/Makefile +82 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.sln +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest-md.vcproj +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.sln +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest.vcproj +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main-md.vcproj +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_main.vcproj +129 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test-md.vcproj +164 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_prod_test.vcproj +164 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest-md.vcproj +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/msvc/gtest_unittest.vcproj +147 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h +123 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc +144 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc +153 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.h +85 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc +109 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc +151 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.h +53 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc +199 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc +224 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc +130 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc +173 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc +160 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/common.py +83 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py +253 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py +730 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in +274 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/pump.py +855 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py +158 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py +1387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py +78 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc +48 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc +1342 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc +387 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h +1183 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc +1259 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc +373 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc +110 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc +118 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc +5388 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc +38 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc +93 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc +1427 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc +662 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc +154 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc +159 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc +215 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc +1055 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc +1304 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc +1635 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc +208 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc +320 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc +380 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h +66 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc +341 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc +47 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py +212 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc +88 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py +237 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc +311 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py +130 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc +71 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py +117 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc +126 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc +192 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py +636 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc +140 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py +172 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc +46 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py +207 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc +157 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc +45 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc +56 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py +340 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc +1062 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt +743 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc +2427 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc +127 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc +253 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py +325 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc +103 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc +57 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc +256 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py +320 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc +92 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py +171 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc +72 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py +70 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc +43 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc +7706 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc +49 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py +132 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py +308 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc +181 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py +194 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc +36 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h +55 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig +17 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig +41 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig +32 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig +18 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig +8 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist +30 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist +28 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj +457 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh +62 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc +63 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h +59 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc +68 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh +65 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py +100 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj +1135 -0
- data/ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh +15 -0
- data/ext/rj_schema/rj_schema.cpp +64 -41
- data/lib/rj_schema.rb +1 -1
- metadata +378 -5
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env sh
|
2
|
+
set -evx
|
3
|
+
env | sort
|
4
|
+
|
5
|
+
mkdir build || true
|
6
|
+
mkdir build/$GTEST_TARGET || true
|
7
|
+
cd build/$GTEST_TARGET
|
8
|
+
cmake -Dgtest_build_samples=ON \
|
9
|
+
-Dgmock_build_samples=ON \
|
10
|
+
-Dgtest_build_tests=ON \
|
11
|
+
-Dgmock_build_tests=ON \
|
12
|
+
-DCMAKE_CXX_FLAGS=$CXX_FLAGS \
|
13
|
+
../../$GTEST_TARGET
|
14
|
+
make
|
15
|
+
make test
|
data/ext/rj_schema/rj_schema.cpp
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#include <
|
1
|
+
#include <unordered_map>
|
2
2
|
#include <ruby.h>
|
3
3
|
|
4
4
|
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
|
@@ -8,7 +8,7 @@
|
|
8
8
|
#include <rapidjson/filereadstream.h>
|
9
9
|
#include <rapidjson/prettywriter.h>
|
10
10
|
|
11
|
-
typedef std::
|
11
|
+
typedef std::unordered_map<std::string, rapidjson::SchemaDocument> RemoteSchemaCollection;
|
12
12
|
|
13
13
|
class RemoteSchemaDocumentProvider : public rapidjson::IRemoteSchemaDocumentProvider {
|
14
14
|
RemoteSchemaCollection* schema_collection;
|
@@ -16,72 +16,91 @@ class RemoteSchemaDocumentProvider : public rapidjson::IRemoteSchemaDocumentProv
|
|
16
16
|
public:
|
17
17
|
RemoteSchemaDocumentProvider(RemoteSchemaCollection* schema_collection) : schema_collection(schema_collection) { }
|
18
18
|
virtual const rapidjson::SchemaDocument* GetRemoteDocument(const char* uri, rapidjson::SizeType length) {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
auto it = schema_collection->find(std::string(uri, length));
|
20
|
+
if (it == schema_collection->end())
|
21
|
+
throw std::invalid_argument(std::string("$ref remote schema not provided: ") + uri);
|
22
|
+
return &it->second;
|
23
23
|
}
|
24
24
|
};
|
25
25
|
|
26
26
|
struct RemoteSchemaManager {
|
27
27
|
RemoteSchemaCollection collection;
|
28
28
|
RemoteSchemaDocumentProvider provider;
|
29
|
-
|
30
29
|
RemoteSchemaManager() : provider(&collection) { }
|
31
30
|
};
|
32
31
|
|
33
32
|
rapidjson::Document parse_document(VALUE arg) {
|
34
|
-
const char* json_document;
|
35
|
-
|
36
33
|
if (RB_TYPE_P(arg, T_FILE)) {
|
37
|
-
VALUE
|
38
|
-
|
34
|
+
VALUE str = rb_funcall(arg, rb_intern("read"), 0);
|
35
|
+
rb_funcall(arg, rb_intern("rewind"), 0);
|
36
|
+
arg = str;
|
39
37
|
}
|
40
38
|
else if (RB_TYPE_P(arg, T_HASH)) {
|
41
|
-
|
42
|
-
json_document = StringValueCStr(content);
|
43
|
-
}
|
44
|
-
else {
|
45
|
-
json_document = StringValueCStr(arg);
|
39
|
+
arg = rb_funcall(arg, rb_intern("to_json"), 0);
|
46
40
|
}
|
47
41
|
|
42
|
+
const char* json_document = StringValuePtr(arg);
|
43
|
+
auto length = RSTRING_LEN(arg);
|
44
|
+
|
48
45
|
rapidjson::Document document;
|
49
46
|
|
50
|
-
if (document.Parse(json_document).HasParseError())
|
47
|
+
if (document.Parse(json_document, length).HasParseError())
|
51
48
|
throw std::invalid_argument("document is not valid JSON");
|
52
49
|
|
53
50
|
return document;
|
54
51
|
}
|
55
52
|
|
56
|
-
|
53
|
+
VALUE perform_validation(VALUE self, VALUE schema_arg, VALUE document_arg, bool with_errors) {
|
57
54
|
try {
|
58
55
|
RemoteSchemaManager* schema_manager;
|
59
56
|
Data_Get_Struct(self, RemoteSchemaManager, schema_manager);
|
60
|
-
|
61
57
|
auto document = parse_document(document_arg);
|
62
|
-
auto
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
58
|
+
auto validate = [with_errors, &document](const rapidjson::SchemaDocument& schema) -> VALUE {
|
59
|
+
rapidjson::SchemaValidator validator(schema);
|
60
|
+
if (document.Accept(validator)) {
|
61
|
+
return with_errors ? rb_ary_new() : Qtrue;
|
62
|
+
}
|
63
|
+
else {
|
64
|
+
if (!with_errors)
|
65
|
+
return Qfalse;
|
66
|
+
rapidjson::StringBuffer buffer;
|
67
|
+
rapidjson::PrettyWriter<rapidjson::StringBuffer> writer(buffer);
|
68
|
+
validator.GetError().Accept(writer);
|
69
|
+
VALUE errors = rb_funcall(rb_const_get(rb_cObject, rb_intern("JSON")), rb_intern("parse"), 1, rb_str_new_cstr(buffer.GetString()));
|
70
|
+
return RB_TYPE_P(errors, T_HASH) ? rb_ary_new4(1, &errors) : errors;
|
71
|
+
}
|
72
|
+
};
|
73
|
+
|
74
|
+
if (SYMBOL_P(schema_arg)) {
|
75
|
+
schema_arg = rb_funcall(schema_arg, rb_intern("to_s"), 0);
|
76
|
+
auto it = schema_manager->collection.find(
|
77
|
+
std::string(StringValuePtr(schema_arg), RSTRING_LEN(schema_arg))
|
78
|
+
);
|
79
|
+
if (it == schema_manager->collection.end())
|
80
|
+
rb_raise(rb_eArgError, "schema not found");
|
81
|
+
return validate(it->second);
|
82
|
+
}
|
83
|
+
else {
|
84
|
+
auto schema = rapidjson::SchemaDocument(
|
85
|
+
parse_document(schema_arg),
|
86
|
+
0,
|
87
|
+
0,
|
88
|
+
&schema_manager->provider
|
89
|
+
);
|
90
|
+
return validate(schema);
|
78
91
|
}
|
79
92
|
}
|
80
93
|
catch (const std::invalid_argument& e) {
|
81
94
|
rb_raise(rb_eArgError, e.what());
|
82
95
|
}
|
96
|
+
}
|
97
|
+
|
98
|
+
extern "C" VALUE validator_validate(VALUE self, VALUE schema_arg, VALUE document_arg) {
|
99
|
+
return perform_validation(self, schema_arg, document_arg, true);
|
100
|
+
}
|
83
101
|
|
84
|
-
|
102
|
+
extern "C" VALUE validator_valid(VALUE self, VALUE schema_arg, VALUE document_arg) {
|
103
|
+
return perform_validation(self, schema_arg, document_arg, false);
|
85
104
|
}
|
86
105
|
|
87
106
|
extern "C" void validator_free(RemoteSchemaManager* schema_manager) {
|
@@ -97,11 +116,14 @@ extern "C" int validator_initialize_load_schema(VALUE key, VALUE value, VALUE in
|
|
97
116
|
auto* schema_manager = reinterpret_cast<RemoteSchemaManager*>(input);
|
98
117
|
|
99
118
|
try {
|
100
|
-
schema_manager->collection.
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
119
|
+
schema_manager->collection.emplace(
|
120
|
+
std::string(StringValuePtr(key), RSTRING_LEN(key)),
|
121
|
+
rapidjson::SchemaDocument(
|
122
|
+
parse_document(value),
|
123
|
+
StringValuePtr(key),
|
124
|
+
RSTRING_LEN(key),
|
125
|
+
&schema_manager->provider
|
126
|
+
)
|
105
127
|
);
|
106
128
|
}
|
107
129
|
catch (const std::invalid_argument& e) {
|
@@ -133,4 +155,5 @@ extern "C" void Init_rj_schema(void) {
|
|
133
155
|
rb_define_alloc_func(cValidator, validator_alloc);
|
134
156
|
rb_define_method(cValidator, "initialize", reinterpret_cast<VALUE(*)(...)>(validator_initialize), -1);
|
135
157
|
rb_define_method(cValidator, "validate", reinterpret_cast<VALUE(*)(...)>(validator_validate), 2);
|
158
|
+
rb_define_method(cValidator, "valid?", reinterpret_cast<VALUE(*)(...)>(validator_valid), 2);
|
136
159
|
}
|
data/lib/rj_schema.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rj_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Christian
|
8
|
-
- Semmler
|
7
|
+
- Christian Semmler
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake-compiler
|
@@ -39,6 +38,62 @@ dependencies:
|
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json-schema
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.8'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.8'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: json_schema
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.17'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.17'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: json_schemer
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: benchmark-ips
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.7'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.7'
|
42
97
|
description: gem using RapidJSON as a backend to provide fast validation for JSON
|
43
98
|
schemas
|
44
99
|
email: mail@csemmler.com
|
@@ -341,6 +396,324 @@ files:
|
|
341
396
|
- ext/rj_schema/rapidjson/test/unittest/valuetest.cpp
|
342
397
|
- ext/rj_schema/rapidjson/test/unittest/writertest.cpp
|
343
398
|
- ext/rj_schema/rapidjson/test/valgrind.supp
|
399
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/CMakeLists.txt
|
400
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/README.md
|
401
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CHANGES
|
402
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt
|
403
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/CONTRIBUTORS
|
404
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/LICENSE
|
405
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/Makefile.am
|
406
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/README.md
|
407
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/configure.ac
|
408
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CheatSheet.md
|
409
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/CookBook.md
|
410
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DesignDoc.md
|
411
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/DevGuide.md
|
412
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/Documentation.md
|
413
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/ForDummies.md
|
414
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/docs/FrequentlyAskedQuestions.md
|
415
|
+
- 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
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h
|
432
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-cardinalities.h
|
433
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h
|
434
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-actions.h.pump
|
435
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h
|
436
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-function-mockers.h.pump
|
437
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h
|
438
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-matchers.h.pump
|
439
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h
|
440
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-generated-nice-strict.h.pump
|
441
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h
|
442
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-actions.h
|
443
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-more-matchers.h
|
444
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h
|
445
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock.h
|
446
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
|
447
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump
|
448
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-matchers.h
|
449
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/custom/gmock-port.h
|
450
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
|
451
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump
|
452
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h
|
453
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-port.h
|
454
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/make/Makefile
|
455
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.sln
|
456
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock.vcproj
|
457
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_config.vsprops
|
458
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_main.vcproj
|
459
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2005/gmock_test.vcproj
|
460
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.sln
|
461
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock.vcxproj
|
462
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_config.props
|
463
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_main.vcxproj
|
464
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2010/gmock_test.vcxproj
|
465
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.sln
|
466
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock.vcxproj
|
467
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_config.props
|
468
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_main.vcxproj
|
469
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/msvc/2015/gmock_test.vcxproj
|
470
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/fuse_gmock_files.py
|
471
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/LICENSE
|
472
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README
|
473
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/README.cppclean
|
474
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/__init__.py
|
475
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/ast.py
|
476
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class.py
|
477
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/gmock_class_test.py
|
478
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/keywords.py
|
479
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/tokenize.py
|
480
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/cpp/utils.py
|
481
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/generator/gmock_gen.py
|
482
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock-config.in
|
483
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/gmock_doctor.py
|
484
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload.py
|
485
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/scripts/upload_gmock.py
|
486
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-all.cc
|
487
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-cardinalities.cc
|
488
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-internal-utils.cc
|
489
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-matchers.cc
|
490
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock-spec-builders.cc
|
491
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock.cc
|
492
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/src/gmock_main.cc
|
493
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-actions_test.cc
|
494
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-cardinalities_test.cc
|
495
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-actions_test.cc
|
496
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-function-mockers_test.cc
|
497
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-internal-utils_test.cc
|
498
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-generated-matchers_test.cc
|
499
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-internal-utils_test.cc
|
500
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-matchers_test.cc
|
501
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-more-actions_test.cc
|
502
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-nice-strict_test.cc
|
503
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-port_test.cc
|
504
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock-spec-builders_test.cc
|
505
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_all_test.cc
|
506
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_ex_test.cc
|
507
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test.py
|
508
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_leak_test_.cc
|
509
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link2_test.cc
|
510
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.cc
|
511
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_link_test.h
|
512
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test.py
|
513
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_.cc
|
514
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_output_test_golden.txt
|
515
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_stress_test.cc
|
516
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test.cc
|
517
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googlemock/test/gmock_test_utils.py
|
518
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CHANGES
|
519
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt
|
520
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/CONTRIBUTORS
|
521
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/LICENSE
|
522
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/Makefile.am
|
523
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/README.md
|
524
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/cmake/internal_utils.cmake
|
525
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.cbproj
|
526
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest.groupproj
|
527
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_all.cc
|
528
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_link.cc
|
529
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_main.cbproj
|
530
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/codegear/gtest_unittest.cbproj
|
531
|
+
- 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
|
537
|
+
- 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
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/docs/XcodeGuide.md
|
560
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-death-test.h
|
561
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-message.h
|
562
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h
|
563
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-param-test.h.pump
|
564
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-printers.h
|
565
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-spi.h
|
566
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-test-part.h
|
567
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest-typed-test.h
|
568
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest.h
|
569
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_pred_impl.h
|
570
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/gtest_prod.h
|
571
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-port.h
|
572
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest-printers.h
|
573
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/custom/gtest.h
|
574
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-death-test-internal.h
|
575
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-filepath.h
|
576
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-internal.h
|
577
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h
|
578
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h
|
579
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util-generated.h.pump
|
580
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-param-util.h
|
581
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port-arch.h
|
582
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-port.h
|
583
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-string.h
|
584
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h
|
585
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-tuple.h.pump
|
586
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h
|
587
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/include/gtest/internal/gtest-type-util.h.pump
|
588
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/acx_pthread.m4
|
589
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/m4/gtest.m4
|
590
|
+
- 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
|
601
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/prime_tables.h
|
602
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.cc
|
603
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1.h
|
604
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample10_unittest.cc
|
605
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample1_unittest.cc
|
606
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.cc
|
607
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2.h
|
608
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample2_unittest.cc
|
609
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3-inl.h
|
610
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample3_unittest.cc
|
611
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.cc
|
612
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4.h
|
613
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample4_unittest.cc
|
614
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample5_unittest.cc
|
615
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample6_unittest.cc
|
616
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample7_unittest.cc
|
617
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample8_unittest.cc
|
618
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/samples/sample9_unittest.cc
|
619
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/common.py
|
620
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/fuse_gtest_files.py
|
621
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gen_gtest_pred_impl.py
|
622
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/gtest-config.in
|
623
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/pump.py
|
624
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/release_docs.py
|
625
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/test/Makefile
|
626
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload.py
|
627
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/scripts/upload_gtest.py
|
628
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-all.cc
|
629
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-death-test.cc
|
630
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-filepath.cc
|
631
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-internal-inl.h
|
632
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-port.cc
|
633
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-printers.cc
|
634
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-test-part.cc
|
635
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest-typed-test.cc
|
636
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest.cc
|
637
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/src/gtest_main.cc
|
638
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_ex_test.cc
|
639
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-death-test_test.cc
|
640
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-filepath_test.cc
|
641
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-linked_ptr_test.cc
|
642
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-listener_test.cc
|
643
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-message_test.cc
|
644
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-options_test.cc
|
645
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test2_test.cc
|
646
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.cc
|
647
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-param-test_test.h
|
648
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-port_test.cc
|
649
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-printers_test.cc
|
650
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-test-part_test.cc
|
651
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-tuple_test.cc
|
652
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test2_test.cc
|
653
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.cc
|
654
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-typed-test_test.h
|
655
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest-unittest-api_test.cc
|
656
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_all_test.cc
|
657
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest.py
|
658
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_break_on_failure_unittest_.cc
|
659
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test.py
|
660
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_catch_exceptions_test_.cc
|
661
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test.py
|
662
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_color_test_.cc
|
663
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test.py
|
664
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_env_var_test_.cc
|
665
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_environment_test.cc
|
666
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest.py
|
667
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_filter_unittest_.cc
|
668
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test.py
|
669
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_help_test_.cc
|
670
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest.py
|
671
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_list_tests_unittest_.cc
|
672
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_main_unittest.cc
|
673
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_no_test_unittest.cc
|
674
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test.py
|
675
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_.cc
|
676
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_output_test_golden_lin.txt
|
677
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_pred_impl_unittest.cc
|
678
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_premature_exit_test.cc
|
679
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_prod_test.cc
|
680
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_repeat_test.cc
|
681
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test.py
|
682
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_shuffle_test_.cc
|
683
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_sole_header_test.cc
|
684
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_stress_test.cc
|
685
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_test_utils.py
|
686
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_ex_test.cc
|
687
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test.py
|
688
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_throw_on_failure_test_.cc
|
689
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test.py
|
690
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_uninitialized_test_.cc
|
691
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_unittest.cc
|
692
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile1_test_.cc
|
693
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfile2_test_.cc
|
694
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_outfiles_test.py
|
695
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest.py
|
696
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_output_unittest_.cc
|
697
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/gtest_xml_test_utils.py
|
698
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.cc
|
699
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/test/production.h
|
700
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/DebugProject.xcconfig
|
701
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/FrameworkTarget.xcconfig
|
702
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/General.xcconfig
|
703
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/ReleaseProject.xcconfig
|
704
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/StaticLibraryTarget.xcconfig
|
705
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Config/TestTarget.xcconfig
|
706
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Resources/Info.plist
|
707
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/Info.plist
|
708
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj
|
709
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/runtests.sh
|
710
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.cc
|
711
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget.h
|
712
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Samples/FrameworkSample/widget_test.cc
|
713
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/runtests.sh
|
714
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/Scripts/versiongenerate.py
|
715
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/googletest/xcode/gtest.xcodeproj/project.pbxproj
|
716
|
+
- ext/rj_schema/rapidjson/thirdparty/gtest/travis.sh
|
344
717
|
- ext/rj_schema/rapidjson/travis-doxygen.sh
|
345
718
|
- ext/rj_schema/rj_schema.cpp
|
346
719
|
- lib/rj_schema.rb
|
@@ -364,7 +737,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
364
737
|
version: '0'
|
365
738
|
requirements: []
|
366
739
|
rubyforge_project:
|
367
|
-
rubygems_version: 2.
|
740
|
+
rubygems_version: 2.7.6
|
368
741
|
signing_key:
|
369
742
|
specification_version: 4
|
370
743
|
summary: JSON schema validation with RapidJSON
|