graphql-idl-parser 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -1
  3. data/Rakefile +6 -4
  4. data/ext/graphql-idl-parser/graphql-idl-parser/Cargo.lock +295 -0
  5. data/ext/graphql-idl-parser/graphql-idl-parser/Cargo.toml +16 -0
  6. data/ext/graphql-idl-parser/graphql-idl-parser/LICENSE.txt +21 -0
  7. data/ext/graphql-idl-parser/graphql-idl-parser/README.md +53 -0
  8. data/ext/graphql-idl-parser/graphql-idl-parser/build.rs +5 -0
  9. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/Cargo.lock +305 -0
  10. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/Cargo.toml +18 -0
  11. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/README.md +48 -0
  12. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/example/example.c +33 -0
  13. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/includes/gql-idl-parser.h +138 -0
  14. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/src/lib.rs +128 -0
  15. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/src/types.rs +485 -0
  16. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-1d630313aa5d216c/build-script-build +0 -0
  17. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-1d630313aa5d216c/build_script_build-1d630313aa5d216c +0 -0
  18. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-3e27951e7158def5/build-script-build +0 -0
  19. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-3e27951e7158def5/build_script_build-3e27951e7158def5 +0 -0
  20. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-481c4176d6a6472d/output +0 -0
  21. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-481c4176d6a6472d/stderr +0 -0
  22. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-5e9a4656cd081ee1/output +0 -0
  23. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-5e9a4656cd081ee1/stderr +0 -0
  24. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-2b7eb293aa6c1ae8/output +0 -0
  25. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-2b7eb293aa6c1ae8/stderr +0 -0
  26. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-da175f6bc66f228c/build-script-build +0 -0
  27. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-da175f6bc66f228c/build_script_build-da175f6bc66f228c +0 -0
  28. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-d0f0dc8a044bb86f/build-script-build +0 -0
  29. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-d0f0dc8a044bb86f/build_script_build-d0f0dc8a044bb86f +0 -0
  30. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-db9b482018d6c515/output +0 -0
  31. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-db9b482018d6c515/stderr +0 -0
  32. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libaho_corasick-07ac37ff1c5ebb39.rlib +0 -0
  33. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libascii_canvas-37ba58d788f6e28b.rlib +0 -0
  34. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libatty-3d34ead0eff1f49c.rlib +0 -0
  35. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbit_set-05034a00bed6372c.rlib +0 -0
  36. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbit_vec-ba66b7b721a96204.rlib +0 -0
  37. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbuild-d4f96a70b883038d.rlib +0 -0
  38. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libdiff-9cac472257fa481b.rlib +0 -0
  39. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libdocopt-5b3087b1b6e5d091.rlib +0 -0
  40. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libeither-8157fecd348c1485.rlib +0 -0
  41. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libena-b40ce2cd268672c3.rlib +0 -0
  42. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libfixedbitset-c7f65ed08cebcf3b.rlib +0 -0
  43. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphql_idl_parser-38237266b2814db0.rlib +0 -0
  44. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphql_idl_parser-85dc5bc4abe95968.rlib +0 -0
  45. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphqlidlparser.dylib +0 -0
  46. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libitertools-8d570d6c59d3b2d0.rlib +0 -0
  47. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libkernel32-fa4855bd85e0519b.rlib +0 -0
  48. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop-8888f5942735b084.rlib +0 -0
  49. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_intern-70b4cf4d149e3995.rlib +0 -0
  50. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_snap-695e4827988eac78.rlib +0 -0
  51. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_util-90bdd1a9fd691a70.rlib +0 -0
  52. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblazy_static-a6b1325db7ee41a1.rlib +0 -0
  53. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblibc-0d055c7503ac4180.rlib +0 -0
  54. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libmemchr-7e8d0bb06e3caae0.rlib +0 -0
  55. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libordermap-f92645c599568d9f.rlib +0 -0
  56. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libpetgraph-62c5b51f9db3f0c7.rlib +0 -0
  57. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libregex-5d259a9431f27ed9.rlib +0 -0
  58. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libregex_syntax-e6a16469e776d773.rlib +0 -0
  59. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/librustc_serialize-21d20a12dd90991b.rlib +0 -0
  60. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libstrsim-8e26967d29bdf2e6.rlib +0 -0
  61. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libterm-189de8985c74cf03.rlib +0 -0
  62. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libthread_local-036458f1fbee14fb.rlib +0 -0
  63. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libunicode_xid-8adffabb9e6dd184.rlib +0 -0
  64. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libunreachable-bd47b36c4e87f432.rlib +0 -0
  65. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libutf8_ranges-220e9d44a3644657.rlib +0 -0
  66. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libvoid-d761da60d30362e9.rlib +0 -0
  67. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libwinapi-753252e15931e6fc.rlib +0 -0
  68. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/libgraphqlidlparser.d +1 -0
  69. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/libgraphqlidlparser.dylib +0 -0
  70. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar.c +673 -0
  71. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar.h +161 -0
  72. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/fixtures.h +54 -0
  73. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/fs.h +341 -0
  74. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/print.h +74 -0
  75. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/sandbox.h +154 -0
  76. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar_test.h +19 -0
  77. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/enums.c +40 -0
  78. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/generate.py +243 -0
  79. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/helpers.c +60 -0
  80. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/helpers.h +6 -0
  81. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/input_objects.c +48 -0
  82. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/interfaces.c +41 -0
  83. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/main.c +35 -0
  84. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/objects.c +130 -0
  85. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/scalars.c +39 -0
  86. data/ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/unions.c +38 -0
  87. data/ext/graphql-idl-parser/graphql-idl-parser/script/compile +11 -0
  88. data/ext/graphql-idl-parser/graphql-idl-parser/script/fmt +23 -0
  89. data/ext/graphql-idl-parser/graphql-idl-parser/script/test +30 -0
  90. data/ext/graphql-idl-parser/graphql-idl-parser/src/gqlidl.lalrpop +199 -0
  91. data/ext/graphql-idl-parser/graphql-idl-parser/src/gqlidl.rs +29491 -0
  92. data/ext/graphql-idl-parser/graphql-idl-parser/src/lib.rs +9 -0
  93. data/ext/graphql-idl-parser/graphql-idl-parser/src/macros.rs +61 -0
  94. data/ext/graphql-idl-parser/graphql-idl-parser/src/tests.rs +561 -0
  95. data/ext/graphql-idl-parser/graphql-idl-parser/src/type_definition.rs +404 -0
  96. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0ed64d9cad312f79/output +0 -0
  97. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0ed64d9cad312f79/stderr +0 -0
  98. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build-script-build +0 -0
  99. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a +0 -0
  100. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a.dSYM/Contents/Info.plist +20 -0
  101. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a.dSYM/Contents/Resources/DWARF/build_script_build-0fa24f7f5e35d20a +0 -0
  102. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build-script-build +0 -0
  103. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2 +0 -0
  104. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2.dSYM/Contents/Info.plist +20 -0
  105. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2.dSYM/Contents/Resources/DWARF/build_script_build-57f7e3c3ef8471d2 +0 -0
  106. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-5e9a4656cd081ee1/output +0 -0
  107. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-5e9a4656cd081ee1/stderr +0 -0
  108. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-2b7eb293aa6c1ae8/output +0 -0
  109. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-2b7eb293aa6c1ae8/stderr +0 -0
  110. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build-script-build +0 -0
  111. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163 +0 -0
  112. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163.dSYM/Contents/Info.plist +20 -0
  113. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163.dSYM/Contents/Resources/DWARF/build_script_build-d2306aba19864163 +0 -0
  114. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build-script-build +0 -0
  115. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2 +0 -0
  116. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2.dSYM/Contents/Info.plist +20 -0
  117. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2.dSYM/Contents/Resources/DWARF/build_script_build-4a05302baa5fb2a2 +0 -0
  118. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-db9b482018d6c515/output +0 -0
  119. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-db9b482018d6c515/stderr +0 -0
  120. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libaho_corasick-a9ec1f95080d1f6a.rlib +0 -0
  121. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libascii_canvas-92c3bf0cf98f6d67.rlib +0 -0
  122. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libatty-35b65e46cfc403bc.rlib +0 -0
  123. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbit_set-d9484919f1726cf1.rlib +0 -0
  124. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbit_vec-8716b059e7c4619b.rlib +0 -0
  125. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbuild-0b12b372edd4cd19.rlib +0 -0
  126. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libdiff-c81afd03f1d10610.rlib +0 -0
  127. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libdocopt-f02dfd6fea4878cc.rlib +0 -0
  128. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libeither-20b79fd67623dec7.rlib +0 -0
  129. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libena-e8706d9d37da725b.rlib +0 -0
  130. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libfixedbitset-da616d0027237c90.rlib +0 -0
  131. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libgraphql_idl_parser-33a4c3bdcdc654b7.rlib +0 -0
  132. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libgraphql_idl_parser-d6636cf90a34aa47.rlib +0 -0
  133. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libitertools-34d50068529acf4d.rlib +0 -0
  134. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libkernel32-56b5a11a7716f7c7.rlib +0 -0
  135. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop-65f3c84608c05ce1.rlib +0 -0
  136. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_intern-a3c97188386c0872.rlib +0 -0
  137. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_snap-d6e467def27f0a55.rlib +0 -0
  138. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_util-e59e6b2e2aec1b3e.rlib +0 -0
  139. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblazy_static-4518bdaa60b81936.rlib +0 -0
  140. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblibc-ab7be4fcfaa3a31b.rlib +0 -0
  141. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libmemchr-85dd561868acc188.rlib +0 -0
  142. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libordermap-4691b832eea88398.rlib +0 -0
  143. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libpetgraph-0220c5a13678d70e.rlib +0 -0
  144. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libregex-44e22d9874a5fb64.rlib +0 -0
  145. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libregex_syntax-490c2654111b5bf0.rlib +0 -0
  146. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/librustc_serialize-a7771718d4ee73a5.rlib +0 -0
  147. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libstrsim-038156debd12bd7a.rlib +0 -0
  148. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libterm-d12b955648e4f4b4.rlib +0 -0
  149. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libthread_local-84091b6b04cf1914.rlib +0 -0
  150. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libunicode_xid-89ce822c6e6dbe69.rlib +0 -0
  151. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libunreachable-654322b1fcb434b1.rlib +0 -0
  152. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libutf8_ranges-53f91d3b6e8885c9.rlib +0 -0
  153. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libvoid-181e881e54467554.rlib +0 -0
  154. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libwinapi-9c9d2aba65add76c.rlib +0 -0
  155. data/ext/graphql-idl-parser/graphql-idl-parser/target/debug/libgraphql_idl_parser.rlib +0 -0
  156. data/ext/graphql-idl-parser/graphql-idl-parser/test/enums.graphql +8 -0
  157. data/ext/graphql-idl-parser/graphql-idl-parser/test/github.graphql +5115 -0
  158. data/ext/graphql-idl-parser/graphql-idl-parser/test/input_objects.graphql +11 -0
  159. data/ext/graphql-idl-parser/graphql-idl-parser/test/interfaces.graphql +5 -0
  160. data/ext/graphql-idl-parser/graphql-idl-parser/test/objects.graphql +54 -0
  161. data/ext/graphql-idl-parser/graphql-idl-parser/test/scalars.graphql +4 -0
  162. data/ext/graphql-idl-parser/graphql-idl-parser/test/unions.graphql +2 -0
  163. data/graphql-idl-parser.gemspec +8 -6
  164. data/lib/graphql-idl-parser/version.rb +1 -1
  165. data/test/graphql-idl-parser/enums_test.rb +20 -0
  166. data/test/graphql-idl-parser/graphql-idl-parser_test.rb +48 -0
  167. data/test/graphql-idl-parser/input_objects_test.rb +28 -0
  168. data/test/graphql-idl-parser/interfaces_test.rb +20 -0
  169. data/test/graphql-idl-parser/objects_test.rb +104 -0
  170. data/test/graphql-idl-parser/scalars_test.rb +19 -0
  171. data/test/graphql-idl-parser/unions_test.rb +18 -0
  172. data/test/test_helper.rb +12 -0
  173. metadata +194 -12
  174. data/.gitignore +0 -18
  175. data/.gitmodules +0 -4
  176. data/.rubocop.yml +0 -10
  177. data/.travis.yml +0 -28
  178. data/Gemfile +0 -4
  179. data/script/bootstrap +0 -11
  180. data/script/cibuild +0 -5
  181. data/script/update_submodules +0 -21
@@ -0,0 +1,11 @@
1
+ # Autogenerated input type of UpdateTopics
2
+ input UpdateTopicsInput {
3
+ # A unique identifier for the client performing the mutation.
4
+ clientMutationId: String
5
+
6
+ # The Node ID of the repository.
7
+ repositoryId: ID!
8
+
9
+ # An array of topic names.
10
+ topicNames: [String!]!
11
+ }
@@ -0,0 +1,5 @@
1
+ # An object that can be closed
2
+ interface Closable {
3
+ # `true` if the object is closed (definition of closed may depend on type)
4
+ closed: Boolean!
5
+ }
@@ -0,0 +1,54 @@
1
+ type CodeOfConduct {}
2
+
3
+ # The Code of Conduct for a repository
4
+ type CodeOfConduct {}
5
+
6
+ type PushAllowance implements Node {}
7
+
8
+ type Release implements Node, UniformResourceLocatable {}
9
+
10
+ # The Code of Conduct for a repository
11
+ type CodeOfConduct { body: String }
12
+
13
+ # The Code of Conduct for a repository
14
+ type CodeOfConduct {
15
+ # The body of the CoC
16
+ body: String
17
+ }
18
+
19
+ # The Code of Conduct for a repository
20
+ type CodeOfConduct { key: String! }
21
+
22
+ type CommitCommentConnection { edges: [CommitCommentEdge] }
23
+
24
+ type PullRequest { suggestedReviewers: [SuggestedReviewer]! }
25
+
26
+ type CommitComment { viewerCannotUpdateReasons: [CommentCannotUpdateReason!]! }
27
+
28
+ type User {
29
+ # A list of users the given user is followed by.
30
+ followers(
31
+ # Returns the elements in the list that come after the specified global ID.
32
+ after: String
33
+
34
+ # Returns the first _n_ elements from the list.
35
+ first: Int!
36
+ ): FollowerConnection!
37
+ }
38
+
39
+ type User {
40
+ databaseId: Int @deprecated
41
+ }
42
+
43
+ type Issue {
44
+ databaseId: Int @deprecated(reason: "Exposed database IDs will eventually be removed in favor of global Relay IDs.")
45
+ }
46
+
47
+ # A team of users in an organization.
48
+ type Team implements Node {
49
+ # List of child teams belonging to this team
50
+ childTeams(
51
+ # Whether to list immediate child teams or all descendant child teams.
52
+ immediateOnly: Boolean = true
53
+ ): TeamConnection!
54
+ }
@@ -0,0 +1,4 @@
1
+ scalar DateTime
2
+
3
+ # An ISO-8601 encoded UTC date string.
4
+ scalar DateTime
@@ -0,0 +1,2 @@
1
+ # Any referencable object
2
+ union ReferencedSubject = Issue | PullRequest
@@ -11,14 +11,16 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'A parser for the GraphQL IDL format.'
13
13
  spec.homepage = 'https://www.github.com/gjtorikian/graphql-idl-parser-ruby'
14
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
15
- f.match(%r{^(test|spec|features)/})
16
- end
17
- spec.bindir = 'exe'
18
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
- spec.require_paths = ['lib']
14
+
15
+ spec.files = %w(LICENSE.txt README.md Rakefile graphql-idl-parser.gemspec)
16
+ spec.files += Dir.glob('lib/**/*.rb')
17
+ spec.files += Dir['ext/**/*'].reject { |f| f =~ /\.o$/ }
18
+ spec.test_files = Dir.glob('test/**/*')
19
+ spec.require_paths = %w(lib ext)
20
+
20
21
  spec.extensions = ['ext/graphql-idl-parser/extconf.rb']
21
22
 
23
+ spec.add_development_dependency 'benchmark-ips'
22
24
  spec.add_development_dependency 'bundler', '~> 1.14'
23
25
  spec.add_development_dependency 'graphql', '~> 1.6'
24
26
  spec.add_development_dependency 'minitest', '~> 5.0'
@@ -1,3 +1,3 @@
1
1
  class GraphQLIDLParser
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
@@ -0,0 +1,20 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserEnumsTest < Minitest::Test
5
+ def test_it_works_with_enums
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'enums.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal 'enum', types[0][:typename]
11
+ assert_equal 'ProjectState', types[0][:name]
12
+ assert_equal "State of the project; either 'open' or 'closed'", types[0][:description]
13
+ assert_equal 2, types[0][:values].count
14
+ assert_equal 'CLOSED', types[0][:values][0][:name]
15
+ assert_equal 'The project is closed.', types[0][:values][0][:description]
16
+ assert_equal 'OPEN', types[0][:values][1][:name]
17
+ assert_equal 'The project is open.', types[0][:values][1][:description]
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserTest < Minitest::Test
5
+ def test_it_demands_string_argument
6
+ assert_raises TypeError do
7
+ GraphQL::IDLParser.new(filename: 43)
8
+ end
9
+
10
+ assert_raises TypeError do
11
+ GraphQL::IDLParser.new(schema: 43)
12
+ end
13
+ end
14
+
15
+ def test_it_needs_a_file_that_exists
16
+ assert_raises ArgumentError do
17
+ GraphQL::IDLParser.new(filename: 'not/a/real/file')
18
+ end
19
+ end
20
+
21
+ def test_it_needs_one_or_the_other
22
+ assert_raises ArgumentError do
23
+ GraphQL::IDLParser.new(filename: File.join(FIXTURES_DIR, 'github.graphql'), schema: "scalar DateTime")
24
+ end
25
+
26
+ assert_raises ArgumentError do
27
+ GraphQL::IDLParser.new
28
+ end
29
+ end
30
+
31
+ def test_it_has_a_sanity_check
32
+ contents = ''
33
+ Dir.glob("#{RUST_FIXTURES_DIR}/**/*.graphql").each do |schema|
34
+ contents += File.read(schema)
35
+ end
36
+ parser = GraphQL::IDLParser.new(schema: contents)
37
+ result = parser.process
38
+ refute_empty result.types
39
+ end
40
+
41
+ def test_it_has_a_github_sanity_check
42
+ contents = File.read("#{RUST_FIXTURES_DIR}/github.graphql")
43
+ parser = GraphQL::IDLParser.new(schema: contents)
44
+ result = parser.process
45
+ refute_empty result.types
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,28 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserInputObjectsTest < Minitest::Test
5
+ def test_it_works_with_input_objects
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'input_objects.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal types[0][:typename], 'input_object'
11
+ assert_equal 'UpdateTopicsInput', types[0][:name]
12
+ assert_equal 'Autogenerated input type of UpdateTopics', types[0][:description]
13
+ assert_equal 3, types[0][:fields].count
14
+ assert_equal 'clientMutationId', types[0][:fields][0][:name]
15
+ assert_equal 'A unique identifier for the client performing the mutation.', types[0][:fields][0][:description]
16
+ assert_equal 'String', types[0][:fields][0][:type_info][:name]
17
+ assert_equal '', types[0][:fields][0][:type_info][:info]
18
+ assert_equal 'repositoryId', types[0][:fields][1][:name]
19
+ assert_equal 'The Node ID of the repository.', types[0][:fields][1][:description]
20
+ assert_equal 'ID', types[0][:fields][1][:type_info][:name]
21
+ assert_equal '!', types[0][:fields][1][:type_info][:info]
22
+ assert_equal 'topicNames', types[0][:fields][2][:name]
23
+ assert_equal 'An array of topic names.', types[0][:fields][2][:description]
24
+ assert_equal 'String', types[0][:fields][2][:type_info][:name]
25
+ assert_equal '[!]!', types[0][:fields][2][:type_info][:info]
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,20 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserInterfacesTest < Minitest::Test
5
+ def test_it_works_with_enums
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'interfaces.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal 'interface', types[0][:typename]
11
+ assert_equal 'Closable', types[0][:name]
12
+ assert_equal 'An object that can be closed', types[0][:description]
13
+ assert_equal 1, types[0][:fields].count
14
+ assert_equal 'closed', types[0][:fields][0][:name]
15
+ assert_equal '`true` if the object is closed (definition of closed may depend on type)', types[0][:fields][0][:description]
16
+ assert_equal 'Boolean', types[0][:fields][0][:type_info][:name]
17
+ assert_equal '!', types[0][:fields][0][:type_info][:info]
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,104 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserObjectsTest < Minitest::Test
5
+ def test_it_works_with_objects
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'objects.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal types[0][:typename], 'object'
11
+ assert_nil types[0][:description]
12
+ assert_equal 'CodeOfConduct', types[0][:name]
13
+
14
+ assert_equal types[1][:typename], 'object'
15
+ assert_equal 'The Code of Conduct for a repository', types[1][:description]
16
+ assert_equal 'CodeOfConduct', types[1][:name]
17
+ assert_equal 0, types[1][:implements].count
18
+
19
+ assert_equal types[2][:typename], 'object'
20
+ assert_nil types[2][:description]
21
+ assert_equal 'PushAllowance', types[2][:name]
22
+ assert_equal 1, types[2][:implements].count
23
+ assert_equal 'Node', types[2][:implements][0]
24
+
25
+ assert_equal types[3][:typename], 'object'
26
+ assert_nil types[3][:description]
27
+ assert_equal 'Release', types[3][:name]
28
+ assert_equal 2, types[3][:implements].count
29
+ assert_equal 'Node', types[3][:implements][0]
30
+ assert_equal 'UniformResourceLocatable', types[3][:implements][1]
31
+
32
+ assert_equal types[4][:typename], 'object'
33
+ assert_equal 'The Code of Conduct for a repository', types[4][:description]
34
+ assert_equal 'CodeOfConduct', types[4][:name]
35
+ assert_equal 1, types[4][:fields].count
36
+ assert_equal 'body', types[4][:fields][0][:name]
37
+ assert_nil types[4][:fields][0][:description]
38
+ assert_equal 0, types[4][:fields][0][:directives].length
39
+
40
+ assert_equal types[5][:typename], 'object'
41
+ assert_equal 'The Code of Conduct for a repository', types[5][:description]
42
+ assert_equal 'CodeOfConduct', types[5][:name]
43
+ assert_equal 1, types[5][:fields].count
44
+ assert_equal 'body', types[5][:fields][0][:name]
45
+ assert_equal 'The body of the CoC', types[5][:fields][0][:description]
46
+ assert_equal 0, types[4][:fields][0][:directives].length
47
+
48
+ assert_equal types[6][:typename], 'object'
49
+ assert_equal 'key', types[6][:fields][0][:name]
50
+ assert_equal 'String', types[6][:fields][0][:type_info][:name]
51
+ assert_equal '!', types[6][:fields][0][:type_info][:info]
52
+
53
+ assert_equal types[7][:typename], 'object'
54
+ assert_equal 'edges', types[7][:fields][0][:name]
55
+ assert_equal 'CommitCommentEdge', types[7][:fields][0][:type_info][:name]
56
+ assert_equal '[]', types[7][:fields][0][:type_info][:info]
57
+
58
+ assert_equal types[8][:typename], 'object'
59
+ assert_equal 'suggestedReviewers', types[8][:fields][0][:name]
60
+ assert_equal 'SuggestedReviewer', types[8][:fields][0][:type_info][:name]
61
+ assert_equal '[]!', types[8][:fields][0][:type_info][:info]
62
+
63
+ assert_equal types[9][:typename], 'object'
64
+ assert_equal 'viewerCannotUpdateReasons', types[9][:fields][0][:name]
65
+ assert_equal 'CommentCannotUpdateReason', types[9][:fields][0][:type_info][:name]
66
+ assert_equal '[!]!', types[9][:fields][0][:type_info][:info]
67
+
68
+ assert_equal types[10][:typename], 'object'
69
+ assert_equal 'followers', types[10][:fields][0][:name]
70
+ assert_equal 'FollowerConnection', types[10][:fields][0][:type_info][:name]
71
+ assert_equal '!', types[10][:fields][0][:type_info][:info]
72
+ assert_equal 2, types[10][:fields][0][:arguments].count
73
+ assert_equal 'Returns the elements in the list that come after the specified global ID.', types[10][:fields][0][:arguments][0][:description]
74
+ assert_equal 'after', types[10][:fields][0][:arguments][0][:name]
75
+ assert_equal 'String', types[10][:fields][0][:arguments][0][:type_info][:name]
76
+ assert_equal '', types[10][:fields][0][:arguments][0][:type_info][:info]
77
+ assert_equal 'Returns the first _n_ elements from the list.', types[10][:fields][0][:arguments][1][:description]
78
+ assert_equal 'first', types[10][:fields][0][:arguments][1][:name]
79
+ assert_equal 'Int', types[10][:fields][0][:arguments][1][:type_info][:name]
80
+ assert_equal '!', types[10][:fields][0][:arguments][1][:type_info][:info]
81
+
82
+ assert_equal types[11][:typename], 'object'
83
+ assert_equal 'User', types[11][:name]
84
+ assert_equal 1, types[11][:fields][0][:directives].length
85
+ assert_equal 'deprecated', types[11][:fields][0][:directives][0][:name]
86
+ assert_equal 0, types[11][:fields][0][:directives][0][:arguments].length
87
+
88
+ assert_equal types[12][:typename], 'object'
89
+ assert_equal 'Issue', types[12][:name]
90
+ assert_equal 'deprecated', types[12][:fields][0][:directives][0][:name]
91
+ assert_equal 1, types[12][:fields][0][:directives][0][:arguments].length
92
+ assert_equal 'reason', types[12][:fields][0][:directives][0][:arguments][0][:name]
93
+ assert_equal 'Exposed database IDs will eventually be removed in favor of global Relay IDs.', types[12][:fields][0][:directives][0][:arguments][0][:value]
94
+
95
+ assert_equal 1, types[13][:fields].length
96
+ assert_equal 'childTeams', types[13][:fields][0][:name]
97
+ assert_equal 1, types[13][:fields][0][:arguments].length
98
+ assert_equal 'immediateOnly', types[13][:fields][0][:arguments][0][:name]
99
+ assert_equal 'Boolean', types[13][:fields][0][:arguments][0][:type_info][:name]
100
+ assert_equal '', types[13][:fields][0][:arguments][0][:type_info][:info]
101
+ assert_equal 'true', types[13][:fields][0][:arguments][0][:default_value]
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,19 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserScalarsTest < Minitest::Test
5
+ def test_it_works_with_scalars
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'scalars.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal 'scalar', types[0][:typename]
11
+ assert_nil types[0][:description]
12
+ assert_equal 'DateTime', types[0][:name]
13
+
14
+ assert_equal 'scalar', types[1][:typename]
15
+ assert_equal 'An ISO-8601 encoded UTC date string.', types[1][:description]
16
+ assert_equal 'DateTime', types[1][:name]
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,18 @@
1
+ require 'test_helper'
2
+
3
+ module GraphQL
4
+ class IDLParserUnionsTest < Minitest::Test
5
+ def test_it_works_with_unions
6
+ schema = File.read(File.join(RUST_FIXTURES_DIR, 'unions.graphql'))
7
+ parser = GraphQL::IDLParser.new(schema: schema)
8
+ types = parser.process.types
9
+
10
+ assert_equal 'union', types[0][:typename]
11
+ assert_equal 'Any referencable object', types[0][:description]
12
+ assert_equal 'ReferencedSubject', types[0][:name]
13
+ assert_equal 2, types[0][:values].count
14
+ assert_equal 'Issue', types[0][:values][0]
15
+ assert_equal 'PullRequest', types[0][:values][1]
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'graphql-idl-parser'
3
+
4
+ require 'minitest/autorun'
5
+
6
+ require 'pry'
7
+
8
+ RUST_FIXTURES_DIR = File.join('ext', 'graphql-idl-parser', 'graphql-idl-parser', 'test')
9
+
10
+ FIXTURES_DIR = File.join('test', 'graphql-idl-parser', 'fixtures')
11
+ BASIC_FIXTURE = File.join(FIXTURES_DIR, 'basic.graphql')
12
+ SCHEMA_FIXTURE = File.join(FIXTURES_DIR, 'schema.graphql')
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-idl-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: benchmark-ips
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -130,23 +144,182 @@ extensions:
130
144
  - ext/graphql-idl-parser/extconf.rb
131
145
  extra_rdoc_files: []
132
146
  files:
133
- - ".gitignore"
134
- - ".gitmodules"
135
- - ".rubocop.yml"
136
- - ".travis.yml"
137
- - Gemfile
138
147
  - LICENSE.txt
139
148
  - README.md
140
149
  - Rakefile
141
150
  - ext/graphql-idl-parser/extconf.rb
142
151
  - ext/graphql-idl-parser/graphql-idl-parser.c
143
152
  - ext/graphql-idl-parser/graphql-idl-parser.h
153
+ - ext/graphql-idl-parser/graphql-idl-parser/Cargo.lock
154
+ - ext/graphql-idl-parser/graphql-idl-parser/Cargo.toml
155
+ - ext/graphql-idl-parser/graphql-idl-parser/LICENSE.txt
156
+ - ext/graphql-idl-parser/graphql-idl-parser/README.md
157
+ - ext/graphql-idl-parser/graphql-idl-parser/build.rs
158
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/Cargo.lock
159
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/Cargo.toml
160
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/README.md
161
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/example/example.c
162
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/includes/gql-idl-parser.h
163
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/src/lib.rs
164
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/src/types.rs
165
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-1d630313aa5d216c/build-script-build
166
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-1d630313aa5d216c/build_script_build-1d630313aa5d216c
167
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-3e27951e7158def5/build-script-build
168
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-3e27951e7158def5/build_script_build-3e27951e7158def5
169
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-481c4176d6a6472d/output
170
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-481c4176d6a6472d/stderr
171
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-5e9a4656cd081ee1/output
172
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/graphql-idl-parser-5e9a4656cd081ee1/stderr
173
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-2b7eb293aa6c1ae8/output
174
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-2b7eb293aa6c1ae8/stderr
175
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-da175f6bc66f228c/build-script-build
176
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/kernel32-sys-da175f6bc66f228c/build_script_build-da175f6bc66f228c
177
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-d0f0dc8a044bb86f/build-script-build
178
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-d0f0dc8a044bb86f/build_script_build-d0f0dc8a044bb86f
179
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-db9b482018d6c515/output
180
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/build/lalrpop-db9b482018d6c515/stderr
181
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libaho_corasick-07ac37ff1c5ebb39.rlib
182
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libascii_canvas-37ba58d788f6e28b.rlib
183
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libatty-3d34ead0eff1f49c.rlib
184
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbit_set-05034a00bed6372c.rlib
185
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbit_vec-ba66b7b721a96204.rlib
186
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libbuild-d4f96a70b883038d.rlib
187
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libdiff-9cac472257fa481b.rlib
188
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libdocopt-5b3087b1b6e5d091.rlib
189
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libeither-8157fecd348c1485.rlib
190
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libena-b40ce2cd268672c3.rlib
191
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libfixedbitset-c7f65ed08cebcf3b.rlib
192
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphql_idl_parser-38237266b2814db0.rlib
193
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphql_idl_parser-85dc5bc4abe95968.rlib
194
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libgraphqlidlparser.dylib
195
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libitertools-8d570d6c59d3b2d0.rlib
196
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libkernel32-fa4855bd85e0519b.rlib
197
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop-8888f5942735b084.rlib
198
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_intern-70b4cf4d149e3995.rlib
199
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_snap-695e4827988eac78.rlib
200
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblalrpop_util-90bdd1a9fd691a70.rlib
201
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblazy_static-a6b1325db7ee41a1.rlib
202
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/liblibc-0d055c7503ac4180.rlib
203
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libmemchr-7e8d0bb06e3caae0.rlib
204
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libordermap-f92645c599568d9f.rlib
205
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libpetgraph-62c5b51f9db3f0c7.rlib
206
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libregex-5d259a9431f27ed9.rlib
207
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libregex_syntax-e6a16469e776d773.rlib
208
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/librustc_serialize-21d20a12dd90991b.rlib
209
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libstrsim-8e26967d29bdf2e6.rlib
210
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libterm-189de8985c74cf03.rlib
211
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libthread_local-036458f1fbee14fb.rlib
212
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libunicode_xid-8adffabb9e6dd184.rlib
213
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libunreachable-bd47b36c4e87f432.rlib
214
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libutf8_ranges-220e9d44a3644657.rlib
215
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libvoid-d761da60d30362e9.rlib
216
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/deps/libwinapi-753252e15931e6fc.rlib
217
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/libgraphqlidlparser.d
218
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/target/release/libgraphqlidlparser.dylib
219
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar.c
220
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar.h
221
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/fixtures.h
222
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/fs.h
223
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/print.h
224
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar/sandbox.h
225
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/clar_test.h
226
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/enums.c
227
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/generate.py
228
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/helpers.c
229
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/helpers.h
230
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/input_objects.c
231
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/interfaces.c
232
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/main.c
233
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/objects.c
234
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/scalars.c
235
+ - ext/graphql-idl-parser/graphql-idl-parser/graphql-idl-parser-ffi/test/unions.c
236
+ - ext/graphql-idl-parser/graphql-idl-parser/script/compile
237
+ - ext/graphql-idl-parser/graphql-idl-parser/script/fmt
238
+ - ext/graphql-idl-parser/graphql-idl-parser/script/test
239
+ - ext/graphql-idl-parser/graphql-idl-parser/src/gqlidl.lalrpop
240
+ - ext/graphql-idl-parser/graphql-idl-parser/src/gqlidl.rs
241
+ - ext/graphql-idl-parser/graphql-idl-parser/src/lib.rs
242
+ - ext/graphql-idl-parser/graphql-idl-parser/src/macros.rs
243
+ - ext/graphql-idl-parser/graphql-idl-parser/src/tests.rs
244
+ - ext/graphql-idl-parser/graphql-idl-parser/src/type_definition.rs
245
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0ed64d9cad312f79/output
246
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0ed64d9cad312f79/stderr
247
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build-script-build
248
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a
249
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a.dSYM/Contents/Info.plist
250
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-0fa24f7f5e35d20a/build_script_build-0fa24f7f5e35d20a.dSYM/Contents/Resources/DWARF/build_script_build-0fa24f7f5e35d20a
251
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build-script-build
252
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2
253
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2.dSYM/Contents/Info.plist
254
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-57f7e3c3ef8471d2/build_script_build-57f7e3c3ef8471d2.dSYM/Contents/Resources/DWARF/build_script_build-57f7e3c3ef8471d2
255
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-5e9a4656cd081ee1/output
256
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/graphql-idl-parser-5e9a4656cd081ee1/stderr
257
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-2b7eb293aa6c1ae8/output
258
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-2b7eb293aa6c1ae8/stderr
259
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build-script-build
260
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163
261
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163.dSYM/Contents/Info.plist
262
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/kernel32-sys-d2306aba19864163/build_script_build-d2306aba19864163.dSYM/Contents/Resources/DWARF/build_script_build-d2306aba19864163
263
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build-script-build
264
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2
265
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2.dSYM/Contents/Info.plist
266
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-4a05302baa5fb2a2/build_script_build-4a05302baa5fb2a2.dSYM/Contents/Resources/DWARF/build_script_build-4a05302baa5fb2a2
267
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-db9b482018d6c515/output
268
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/build/lalrpop-db9b482018d6c515/stderr
269
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libaho_corasick-a9ec1f95080d1f6a.rlib
270
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libascii_canvas-92c3bf0cf98f6d67.rlib
271
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libatty-35b65e46cfc403bc.rlib
272
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbit_set-d9484919f1726cf1.rlib
273
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbit_vec-8716b059e7c4619b.rlib
274
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libbuild-0b12b372edd4cd19.rlib
275
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libdiff-c81afd03f1d10610.rlib
276
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libdocopt-f02dfd6fea4878cc.rlib
277
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libeither-20b79fd67623dec7.rlib
278
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libena-e8706d9d37da725b.rlib
279
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libfixedbitset-da616d0027237c90.rlib
280
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libgraphql_idl_parser-33a4c3bdcdc654b7.rlib
281
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libgraphql_idl_parser-d6636cf90a34aa47.rlib
282
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libitertools-34d50068529acf4d.rlib
283
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libkernel32-56b5a11a7716f7c7.rlib
284
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop-65f3c84608c05ce1.rlib
285
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_intern-a3c97188386c0872.rlib
286
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_snap-d6e467def27f0a55.rlib
287
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblalrpop_util-e59e6b2e2aec1b3e.rlib
288
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblazy_static-4518bdaa60b81936.rlib
289
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/liblibc-ab7be4fcfaa3a31b.rlib
290
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libmemchr-85dd561868acc188.rlib
291
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libordermap-4691b832eea88398.rlib
292
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libpetgraph-0220c5a13678d70e.rlib
293
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libregex-44e22d9874a5fb64.rlib
294
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libregex_syntax-490c2654111b5bf0.rlib
295
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/librustc_serialize-a7771718d4ee73a5.rlib
296
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libstrsim-038156debd12bd7a.rlib
297
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libterm-d12b955648e4f4b4.rlib
298
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libthread_local-84091b6b04cf1914.rlib
299
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libunicode_xid-89ce822c6e6dbe69.rlib
300
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libunreachable-654322b1fcb434b1.rlib
301
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libutf8_ranges-53f91d3b6e8885c9.rlib
302
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libvoid-181e881e54467554.rlib
303
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/deps/libwinapi-9c9d2aba65add76c.rlib
304
+ - ext/graphql-idl-parser/graphql-idl-parser/target/debug/libgraphql_idl_parser.rlib
305
+ - ext/graphql-idl-parser/graphql-idl-parser/test/enums.graphql
306
+ - ext/graphql-idl-parser/graphql-idl-parser/test/github.graphql
307
+ - ext/graphql-idl-parser/graphql-idl-parser/test/input_objects.graphql
308
+ - ext/graphql-idl-parser/graphql-idl-parser/test/interfaces.graphql
309
+ - ext/graphql-idl-parser/graphql-idl-parser/test/objects.graphql
310
+ - ext/graphql-idl-parser/graphql-idl-parser/test/scalars.graphql
311
+ - ext/graphql-idl-parser/graphql-idl-parser/test/unions.graphql
144
312
  - graphql-idl-parser.gemspec
145
313
  - lib/graphql-idl-parser.rb
146
314
  - lib/graphql-idl-parser/version.rb
147
- - script/bootstrap
148
- - script/cibuild
149
- - script/update_submodules
315
+ - test/graphql-idl-parser/enums_test.rb
316
+ - test/graphql-idl-parser/graphql-idl-parser_test.rb
317
+ - test/graphql-idl-parser/input_objects_test.rb
318
+ - test/graphql-idl-parser/interfaces_test.rb
319
+ - test/graphql-idl-parser/objects_test.rb
320
+ - test/graphql-idl-parser/scalars_test.rb
321
+ - test/graphql-idl-parser/unions_test.rb
322
+ - test/test_helper.rb
150
323
  homepage: https://www.github.com/gjtorikian/graphql-idl-parser-ruby
151
324
  licenses: []
152
325
  metadata: {}
@@ -154,6 +327,7 @@ post_install_message:
154
327
  rdoc_options: []
155
328
  require_paths:
156
329
  - lib
330
+ - ext
157
331
  required_ruby_version: !ruby/object:Gem::Requirement
158
332
  requirements:
159
333
  - - ">="
@@ -170,4 +344,12 @@ rubygems_version: 2.6.12
170
344
  signing_key:
171
345
  specification_version: 4
172
346
  summary: A parser for the GraphQL IDL format.
173
- test_files: []
347
+ test_files:
348
+ - test/graphql-idl-parser/enums_test.rb
349
+ - test/graphql-idl-parser/graphql-idl-parser_test.rb
350
+ - test/graphql-idl-parser/input_objects_test.rb
351
+ - test/graphql-idl-parser/interfaces_test.rb
352
+ - test/graphql-idl-parser/objects_test.rb
353
+ - test/graphql-idl-parser/scalars_test.rb
354
+ - test/graphql-idl-parser/unions_test.rb
355
+ - test/test_helper.rb