datacite 0.8.2 → 0.8.4

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: cf162b79b9e0269d240b6c93c9dc52ab3226dddd1ca51db3e5fe21e1f882a876
4
- data.tar.gz: 83b989c64ac0447928e2b73e6402ab792068cf8b97ded4f1d5f66dca28cf2252
3
+ metadata.gz: 4b403085232bd106bb3b6be7fec2d5c536b83c91f38ab87def4df2e36f2a9f6f
4
+ data.tar.gz: 25367ebe7804eaefd8da17e5cdc96fedea5f6a77a890e47775c77661d66b207f
5
5
  SHA512:
6
- metadata.gz: 3ac991570bbabaf25d7a5323fcfb58ceae39e304c5a3af0bdf2492dd4b3046f7de4c80a71af4d34be20727eb5f54c33ad083fa5b8051def5d260ae0d8c89a4c3
7
- data.tar.gz: 4b50a9d8bd02b31ef3b71fd7ec98490023d41ce0fa8ab8d79b9d0c35320bda1babd78e7be238825996a7af25feda936041b32a6c40fc5c8cc7a8b93b699b78f4
6
+ metadata.gz: aeace413f533ea1aff7d2632285ea203c955b767683b784a24f57d9d306616255b3e6bfea2f5ea275460a49521c4e92ee35da140ea5e0ab63b7225e2d92286bf
7
+ data.tar.gz: 10d254d5705859bdabcc54c253b17f825ed88b2b819066778f06c0682a386c7ec56e9694595d29b685363884480cc8d00b98bfddae77f6641a0e26463378205e
data/.circleci/config.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  version: 2.1
2
2
  orbs:
3
- ruby-rails: sul-dlss/ruby-rails@4.6.0
3
+ ruby-rails: sul-dlss/ruby-rails@4.12.0
4
4
  workflows:
5
5
  build:
6
6
  jobs:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- datacite (0.8.2)
4
+ datacite (0.8.4)
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.2)
14
+ activesupport (8.1.3)
15
15
  base64
16
16
  bigdecimal
17
17
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -24,29 +24,37 @@ GEM
24
24
  securerandom (>= 0.3)
25
25
  tzinfo (~> 2.0, >= 2.0.5)
26
26
  uri (>= 0.13.1)
27
- addressable (2.8.9)
27
+ addressable (2.9.0)
28
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 (4.0.1)
32
+ bigdecimal (4.1.2)
33
33
  byebug (13.0.0)
34
34
  reline (>= 0.6.0)
35
- cocina-models (0.116.0)
35
+ cocina-models (0.132.0)
36
36
  activesupport
37
+ cocina_display
37
38
  deprecation
38
39
  dry-struct (~> 1.0)
39
40
  dry-types (~> 1.1)
40
41
  edtf
41
42
  equivalent-xml
42
43
  i18n
43
- json_schemer (~> 2.0)
44
- jsonpath
44
+ jsonschema_rs
45
45
  nokogiri
46
46
  super_diff
47
47
  thor
48
48
  zeitwerk (~> 2.1)
49
- concurrent-ruby (1.3.6)
49
+ cocina_display (2.9.0)
50
+ activesupport (>= 7)
51
+ edtf (~> 3.2)
52
+ geo_coord (~> 0.2)
53
+ i18n
54
+ iso8601 (~> 0.13.0)
55
+ janeway-jsonpath (>= 0.6, < 2)
56
+ zeitwerk (~> 2.7)
57
+ concurrent-ruby (1.3.8)
50
58
  connection_pool (3.0.2)
51
59
  crack (1.0.1)
52
60
  bigdecimal
@@ -54,7 +62,6 @@ GEM
54
62
  deprecation (1.1.0)
55
63
  activesupport
56
64
  diff-lcs (1.6.2)
57
- docile (1.4.1)
58
65
  drb (2.2.3)
59
66
  dry-core (1.2.0)
60
67
  concurrent-ruby (~> 1.0)
@@ -66,7 +73,7 @@ GEM
66
73
  concurrent-ruby (~> 1.0)
67
74
  dry-core (~> 1.1)
68
75
  zeitwerk (~> 2.6)
69
- dry-monads (1.9.0)
76
+ dry-monads (1.10.0)
70
77
  concurrent-ruby (~> 1.0)
71
78
  dry-core (~> 1.1)
72
79
  zeitwerk (~> 2.6)
@@ -82,63 +89,73 @@ GEM
82
89
  dry-inflector (~> 1.0)
83
90
  dry-logic (~> 1.4)
84
91
  zeitwerk (~> 2.6)
85
- edtf (3.2.0)
92
+ edtf (3.3.0)
86
93
  activesupport (>= 3.0, < 9.0)
87
94
  equivalent-xml (0.6.0)
88
95
  nokogiri (>= 1.4.3)
89
- faraday (2.14.1)
96
+ faraday (2.14.3)
90
97
  faraday-net_http (>= 2.0, < 3.5)
91
98
  json
92
99
  logger
93
- faraday-net_http (3.4.2)
100
+ faraday-net_http (3.4.4)
94
101
  net-http (~> 0.5)
102
+ geo_coord (0.2.0)
95
103
  hana (1.3.7)
96
104
  hashdiff (1.2.1)
97
- i18n (1.14.8)
105
+ i18n (1.15.2)
98
106
  concurrent-ruby (~> 1.0)
99
107
  ice_nine (0.11.2)
100
108
  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)
109
+ iso8601 (0.13.0)
110
+ janeway-jsonpath (1.0.0)
111
+ json (2.21.1)
105
112
  json_schemer (2.5.0)
106
113
  bigdecimal
107
114
  hana (~> 1.3)
108
115
  regexp_parser (~> 2.0)
109
116
  simpleidn (~> 0.2)
110
- jsonpath (1.1.5)
111
- multi_json
112
- language_server-protocol (3.17.0.5)
117
+ jsonschema_rs (0.49.1)
118
+ bigdecimal (>= 3.1, < 5)
119
+ rb_sys (~> 0.9.124)
120
+ jsonschema_rs (0.49.1-aarch64-linux)
121
+ bigdecimal (>= 3.1, < 5)
122
+ jsonschema_rs (0.49.1-aarch64-linux-musl)
123
+ bigdecimal (>= 3.1, < 5)
124
+ jsonschema_rs (0.49.1-arm64-darwin)
125
+ bigdecimal (>= 3.1, < 5)
126
+ jsonschema_rs (0.49.1-x86_64-darwin)
127
+ bigdecimal (>= 3.1, < 5)
128
+ jsonschema_rs (0.49.1-x86_64-linux)
129
+ bigdecimal (>= 3.1, < 5)
130
+ jsonschema_rs (0.49.1-x86_64-linux-musl)
131
+ bigdecimal (>= 3.1, < 5)
132
+ language_server-protocol (3.17.0.6)
113
133
  lint_roller (1.1.0)
114
134
  logger (1.7.0)
115
- mcp (0.8.0)
116
- json-schema (>= 4.1)
117
- minitest (6.0.2)
135
+ minitest (6.0.6)
118
136
  drb (~> 2.0)
119
137
  prism (~> 1.5)
120
- multi_json (1.19.1)
121
138
  net-http (0.9.1)
122
139
  uri (>= 0.11.1)
123
- nokogiri (1.19.2-aarch64-linux-gnu)
140
+ nokogiri (1.19.4-aarch64-linux-gnu)
124
141
  racc (~> 1.4)
125
- nokogiri (1.19.2-aarch64-linux-musl)
142
+ nokogiri (1.19.4-aarch64-linux-musl)
126
143
  racc (~> 1.4)
127
- nokogiri (1.19.2-arm-linux-gnu)
144
+ nokogiri (1.19.4-arm-linux-gnu)
128
145
  racc (~> 1.4)
129
- nokogiri (1.19.2-arm-linux-musl)
146
+ nokogiri (1.19.4-arm-linux-musl)
130
147
  racc (~> 1.4)
131
- nokogiri (1.19.2-arm64-darwin)
148
+ nokogiri (1.19.4-arm64-darwin)
132
149
  racc (~> 1.4)
133
- nokogiri (1.19.2-x86_64-darwin)
150
+ nokogiri (1.19.4-x86_64-darwin)
134
151
  racc (~> 1.4)
135
- nokogiri (1.19.2-x86_64-linux-gnu)
152
+ nokogiri (1.19.4-x86_64-linux-gnu)
136
153
  racc (~> 1.4)
137
- nokogiri (1.19.2-x86_64-linux-musl)
154
+ nokogiri (1.19.4-x86_64-linux-musl)
138
155
  racc (~> 1.4)
139
156
  optimist (3.2.1)
140
- parallel (1.27.0)
141
- parser (3.3.10.2)
157
+ parallel (2.1.0)
158
+ parser (3.3.12.0)
142
159
  ast (~> 2.4.1)
143
160
  racc
144
161
  patience_diff (1.2.0)
@@ -147,8 +164,11 @@ GEM
147
164
  public_suffix (7.0.5)
148
165
  racc (1.8.1)
149
166
  rainbow (3.1.1)
150
- rake (13.3.1)
151
- regexp_parser (2.11.3)
167
+ rake (13.4.2)
168
+ rake-compiler-dock (1.12.0)
169
+ rb_sys (0.9.128)
170
+ rake-compiler-dock (= 1.12.0)
171
+ regexp_parser (2.12.0)
152
172
  reline (0.6.3)
153
173
  io-console (~> 0.5)
154
174
  rexml (3.4.4)
@@ -165,40 +185,35 @@ GEM
165
185
  diff-lcs (>= 1.2.0, < 2.0)
166
186
  rspec-support (~> 3.13.0)
167
187
  rspec-support (3.13.7)
168
- rubocop (1.85.1)
188
+ rubocop (1.88.2)
169
189
  json (~> 2.3)
170
190
  language_server-protocol (~> 3.17.0.2)
171
191
  lint_roller (~> 1.1.0)
172
- mcp (~> 0.6)
173
- parallel (~> 1.10)
192
+ parallel (>= 1.10)
174
193
  parser (>= 3.3.0.2)
175
194
  rainbow (>= 2.2.2, < 4.0)
176
195
  regexp_parser (>= 2.9.3, < 3.0)
177
196
  rubocop-ast (>= 1.49.0, < 2.0)
178
197
  ruby-progressbar (~> 1.7)
179
198
  unicode-display_width (>= 2.4.0, < 4.0)
180
- rubocop-ast (1.49.1)
199
+ rubocop-ast (1.50.0)
181
200
  parser (>= 3.3.7.2)
182
201
  prism (~> 1.7)
183
202
  rubocop-rake (0.7.1)
184
203
  lint_roller (~> 1.1)
185
204
  rubocop (>= 1.72.1)
186
- rubocop-rspec (3.9.0)
205
+ rubocop-rspec (3.10.2)
187
206
  lint_roller (~> 1.1)
188
- rubocop (~> 1.81)
207
+ regexp_parser (>= 2.0)
208
+ rubocop (~> 1.86, >= 1.86.2)
189
209
  ruby-progressbar (1.13.0)
190
210
  securerandom (0.4.1)
191
- simplecov (0.22.0)
192
- docile (~> 1.1)
193
- simplecov-html (~> 0.11)
194
- simplecov_json_formatter (~> 0.1)
195
- simplecov-html (0.13.2)
196
- simplecov_json_formatter (0.1.4)
211
+ simplecov (1.0.3)
197
212
  simpleidn (0.2.3)
198
- super_diff (0.18.0)
199
- attr_extras (>= 6.2.4)
200
- diff-lcs
201
- patience_diff
213
+ super_diff (0.19.0)
214
+ attr_extras (>= 6.2.4, < 8)
215
+ diff-lcs (~> 1.5)
216
+ patience_diff (~> 1.2)
202
217
  thor (1.5.0)
203
218
  tzinfo (2.0.6)
204
219
  concurrent-ruby (~> 1.0)
@@ -206,11 +221,11 @@ GEM
206
221
  unicode-emoji (~> 4.1)
207
222
  unicode-emoji (4.2.0)
208
223
  uri (1.1.1)
209
- webmock (3.26.1)
224
+ webmock (3.26.2)
210
225
  addressable (>= 2.8.0)
211
226
  crack (>= 0.3.2)
212
227
  hashdiff (>= 0.4.0, < 2.0.0)
213
- zeitwerk (2.7.5)
228
+ zeitwerk (2.8.2)
214
229
 
215
230
  PLATFORMS
216
231
  aarch64-linux-gnu
@@ -236,4 +251,4 @@ DEPENDENCIES
236
251
  webmock (~> 3.13)
237
252
 
238
253
  BUNDLED WITH
239
- 4.0.8
254
+ 4.0.17
@@ -111,7 +111,7 @@ module Datacite
111
111
  {
112
112
  nameType: 'Personal',
113
113
  nameIdentifiers: name_identifiers(cocina_contributor).presence,
114
- affiliation: affiliations(cocina_contributor).presence
114
+ affiliation: affiliations(cocina_contributor).uniq { |affiliation| affiliation[:affiliationIdentifier] }.presence # rubocop:disable Layout/LineLength
115
115
  }.tap do |name_hash|
116
116
  # NOTE: This is needed for ETDs, for which we do not receive structured
117
117
  # contributor names from Axess for ETD readers
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Datacite
4
- VERSION = '0.8.2'
4
+ VERSION = '0.8.4'
5
5
  end
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.2
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-03-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.6.2
143
+ rubygems_version: 3.6.9
144
144
  specification_version: 4
145
145
  summary: A Ruby client library for the DataCite REST API
146
146
  test_files: []