pennmarc 1.2.11 → 1.2.12
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: ba9e67db0150db000412aced9bbcfa47109e0a3d9e0077abb634a9aedc6110d2
|
4
|
+
data.tar.gz: 456f88b47a83305f0eb71b2daf5afc8704048e4761ae7f5ef5315b189ee89b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be56036ff189496fedb33c611578134b39975ea7c779fd73fe941cb26898c7bcbb3485f3a409c4b510f187985ca1a5df42a1309ceaa8b227d1ea261e5b861b1a
|
7
|
+
data.tar.gz: e84d79da22e084545f4d84b37364d39de44a16f4dcf2382d07b16b4a6992c39e9473df58576d9232af00c30d40e20cd96ddcba04352cfd2d9764f9c2a025f535
|
@@ -209,13 +209,13 @@ module PennMARC
|
|
209
209
|
values = record.fields('245').first(1).flat_map { |field| subfield_values(field, 'f') }
|
210
210
|
|
211
211
|
values += record.fields(%w[260 261 262]).first(1).map do |field|
|
212
|
-
join_subfields(field, &subfield_in?([subfield]))
|
212
|
+
trim_punctuation(join_subfields(field, &subfield_in?([subfield])))
|
213
213
|
end
|
214
214
|
|
215
215
|
values += record.fields('264').filter_map do |field|
|
216
216
|
next unless field.indicator2 == '1'
|
217
217
|
|
218
|
-
join_subfields(field, &subfield_in?([subfield]))
|
218
|
+
trim_punctuation(join_subfields(field, &subfield_in?([subfield])))
|
219
219
|
end
|
220
220
|
|
221
221
|
values.compact_blank.uniq
|
@@ -1601,6 +1601,13 @@ vetelibr:
|
|
1601
1601
|
- Veterinary
|
1602
1602
|
- 'Veterinary: Atwood Library (Campus)'
|
1603
1603
|
display: 'Veterinary: Atwood Library (Campus) - Librarian''s Office'
|
1604
|
+
vetenewbk:
|
1605
|
+
specific_location: 'Veterinary: Atwood Library (Campus) - New Books'
|
1606
|
+
library:
|
1607
|
+
- Health Sciences Libraries
|
1608
|
+
- Veterinary
|
1609
|
+
- 'Veterinary: Atwood Library (Campus)'
|
1610
|
+
display: 'Veterinary: Atwood Library (Campus) - New Books'
|
1604
1611
|
veteover:
|
1605
1612
|
specific_location: 'Veterinary: Atwood Library (Campus) - Oversize'
|
1606
1613
|
library:
|
data/lib/pennmarc/version.rb
CHANGED
@@ -251,9 +251,9 @@ describe 'PennMARC::Production' do
|
|
251
251
|
let(:record) { marc_record fields: fields }
|
252
252
|
let(:fields) do
|
253
253
|
[marc_field(tag: '245', subfields: { f: 'between 1800-1850' }),
|
254
|
-
marc_field(tag: '260', subfields: { a: ' Burnt Mill, Harlow, Essex, England', b: 'Longman',
|
254
|
+
marc_field(tag: '260', subfields: { a: ' Burnt Mill, Harlow, Essex, England : ', b: 'Longman',
|
255
255
|
c: '1985, c1956.' }),
|
256
|
-
marc_field(tag: '264', subfields: { a: 'Leeds', b: 'Peepal Tree Press', c: '2019' }, indicator2: '1'),
|
256
|
+
marc_field(tag: '264', subfields: { a: 'Leeds,', b: 'Peepal Tree Press', c: '2019' }, indicator2: '1'),
|
257
257
|
marc_field(tag: '880', subfields: { f: 'Alternate 1800-1850', '6': '245' }),
|
258
258
|
marc_field(tag: '880',
|
259
259
|
subfields: { a: 'Alternate England', b: 'Alternate Longman', c: 'Alternate 1985, c1956.',
|
@@ -273,7 +273,7 @@ describe 'PennMARC::Production' do
|
|
273
273
|
let(:record) { marc_record fields: fields }
|
274
274
|
let(:fields) do
|
275
275
|
[marc_field(tag: '245', subfields: { f: 'between 1800-1850' }),
|
276
|
-
marc_field(tag: '260', subfields: { a: ' Burnt Mill, Harlow, Essex, England', b: 'Longman',
|
276
|
+
marc_field(tag: '260', subfields: { a: ' Burnt Mill, Harlow, Essex, England,', b: 'Longman',
|
277
277
|
c: '1985, c1956.' }),
|
278
278
|
marc_field(tag: '264', subfields: { a: 'Leeds', b: 'Peepal Tree Press', c: '2019' }, indicator2: '1'),
|
279
279
|
marc_field(tag: '880', subfields: { f: 'Alternate 1800-1850', '6': '245' }),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pennmarc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Kanning
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2025-
|
15
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|