gnfinder 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: b71aecaa3592e0ce1c0f1688aa6db3fa41d0cf3477e9776909247c97144e9fb4
4
- data.tar.gz: 4438583d8194f3333a0e2f14dd31fc930637aa5d1053318bfa302d9a5b7c6393
3
+ metadata.gz: 92d97dc85a5d774323c7e995573c47bf004d606ad61e8b15bb81c0ce492b419e
4
+ data.tar.gz: 381a9dc59941089bd0620ce24456a4e39944ff7a7decef4ecadd13e5ad918ff4
5
5
  SHA512:
6
- metadata.gz: e72fc1543ac7362378212cc25e91c82fee081d377c663ffa4442ea6c977d19aeaf7488510a16cbccb19222840cdbeaaeafec4a38f7c32b1828ab22464455ad1a
7
- data.tar.gz: 6fa6c689ceff3b7e4e6ac8035f261952bc0013172bed14cec79fdb807a98ae470a892ebec84f5c93bb1e498fe235a1c71007804ce55dd17e6633d689a1efa42b
6
+ metadata.gz: 2851e18f695cffaed64c4da96349e00351da2918160ec16c5dada98a704d4156f9ef694f059a13a5072d7badb05ec30ae373468ee61aa7f0cab9ea81a7901df2
7
+ data.tar.gz: 72ee313d4327eb6e2f3521438bcc788a24ee86ed412114118e61c3628bedec83cfd089dbb1ee478853e92178ca56572480d264cceba0fad1a096bd63f17f5b22
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Gnfinder is a namespace module for gndinfer gem.
4
4
  module Gnfinder
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
 
7
7
  def self.version
8
8
  VERSION
data/lib/protob_pb.rb CHANGED
@@ -34,25 +34,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
34
  optional :verification, :message, 7, "protob.Verification"
35
35
  end
36
36
  add_message "protob.Verification" do
37
- optional :data_source_id, :int32, 1
38
- optional :data_source_title, :string, 2
39
- optional :matched_name, :string, 3
40
- optional :current_name, :string, 4
41
- optional :classification_path, :string, 5
42
- optional :data_sources_num, :int32, 6
43
- optional :data_source_quality, :string, 7
44
- optional :edit_distance, :int32, 8
45
- optional :stem_edit_distance, :int32, 9
46
- optional :match_type, :enum, 11, "protob.MatchType"
47
- optional :error, :string, 12
48
- repeated :preferred_results, :message, 13, "protob.PreferredResult"
37
+ optional :best_result, :message, 1, "protob.ResultData"
38
+ repeated :preferred_results, :message, 2, "protob.ResultData"
39
+ optional :data_sources_num, :int32, 3
40
+ optional :data_source_quality, :string, 4
41
+ optional :retries, :int32, 5
42
+ optional :error, :string, 6
49
43
  end
50
- add_message "protob.PreferredResult" do
44
+ add_message "protob.ResultData" do
51
45
  optional :data_source_id, :int32, 1
52
46
  optional :data_source_title, :string, 2
53
- optional :name_id, :string, 3
54
- optional :name, :string, 4
55
- optional :taxon_id, :string, 5
47
+ optional :taxon_id, :string, 3
48
+ optional :matched_name, :string, 4
49
+ optional :matched_canonical, :string, 5
50
+ optional :current_name, :string, 6
51
+ optional :synonym, :bool, 7
52
+ optional :classification_path, :string, 8
53
+ optional :classification_rank, :string, 9
54
+ optional :classification_ids, :string, 10
55
+ optional :edit_distance, :int32, 11
56
+ optional :stem_edit_distance, :int32, 12
57
+ optional :match_type, :enum, 13, "protob.MatchType"
56
58
  end
57
59
  add_enum "protob.MatchType" do
58
60
  value :NONE, 0
@@ -70,6 +72,6 @@ module Protob
70
72
  NameStrings = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.NameStrings").msgclass
71
73
  NameString = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.NameString").msgclass
72
74
  Verification = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.Verification").msgclass
73
- PreferredResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.PreferredResult").msgclass
75
+ ResultData = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.ResultData").msgclass
74
76
  MatchType = Google::Protobuf::DescriptorPool.generated_pool.lookup("protob.MatchType").enummodule
75
77
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnfinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-19 00:00:00.000000000 Z
11
+ date: 2019-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler