rails-graphql 0.2.1 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/ext/console.rb +18 -0
  3. data/ext/extconf.h +3 -0
  4. data/ext/extconf.rb +1 -54
  5. data/ext/gql_parser.c +631 -0
  6. data/ext/gql_parser.h +21 -0
  7. data/ext/shared.c +477 -0
  8. data/ext/shared.h +177 -0
  9. data/lib/generators/graphql/channel_generator.rb +27 -0
  10. data/lib/generators/graphql/controller_generator.rb +9 -4
  11. data/lib/generators/graphql/install_generator.rb +49 -0
  12. data/lib/generators/graphql/schema_generator.rb +9 -4
  13. data/lib/generators/graphql/templates/channel.erb +7 -0
  14. data/lib/generators/graphql/templates/config.rb +97 -0
  15. data/lib/generators/graphql/templates/controller.erb +2 -0
  16. data/lib/generators/graphql/templates/schema.erb +5 -3
  17. data/lib/gql_parser.so +0 -0
  18. data/lib/rails/graphql/adapters/mysql_adapter.rb +59 -0
  19. data/lib/rails/graphql/adapters/pg_adapter.rb +25 -22
  20. data/lib/rails/graphql/adapters/sqlite_adapter.rb +17 -14
  21. data/lib/rails/graphql/alternative/field_set.rb +48 -0
  22. data/lib/rails/graphql/alternative/mutation.rb +17 -0
  23. data/lib/rails/graphql/alternative/query.rb +98 -0
  24. data/lib/rails/graphql/alternative/subscription.rb +18 -0
  25. data/lib/rails/graphql/alternative.rb +20 -0
  26. data/lib/rails/graphql/argument.rb +25 -26
  27. data/lib/rails/graphql/callback.rb +30 -14
  28. data/lib/rails/graphql/collectors/hash_collector.rb +26 -7
  29. data/lib/rails/graphql/collectors/idented_collector.rb +10 -7
  30. data/lib/rails/graphql/collectors/json_collector.rb +43 -17
  31. data/lib/rails/graphql/collectors.rb +4 -4
  32. data/lib/rails/graphql/config.rb +154 -23
  33. data/lib/rails/graphql/directive/cached_directive.rb +33 -0
  34. data/lib/rails/graphql/directive/deprecated_directive.rb +10 -10
  35. data/lib/rails/graphql/directive/include_directive.rb +4 -4
  36. data/lib/rails/graphql/directive/skip_directive.rb +4 -4
  37. data/lib/rails/graphql/directive/specified_by_directive.rb +24 -0
  38. data/lib/rails/graphql/directive.rb +134 -73
  39. data/lib/rails/graphql/errors.rb +33 -4
  40. data/lib/rails/graphql/event.rb +21 -9
  41. data/lib/rails/graphql/field/authorized_field.rb +17 -6
  42. data/lib/rails/graphql/field/input_field.rb +8 -12
  43. data/lib/rails/graphql/field/mutation_field.rb +43 -9
  44. data/lib/rails/graphql/field/output_field.rb +112 -12
  45. data/lib/rails/graphql/field/proxied_field.rb +35 -26
  46. data/lib/rails/graphql/field/resolved_field.rb +27 -25
  47. data/lib/rails/graphql/field/scoped_config.rb +10 -4
  48. data/lib/rails/graphql/field/subscription_field.rb +123 -0
  49. data/lib/rails/graphql/field/typed_field.rb +69 -24
  50. data/lib/rails/graphql/field.rb +89 -74
  51. data/lib/rails/graphql/global_id.rb +89 -0
  52. data/lib/rails/graphql/helpers/attribute_delegator.rb +5 -5
  53. data/lib/rails/graphql/helpers/inherited_collection/array.rb +51 -0
  54. data/lib/rails/graphql/helpers/inherited_collection/base.rb +45 -0
  55. data/lib/rails/graphql/helpers/inherited_collection/hash.rb +88 -0
  56. data/lib/rails/graphql/helpers/inherited_collection.rb +25 -76
  57. data/lib/rails/graphql/helpers/instantiable.rb +15 -0
  58. data/lib/rails/graphql/helpers/leaf_from_ar.rb +7 -7
  59. data/lib/rails/graphql/helpers/registerable.rb +44 -62
  60. data/lib/rails/graphql/helpers/unregisterable.rb +16 -0
  61. data/lib/rails/graphql/helpers/with_arguments.rb +33 -28
  62. data/lib/rails/graphql/helpers/with_assignment.rb +6 -6
  63. data/lib/rails/graphql/helpers/with_callbacks.rb +28 -11
  64. data/lib/rails/graphql/helpers/with_description.rb +73 -0
  65. data/lib/rails/graphql/helpers/with_directives.rb +58 -30
  66. data/lib/rails/graphql/helpers/with_events.rb +22 -23
  67. data/lib/rails/graphql/helpers/with_fields.rb +86 -26
  68. data/lib/rails/graphql/helpers/with_global_id.rb +22 -0
  69. data/lib/rails/graphql/helpers/with_name.rb +44 -0
  70. data/lib/rails/graphql/helpers/with_namespace.rb +7 -4
  71. data/lib/rails/graphql/helpers/with_owner.rb +8 -7
  72. data/lib/rails/graphql/helpers/with_schema_fields.rb +162 -56
  73. data/lib/rails/graphql/helpers/with_validator.rb +9 -9
  74. data/lib/rails/graphql/helpers.rb +10 -3
  75. data/lib/rails/graphql/introspection.rb +43 -36
  76. data/lib/rails/graphql/railtie.rb +89 -33
  77. data/lib/rails/graphql/railties/app/base_channel.rb +10 -0
  78. data/lib/rails/graphql/railties/app/base_controller.rb +12 -0
  79. data/lib/rails/graphql/railties/app/views/_cable.js.erb +56 -0
  80. data/lib/rails/graphql/railties/app/views/_fetch.js.erb +20 -0
  81. data/lib/rails/graphql/railties/app/views/graphiql.html.erb +101 -0
  82. data/lib/rails/graphql/railties/base_generator.rb +5 -17
  83. data/lib/rails/graphql/railties/channel.rb +157 -0
  84. data/lib/rails/graphql/railties/controller.rb +91 -25
  85. data/lib/rails/graphql/railties/controller_runtime.rb +5 -5
  86. data/lib/rails/graphql/railties/log_subscriber.rb +81 -14
  87. data/lib/rails/graphql/request/arguments.rb +26 -50
  88. data/lib/rails/graphql/request/backtrace.rb +212 -0
  89. data/lib/rails/graphql/request/component/field.rb +98 -70
  90. data/lib/rails/graphql/request/component/fragment.rb +80 -26
  91. data/lib/rails/graphql/request/component/operation/subscription.rb +162 -4
  92. data/lib/rails/graphql/request/component/operation.rb +73 -34
  93. data/lib/rails/graphql/request/component/spread.rb +79 -27
  94. data/lib/rails/graphql/request/component/typename.rb +28 -13
  95. data/lib/rails/graphql/request/component.rb +77 -36
  96. data/lib/rails/graphql/request/context.rb +19 -9
  97. data/lib/rails/graphql/request/errors.rb +16 -6
  98. data/lib/rails/graphql/request/event.rb +23 -8
  99. data/lib/rails/graphql/request/helpers/directives.rb +69 -27
  100. data/lib/rails/graphql/request/helpers/selection_set.rb +57 -25
  101. data/lib/rails/graphql/request/helpers/value_writers.rb +24 -19
  102. data/lib/rails/graphql/request/prepared_data.rb +100 -0
  103. data/lib/rails/graphql/request/steps/authorizable.rb +24 -14
  104. data/lib/rails/graphql/request/steps/organizable.rb +111 -49
  105. data/lib/rails/graphql/request/steps/{prepareable.rb → preparable.rb} +21 -8
  106. data/lib/rails/graphql/request/steps/{resolveable.rb → resolvable.rb} +16 -7
  107. data/lib/rails/graphql/request/strategy/cached_strategy.rb +64 -0
  108. data/lib/rails/graphql/request/strategy/dynamic_instance.rb +6 -6
  109. data/lib/rails/graphql/request/strategy/multi_query_strategy.rb +6 -13
  110. data/lib/rails/graphql/request/strategy/sequenced_strategy.rb +9 -9
  111. data/lib/rails/graphql/request/strategy.rb +147 -77
  112. data/lib/rails/graphql/request/subscription.rb +82 -0
  113. data/lib/rails/graphql/request.rb +353 -104
  114. data/lib/rails/graphql/schema.rb +251 -106
  115. data/lib/rails/graphql/shortcuts.rb +33 -8
  116. data/lib/rails/graphql/source/active_record/builders.rb +64 -51
  117. data/lib/rails/graphql/source/active_record_source.rb +158 -82
  118. data/lib/rails/graphql/source/base.rb +83 -0
  119. data/lib/rails/graphql/source/builder.rb +115 -0
  120. data/lib/rails/graphql/source/scoped_arguments.rb +39 -21
  121. data/lib/rails/graphql/source.rb +90 -228
  122. data/lib/rails/graphql/subscription/provider/action_cable.rb +113 -0
  123. data/lib/rails/graphql/subscription/provider/base.rb +192 -0
  124. data/lib/rails/graphql/subscription/provider.rb +18 -0
  125. data/lib/rails/graphql/subscription/store/base.rb +141 -0
  126. data/lib/rails/graphql/subscription/store/memory.rb +136 -0
  127. data/lib/rails/graphql/subscription/store.rb +19 -0
  128. data/lib/rails/graphql/subscription.rb +17 -0
  129. data/lib/rails/graphql/to_gql.rb +29 -32
  130. data/lib/rails/graphql/type/creator.rb +196 -0
  131. data/lib/rails/graphql/type/enum/directive_location_enum.rb +11 -11
  132. data/lib/rails/graphql/type/enum/type_kind_enum.rb +3 -3
  133. data/lib/rails/graphql/type/enum.rb +44 -50
  134. data/lib/rails/graphql/type/input.rb +92 -25
  135. data/lib/rails/graphql/type/interface.rb +29 -28
  136. data/lib/rails/graphql/type/object/directive_object.rb +10 -9
  137. data/lib/rails/graphql/type/object/enum_value_object.rb +3 -3
  138. data/lib/rails/graphql/type/object/field_object.rb +24 -6
  139. data/lib/rails/graphql/type/object/input_value_object.rb +6 -7
  140. data/lib/rails/graphql/type/object/schema_object.rb +5 -8
  141. data/lib/rails/graphql/type/object/type_object.rb +62 -25
  142. data/lib/rails/graphql/type/object.rb +34 -26
  143. data/lib/rails/graphql/type/scalar/any_scalar.rb +30 -0
  144. data/lib/rails/graphql/type/scalar/bigint_scalar.rb +5 -5
  145. data/lib/rails/graphql/type/scalar/binary_scalar.rb +5 -3
  146. data/lib/rails/graphql/type/scalar/boolean_scalar.rb +8 -8
  147. data/lib/rails/graphql/type/scalar/date_scalar.rb +5 -3
  148. data/lib/rails/graphql/type/scalar/date_time_scalar.rb +5 -3
  149. data/lib/rails/graphql/type/scalar/decimal_scalar.rb +5 -3
  150. data/lib/rails/graphql/type/scalar/float_scalar.rb +5 -5
  151. data/lib/rails/graphql/type/scalar/id_scalar.rb +6 -5
  152. data/lib/rails/graphql/type/scalar/int_scalar.rb +6 -5
  153. data/lib/rails/graphql/type/scalar/json_scalar.rb +41 -0
  154. data/lib/rails/graphql/type/scalar/string_scalar.rb +18 -4
  155. data/lib/rails/graphql/type/scalar/time_scalar.rb +8 -6
  156. data/lib/rails/graphql/type/scalar.rb +26 -23
  157. data/lib/rails/graphql/type/union.rb +21 -18
  158. data/lib/rails/graphql/type.rb +43 -26
  159. data/lib/rails/graphql/type_map.rb +268 -165
  160. data/lib/rails/graphql/uri.rb +167 -0
  161. data/lib/rails/graphql/version.rb +19 -3
  162. data/lib/rails/graphql.rake +3 -0
  163. data/lib/rails/graphql.rb +91 -56
  164. data/lib/rails-graphql.rb +1 -1
  165. data/test/assets/en.yml +29 -0
  166. data/test/assets/introspection-mem.txt +1 -1
  167. data/test/assets/introspection.gql +2 -0
  168. data/test/assets/mem.gql +86 -99
  169. data/test/assets/mysql.gql +406 -0
  170. data/test/assets/sqlite.gql +96 -73
  171. data/test/assets/translate.gql +346 -0
  172. data/test/config.rb +19 -8
  173. data/test/graphql/schema_test.rb +14 -50
  174. data/test/graphql/source_test.rb +8 -85
  175. data/test/graphql/type/enum_test.rb +207 -203
  176. data/test/graphql/type/input_test.rb +14 -9
  177. data/test/graphql/type/interface_test.rb +12 -9
  178. data/test/graphql/type/object_test.rb +8 -2
  179. data/test/graphql/type/scalar/any_scalar_test.rb +38 -0
  180. data/test/graphql/type/scalar/boolean_scalar_test.rb +6 -3
  181. data/test/graphql/type/scalar/json_scalar_test.rb +23 -0
  182. data/test/graphql/type_map_test.rb +63 -81
  183. data/test/graphql/type_test.rb +0 -19
  184. data/test/graphql_test.rb +1 -1
  185. data/test/integration/{authorization/authorization_test.rb → authorization_test.rb} +40 -14
  186. data/test/integration/config.rb +36 -3
  187. data/test/integration/customization_test.rb +39 -0
  188. data/test/integration/global_id_test.rb +99 -0
  189. data/test/integration/memory/star_wars_introspection_test.rb +24 -16
  190. data/test/integration/memory/star_wars_query_test.rb +54 -3
  191. data/test/integration/memory/star_wars_validation_test.rb +3 -3
  192. data/test/integration/mysql/star_wars_introspection_test.rb +25 -0
  193. data/test/integration/persisted_query_test.rb +87 -0
  194. data/test/integration/resolver_precedence_test.rb +154 -0
  195. data/test/integration/schemas/memory.rb +24 -10
  196. data/test/integration/schemas/mysql.rb +62 -0
  197. data/test/integration/schemas/sqlite.rb +21 -12
  198. data/test/integration/sqlite/star_wars_global_id_test.rb +89 -0
  199. data/test/integration/sqlite/star_wars_introspection_test.rb +10 -0
  200. data/test/integration/sqlite/star_wars_query_test.rb +14 -1
  201. data/test/integration/translate_test.rb +73 -0
  202. data/test/test_ext.rb +16 -13
  203. metadata +125 -161
  204. data/ext/depend +0 -3
  205. data/ext/graphqlparser/Ast.cpp +0 -346
  206. data/ext/graphqlparser/Ast.h +0 -1214
  207. data/ext/graphqlparser/AstNode.h +0 -36
  208. data/ext/graphqlparser/AstVisitor.h +0 -137
  209. data/ext/graphqlparser/GraphQLParser.cpp +0 -76
  210. data/ext/graphqlparser/GraphQLParser.h +0 -55
  211. data/ext/graphqlparser/JsonVisitor.cpp +0 -161
  212. data/ext/graphqlparser/JsonVisitor.cpp.inc +0 -456
  213. data/ext/graphqlparser/JsonVisitor.h +0 -121
  214. data/ext/graphqlparser/JsonVisitor.h.inc +0 -110
  215. data/ext/graphqlparser/VERSION +0 -1
  216. data/ext/graphqlparser/c/GraphQLAst.cpp +0 -324
  217. data/ext/graphqlparser/c/GraphQLAst.h +0 -180
  218. data/ext/graphqlparser/c/GraphQLAstForEachConcreteType.h +0 -44
  219. data/ext/graphqlparser/c/GraphQLAstNode.cpp +0 -25
  220. data/ext/graphqlparser/c/GraphQLAstNode.h +0 -33
  221. data/ext/graphqlparser/c/GraphQLAstToJSON.cpp +0 -21
  222. data/ext/graphqlparser/c/GraphQLAstToJSON.h +0 -24
  223. data/ext/graphqlparser/c/GraphQLAstVisitor.cpp +0 -55
  224. data/ext/graphqlparser/c/GraphQLAstVisitor.h +0 -53
  225. data/ext/graphqlparser/c/GraphQLParser.cpp +0 -35
  226. data/ext/graphqlparser/c/GraphQLParser.h +0 -54
  227. data/ext/graphqlparser/dump_json_ast.cpp +0 -48
  228. data/ext/graphqlparser/lexer.lpp +0 -324
  229. data/ext/graphqlparser/parser.ypp +0 -693
  230. data/ext/graphqlparser/parsergen/lexer.cpp +0 -2633
  231. data/ext/graphqlparser/parsergen/lexer.h +0 -528
  232. data/ext/graphqlparser/parsergen/location.hh +0 -189
  233. data/ext/graphqlparser/parsergen/parser.tab.cpp +0 -3300
  234. data/ext/graphqlparser/parsergen/parser.tab.hpp +0 -646
  235. data/ext/graphqlparser/parsergen/position.hh +0 -179
  236. data/ext/graphqlparser/parsergen/stack.hh +0 -156
  237. data/ext/graphqlparser/syntaxdefs.h +0 -19
  238. data/ext/libgraphqlparser/AstNode.h +0 -36
  239. data/ext/libgraphqlparser/CMakeLists.txt +0 -148
  240. data/ext/libgraphqlparser/CONTRIBUTING.md +0 -23
  241. data/ext/libgraphqlparser/GraphQLParser.cpp +0 -76
  242. data/ext/libgraphqlparser/GraphQLParser.h +0 -55
  243. data/ext/libgraphqlparser/JsonVisitor.cpp +0 -161
  244. data/ext/libgraphqlparser/JsonVisitor.h +0 -121
  245. data/ext/libgraphqlparser/LICENSE +0 -22
  246. data/ext/libgraphqlparser/README.clang-tidy +0 -7
  247. data/ext/libgraphqlparser/README.md +0 -84
  248. data/ext/libgraphqlparser/ast/ast.ast +0 -203
  249. data/ext/libgraphqlparser/ast/ast.py +0 -61
  250. data/ext/libgraphqlparser/ast/c.py +0 -100
  251. data/ext/libgraphqlparser/ast/c.pyc +0 -0
  252. data/ext/libgraphqlparser/ast/c_impl.py +0 -61
  253. data/ext/libgraphqlparser/ast/c_impl.pyc +0 -0
  254. data/ext/libgraphqlparser/ast/c_visitor_impl.py +0 -39
  255. data/ext/libgraphqlparser/ast/c_visitor_impl.pyc +0 -0
  256. data/ext/libgraphqlparser/ast/casing.py +0 -26
  257. data/ext/libgraphqlparser/ast/casing.pyc +0 -0
  258. data/ext/libgraphqlparser/ast/cxx.py +0 -197
  259. data/ext/libgraphqlparser/ast/cxx.pyc +0 -0
  260. data/ext/libgraphqlparser/ast/cxx_impl.py +0 -61
  261. data/ext/libgraphqlparser/ast/cxx_impl.pyc +0 -0
  262. data/ext/libgraphqlparser/ast/cxx_json_visitor_header.py +0 -42
  263. data/ext/libgraphqlparser/ast/cxx_json_visitor_header.pyc +0 -0
  264. data/ext/libgraphqlparser/ast/cxx_json_visitor_impl.py +0 -80
  265. data/ext/libgraphqlparser/ast/cxx_json_visitor_impl.pyc +0 -0
  266. data/ext/libgraphqlparser/ast/cxx_visitor.py +0 -64
  267. data/ext/libgraphqlparser/ast/cxx_visitor.pyc +0 -0
  268. data/ext/libgraphqlparser/ast/js.py +0 -65
  269. data/ext/libgraphqlparser/ast/license.py +0 -10
  270. data/ext/libgraphqlparser/ast/license.pyc +0 -0
  271. data/ext/libgraphqlparser/c/GraphQLAstNode.cpp +0 -25
  272. data/ext/libgraphqlparser/c/GraphQLAstNode.h +0 -33
  273. data/ext/libgraphqlparser/c/GraphQLAstToJSON.cpp +0 -21
  274. data/ext/libgraphqlparser/c/GraphQLAstToJSON.h +0 -24
  275. data/ext/libgraphqlparser/c/GraphQLAstVisitor.cpp +0 -55
  276. data/ext/libgraphqlparser/c/GraphQLAstVisitor.h +0 -53
  277. data/ext/libgraphqlparser/c/GraphQLParser.cpp +0 -35
  278. data/ext/libgraphqlparser/c/GraphQLParser.h +0 -54
  279. data/ext/libgraphqlparser/clang-tidy-all.sh +0 -3
  280. data/ext/libgraphqlparser/cmake/version.cmake +0 -16
  281. data/ext/libgraphqlparser/dump_json_ast.cpp +0 -48
  282. data/ext/libgraphqlparser/go/README.md +0 -20
  283. data/ext/libgraphqlparser/go/callbacks.go +0 -18
  284. data/ext/libgraphqlparser/go/gotest.go +0 -64
  285. data/ext/libgraphqlparser/lexer.lpp +0 -324
  286. data/ext/libgraphqlparser/libgraphqlparser.pc.in +0 -11
  287. data/ext/libgraphqlparser/parser.ypp +0 -693
  288. data/ext/libgraphqlparser/parsergen/lexer.cpp +0 -2633
  289. data/ext/libgraphqlparser/parsergen/lexer.h +0 -528
  290. data/ext/libgraphqlparser/parsergen/location.hh +0 -189
  291. data/ext/libgraphqlparser/parsergen/parser.tab.cpp +0 -3300
  292. data/ext/libgraphqlparser/parsergen/parser.tab.hpp +0 -646
  293. data/ext/libgraphqlparser/parsergen/position.hh +0 -179
  294. data/ext/libgraphqlparser/parsergen/stack.hh +0 -156
  295. data/ext/libgraphqlparser/python/CMakeLists.txt +0 -14
  296. data/ext/libgraphqlparser/python/README.md +0 -5
  297. data/ext/libgraphqlparser/python/example.py +0 -31
  298. data/ext/libgraphqlparser/syntaxdefs.h +0 -19
  299. data/ext/libgraphqlparser/test/BuildCAPI.c +0 -5
  300. data/ext/libgraphqlparser/test/CMakeLists.txt +0 -25
  301. data/ext/libgraphqlparser/test/JsonVisitorTests.cpp +0 -28
  302. data/ext/libgraphqlparser/test/ParserTests.cpp +0 -352
  303. data/ext/libgraphqlparser/test/kitchen-sink.graphql +0 -59
  304. data/ext/libgraphqlparser/test/kitchen-sink.json +0 -1
  305. data/ext/libgraphqlparser/test/schema-kitchen-sink.graphql +0 -78
  306. data/ext/libgraphqlparser/test/schema-kitchen-sink.json +0 -1
  307. data/ext/libgraphqlparser/test/valgrind.supp +0 -33
  308. data/ext/version.cpp +0 -21
  309. data/lib/graphqlparser.so +0 -0
  310. data/lib/rails/graphql/native/functions.rb +0 -38
  311. data/lib/rails/graphql/native/location.rb +0 -41
  312. data/lib/rails/graphql/native/pointers.rb +0 -23
  313. data/lib/rails/graphql/native/visitor.rb +0 -349
  314. data/lib/rails/graphql/native.rb +0 -56
  315. data/test/integration/schemas/authorization.rb +0 -12
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-16 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,140 +16,140 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.0'
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: ffi
28
+ name: benchmark-ips
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
34
- type: :runtime
33
+ version: 2.8.2
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: 2.8.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: appraisal
42
+ name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: 5.14.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: 5.14.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: benchmark-ips
56
+ name: minitest-reporters
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.8.2
61
+ version: 1.4.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.8.2
68
+ version: 1.4.2
69
69
  - !ruby/object:Gem::Dependency
70
- name: minitest
70
+ name: rake-compiler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 5.14.0
75
+ version: 1.1.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 5.14.0
82
+ version: 1.1.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: minitest-reporters
84
+ name: rake-compiler-dock
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.4.2
89
+ version: 1.0.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.4.2
96
+ version: 1.0.1
97
97
  - !ruby/object:Gem::Dependency
98
- name: rake-compiler
98
+ name: rdoc
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.0
103
+ version: 6.4.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.1.0
110
+ version: 6.4.0
111
111
  - !ruby/object:Gem::Dependency
112
- name: rake-compiler-dock
112
+ name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.1
117
+ version: '0.20'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.0.1
124
+ version: '0.20'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rdoc
126
+ name: pg
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 6.2.1
131
+ version: '1.3'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 6.2.1
138
+ version: '1.3'
139
139
  - !ruby/object:Gem::Dependency
140
- name: simplecov
140
+ name: mysql2
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.19.1
145
+ version: '0.5'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.19.1
152
+ version: '0.5'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: sqlite3
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -164,10 +164,10 @@ dependencies:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '1.4'
167
- description: A GraphQL server implementation for Rails applications that focus on
168
- performance and simpler integration with Rails DSL
167
+ description: A Fresh new GraphQL server for Rails applications, with a focus on natural
168
+ and Ruby-like DSL
169
169
  email:
170
- - carlos.silva@virtualshield.com
170
+ - me@carlosfsilva.com
171
171
  executables: []
172
172
  extensions:
173
173
  - ext/extconf.rb
@@ -176,123 +176,33 @@ files:
176
176
  - MIT-LICENSE
177
177
  - README.rdoc
178
178
  - Rakefile
179
- - ext/depend
179
+ - ext/console.rb
180
+ - ext/extconf.h
180
181
  - ext/extconf.rb
181
- - ext/graphqlparser/Ast.cpp
182
- - ext/graphqlparser/Ast.h
183
- - ext/graphqlparser/AstNode.h
184
- - ext/graphqlparser/AstVisitor.h
185
- - ext/graphqlparser/GraphQLParser.cpp
186
- - ext/graphqlparser/GraphQLParser.h
187
- - ext/graphqlparser/JsonVisitor.cpp
188
- - ext/graphqlparser/JsonVisitor.cpp.inc
189
- - ext/graphqlparser/JsonVisitor.h
190
- - ext/graphqlparser/JsonVisitor.h.inc
191
- - ext/graphqlparser/VERSION
192
- - ext/graphqlparser/c/GraphQLAst.cpp
193
- - ext/graphqlparser/c/GraphQLAst.h
194
- - ext/graphqlparser/c/GraphQLAstForEachConcreteType.h
195
- - ext/graphqlparser/c/GraphQLAstNode.cpp
196
- - ext/graphqlparser/c/GraphQLAstNode.h
197
- - ext/graphqlparser/c/GraphQLAstToJSON.cpp
198
- - ext/graphqlparser/c/GraphQLAstToJSON.h
199
- - ext/graphqlparser/c/GraphQLAstVisitor.cpp
200
- - ext/graphqlparser/c/GraphQLAstVisitor.h
201
- - ext/graphqlparser/c/GraphQLParser.cpp
202
- - ext/graphqlparser/c/GraphQLParser.h
203
- - ext/graphqlparser/dump_json_ast.cpp
204
- - ext/graphqlparser/lexer.lpp
205
- - ext/graphqlparser/parser.ypp
206
- - ext/graphqlparser/parsergen/lexer.cpp
207
- - ext/graphqlparser/parsergen/lexer.h
208
- - ext/graphqlparser/parsergen/location.hh
209
- - ext/graphqlparser/parsergen/parser.tab.cpp
210
- - ext/graphqlparser/parsergen/parser.tab.hpp
211
- - ext/graphqlparser/parsergen/position.hh
212
- - ext/graphqlparser/parsergen/stack.hh
213
- - ext/graphqlparser/syntaxdefs.h
214
- - ext/libgraphqlparser/AstNode.h
215
- - ext/libgraphqlparser/CMakeLists.txt
216
- - ext/libgraphqlparser/CONTRIBUTING.md
217
- - ext/libgraphqlparser/GraphQLParser.cpp
218
- - ext/libgraphqlparser/GraphQLParser.h
219
- - ext/libgraphqlparser/JsonVisitor.cpp
220
- - ext/libgraphqlparser/JsonVisitor.h
221
- - ext/libgraphqlparser/LICENSE
222
- - ext/libgraphqlparser/README.clang-tidy
223
- - ext/libgraphqlparser/README.md
224
- - ext/libgraphqlparser/ast/ast.ast
225
- - ext/libgraphqlparser/ast/ast.py
226
- - ext/libgraphqlparser/ast/c.py
227
- - ext/libgraphqlparser/ast/c.pyc
228
- - ext/libgraphqlparser/ast/c_impl.py
229
- - ext/libgraphqlparser/ast/c_impl.pyc
230
- - ext/libgraphqlparser/ast/c_visitor_impl.py
231
- - ext/libgraphqlparser/ast/c_visitor_impl.pyc
232
- - ext/libgraphqlparser/ast/casing.py
233
- - ext/libgraphqlparser/ast/casing.pyc
234
- - ext/libgraphqlparser/ast/cxx.py
235
- - ext/libgraphqlparser/ast/cxx.pyc
236
- - ext/libgraphqlparser/ast/cxx_impl.py
237
- - ext/libgraphqlparser/ast/cxx_impl.pyc
238
- - ext/libgraphqlparser/ast/cxx_json_visitor_header.py
239
- - ext/libgraphqlparser/ast/cxx_json_visitor_header.pyc
240
- - ext/libgraphqlparser/ast/cxx_json_visitor_impl.py
241
- - ext/libgraphqlparser/ast/cxx_json_visitor_impl.pyc
242
- - ext/libgraphqlparser/ast/cxx_visitor.py
243
- - ext/libgraphqlparser/ast/cxx_visitor.pyc
244
- - ext/libgraphqlparser/ast/js.py
245
- - ext/libgraphqlparser/ast/license.py
246
- - ext/libgraphqlparser/ast/license.pyc
247
- - ext/libgraphqlparser/c/GraphQLAstNode.cpp
248
- - ext/libgraphqlparser/c/GraphQLAstNode.h
249
- - ext/libgraphqlparser/c/GraphQLAstToJSON.cpp
250
- - ext/libgraphqlparser/c/GraphQLAstToJSON.h
251
- - ext/libgraphqlparser/c/GraphQLAstVisitor.cpp
252
- - ext/libgraphqlparser/c/GraphQLAstVisitor.h
253
- - ext/libgraphqlparser/c/GraphQLParser.cpp
254
- - ext/libgraphqlparser/c/GraphQLParser.h
255
- - ext/libgraphqlparser/clang-tidy-all.sh
256
- - ext/libgraphqlparser/cmake/version.cmake
257
- - ext/libgraphqlparser/dump_json_ast.cpp
258
- - ext/libgraphqlparser/go/README.md
259
- - ext/libgraphqlparser/go/callbacks.go
260
- - ext/libgraphqlparser/go/gotest.go
261
- - ext/libgraphqlparser/lexer.lpp
262
- - ext/libgraphqlparser/libgraphqlparser.pc.in
263
- - ext/libgraphqlparser/parser.ypp
264
- - ext/libgraphqlparser/parsergen/lexer.cpp
265
- - ext/libgraphqlparser/parsergen/lexer.h
266
- - ext/libgraphqlparser/parsergen/location.hh
267
- - ext/libgraphqlparser/parsergen/parser.tab.cpp
268
- - ext/libgraphqlparser/parsergen/parser.tab.hpp
269
- - ext/libgraphqlparser/parsergen/position.hh
270
- - ext/libgraphqlparser/parsergen/stack.hh
271
- - ext/libgraphqlparser/python/CMakeLists.txt
272
- - ext/libgraphqlparser/python/README.md
273
- - ext/libgraphqlparser/python/example.py
274
- - ext/libgraphqlparser/syntaxdefs.h
275
- - ext/libgraphqlparser/test/BuildCAPI.c
276
- - ext/libgraphqlparser/test/CMakeLists.txt
277
- - ext/libgraphqlparser/test/JsonVisitorTests.cpp
278
- - ext/libgraphqlparser/test/ParserTests.cpp
279
- - ext/libgraphqlparser/test/kitchen-sink.graphql
280
- - ext/libgraphqlparser/test/kitchen-sink.json
281
- - ext/libgraphqlparser/test/schema-kitchen-sink.graphql
282
- - ext/libgraphqlparser/test/schema-kitchen-sink.json
283
- - ext/libgraphqlparser/test/valgrind.supp
284
- - ext/version.cpp
182
+ - ext/gql_parser.c
183
+ - ext/gql_parser.h
184
+ - ext/shared.c
185
+ - ext/shared.h
186
+ - lib/generators/graphql/channel_generator.rb
285
187
  - lib/generators/graphql/controller_generator.rb
188
+ - lib/generators/graphql/install_generator.rb
286
189
  - lib/generators/graphql/schema_generator.rb
190
+ - lib/generators/graphql/templates/channel.erb
191
+ - lib/generators/graphql/templates/config.rb
287
192
  - lib/generators/graphql/templates/controller.erb
288
193
  - lib/generators/graphql/templates/schema.erb
289
- - lib/graphqlparser.so
194
+ - lib/gql_parser.so
290
195
  - lib/rails-graphql.rb
291
196
  - lib/rails/graphql.rake
292
197
  - lib/rails/graphql.rb
293
198
  - lib/rails/graphql/adapters/mysql_adapter.rb
294
199
  - lib/rails/graphql/adapters/pg_adapter.rb
295
200
  - lib/rails/graphql/adapters/sqlite_adapter.rb
201
+ - lib/rails/graphql/alternative.rb
202
+ - lib/rails/graphql/alternative/field_set.rb
203
+ - lib/rails/graphql/alternative/mutation.rb
204
+ - lib/rails/graphql/alternative/query.rb
205
+ - lib/rails/graphql/alternative/subscription.rb
296
206
  - lib/rails/graphql/argument.rb
297
207
  - lib/rails/graphql/callback.rb
298
208
  - lib/rails/graphql/collectors.rb
@@ -301,9 +211,11 @@ files:
301
211
  - lib/rails/graphql/collectors/json_collector.rb
302
212
  - lib/rails/graphql/config.rb
303
213
  - lib/rails/graphql/directive.rb
214
+ - lib/rails/graphql/directive/cached_directive.rb
304
215
  - lib/rails/graphql/directive/deprecated_directive.rb
305
216
  - lib/rails/graphql/directive/include_directive.rb
306
217
  - lib/rails/graphql/directive/skip_directive.rb
218
+ - lib/rails/graphql/directive/specified_by_directive.rb
307
219
  - lib/rails/graphql/errors.rb
308
220
  - lib/rails/graphql/event.rb
309
221
  - lib/rails/graphql/field.rb
@@ -314,35 +226,47 @@ files:
314
226
  - lib/rails/graphql/field/proxied_field.rb
315
227
  - lib/rails/graphql/field/resolved_field.rb
316
228
  - lib/rails/graphql/field/scoped_config.rb
229
+ - lib/rails/graphql/field/subscription_field.rb
317
230
  - lib/rails/graphql/field/typed_field.rb
231
+ - lib/rails/graphql/global_id.rb
318
232
  - lib/rails/graphql/helpers.rb
319
233
  - lib/rails/graphql/helpers/attribute_delegator.rb
320
234
  - lib/rails/graphql/helpers/inherited_collection.rb
235
+ - lib/rails/graphql/helpers/inherited_collection/array.rb
236
+ - lib/rails/graphql/helpers/inherited_collection/base.rb
237
+ - lib/rails/graphql/helpers/inherited_collection/hash.rb
238
+ - lib/rails/graphql/helpers/instantiable.rb
321
239
  - lib/rails/graphql/helpers/leaf_from_ar.rb
322
240
  - lib/rails/graphql/helpers/registerable.rb
241
+ - lib/rails/graphql/helpers/unregisterable.rb
323
242
  - lib/rails/graphql/helpers/with_arguments.rb
324
243
  - lib/rails/graphql/helpers/with_assignment.rb
325
244
  - lib/rails/graphql/helpers/with_callbacks.rb
245
+ - lib/rails/graphql/helpers/with_description.rb
326
246
  - lib/rails/graphql/helpers/with_directives.rb
327
247
  - lib/rails/graphql/helpers/with_events.rb
328
248
  - lib/rails/graphql/helpers/with_fields.rb
249
+ - lib/rails/graphql/helpers/with_global_id.rb
250
+ - lib/rails/graphql/helpers/with_name.rb
329
251
  - lib/rails/graphql/helpers/with_namespace.rb
330
252
  - lib/rails/graphql/helpers/with_owner.rb
331
253
  - lib/rails/graphql/helpers/with_schema_fields.rb
332
254
  - lib/rails/graphql/helpers/with_validator.rb
333
255
  - lib/rails/graphql/introspection.rb
334
- - lib/rails/graphql/native.rb
335
- - lib/rails/graphql/native/functions.rb
336
- - lib/rails/graphql/native/location.rb
337
- - lib/rails/graphql/native/pointers.rb
338
- - lib/rails/graphql/native/visitor.rb
339
256
  - lib/rails/graphql/railtie.rb
257
+ - lib/rails/graphql/railties/app/base_channel.rb
258
+ - lib/rails/graphql/railties/app/base_controller.rb
259
+ - lib/rails/graphql/railties/app/views/_cable.js.erb
260
+ - lib/rails/graphql/railties/app/views/_fetch.js.erb
261
+ - lib/rails/graphql/railties/app/views/graphiql.html.erb
340
262
  - lib/rails/graphql/railties/base_generator.rb
263
+ - lib/rails/graphql/railties/channel.rb
341
264
  - lib/rails/graphql/railties/controller.rb
342
265
  - lib/rails/graphql/railties/controller_runtime.rb
343
266
  - lib/rails/graphql/railties/log_subscriber.rb
344
267
  - lib/rails/graphql/request.rb
345
268
  - lib/rails/graphql/request/arguments.rb
269
+ - lib/rails/graphql/request/backtrace.rb
346
270
  - lib/rails/graphql/request/component.rb
347
271
  - lib/rails/graphql/request/component/field.rb
348
272
  - lib/rails/graphql/request/component/fragment.rb
@@ -356,22 +280,35 @@ files:
356
280
  - lib/rails/graphql/request/helpers/directives.rb
357
281
  - lib/rails/graphql/request/helpers/selection_set.rb
358
282
  - lib/rails/graphql/request/helpers/value_writers.rb
283
+ - lib/rails/graphql/request/prepared_data.rb
359
284
  - lib/rails/graphql/request/steps/authorizable.rb
360
285
  - lib/rails/graphql/request/steps/organizable.rb
361
- - lib/rails/graphql/request/steps/prepareable.rb
362
- - lib/rails/graphql/request/steps/resolveable.rb
286
+ - lib/rails/graphql/request/steps/preparable.rb
287
+ - lib/rails/graphql/request/steps/resolvable.rb
363
288
  - lib/rails/graphql/request/strategy.rb
289
+ - lib/rails/graphql/request/strategy/cached_strategy.rb
364
290
  - lib/rails/graphql/request/strategy/dynamic_instance.rb
365
291
  - lib/rails/graphql/request/strategy/multi_query_strategy.rb
366
292
  - lib/rails/graphql/request/strategy/sequenced_strategy.rb
293
+ - lib/rails/graphql/request/subscription.rb
367
294
  - lib/rails/graphql/schema.rb
368
295
  - lib/rails/graphql/shortcuts.rb
369
296
  - lib/rails/graphql/source.rb
370
297
  - lib/rails/graphql/source/active_record/builders.rb
371
298
  - lib/rails/graphql/source/active_record_source.rb
299
+ - lib/rails/graphql/source/base.rb
300
+ - lib/rails/graphql/source/builder.rb
372
301
  - lib/rails/graphql/source/scoped_arguments.rb
302
+ - lib/rails/graphql/subscription.rb
303
+ - lib/rails/graphql/subscription/provider.rb
304
+ - lib/rails/graphql/subscription/provider/action_cable.rb
305
+ - lib/rails/graphql/subscription/provider/base.rb
306
+ - lib/rails/graphql/subscription/store.rb
307
+ - lib/rails/graphql/subscription/store/base.rb
308
+ - lib/rails/graphql/subscription/store/memory.rb
373
309
  - lib/rails/graphql/to_gql.rb
374
310
  - lib/rails/graphql/type.rb
311
+ - lib/rails/graphql/type/creator.rb
375
312
  - lib/rails/graphql/type/enum.rb
376
313
  - lib/rails/graphql/type/enum/directive_location_enum.rb
377
314
  - lib/rails/graphql/type/enum/type_kind_enum.rb
@@ -385,6 +322,7 @@ files:
385
322
  - lib/rails/graphql/type/object/schema_object.rb
386
323
  - lib/rails/graphql/type/object/type_object.rb
387
324
  - lib/rails/graphql/type/scalar.rb
325
+ - lib/rails/graphql/type/scalar/any_scalar.rb
388
326
  - lib/rails/graphql/type/scalar/bigint_scalar.rb
389
327
  - lib/rails/graphql/type/scalar/binary_scalar.rb
390
328
  - lib/rails/graphql/type/scalar/boolean_scalar.rb
@@ -394,17 +332,22 @@ files:
394
332
  - lib/rails/graphql/type/scalar/float_scalar.rb
395
333
  - lib/rails/graphql/type/scalar/id_scalar.rb
396
334
  - lib/rails/graphql/type/scalar/int_scalar.rb
335
+ - lib/rails/graphql/type/scalar/json_scalar.rb
397
336
  - lib/rails/graphql/type/scalar/string_scalar.rb
398
337
  - lib/rails/graphql/type/scalar/time_scalar.rb
399
338
  - lib/rails/graphql/type/union.rb
400
339
  - lib/rails/graphql/type_map.rb
340
+ - lib/rails/graphql/uri.rb
401
341
  - lib/rails/graphql/version.rb
342
+ - test/assets/en.yml
402
343
  - test/assets/introspection-db.json
403
344
  - test/assets/introspection-mem.txt
404
345
  - test/assets/introspection.gql
405
346
  - test/assets/luke.jpg
406
347
  - test/assets/mem.gql
348
+ - test/assets/mysql.gql
407
349
  - test/assets/sqlite.gql
350
+ - test/assets/translate.gql
408
351
  - test/config.rb
409
352
  - test/graphql/request/context_test.rb
410
353
  - test/graphql/schema_test.rb
@@ -413,6 +356,7 @@ files:
413
356
  - test/graphql/type/input_test.rb
414
357
  - test/graphql/type/interface_test.rb
415
358
  - test/graphql/type/object_test.rb
359
+ - test/graphql/type/scalar/any_scalar_test.rb
416
360
  - test/graphql/type/scalar/bigint_scalar_test.rb
417
361
  - test/graphql/type/scalar/binary_scalar_test.rb
418
362
  - test/graphql/type/scalar/boolean_scalar_test.rb
@@ -422,6 +366,7 @@ files:
422
366
  - test/graphql/type/scalar/float_scalar_test.rb
423
367
  - test/graphql/type/scalar/id_scalar_test.rb
424
368
  - test/graphql/type/scalar/int_scalar_test.rb
369
+ - test/graphql/type/scalar/json_scalar_test.rb
425
370
  - test/graphql/type/scalar/string_scalar_test.rb
426
371
  - test/graphql/type/scalar/time_scalar_test.rb
427
372
  - test/graphql/type/scalar_test.rb
@@ -429,27 +374,34 @@ files:
429
374
  - test/graphql/type_map_test.rb
430
375
  - test/graphql/type_test.rb
431
376
  - test/graphql_test.rb
432
- - test/integration/authorization/authorization_test.rb
377
+ - test/integration/authorization_test.rb
433
378
  - test/integration/config.rb
379
+ - test/integration/customization_test.rb
380
+ - test/integration/global_id_test.rb
434
381
  - test/integration/memory/star_wars_introspection_test.rb
435
382
  - test/integration/memory/star_wars_query_test.rb
436
383
  - test/integration/memory/star_wars_validation_test.rb
437
- - test/integration/schemas/authorization.rb
384
+ - test/integration/mysql/star_wars_introspection_test.rb
385
+ - test/integration/persisted_query_test.rb
386
+ - test/integration/resolver_precedence_test.rb
438
387
  - test/integration/schemas/memory.rb
388
+ - test/integration/schemas/mysql.rb
439
389
  - test/integration/schemas/sqlite.rb
390
+ - test/integration/sqlite/star_wars_global_id_test.rb
440
391
  - test/integration/sqlite/star_wars_introspection_test.rb
441
392
  - test/integration/sqlite/star_wars_mutation_test.rb
442
393
  - test/integration/sqlite/star_wars_query_test.rb
394
+ - test/integration/translate_test.rb
443
395
  - test/test_ext.rb
444
396
  homepage: https://github.com/virtualshield/rails-graphql
445
397
  licenses:
446
398
  - MIT
447
399
  metadata:
448
- homepage_uri: https://virtualshield.com/rails-graphql
400
+ homepage_uri: https://www.rails-graphql.dev/
449
401
  source_code_uri: https://github.com/virtualshield/rails-graphql
450
402
  bug_tracker_uri: https://github.com/virtualshield/rails-graphql/issues
451
403
  changelog_uri: https://github.com/virtualshield/rails-graphql/blob/master/CHANGELOG.md
452
- post_install_message:
404
+ post_install_message:
453
405
  rdoc_options:
454
406
  - "--title"
455
407
  - GraphQL server for Rails
@@ -459,24 +411,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
459
411
  requirements:
460
412
  - - ">="
461
413
  - !ruby/object:Gem::Version
462
- version: '0'
414
+ version: 2.6.3
463
415
  required_rubygems_version: !ruby/object:Gem::Requirement
464
416
  requirements:
465
- - - ">="
417
+ - - ">"
466
418
  - !ruby/object:Gem::Version
467
- version: '0'
419
+ version: 1.3.1
468
420
  requirements: []
469
- rubygems_version: 3.1.4
470
- signing_key:
421
+ rubygems_version: 3.2.33
422
+ signing_key:
471
423
  specification_version: 4
472
- summary: A GraphQL server for Rails applications
424
+ summary: GraphQL meets RoR with the most Ruby-like DSL
473
425
  test_files:
426
+ - test/assets/en.yml
474
427
  - test/assets/introspection-db.json
475
428
  - test/assets/introspection-mem.txt
476
429
  - test/assets/introspection.gql
477
430
  - test/assets/luke.jpg
478
431
  - test/assets/mem.gql
432
+ - test/assets/mysql.gql
479
433
  - test/assets/sqlite.gql
434
+ - test/assets/translate.gql
480
435
  - test/config.rb
481
436
  - test/graphql/request/context_test.rb
482
437
  - test/graphql/schema_test.rb
@@ -485,6 +440,7 @@ test_files:
485
440
  - test/graphql/type/input_test.rb
486
441
  - test/graphql/type/interface_test.rb
487
442
  - test/graphql/type/object_test.rb
443
+ - test/graphql/type/scalar/any_scalar_test.rb
488
444
  - test/graphql/type/scalar/bigint_scalar_test.rb
489
445
  - test/graphql/type/scalar/binary_scalar_test.rb
490
446
  - test/graphql/type/scalar/boolean_scalar_test.rb
@@ -494,6 +450,7 @@ test_files:
494
450
  - test/graphql/type/scalar/float_scalar_test.rb
495
451
  - test/graphql/type/scalar/id_scalar_test.rb
496
452
  - test/graphql/type/scalar/int_scalar_test.rb
453
+ - test/graphql/type/scalar/json_scalar_test.rb
497
454
  - test/graphql/type/scalar/string_scalar_test.rb
498
455
  - test/graphql/type/scalar/time_scalar_test.rb
499
456
  - test/graphql/type/scalar_test.rb
@@ -501,15 +458,22 @@ test_files:
501
458
  - test/graphql/type_map_test.rb
502
459
  - test/graphql/type_test.rb
503
460
  - test/graphql_test.rb
461
+ - test/integration/authorization_test.rb
504
462
  - test/integration/config.rb
463
+ - test/integration/customization_test.rb
464
+ - test/integration/global_id_test.rb
505
465
  - test/integration/memory/star_wars_introspection_test.rb
506
466
  - test/integration/memory/star_wars_query_test.rb
507
467
  - test/integration/memory/star_wars_validation_test.rb
468
+ - test/integration/mysql/star_wars_introspection_test.rb
469
+ - test/integration/persisted_query_test.rb
470
+ - test/integration/resolver_precedence_test.rb
508
471
  - test/integration/schemas/memory.rb
472
+ - test/integration/schemas/mysql.rb
509
473
  - test/integration/schemas/sqlite.rb
510
- - test/integration/schemas/authorization.rb
474
+ - test/integration/sqlite/star_wars_global_id_test.rb
511
475
  - test/integration/sqlite/star_wars_introspection_test.rb
512
476
  - test/integration/sqlite/star_wars_mutation_test.rb
513
477
  - test/integration/sqlite/star_wars_query_test.rb
514
- - test/integration/authorization/authorization_test.rb
478
+ - test/integration/translate_test.rb
515
479
  - test/test_ext.rb
data/ext/depend DELETED
@@ -1,3 +0,0 @@
1
- # Replaces default mkmf dependencies. Default mkmf dependencies include all libruby headers.
2
- # We don't need libruby and some of these headers are missing on JRuby (breaking compilation there).
3
- $(OBJS): $(HDRS)