sul_orcid_client 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sul_orcid_client/cocina_support.rb +4 -1
- data/lib/sul_orcid_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d094f47fb97b02c27e7d2aa4fa309dd70a767db2d612570e664951e7009a52f
|
4
|
+
data.tar.gz: ebccfcefd3118ab60e670c88c7bb5f95ffcc61f308b42bbbe59ce391bff10005
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc9df0a46e008a1c801eecf50376c23c2aba54917af0db487954272ba64b86d66ff10e81d8e6fe5bc1c554a682c05b2697260f55e46a4cd1f22dfae7d6c29988
|
7
|
+
data.tar.gz: a6eebdfb9f58d6d405a32e8a0e6062eac00ca1a4937bf6b8af3bc9f803df191769f83500b08ec93c8e6faea1316dd11e45b5aaba9a4457911e019415699bbed1
|
data/Gemfile.lock
CHANGED
@@ -21,7 +21,10 @@ class SulOrcidClient
|
|
21
21
|
return identifier.uri if identifier.uri
|
22
22
|
return identifier.value if identifier.value.start_with?("https://orcid.org/")
|
23
23
|
|
24
|
-
|
24
|
+
# some records have just the ORCIDID without the URL prefix, add it if so, e.g. druid:tp865ng1792
|
25
|
+
return URI.join("https://orcid.org/", identifier.value).to_s if identifier.source.uri.blank?
|
26
|
+
|
27
|
+
URI.join(identifier.source.uri, identifier.value).to_s
|
25
28
|
end
|
26
29
|
|
27
30
|
# @param [Cocina::Models::Description] description containing contributors to check
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sul_orcid_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Mangiafico
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-11-
|
12
|
+
date: 2023-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|