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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1a34e591254a70094b74d68faf2a6efe087eb4c55ff2451480193246d9f6181
4
- data.tar.gz: 427b17c5099b6744f6a2e870d09b92a3afbcb2779b11c1d81c1374c6ab0e13a3
3
+ metadata.gz: 15076ab2a36e5f5182bf6060ec667b2517b1d1a9e46e92d8bf2505e6771d363b
4
+ data.tar.gz: 9883bac0b26ca1fa4e38e13392d04a2bf8a9fd9a99664a640338f31d8ebf05d1
5
5
  SHA512:
6
- metadata.gz: c86f8a9ab4356107edfa3f6fdc183e8194a3b3b2442b4c7b9867a9bd024b466aa1e6040dac6e45474abccbd1fb4d9a84acc073bef33d61cdffdf3abc8f8d7d0f
7
- data.tar.gz: 48db9d68364e7b1c19a142962d65f94a96a97c47d7b4a3e3e03a7f5d959a23f22f8451e474cae5a6b0abd1f1c1bd08a49fcf23066d3446595c09508d8a8591cd
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) GraphQL_Language_Nodes_##node_class_name = rb_const_get_at(mGraphQLLanguageNodes, rb_intern(#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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module CParser
5
- VERSION = "1.0.6"
5
+ VERSION = "1.0.7"
6
6
  end
7
7
  end
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.6
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-01 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql