datacite 0.8.2 → 0.8.3

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: 6831ee0a6ce1abb9edb551f6ed48bfede53b1ac9b70a5502197c46c3bcf01757
4
+ data.tar.gz: 8951d2b96b64ad44eb327f2325f23b53b64437f8468943f0ff410c303247e4b5
5
5
  SHA512:
6
- metadata.gz: 3ac991570bbabaf25d7a5323fcfb58ceae39e304c5a3af0bdf2492dd4b3046f7de4c80a71af4d34be20727eb5f54c33ad083fa5b8051def5d260ae0d8c89a4c3
7
- data.tar.gz: 4b50a9d8bd02b31ef3b71fd7ec98490023d41ce0fa8ab8d79b9d0c35320bda1babd78e7be238825996a7af25feda936041b32a6c40fc5c8cc7a8b93b699b78f4
6
+ metadata.gz: d31a68163e34e12227048ae2c0a59c202f0805d4993158fe5aff0274d809cd76515d5eca882c4949adc6f7ee1265c961a92b738d7bfd1a96bfef41c30b7c3fc5
7
+ data.tar.gz: d1e65f7b14bcb0f9f78827f4a9e3eda638d3d62f58badbd017f0dcad519f008a3cc5b469399bb786a09140e84fd31741c15fca70484e65c2f4f7f7431ac150ec
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.7.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.3)
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,12 +24,12 @@ 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
35
  cocina-models (0.116.0)
@@ -66,7 +66,7 @@ GEM
66
66
  concurrent-ruby (~> 1.0)
67
67
  dry-core (~> 1.1)
68
68
  zeitwerk (~> 2.6)
69
- dry-monads (1.9.0)
69
+ dry-monads (1.10.0)
70
70
  concurrent-ruby (~> 1.0)
71
71
  dry-core (~> 1.1)
72
72
  zeitwerk (~> 2.6)
@@ -98,10 +98,7 @@ GEM
98
98
  concurrent-ruby (~> 1.0)
99
99
  ice_nine (0.11.2)
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)
101
+ json (2.19.4)
105
102
  json_schemer (2.5.0)
106
103
  bigdecimal
107
104
  hana (~> 1.3)
@@ -112,12 +109,10 @@ GEM
112
109
  language_server-protocol (3.17.0.5)
113
110
  lint_roller (1.1.0)
114
111
  logger (1.7.0)
115
- mcp (0.8.0)
116
- json-schema (>= 4.1)
117
- minitest (6.0.2)
112
+ minitest (6.0.5)
118
113
  drb (~> 2.0)
119
114
  prism (~> 1.5)
120
- multi_json (1.19.1)
115
+ multi_json (1.20.1)
121
116
  net-http (0.9.1)
122
117
  uri (>= 0.11.1)
123
118
  nokogiri (1.19.2-aarch64-linux-gnu)
@@ -137,8 +132,8 @@ GEM
137
132
  nokogiri (1.19.2-x86_64-linux-musl)
138
133
  racc (~> 1.4)
139
134
  optimist (3.2.1)
140
- parallel (1.27.0)
141
- parser (3.3.10.2)
135
+ parallel (2.1.0)
136
+ parser (3.3.11.1)
142
137
  ast (~> 2.4.1)
143
138
  racc
144
139
  patience_diff (1.2.0)
@@ -147,8 +142,8 @@ GEM
147
142
  public_suffix (7.0.5)
148
143
  racc (1.8.1)
149
144
  rainbow (3.1.1)
150
- rake (13.3.1)
151
- regexp_parser (2.11.3)
145
+ rake (13.4.2)
146
+ regexp_parser (2.12.0)
152
147
  reline (0.6.3)
153
148
  io-console (~> 0.5)
154
149
  rexml (3.4.4)
@@ -165,12 +160,11 @@ GEM
165
160
  diff-lcs (>= 1.2.0, < 2.0)
166
161
  rspec-support (~> 3.13.0)
167
162
  rspec-support (3.13.7)
168
- rubocop (1.85.1)
163
+ rubocop (1.86.1)
169
164
  json (~> 2.3)
170
165
  language_server-protocol (~> 3.17.0.2)
171
166
  lint_roller (~> 1.1.0)
172
- mcp (~> 0.6)
173
- parallel (~> 1.10)
167
+ parallel (>= 1.10)
174
168
  parser (>= 3.3.0.2)
175
169
  rainbow (>= 2.2.2, < 4.0)
176
170
  regexp_parser (>= 2.9.3, < 3.0)
@@ -206,7 +200,7 @@ GEM
206
200
  unicode-emoji (~> 4.1)
207
201
  unicode-emoji (4.2.0)
208
202
  uri (1.1.1)
209
- webmock (3.26.1)
203
+ webmock (3.26.2)
210
204
  addressable (>= 2.8.0)
211
205
  crack (>= 0.3.2)
212
206
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -236,4 +230,4 @@ DEPENDENCIES
236
230
  webmock (~> 3.13)
237
231
 
238
232
  BUNDLED WITH
239
- 4.0.8
233
+ 4.0.10
@@ -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.3'
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.3
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: 2026-04-28 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport