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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 824b45e3ccff2cd0c10206804c8f7b7b59165fab
4
- data.tar.gz: 5748627b41997945249f2db90ac55cf615c4b81b
3
+ metadata.gz: 6a630b9dd4ea1cc3bebb02baec56e9277a52399f
4
+ data.tar.gz: 35ac3f5944bb050604bb2c9f584ee9f47b3e9102
5
5
  SHA512:
6
- metadata.gz: 6c92a2ac6619d84723ad4a60ea3fc8183bdaf354649661f8f3aa3dbe8eb5307482baf368c3b977f167dc5befa2df5ce3f6bbdf3d80494858c3c414d2acb4b4c2
7
- data.tar.gz: 6fc3e912bc42d287159fa61112443f322c617edcf3e18ffbf924fd7cf81173d1e0962450813e0849afa0320e76742fdac14e4854f6c67b24bc17ec6a3e2d9b52
6
+ metadata.gz: 383620a1423b7bc056ff08c75f28fefef9937f50bbe4322037f9f89685d6e7fb1bf5070c7e890d77c7b87aefa0a46384d84eba5abc36d01905778f4f3461c2c7
7
+ data.tar.gz: a734e466173e3e03ac960e700a851cb755af4cbf5dcb46a8a0e36c314adafe865ae5aac089937375bb62f0c1ff0d38e65e4ce70b55253dccbf472867e7d70f75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ``gn_list_resolver`` CHANGELOG
2
2
 
3
+ ## 3.0.3.4
4
+
5
+ @alexander-myltsev - make compatible with API changes
6
+
3
7
  ## 3.0.3.3
4
8
 
5
9
  @alexander-myltsev - make compatible with API changes
@@ -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
- total suppliedId suppliedInput
16
- results {
17
- name { value }
18
- canonicalName { value }
19
- synonym
20
- matchType { kind score editDistance }
21
- taxonId classification { pathRanks }
22
- score { value parsingQuality }
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Namespace module for crossmapping checklists to GN sources
4
4
  module GnListResolver
5
- VERSION = "3.0.3.3"
5
+ VERSION = "3.0.3.4"
6
6
 
7
7
  def self.version
8
8
  VERSION
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.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-03 00:00:00.000000000 Z
12
+ date: 2017-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop