datacite 0.8.0 → 0.8.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf162b79b9e0269d240b6c93c9dc52ab3226dddd1ca51db3e5fe21e1f882a876
|
|
4
|
+
data.tar.gz: 83b989c64ac0447928e2b73e6402ab792068cf8b97ded4f1d5f66dca28cf2252
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ac991570bbabaf25d7a5323fcfb58ceae39e304c5a3af0bdf2492dd4b3046f7de4c80a71af4d34be20727eb5f54c33ad083fa5b8051def5d260ae0d8c89a4c3
|
|
7
|
+
data.tar.gz: 4b50a9d8bd02b31ef3b71fd7ec98490023d41ce0fa8ab8d79b9d0c35320bda1babd78e7be238825996a7af25feda936041b32a6c40fc5c8cc7a8b93b699b78f4
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
datacite (0.8.
|
|
4
|
+
datacite (0.8.2)
|
|
5
5
|
activesupport
|
|
6
6
|
dry-monads (~> 1.3)
|
|
7
7
|
faraday (~> 2.0)
|
|
@@ -11,7 +11,7 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
activesupport (8.1.
|
|
14
|
+
activesupport (8.1.2)
|
|
15
15
|
base64
|
|
16
16
|
bigdecimal
|
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -24,14 +24,15 @@ GEM
|
|
|
24
24
|
securerandom (>= 0.3)
|
|
25
25
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
26
26
|
uri (>= 0.13.1)
|
|
27
|
-
addressable (2.8.
|
|
28
|
-
public_suffix (>= 2.0.2, <
|
|
27
|
+
addressable (2.8.9)
|
|
28
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
29
29
|
ast (2.4.3)
|
|
30
30
|
attr_extras (7.1.0)
|
|
31
31
|
base64 (0.3.0)
|
|
32
|
-
bigdecimal (
|
|
33
|
-
byebug (
|
|
34
|
-
|
|
32
|
+
bigdecimal (4.0.1)
|
|
33
|
+
byebug (13.0.0)
|
|
34
|
+
reline (>= 0.6.0)
|
|
35
|
+
cocina-models (0.116.0)
|
|
35
36
|
activesupport
|
|
36
37
|
deprecation
|
|
37
38
|
dry-struct (~> 1.0)
|
|
@@ -39,14 +40,14 @@ GEM
|
|
|
39
40
|
edtf
|
|
40
41
|
equivalent-xml
|
|
41
42
|
i18n
|
|
43
|
+
json_schemer (~> 2.0)
|
|
42
44
|
jsonpath
|
|
43
45
|
nokogiri
|
|
44
|
-
openapi_parser (~> 1.0)
|
|
45
46
|
super_diff
|
|
46
47
|
thor
|
|
47
48
|
zeitwerk (~> 2.1)
|
|
48
|
-
concurrent-ruby (1.3.
|
|
49
|
-
connection_pool (
|
|
49
|
+
concurrent-ruby (1.3.6)
|
|
50
|
+
connection_pool (3.0.2)
|
|
50
51
|
crack (1.0.1)
|
|
51
52
|
bigdecimal
|
|
52
53
|
rexml
|
|
@@ -55,11 +56,11 @@ GEM
|
|
|
55
56
|
diff-lcs (1.6.2)
|
|
56
57
|
docile (1.4.1)
|
|
57
58
|
drb (2.2.3)
|
|
58
|
-
dry-core (1.
|
|
59
|
+
dry-core (1.2.0)
|
|
59
60
|
concurrent-ruby (~> 1.0)
|
|
60
61
|
logger
|
|
61
62
|
zeitwerk (~> 2.6)
|
|
62
|
-
dry-inflector (1.
|
|
63
|
+
dry-inflector (1.3.1)
|
|
63
64
|
dry-logic (1.6.0)
|
|
64
65
|
bigdecimal
|
|
65
66
|
concurrent-ruby (~> 1.0)
|
|
@@ -69,13 +70,13 @@ GEM
|
|
|
69
70
|
concurrent-ruby (~> 1.0)
|
|
70
71
|
dry-core (~> 1.1)
|
|
71
72
|
zeitwerk (~> 2.6)
|
|
72
|
-
dry-struct (1.8.
|
|
73
|
+
dry-struct (1.8.1)
|
|
73
74
|
dry-core (~> 1.1)
|
|
74
75
|
dry-types (~> 1.8, >= 1.8.2)
|
|
75
76
|
ice_nine (~> 0.11)
|
|
76
77
|
zeitwerk (~> 2.6)
|
|
77
|
-
dry-types (1.
|
|
78
|
-
bigdecimal (
|
|
78
|
+
dry-types (1.9.1)
|
|
79
|
+
bigdecimal (>= 3.0)
|
|
79
80
|
concurrent-ruby (~> 1.0)
|
|
80
81
|
dry-core (~> 1.0)
|
|
81
82
|
dry-inflector (~> 1.0)
|
|
@@ -85,19 +86,23 @@ GEM
|
|
|
85
86
|
activesupport (>= 3.0, < 9.0)
|
|
86
87
|
equivalent-xml (0.6.0)
|
|
87
88
|
nokogiri (>= 1.4.3)
|
|
88
|
-
faraday (2.14.
|
|
89
|
+
faraday (2.14.1)
|
|
89
90
|
faraday-net_http (>= 2.0, < 3.5)
|
|
90
91
|
json
|
|
91
92
|
logger
|
|
92
|
-
faraday-net_http (3.4.
|
|
93
|
-
net-http (
|
|
93
|
+
faraday-net_http (3.4.2)
|
|
94
|
+
net-http (~> 0.5)
|
|
94
95
|
hana (1.3.7)
|
|
95
96
|
hashdiff (1.2.1)
|
|
96
|
-
i18n (1.14.
|
|
97
|
+
i18n (1.14.8)
|
|
97
98
|
concurrent-ruby (~> 1.0)
|
|
98
99
|
ice_nine (0.11.2)
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
io-console (0.8.2)
|
|
101
|
+
json (2.19.2)
|
|
102
|
+
json-schema (6.2.0)
|
|
103
|
+
addressable (~> 2.8)
|
|
104
|
+
bigdecimal (>= 3.1, < 5)
|
|
105
|
+
json_schemer (2.5.0)
|
|
101
106
|
bigdecimal
|
|
102
107
|
hana (~> 1.3)
|
|
103
108
|
regexp_parser (~> 2.0)
|
|
@@ -107,40 +112,45 @@ GEM
|
|
|
107
112
|
language_server-protocol (3.17.0.5)
|
|
108
113
|
lint_roller (1.1.0)
|
|
109
114
|
logger (1.7.0)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
mcp (0.8.0)
|
|
116
|
+
json-schema (>= 4.1)
|
|
117
|
+
minitest (6.0.2)
|
|
118
|
+
drb (~> 2.0)
|
|
119
|
+
prism (~> 1.5)
|
|
120
|
+
multi_json (1.19.1)
|
|
121
|
+
net-http (0.9.1)
|
|
122
|
+
uri (>= 0.11.1)
|
|
123
|
+
nokogiri (1.19.2-aarch64-linux-gnu)
|
|
115
124
|
racc (~> 1.4)
|
|
116
|
-
nokogiri (1.
|
|
125
|
+
nokogiri (1.19.2-aarch64-linux-musl)
|
|
117
126
|
racc (~> 1.4)
|
|
118
|
-
nokogiri (1.
|
|
127
|
+
nokogiri (1.19.2-arm-linux-gnu)
|
|
119
128
|
racc (~> 1.4)
|
|
120
|
-
nokogiri (1.
|
|
129
|
+
nokogiri (1.19.2-arm-linux-musl)
|
|
121
130
|
racc (~> 1.4)
|
|
122
|
-
nokogiri (1.
|
|
131
|
+
nokogiri (1.19.2-arm64-darwin)
|
|
123
132
|
racc (~> 1.4)
|
|
124
|
-
nokogiri (1.
|
|
133
|
+
nokogiri (1.19.2-x86_64-darwin)
|
|
125
134
|
racc (~> 1.4)
|
|
126
|
-
nokogiri (1.
|
|
135
|
+
nokogiri (1.19.2-x86_64-linux-gnu)
|
|
127
136
|
racc (~> 1.4)
|
|
128
|
-
nokogiri (1.
|
|
137
|
+
nokogiri (1.19.2-x86_64-linux-musl)
|
|
129
138
|
racc (~> 1.4)
|
|
130
|
-
openapi_parser (1.0.0)
|
|
131
139
|
optimist (3.2.1)
|
|
132
140
|
parallel (1.27.0)
|
|
133
|
-
parser (3.3.10.
|
|
141
|
+
parser (3.3.10.2)
|
|
134
142
|
ast (~> 2.4.1)
|
|
135
143
|
racc
|
|
136
144
|
patience_diff (1.2.0)
|
|
137
145
|
optimist (~> 3.0)
|
|
138
|
-
prism (1.
|
|
139
|
-
public_suffix (
|
|
146
|
+
prism (1.9.0)
|
|
147
|
+
public_suffix (7.0.5)
|
|
140
148
|
racc (1.8.1)
|
|
141
149
|
rainbow (3.1.1)
|
|
142
150
|
rake (13.3.1)
|
|
143
151
|
regexp_parser (2.11.3)
|
|
152
|
+
reline (0.6.3)
|
|
153
|
+
io-console (~> 0.5)
|
|
144
154
|
rexml (3.4.4)
|
|
145
155
|
rspec (3.13.2)
|
|
146
156
|
rspec-core (~> 3.13.0)
|
|
@@ -151,30 +161,31 @@ GEM
|
|
|
151
161
|
rspec-expectations (3.13.5)
|
|
152
162
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
153
163
|
rspec-support (~> 3.13.0)
|
|
154
|
-
rspec-mocks (3.13.
|
|
164
|
+
rspec-mocks (3.13.8)
|
|
155
165
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
156
166
|
rspec-support (~> 3.13.0)
|
|
157
|
-
rspec-support (3.13.
|
|
158
|
-
rubocop (1.
|
|
167
|
+
rspec-support (3.13.7)
|
|
168
|
+
rubocop (1.85.1)
|
|
159
169
|
json (~> 2.3)
|
|
160
170
|
language_server-protocol (~> 3.17.0.2)
|
|
161
171
|
lint_roller (~> 1.1.0)
|
|
172
|
+
mcp (~> 0.6)
|
|
162
173
|
parallel (~> 1.10)
|
|
163
174
|
parser (>= 3.3.0.2)
|
|
164
175
|
rainbow (>= 2.2.2, < 4.0)
|
|
165
176
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
166
|
-
rubocop-ast (>= 1.
|
|
177
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
167
178
|
ruby-progressbar (~> 1.7)
|
|
168
179
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
169
|
-
rubocop-ast (1.
|
|
180
|
+
rubocop-ast (1.49.1)
|
|
170
181
|
parser (>= 3.3.7.2)
|
|
171
|
-
prism (~> 1.
|
|
182
|
+
prism (~> 1.7)
|
|
172
183
|
rubocop-rake (0.7.1)
|
|
173
184
|
lint_roller (~> 1.1)
|
|
174
185
|
rubocop (>= 1.72.1)
|
|
175
|
-
rubocop-rspec (3.
|
|
186
|
+
rubocop-rspec (3.9.0)
|
|
176
187
|
lint_roller (~> 1.1)
|
|
177
|
-
rubocop (~> 1.
|
|
188
|
+
rubocop (~> 1.81)
|
|
178
189
|
ruby-progressbar (1.13.0)
|
|
179
190
|
securerandom (0.4.1)
|
|
180
191
|
simplecov (0.22.0)
|
|
@@ -184,22 +195,22 @@ GEM
|
|
|
184
195
|
simplecov-html (0.13.2)
|
|
185
196
|
simplecov_json_formatter (0.1.4)
|
|
186
197
|
simpleidn (0.2.3)
|
|
187
|
-
super_diff (0.
|
|
198
|
+
super_diff (0.18.0)
|
|
188
199
|
attr_extras (>= 6.2.4)
|
|
189
200
|
diff-lcs
|
|
190
201
|
patience_diff
|
|
191
|
-
thor (1.
|
|
202
|
+
thor (1.5.0)
|
|
192
203
|
tzinfo (2.0.6)
|
|
193
204
|
concurrent-ruby (~> 1.0)
|
|
194
205
|
unicode-display_width (3.2.0)
|
|
195
206
|
unicode-emoji (~> 4.1)
|
|
196
|
-
unicode-emoji (4.
|
|
207
|
+
unicode-emoji (4.2.0)
|
|
197
208
|
uri (1.1.1)
|
|
198
209
|
webmock (3.26.1)
|
|
199
210
|
addressable (>= 2.8.0)
|
|
200
211
|
crack (>= 0.3.2)
|
|
201
212
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
202
|
-
zeitwerk (2.7.
|
|
213
|
+
zeitwerk (2.7.5)
|
|
203
214
|
|
|
204
215
|
PLATFORMS
|
|
205
216
|
aarch64-linux-gnu
|
|
@@ -225,4 +236,4 @@ DEPENDENCIES
|
|
|
225
236
|
webmock (~> 3.13)
|
|
226
237
|
|
|
227
238
|
BUNDLED WITH
|
|
228
|
-
|
|
239
|
+
4.0.8
|
|
@@ -145,7 +145,7 @@ module Datacite
|
|
|
145
145
|
{
|
|
146
146
|
nameIdentifier: identifier.value || identifier.uri,
|
|
147
147
|
nameIdentifierScheme: identifier.type,
|
|
148
|
-
|
|
148
|
+
schemeUri: identifier.source&.uri
|
|
149
149
|
}.compact
|
|
150
150
|
end
|
|
151
151
|
end
|
|
@@ -194,7 +194,7 @@ module Datacite
|
|
|
194
194
|
def degree_committee_member?(cocina_contributor)
|
|
195
195
|
cocina_contributor.role.any? { |contrib_role| contrib_role.value == 'degree committee member' } &&
|
|
196
196
|
cocina_contributor.role.any? do |contrib_role|
|
|
197
|
-
contrib_role.code == 'ths' && contrib_role.source
|
|
197
|
+
contrib_role.code == 'ths' && contrib_role.source&.code == 'marcrelator'
|
|
198
198
|
end
|
|
199
199
|
end
|
|
200
200
|
|
|
@@ -48,7 +48,7 @@ module Datacite
|
|
|
48
48
|
def related_item_attributes # rubocop:disable Metrics/MethodLength
|
|
49
49
|
return if related_resource_blank?
|
|
50
50
|
|
|
51
|
-
titles = related_item_title ? [title: related_item_title] : []
|
|
51
|
+
titles = related_item_title ? [{ title: related_item_title }] : []
|
|
52
52
|
id, type = unpack_related_uri_and_type
|
|
53
53
|
|
|
54
54
|
if id && type
|
data/lib/datacite/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: datacite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-03-20 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: activesupport
|
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: '0'
|
|
142
142
|
requirements: []
|
|
143
|
-
rubygems_version: 3.
|
|
143
|
+
rubygems_version: 3.6.2
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: A Ruby client library for the DataCite REST API
|
|
146
146
|
test_files: []
|