uc3-dmp-id 0.1.3 → 0.1.5

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
  SHA256:
3
- metadata.gz: 10840ba39949ec387dd3016a717d75cf3ba5d259fe164fb54e9c2d436e74a24b
4
- data.tar.gz: 398c7de1d549a738bfc574cdf56c71b1bff8400402aee5bc8b356fdcb9f01ecb
3
+ metadata.gz: 2b097e9c732ee345e066017667d9db005ead650773c2a531dad7fe8eccb5031d
4
+ data.tar.gz: 4e0134ebceda7abd03b59dcfc354faa7da70b1159e5a795d99a248288dff3f1c
5
5
  SHA512:
6
- metadata.gz: 793eeaf24f53e8a77e36596d91c56501f125f8d9272bd6b432dd05bc2d170d907d25fe213c276cf614ed8118884ac0be796cfa53e3d02c88ed91bf8660ab2f53
7
- data.tar.gz: 8214ca8f136883170f45b025bc80e73e047ad2a6172837e08ab8f1b3dc48049d3038a95f4df278958c7b3d6a5b5b938a988ec88c3bb556bb0791c998c2603200
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['repositories'], response:) if response[:score].positive?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.5'
5
5
  end
data/lib/uc3-dmp-id.rb CHANGED
@@ -7,6 +7,7 @@ require 'json-schema'
7
7
  require 'uc3-dmp-event-bridge'
8
8
 
9
9
  require 'uc3-dmp-id/asserter'
10
+ require 'uc3-dmp-id/comparator'
10
11
  require 'uc3-dmp-id/creator'
11
12
  require 'uc3-dmp-id/deleter'
12
13
  require 'uc3-dmp-id/finder'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley