pennmarc 1.2.8 → 1.2.10
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: dc38a9c6a1409bc4aaaec31b6b0b8384dbc1d4e3895e593d024ff941f6cbe518
|
4
|
+
data.tar.gz: 20ffa419ce3ed488e4b3ba57936ea4adda09b16582fccd1143b7bb9d0509e210
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a986b89add634ed795d3a2bac887618f1413f5d56f160b42134ca39d56626d5c159f8679dda9296ed7db2ae7e971d1383f9b414a61b654b6ca98e547835c6a0d
|
7
|
+
data.tar.gz: 3abd5a6471041195c79edf56454ff98530ece759d30a210688ed1894b42dcc986fe56dab672ee4e92df893d6ec81d06cd47dc1cc6daf6f542ad0dd4872cf1d90
|
@@ -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]
|
@@ -667,6 +667,10 @@ finemaps:
|
|
667
667
|
- Fisher Fine Arts Library
|
668
668
|
display: Fine Arts Library - Map Collection
|
669
669
|
aeon: true
|
670
|
+
finematl:
|
671
|
+
specific_location: Fisher Fine Arts Library - Materials Library
|
672
|
+
library: Fisher Fine Arts Library
|
673
|
+
display: Fisher Fine Arts Library - Materials Library
|
670
674
|
finerare:
|
671
675
|
specific_location: Fisher Fine Arts Library - Rare Book
|
672
676
|
library:
|
@@ -1628,6 +1632,10 @@ vpfolio:
|
|
1628
1632
|
specific_location: Van Pelt - Folios
|
1629
1633
|
library: Van Pelt-Dietrich Library Center
|
1630
1634
|
display: Van Pelt - Folios
|
1635
|
+
vpglobalin:
|
1636
|
+
specific_location: Van Pelt - Global Indigeneity Display
|
1637
|
+
library: Van Pelt-Dietrich Library Center
|
1638
|
+
display: Van Pelt - Global Indigeneity Display -- First Floor, Near New Books
|
1631
1639
|
vpjuv:
|
1632
1640
|
specific_location: Van Pelt - Notable Juvenile Books
|
1633
1641
|
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.10
|
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-30 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|