gn_list_resolver 3.0.1.1 → 3.0.1.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gn_list_resolver/constants.rb +9 -0
- data/lib/gn_list_resolver/result_processor.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: a6c2c5a779cccf17513a918c6facab6dab818a29
|
|
4
|
+
data.tar.gz: 14cf0ba4b222e83085e6dff086f396e07ebac4e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78a041309b65af86db3271c9365dd77b70c86736ef6bc8ff970908438e7898896b3d9d06e5a57f3bb18b1c584dc7300465be906aae209bc090f3b0f4e2371273
|
|
7
|
+
data.tar.gz: 532058f4f440102b966127507c38a619a607cf95b9e2f7d31b9aa42873c19fa9a20d8a31da4ebd113684ae66d5d01663382f89d6ad6a3391d82810ae8d207f2d
|
data/CHANGELOG.md
CHANGED
|
@@ -7,4 +7,13 @@ module GnListResolver
|
|
|
7
7
|
MATCH_TYPE_EMPTY = "EmptyMatch"
|
|
8
8
|
RESOLVER_URL = ENV["GN_RESOLVER_URL"] ||
|
|
9
9
|
"http://index-api.globalnames.org/api/graphql"
|
|
10
|
+
MATCH_TYPES = {
|
|
11
|
+
EmptyMatch: "No match",
|
|
12
|
+
ExactNameMatchByUUID: "Exact string match",
|
|
13
|
+
ExactCanonicalNameMatchByUUID: "Canonical form exact match",
|
|
14
|
+
FuzzyCanonicalMatch: "Canonical form fuzzy match",
|
|
15
|
+
ExactPartialMatch: "Partial canonical form match",
|
|
16
|
+
FuzzyPartialMatch: "Partial canonical form fuzzy match",
|
|
17
|
+
ExactMatchPartialByGenus: "Genus part match"
|
|
18
|
+
}.freeze
|
|
10
19
|
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.1.
|
|
4
|
+
version: 3.0.1.2
|
|
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-07-
|
|
12
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: trollop
|