gn_list_resolver 3.0.3.3 → 3.0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gn_list_resolver/graphql.rb +10 -8
- data/lib/gn_list_resolver/resolver.rb +1 -1
- data/lib/gn_list_resolver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a630b9dd4ea1cc3bebb02baec56e9277a52399f
|
4
|
+
data.tar.gz: 35ac3f5944bb050604bb2c9f584ee9f47b3e9102
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 383620a1423b7bc056ff08c75f28fefef9937f50bbe4322037f9f89685d6e7fb1bf5070c7e890d77c7b87aefa0a46384d84eba5abc36d01905778f4f3461c2c7
|
7
|
+
data.tar.gz: a734e466173e3e03ac960e700a851cb755af4cbf5dcb46a8a0e36c314adafe865ae5aac089937375bb62f0c1ff0d38e65e4ce70b55253dccbf472867e7d70f75
|
data/CHANGELOG.md
CHANGED
@@ -12,14 +12,16 @@ module GnListResolver
|
|
12
12
|
@query = <<~GRAPHQL_QUERY
|
13
13
|
query($names: [name!]!, $dataSourceIds: [Int!]) {
|
14
14
|
nameResolver(names: $names, dataSourceIds: $dataSourceIds) {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
responses {
|
16
|
+
suppliedId suppliedInput
|
17
|
+
results {
|
18
|
+
name { value }
|
19
|
+
canonicalName { value }
|
20
|
+
synonym
|
21
|
+
matchType { kind score editDistance }
|
22
|
+
taxonId classification { pathRanks }
|
23
|
+
score { value parsingQuality }
|
24
|
+
}
|
23
25
|
}
|
24
26
|
}
|
25
27
|
}
|
@@ -85,7 +85,7 @@ module GnListResolver
|
|
85
85
|
|
86
86
|
res = GRAPHQL.client.query(QUERY, variables: variables(names))
|
87
87
|
if res.data
|
88
|
-
@processor.process(res.data.name_resolver, @current_data)
|
88
|
+
@processor.process(res.data.name_resolver.responses, @current_data)
|
89
89
|
else
|
90
90
|
single_remote_resolve(names)
|
91
91
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gn_list_resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.3.
|
4
|
+
version: 3.0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Mozzherin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|