agoo 2.11.3 → 2.11.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of agoo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/ext/agoo/gqlintro.c +3 -2
- data/lib/agoo/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53c762d0c9613e6c4de53d77d1137bada69a6ea5cf821d24aa1481b98248027c
|
4
|
+
data.tar.gz: d613a36f1bee36135e3f97a1bfc3aac9695e0b33e71368cc831addca745bc583
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6349a5640d5506e34862f9f64e13dff3ba8286ee1b87acf71fa05e65acb23fc30bd97b1fe82d8c4cb506af8e5dd5bdb19bf776c415755a2d3883bb563c38d4a2
|
7
|
+
data.tar.gz: f05c7c3fdcc179bf424e1c571b1bdf6bf25056b6236e50cec4703ce4fffb9ffe37a228f189c671d40778febf79213142361cc895e18e906c51024e55cc01a95f
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@ All changes to the Agoo gem are documented here. Releases follow semantic versio
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [2.11.4] - [2019-11-10]
|
8
|
+
|
9
|
+
GraphQL Introspection
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- __Field deprecatedReason is no longer listed as 'reason'.
|
14
|
+
|
15
|
+
- Missing SCHEMA __Type kind added.
|
16
|
+
|
7
17
|
## [2.11.3] - [2019-11-02]
|
8
18
|
|
9
19
|
Benchamark options
|
data/ext/agoo/gqlintro.c
CHANGED
@@ -162,7 +162,7 @@ create_field_type(agooErr err) {
|
|
162
162
|
NULL == gql_type_field(err, type, "args", input_list, NULL, NULL, 0, true) ||
|
163
163
|
NULL == gql_type_field(err, type, "type", type_type, NULL, NULL, 0, true) ||
|
164
164
|
NULL == gql_type_field(err, type, "isDeprecated", &gql_bool_type, NULL, NULL, 0, true) ||
|
165
|
-
NULL == gql_type_field(err, type, "
|
165
|
+
NULL == gql_type_field(err, type, "deprecationReason", &gql_string_type, NULL, NULL, 0, false)) {
|
166
166
|
|
167
167
|
return err->code;
|
168
168
|
}
|
@@ -835,6 +835,7 @@ type_kind(agooErr err, gqlDoc doc, gqlCobj obj, gqlField field, gqlSel sel, gqlV
|
|
835
835
|
const char *key = sel->name;
|
836
836
|
|
837
837
|
switch (((gqlType)obj->ptr)->kind) {
|
838
|
+
case GQL_SCHEMA: kind = "SCHEMA"; break;
|
838
839
|
case GQL_OBJECT: kind = "OBJECT"; break;
|
839
840
|
case GQL_INPUT: kind = "INPUT_OBJECT"; break;
|
840
841
|
case GQL_UNION: kind = "UNION"; break;
|
@@ -843,7 +844,7 @@ type_kind(agooErr err, gqlDoc doc, gqlCobj obj, gqlField field, gqlSel sel, gqlV
|
|
843
844
|
case GQL_SCALAR: kind = "SCALAR"; break;
|
844
845
|
case GQL_LIST: kind = "LIST"; break;
|
845
846
|
default:
|
846
|
-
return agoo_err_set(err, AGOO_ERR_ARG, "__Type kind field not valid. %s:%d", __FILE__, __LINE__);
|
847
|
+
return agoo_err_set(err, AGOO_ERR_ARG, "__Type kind (%d) field not valid. %s:%d", ((gqlType)obj->ptr)->kind, __FILE__, __LINE__);
|
847
848
|
}
|
848
849
|
if (NULL != sel->alias) {
|
849
850
|
key = sel->alias;
|
data/lib/agoo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agoo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Ohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -188,12 +188,12 @@ signing_key:
|
|
188
188
|
specification_version: 4
|
189
189
|
summary: An HTTP server
|
190
190
|
test_files:
|
191
|
-
- test/graphql_test.rb
|
192
|
-
- test/hijack_test.rb
|
193
191
|
- test/rack_handler_test.rb
|
194
|
-
- test/base_handler_test.rb
|
195
192
|
- test/log_test.rb
|
196
193
|
- test/domain_test.rb
|
197
|
-
- test/early_hints_test.rb
|
198
194
|
- test/bind_test.rb
|
195
|
+
- test/base_handler_test.rb
|
196
|
+
- test/early_hints_test.rb
|
197
|
+
- test/hijack_test.rb
|
199
198
|
- test/static_test.rb
|
199
|
+
- test/graphql_test.rb
|