pennmarc 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d760f01c8e5f5d4f5a4c284f8e758b44ecb9f0f8243c611ba758b6c4c714d375
|
4
|
+
data.tar.gz: f1059dad28e535ded5669c5c20a34a945fa15c3ee6ad769825bb7b8c5913e4f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151cc1278e5768c883c932d86278d8f45f70aade214179d073e48b5c504600d4c8b15cbd24afa303853f1b0346752c808cdf96c7e57cbb93d7120ffbf092a298
|
7
|
+
data.tar.gz: 396128b00dab208a1954cab9aa34291fd46b020e942d2a3196507c5a110335f3e216c784c31cc677912ab65d344d6a02e6a887ef821bd96eb69885632e73f172
|
@@ -21,16 +21,6 @@ module PennMARC
|
|
21
21
|
}.uniq
|
22
22
|
end
|
23
23
|
|
24
|
-
# Get "Contained in" values from {https://www.oclc.org/bibformats/en/7xx/773.html MARC 773}
|
25
|
-
# subfield g for related parts.
|
26
|
-
# @param record [MARC::Record]
|
27
|
-
# @return [Array<String>] related parts values for display
|
28
|
-
def contained_in_related_parts_show(record)
|
29
|
-
record.fields('773').map { |field|
|
30
|
-
join_subfields(field, &subfield_in?(%w[g]))
|
31
|
-
}.uniq
|
32
|
-
end
|
33
|
-
|
34
24
|
# Get "chronology" information from specially-prefixed 650 (subject) fields
|
35
25
|
# @todo why do we stuff chronology data in a 650 field?
|
36
26
|
# @param record [MARC::Record]
|
@@ -1628,6 +1628,10 @@ vpfolio:
|
|
1628
1628
|
specific_location: Van Pelt - Folios
|
1629
1629
|
library: Van Pelt-Dietrich Library Center
|
1630
1630
|
display: Van Pelt - Folios
|
1631
|
+
vpglobalin:
|
1632
|
+
specific_location: Van Pelt - Global Indigeneity Display
|
1633
|
+
library: Van Pelt-Dietrich Library Center
|
1634
|
+
display: Van Pelt - Global Indigeneity Display -- First Floor, Near New Books
|
1631
1635
|
vpjuv:
|
1632
1636
|
specific_location: Van Pelt - Notable Juvenile Books
|
1633
1637
|
library: Van Pelt-Dietrich Library Center
|
data/lib/pennmarc/version.rb
CHANGED
@@ -16,16 +16,6 @@ describe 'PennMARC::Relation' do
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
describe '.contained_in_related_parts_show' do
|
20
|
-
let(:fields) do
|
21
|
-
[marc_field(tag: '773', subfields: { g: 'Vol. 24, pt. B no. 9 (Sept. 1993)', q: '24:B:9<235' })]
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'returns only the specified subfields' do
|
25
|
-
expect(helper.contained_in_related_parts_show(record)).to eq ['Vol. 24, pt. B no. 9 (Sept. 1993)']
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
19
|
describe '.chronology_show' do
|
30
20
|
let(:fields) do
|
31
21
|
[marc_field(tag: '650', indicator2: '4', subfields: { a: 'CHR Heading' }),
|
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.9
|
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-01-
|
15
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|