datacite 0.8.1 → 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)
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
securerandom (>= 0.3)
|
|
25
25
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
26
26
|
uri (>= 0.13.1)
|
|
27
|
-
addressable (2.8.
|
|
27
|
+
addressable (2.8.9)
|
|
28
28
|
public_suffix (>= 2.0.2, < 8.0)
|
|
29
29
|
ast (2.4.3)
|
|
30
30
|
attr_extras (7.1.0)
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
bigdecimal (4.0.1)
|
|
33
33
|
byebug (13.0.0)
|
|
34
34
|
reline (>= 0.6.0)
|
|
35
|
-
cocina-models (0.
|
|
35
|
+
cocina-models (0.116.0)
|
|
36
36
|
activesupport
|
|
37
37
|
deprecation
|
|
38
38
|
dry-struct (~> 1.0)
|
|
@@ -42,7 +42,6 @@ GEM
|
|
|
42
42
|
i18n
|
|
43
43
|
json_schemer (~> 2.0)
|
|
44
44
|
jsonpath
|
|
45
|
-
marc (~> 1.3)
|
|
46
45
|
nokogiri
|
|
47
46
|
super_diff
|
|
48
47
|
thor
|
|
@@ -71,7 +70,7 @@ GEM
|
|
|
71
70
|
concurrent-ruby (~> 1.0)
|
|
72
71
|
dry-core (~> 1.1)
|
|
73
72
|
zeitwerk (~> 2.6)
|
|
74
|
-
dry-struct (1.8.
|
|
73
|
+
dry-struct (1.8.1)
|
|
75
74
|
dry-core (~> 1.1)
|
|
76
75
|
dry-types (~> 1.8, >= 1.8.2)
|
|
77
76
|
ice_nine (~> 0.11)
|
|
@@ -99,7 +98,10 @@ GEM
|
|
|
99
98
|
concurrent-ruby (~> 1.0)
|
|
100
99
|
ice_nine (0.11.2)
|
|
101
100
|
io-console (0.8.2)
|
|
102
|
-
json (2.
|
|
101
|
+
json (2.19.2)
|
|
102
|
+
json-schema (6.2.0)
|
|
103
|
+
addressable (~> 2.8)
|
|
104
|
+
bigdecimal (>= 3.1, < 5)
|
|
103
105
|
json_schemer (2.5.0)
|
|
104
106
|
bigdecimal
|
|
105
107
|
hana (~> 1.3)
|
|
@@ -110,39 +112,39 @@ GEM
|
|
|
110
112
|
language_server-protocol (3.17.0.5)
|
|
111
113
|
lint_roller (1.1.0)
|
|
112
114
|
logger (1.7.0)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
mcp (0.8.0)
|
|
116
|
+
json-schema (>= 4.1)
|
|
117
|
+
minitest (6.0.2)
|
|
118
|
+
drb (~> 2.0)
|
|
117
119
|
prism (~> 1.5)
|
|
118
120
|
multi_json (1.19.1)
|
|
119
121
|
net-http (0.9.1)
|
|
120
122
|
uri (>= 0.11.1)
|
|
121
|
-
nokogiri (1.19.
|
|
123
|
+
nokogiri (1.19.2-aarch64-linux-gnu)
|
|
122
124
|
racc (~> 1.4)
|
|
123
|
-
nokogiri (1.19.
|
|
125
|
+
nokogiri (1.19.2-aarch64-linux-musl)
|
|
124
126
|
racc (~> 1.4)
|
|
125
|
-
nokogiri (1.19.
|
|
127
|
+
nokogiri (1.19.2-arm-linux-gnu)
|
|
126
128
|
racc (~> 1.4)
|
|
127
|
-
nokogiri (1.19.
|
|
129
|
+
nokogiri (1.19.2-arm-linux-musl)
|
|
128
130
|
racc (~> 1.4)
|
|
129
|
-
nokogiri (1.19.
|
|
131
|
+
nokogiri (1.19.2-arm64-darwin)
|
|
130
132
|
racc (~> 1.4)
|
|
131
|
-
nokogiri (1.19.
|
|
133
|
+
nokogiri (1.19.2-x86_64-darwin)
|
|
132
134
|
racc (~> 1.4)
|
|
133
|
-
nokogiri (1.19.
|
|
135
|
+
nokogiri (1.19.2-x86_64-linux-gnu)
|
|
134
136
|
racc (~> 1.4)
|
|
135
|
-
nokogiri (1.19.
|
|
137
|
+
nokogiri (1.19.2-x86_64-linux-musl)
|
|
136
138
|
racc (~> 1.4)
|
|
137
139
|
optimist (3.2.1)
|
|
138
140
|
parallel (1.27.0)
|
|
139
|
-
parser (3.3.10.
|
|
141
|
+
parser (3.3.10.2)
|
|
140
142
|
ast (~> 2.4.1)
|
|
141
143
|
racc
|
|
142
144
|
patience_diff (1.2.0)
|
|
143
145
|
optimist (~> 3.0)
|
|
144
146
|
prism (1.9.0)
|
|
145
|
-
public_suffix (7.0.
|
|
147
|
+
public_suffix (7.0.5)
|
|
146
148
|
racc (1.8.1)
|
|
147
149
|
rainbow (3.1.1)
|
|
148
150
|
rake (13.3.1)
|
|
@@ -159,14 +161,15 @@ GEM
|
|
|
159
161
|
rspec-expectations (3.13.5)
|
|
160
162
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
161
163
|
rspec-support (~> 3.13.0)
|
|
162
|
-
rspec-mocks (3.13.
|
|
164
|
+
rspec-mocks (3.13.8)
|
|
163
165
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
164
166
|
rspec-support (~> 3.13.0)
|
|
165
167
|
rspec-support (3.13.7)
|
|
166
|
-
rubocop (1.
|
|
168
|
+
rubocop (1.85.1)
|
|
167
169
|
json (~> 2.3)
|
|
168
170
|
language_server-protocol (~> 3.17.0.2)
|
|
169
171
|
lint_roller (~> 1.1.0)
|
|
172
|
+
mcp (~> 0.6)
|
|
170
173
|
parallel (~> 1.10)
|
|
171
174
|
parser (>= 3.3.0.2)
|
|
172
175
|
rainbow (>= 2.2.2, < 4.0)
|
|
@@ -174,7 +177,7 @@ GEM
|
|
|
174
177
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
175
178
|
ruby-progressbar (~> 1.7)
|
|
176
179
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
177
|
-
rubocop-ast (1.49.
|
|
180
|
+
rubocop-ast (1.49.1)
|
|
178
181
|
parser (>= 3.3.7.2)
|
|
179
182
|
prism (~> 1.7)
|
|
180
183
|
rubocop-rake (0.7.1)
|
|
@@ -207,7 +210,7 @@ GEM
|
|
|
207
210
|
addressable (>= 2.8.0)
|
|
208
211
|
crack (>= 0.3.2)
|
|
209
212
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
210
|
-
zeitwerk (2.7.
|
|
213
|
+
zeitwerk (2.7.5)
|
|
211
214
|
|
|
212
215
|
PLATFORMS
|
|
213
216
|
aarch64-linux-gnu
|
|
@@ -233,4 +236,4 @@ DEPENDENCIES
|
|
|
233
236
|
webmock (~> 3.13)
|
|
234
237
|
|
|
235
238
|
BUNDLED WITH
|
|
236
|
-
4.0.
|
|
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
|
-
schemeUri: identifier.source
|
|
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: 2026-
|
|
10
|
+
date: 2026-03-20 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: activesupport
|