graphql-c_parser 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/graphql_c_parser_ext/parser.c +5 -3
- data/lib/graphql/c_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15076ab2a36e5f5182bf6060ec667b2517b1d1a9e46e92d8bf2505e6771d363b
|
4
|
+
data.tar.gz: 9883bac0b26ca1fa4e38e13392d04a2bf8a9fd9a99664a640338f31d8ebf05d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5eb4abe1fb0ef772a1715cda800cb86df8f8b0ee6dc32b6f9de6c0273860e466d3cbe2cbc6ddd183b6c513dacf3f984498200718afe74d9925813c38b882e1
|
7
|
+
data.tar.gz: 21f20974bb04b7f8e82cc7abee505d5b7204e424598fd28d7114b3aa6ae9828d874c2754df88962b8c478c65c480bef26e5df816a6dfeb19ef2544f6a6f89a30
|
@@ -3272,19 +3272,21 @@ void yyerror(VALUE parser, VALUE filename, const char *msg) {
|
|
3272
3272
|
rb_exc_raise(exception);
|
3273
3273
|
}
|
3274
3274
|
|
3275
|
-
#define INITIALIZE_NODE_CLASS_VARIABLE(node_class_name)
|
3275
|
+
#define INITIALIZE_NODE_CLASS_VARIABLE(node_class_name) \
|
3276
|
+
rb_global_variable(&GraphQL_Language_Nodes_##node_class_name); \
|
3277
|
+
GraphQL_Language_Nodes_##node_class_name = rb_const_get_at(mGraphQLLanguageNodes, rb_intern(#node_class_name));
|
3276
3278
|
|
3277
3279
|
void initialize_node_class_variables() {
|
3278
3280
|
VALUE mGraphQL = rb_const_get_at(rb_cObject, rb_intern("GraphQL"));
|
3279
3281
|
VALUE mGraphQLLanguage = rb_const_get_at(mGraphQL, rb_intern("Language"));
|
3280
3282
|
VALUE mGraphQLLanguageNodes = rb_const_get_at(mGraphQLLanguage, rb_intern("Nodes"));
|
3281
3283
|
|
3282
|
-
GraphQL_Language_Nodes_NONE = rb_ary_new();
|
3283
3284
|
rb_global_variable(&GraphQL_Language_Nodes_NONE);
|
3285
|
+
GraphQL_Language_Nodes_NONE = rb_ary_new();
|
3284
3286
|
rb_ary_freeze(GraphQL_Language_Nodes_NONE);
|
3285
3287
|
|
3286
|
-
r_string_query = rb_str_new_cstr("query");
|
3287
3288
|
rb_global_variable(&r_string_query);
|
3289
|
+
r_string_query = rb_str_new_cstr("query");
|
3288
3290
|
rb_str_freeze(r_string_query);
|
3289
3291
|
|
3290
3292
|
INITIALIZE_NODE_CLASS_VARIABLE(Argument)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-c_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|