gn_list_resolver 3.3.1.0 → 3.3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdcc523cf5153459744453bc7ac1a6ccd0dcc362
4
- data.tar.gz: a5886cca5aef50a2d17a851152927f1653d850c8
3
+ metadata.gz: bca6cb993b435d76acf6a14bb0c4031892a6a949
4
+ data.tar.gz: d7c2c9e5c5132cd93b4dc03857427a0e6e5ed8e2
5
5
  SHA512:
6
- metadata.gz: c8f44334200d52e5d407793206a409727ad61c1ae045c2510ef4d8ca6cfd39163dda3ad38017041da5f4e7a9ef4ebd0eb1bb65d8ce8c3eb4c618e98e20037321
7
- data.tar.gz: 62034abff0ab1a6a85499586ab259cf15138d49e0c0cb578a0e500e3354c38ef09253e579763698f9fa8ab849c09e11fe25411301d7aee36d0a1e551c615f714
6
+ metadata.gz: 64966a526648716221e6024c753fb9cb28b3af1450d928c1e9bc5f70cb614587ac7481674d93dbac1368a0ca90e621930d170ed5db5bf31d94a6478944919a58
7
+ data.tar.gz: aabced616396747ce23661c945b29b11b7aebc297ee57618ed5e2a659d581abf446f1af42aafd1032492e54b20b8cc49ccd550650a73222f15d6c4bb69e1d0b3
@@ -1,5 +1,13 @@
1
1
  # ``gn_list_resolver`` CHANGELOG
2
2
 
3
+ ## 3.3.1.1
4
+
5
+ @dimus - add advancedResultion flag to GraphQL query
6
+
7
+ ## 3.3.1.0
8
+
9
+ @dimus - concurrent resolution
10
+
3
11
  ## 3.2.0.4
4
12
 
5
13
  @dimus - make it possible for result.canonical to be nil
@@ -11,7 +11,8 @@ module GnListResolver
11
11
  @client = GraphQL::Client.new(schema: schema, execute: http)
12
12
  @query = <<~GRAPHQL_QUERY
13
13
  query($names: [name!]!, $dataSourceIds: [Int!]) {
14
- nameResolver(names: $names, dataSourceIds: $dataSourceIds) {
14
+ nameResolver(names: $names, dataSourceIds: $dataSourceIds,
15
+ advancedResolution: true) {
15
16
  responses {
16
17
  suppliedId suppliedInput
17
18
  results {
@@ -54,6 +54,7 @@ module GnListResolver
54
54
  else
55
55
  match_type_min.match_type.kind.to_sym
56
56
  end
57
+ require "byebug"; byebug if @stats.stats[:matches][match_type_value].nil?
57
58
  @stats.stats[:matches][match_type_value] += 1
58
59
  @stats.stats[:resolved_records] += 1
59
60
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Namespace module for crossmapping checklists to GN sources
4
4
  module GnListResolver
5
- VERSION = "3.3.1.0"
5
+ VERSION = "3.3.1.1"
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.3.1.0
4
+ version: 3.3.1.1
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-09-12 00:00:00.000000000 Z
12
+ date: 2017-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: biodiversity