uc3-dmp-id 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/comparator.rb +1 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b097e9c732ee345e066017667d9db005ead650773c2a531dad7fe8eccb5031d
|
4
|
+
data.tar.gz: 4e0134ebceda7abd03b59dcfc354faa7da70b1159e5a795d99a248288dff3f1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fc6e478d5c3adf03086254de328df4f84836adbc7682827d9a1ea2df185ad626e8996685ddfc1a86130e3827a08fa2a9101256ab4dc60f9834533156202b478
|
7
|
+
data.tar.gz: 9a43c72bc52d91dcd85c20bb4ec76f45518b7e7ce691ee7320f52d1b2d45dec9b21d0112aeca90db74e9dc644d521671b5ff6ae9f0dccee966745504fefe1904
|
@@ -71,7 +71,7 @@ module Uc3DmpId
|
|
71
71
|
|
72
72
|
# Only process the following if we had some matching contributors, affiliations or opportuniy nbrs
|
73
73
|
response = _repository_match?(array: hash['repositories'], response:) if response[:score].positive?
|
74
|
-
response = _keyword_match?(array: hash['
|
74
|
+
response = _keyword_match?(array: hash['keywords'], response:) if response[:score].positive?
|
75
75
|
response = _text_match?(type: 'title', text: hash['title'], response:) if response[:score].positive?
|
76
76
|
response = _text_match?(type: 'abstract', text: hash['abstract'], response:) if response[:score].positive?
|
77
77
|
# If the score is less than 3 then we have no confidence that it is a match
|
data/lib/uc3-dmp-id/version.rb
CHANGED