Skip to content

Commit ded0f2d

Browse files
authored
Merge pull request #1530 from pod4lib/update-dependencies
Update dependencies
2 parents 953a1ff + 9e381da commit ded0f2d

File tree

2 files changed

+78
-77
lines changed

2 files changed

+78
-77
lines changed

Gemfile.lock

Lines changed: 65 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
action_text-trix (2.1.15)
4+
action_text-trix (2.1.16)
55
railties
66
actioncable (8.1.1)
77
actionpack (= 8.1.1)
@@ -98,17 +98,17 @@ GEM
9898
ice_nine (~> 0.11.0)
9999
thread_safe (~> 0.3, >= 0.3.1)
100100
base64 (0.3.0)
101-
bcrypt (3.1.20)
101+
bcrypt (3.1.21)
102102
bcrypt_pbkdf (1.1.2)
103103
benchmark (0.5.0)
104-
bigdecimal (3.3.1)
104+
bigdecimal (4.0.1)
105105
bindex (0.8.1)
106-
bootsnap (1.19.0)
106+
bootsnap (1.20.1)
107107
msgpack (~> 1.2)
108108
bootstrap_form (5.5.0)
109109
actionpack (>= 7.2)
110110
activemodel (>= 7.2)
111-
brakeman (7.1.1)
111+
brakeman (7.1.2)
112112
racc
113113
builder (3.3.0)
114114
bundler-audit (0.9.3)
@@ -151,7 +151,7 @@ GEM
151151
rexml
152152
crass (1.0.6)
153153
date (3.5.1)
154-
debug (1.11.0)
154+
debug (1.11.1)
155155
irb (~> 1.10)
156156
reline (>= 0.3.8)
157157
deep_merge (1.2.2)
@@ -180,7 +180,7 @@ GEM
180180
drb (2.2.3)
181181
dumb_delegator (1.1.0)
182182
ed25519 (1.4.0)
183-
erb (6.0.0)
183+
erb (6.0.1)
184184
erubi (1.13.1)
185185
et-orbi (1.4.0)
186186
tzinfo
@@ -189,13 +189,13 @@ GEM
189189
factory_bot_rails (6.5.1)
190190
factory_bot (~> 6.5)
191191
railties (>= 6.1.0)
192-
ffi (1.17.2-aarch64-linux-gnu)
193-
ffi (1.17.2-aarch64-linux-musl)
194-
ffi (1.17.2-arm-linux-gnu)
195-
ffi (1.17.2-arm-linux-musl)
196-
ffi (1.17.2-arm64-darwin)
197-
ffi (1.17.2-x86_64-linux-gnu)
198-
ffi (1.17.2-x86_64-linux-musl)
192+
ffi (1.17.3-aarch64-linux-gnu)
193+
ffi (1.17.3-aarch64-linux-musl)
194+
ffi (1.17.3-arm-linux-gnu)
195+
ffi (1.17.3-arm-linux-musl)
196+
ffi (1.17.3-arm64-darwin)
197+
ffi (1.17.3-x86_64-linux-gnu)
198+
ffi (1.17.3-x86_64-linux-musl)
199199
ffi-compiler (1.3.2)
200200
ffi (>= 1.15.5)
201201
rake
@@ -209,13 +209,13 @@ GEM
209209
groupdate (6.7.0)
210210
activesupport (>= 7.1)
211211
hashdiff (1.2.1)
212-
herb (0.8.4-aarch64-linux-gnu)
213-
herb (0.8.4-aarch64-linux-musl)
214-
herb (0.8.4-arm-linux-gnu)
215-
herb (0.8.4-arm-linux-musl)
216-
herb (0.8.4-arm64-darwin)
217-
herb (0.8.4-x86_64-linux-gnu)
218-
herb (0.8.4-x86_64-linux-musl)
212+
herb (0.8.6-aarch64-linux-gnu)
213+
herb (0.8.6-aarch64-linux-musl)
214+
herb (0.8.6-arm-linux-gnu)
215+
herb (0.8.6-arm-linux-musl)
216+
herb (0.8.6-arm64-darwin)
217+
herb (0.8.6-x86_64-linux-gnu)
218+
herb (0.8.6-x86_64-linux-musl)
219219
highline (3.1.2)
220220
reline
221221
honeybadger (6.2.0)
@@ -229,7 +229,7 @@ GEM
229229
http-cookie (1.1.0)
230230
domain_name (~> 0.5)
231231
http-form_data (2.3.0)
232-
i18n (1.14.7)
232+
i18n (1.14.8)
233233
concurrent-ruby (~> 1.0)
234234
i18n-tasks (1.1.2)
235235
activesupport (>= 4.0.2)
@@ -252,7 +252,7 @@ GEM
252252
activesupport (>= 3.0)
253253
nokogiri (>= 1.6)
254254
io-console (0.8.2)
255-
irb (1.15.3)
255+
irb (1.16.0)
256256
pp (>= 0.6.0)
257257
rdoc (>= 4.0.0)
258258
reline (>= 0.4.2)
@@ -281,7 +281,7 @@ GEM
281281
rake (~> 13.0)
282282
local_time (3.0.3)
283283
logger (1.7.0)
284-
loofah (2.24.1)
284+
loofah (2.25.0)
285285
crass (~> 1.0.2)
286286
nokogiri (>= 1.12.0)
287287
mail (2.9.0)
@@ -296,7 +296,8 @@ GEM
296296
marcel (1.1.0)
297297
matrix (0.4.3)
298298
mini_mime (1.1.5)
299-
minitest (5.27.0)
299+
minitest (6.0.1)
300+
prism (~> 1.5)
300301
mission_control-jobs (1.1.0)
301302
actioncable (>= 7.1)
302303
actionpack (>= 7.1)
@@ -308,7 +309,7 @@ GEM
308309
stimulus-rails
309310
turbo-rails
310311
msgpack (1.8.0)
311-
net-imap (0.6.0)
312+
net-imap (0.6.2)
312313
date
313314
net-protocol
314315
net-pop (0.1.2)
@@ -323,19 +324,19 @@ GEM
323324
net-protocol
324325
net-ssh (7.3.0)
325326
nio4r (2.7.5)
326-
nokogiri (1.18.10-aarch64-linux-gnu)
327+
nokogiri (1.19.0-aarch64-linux-gnu)
327328
racc (~> 1.4)
328-
nokogiri (1.18.10-aarch64-linux-musl)
329+
nokogiri (1.19.0-aarch64-linux-musl)
329330
racc (~> 1.4)
330-
nokogiri (1.18.10-arm-linux-gnu)
331+
nokogiri (1.19.0-arm-linux-gnu)
331332
racc (~> 1.4)
332-
nokogiri (1.18.10-arm-linux-musl)
333+
nokogiri (1.19.0-arm-linux-musl)
333334
racc (~> 1.4)
334-
nokogiri (1.18.10-arm64-darwin)
335+
nokogiri (1.19.0-arm64-darwin)
335336
racc (~> 1.4)
336-
nokogiri (1.18.10-x86_64-linux-gnu)
337+
nokogiri (1.19.0-x86_64-linux-gnu)
337338
racc (~> 1.4)
338-
nokogiri (1.18.10-x86_64-linux-musl)
339+
nokogiri (1.19.0-x86_64-linux-musl)
339340
racc (~> 1.4)
340341
okcomputer (1.19.1)
341342
benchmark
@@ -350,24 +351,24 @@ GEM
350351
parser (3.3.10.0)
351352
ast (~> 2.4.1)
352353
racc
353-
pg (1.6.2)
354-
pg (1.6.2-aarch64-linux)
355-
pg (1.6.2-aarch64-linux-musl)
356-
pg (1.6.2-arm64-darwin)
357-
pg (1.6.2-x86_64-linux)
358-
pg (1.6.2-x86_64-linux-musl)
354+
pg (1.6.3)
355+
pg (1.6.3-aarch64-linux)
356+
pg (1.6.3-aarch64-linux-musl)
357+
pg (1.6.3-arm64-darwin)
358+
pg (1.6.3-x86_64-linux)
359+
pg (1.6.3-x86_64-linux-musl)
359360
pp (0.6.3)
360361
prettyprint
361362
prettyprint (0.2.0)
362-
prism (1.6.0)
363+
prism (1.7.0)
363364
propshaft (1.3.1)
364365
actionpack (>= 7.0.0)
365366
activesupport (>= 7.0.0)
366367
rack
367-
psych (5.3.0)
368+
psych (5.3.1)
368369
date
369370
stringio
370-
public_suffix (7.0.0)
371+
public_suffix (7.0.2)
371372
puma (7.1.0)
372373
nio4r (~> 2.0)
373374
raabro (1.4.0)
@@ -421,7 +422,7 @@ GEM
421422
zeitwerk (~> 2.6)
422423
rainbow (3.1.1)
423424
rake (13.3.1)
424-
rdoc (6.17.0)
425+
rdoc (7.0.3)
425426
erb
426427
psych (>= 4.0.0)
427428
tsort
@@ -456,20 +457,20 @@ GEM
456457
rspec-mocks (~> 3.13)
457458
rspec-support (~> 3.13)
458459
rspec-support (3.13.6)
459-
rubocop (1.81.7)
460+
rubocop (1.82.1)
460461
json (~> 2.3)
461462
language_server-protocol (~> 3.17.0.2)
462463
lint_roller (~> 1.1.0)
463464
parallel (~> 1.10)
464465
parser (>= 3.3.0.2)
465466
rainbow (>= 2.2.2, < 4.0)
466467
regexp_parser (>= 2.9.3, < 3.0)
467-
rubocop-ast (>= 1.47.1, < 2.0)
468+
rubocop-ast (>= 1.48.0, < 2.0)
468469
ruby-progressbar (~> 1.7)
469470
unicode-display_width (>= 2.4.0, < 4.0)
470-
rubocop-ast (1.48.0)
471+
rubocop-ast (1.49.0)
471472
parser (>= 3.3.7.2)
472-
prism (~> 1.4)
473+
prism (~> 1.7)
473474
rubocop-capybara (2.22.1)
474475
lint_roller (~> 1.1)
475476
rubocop (~> 1.72, >= 1.72.1)
@@ -480,7 +481,7 @@ GEM
480481
lint_roller (~> 1.1)
481482
rubocop (>= 1.75.0, < 2.0)
482483
rubocop-ast (>= 1.47.1, < 2.0)
483-
rubocop-rails (2.34.2)
484+
rubocop-rails (2.34.3)
484485
activesupport (>= 4.2.0)
485486
lint_roller (~> 1.1)
486487
rack (>= 1.1)
@@ -516,13 +517,13 @@ GEM
516517
fugit (~> 1.11)
517518
railties (>= 7.1)
518519
thor (>= 1.3.1)
519-
sqlite3 (2.8.1-aarch64-linux-gnu)
520-
sqlite3 (2.8.1-aarch64-linux-musl)
521-
sqlite3 (2.8.1-arm-linux-gnu)
522-
sqlite3 (2.8.1-arm-linux-musl)
523-
sqlite3 (2.8.1-arm64-darwin)
524-
sqlite3 (2.8.1-x86_64-linux-gnu)
525-
sqlite3 (2.8.1-x86_64-linux-musl)
520+
sqlite3 (2.9.0-aarch64-linux-gnu)
521+
sqlite3 (2.9.0-aarch64-linux-musl)
522+
sqlite3 (2.9.0-arm-linux-gnu)
523+
sqlite3 (2.9.0-arm-linux-musl)
524+
sqlite3 (2.9.0-arm64-darwin)
525+
sqlite3 (2.9.0-x86_64-linux-gnu)
526+
sqlite3 (2.9.0-x86_64-linux-musl)
526527
sshkit (1.25.0)
527528
base64
528529
logger
@@ -532,17 +533,17 @@ GEM
532533
ostruct
533534
stimulus-rails (1.3.4)
534535
railties (>= 6.0.0)
535-
stringio (3.1.9)
536+
stringio (3.2.0)
536537
terminal-table (4.0.0)
537538
unicode-display_width (>= 1.1.1, < 4)
538539
thor (1.4.0)
539540
thread_safe (0.3.6)
540-
thruster (0.1.16)
541-
thruster (0.1.16-aarch64-linux)
542-
thruster (0.1.16-arm64-darwin)
543-
thruster (0.1.16-x86_64-linux)
541+
thruster (0.1.17)
542+
thruster (0.1.17-aarch64-linux)
543+
thruster (0.1.17-arm64-darwin)
544+
thruster (0.1.17-x86_64-linux)
544545
timecop (0.9.10)
545-
timeout (0.5.0)
546+
timeout (0.6.0)
546547
tsort (0.2.0)
547548
turbo-rails (2.0.20)
548549
actionpack (>= 7.1.0)
@@ -551,7 +552,7 @@ GEM
551552
concurrent-ruby (~> 1.0)
552553
unicode-display_width (3.2.0)
553554
unicode-emoji (~> 4.1)
554-
unicode-emoji (4.1.0)
555+
unicode-emoji (4.2.0)
555556
uri (1.1.1)
556557
useragent (0.16.11)
557558
view_component (4.1.1)
@@ -580,7 +581,7 @@ GEM
580581
websocket-extensions (0.1.5)
581582
xpath (3.2.0)
582583
nokogiri (~> 1.8)
583-
zeitwerk (2.7.3)
584+
zeitwerk (2.7.4)
584585

585586
PLATFORMS
586587
aarch64-linux
@@ -664,4 +665,4 @@ DEPENDENCIES
664665
webmock
665666

666667
BUNDLED WITH
667-
4.0.1
668+
4.0.3

app/services/marc_record_service.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,21 +218,21 @@ def each_with_metadata_for_marc21
218218
each_raw_record_with_metadata_for_marc21
219219
.slice_when { |i, j| !same_record?(i[:marc], j[:marc]) }
220220
.with_index do |records_to_combine, index|
221-
if records_to_combine.length == 1
222-
yield(records_to_combine.first[:marc], records_to_combine.first.except(:marc))
223-
else
224-
bytes = records_to_combine.pluck(:marc_bytes).join
221+
if records_to_combine.length == 1
222+
yield(records_to_combine.first[:marc], records_to_combine.first.except(:marc))
223+
else
224+
bytes = records_to_combine.pluck(:marc_bytes).join
225225

226-
record = merge_records(*records_to_combine.pluck(:marc))
226+
record = merge_records(*records_to_combine.pluck(:marc))
227227

228-
yield record, {
229-
**records_to_combine.first.except(:marc, :marc_bytes),
230-
index: index,
231-
bytecount: bytes.length,
232-
length: bytes.length,
233-
checksum: Digest::MD5.hexdigest(bytes)
234-
}
235-
end
228+
yield record, {
229+
**records_to_combine.first.except(:marc, :marc_bytes),
230+
index: index,
231+
bytecount: bytes.length,
232+
length: bytes.length,
233+
checksum: Digest::MD5.hexdigest(bytes)
234+
}
235+
end
236236
end
237237
end
238238

0 commit comments

Comments
 (0)