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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca2358a541ef077a0333d27765542713e1312fc3fed793d87b577a1abdc76834
4
- data.tar.gz: 19b6b5f67cc27e77fe267234dd887580f5b6dae60229fab006cd3fad3021b0f1
3
+ metadata.gz: 2b097e9c732ee345e066017667d9db005ead650773c2a531dad7fe8eccb5031d
4
+ data.tar.gz: 4e0134ebceda7abd03b59dcfc354faa7da70b1159e5a795d99a248288dff3f1c
5
5
  SHA512:
6
- metadata.gz: 6cff537349cf7ee95e1493589b614403e09a6d61b6d2c2d2e90238ce16867b749b70d74ca4e3442a01c3805f223276d01bb14eb88cd945523c4e3f3211e55cf2
7
- data.tar.gz: 45f85054462bad1212a1b8470af12b75869dd37b6cfc37d7d46b100ac7adfd18e83a9b05cb8267950dab4280045239e5c97efa66fe6e0699e1b432c610ce97d2
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.4'
4
+ VERSION = '0.1.5'
5
5
  end
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley