pennmarc 1.0.32 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pennmarc/helpers/format.rb +24 -24
- data/lib/pennmarc/mappings/locations.yml +9 -0
- data/lib/pennmarc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f26c7e473bed7b22bd7aa63257b9647dd808f79a02aa1aab21e965f264d545a
|
4
|
+
data.tar.gz: f793a9945291b9b66ee6c4155446c9270fc6e2f994c0754fa6dc0b4ba887cebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3b5296a1f285562ed9c2fd88e5f06f3c3127fd988ad7066298fcbc3cbb3b143678ac1da9c2e63e1fcf5df3075ea763197928712db0221042164525a6191a635
|
7
|
+
data.tar.gz: 3201a8f615d58871620081112eb663d7526911a68f1eae4a561e3216d77ada399cc10164be0532fdf7d2992a9cc964a829abfeb9272d64fabaa263ddb8f2f31c
|
@@ -4,31 +4,31 @@ module PennMARC
|
|
4
4
|
# Handle parsing out "Format" and "Other Format" values. Special care goes into controlling the format values for
|
5
5
|
# faceting.
|
6
6
|
class Format < Helper
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
ARCHIVE_LOCATIONS = %w[archarch musearch scfreed univarch archivcoll].freeze
|
7
|
+
# These constants represent the set of desired Format values for faceting.
|
8
|
+
ARCHIVE = 'Archive'
|
9
|
+
BOOK = 'Book'
|
10
|
+
CONFERENCE_EVENT = 'Conference/Event'
|
11
|
+
DATAFILE = 'Datafile'
|
12
|
+
GOVDOC = 'Government document'
|
13
|
+
IMAGE = 'Image'
|
14
|
+
JOURNAL_PERIODICAL = 'Journal/Periodical'
|
15
|
+
MANUSCRIPT = 'Manuscript'
|
16
|
+
MAP_ATLAS = 'Map/Atlas'
|
17
|
+
MICROFORMAT = 'Microformat'
|
18
|
+
MUSICAL_SCORE = 'Musical score'
|
19
|
+
NEWSPAPER = 'Newspaper'
|
20
|
+
OTHER = 'Other'
|
21
|
+
PROJECTED_GRAPHIC = 'Projected graphic'
|
22
|
+
SOUND_RECORDING = 'Sound recording'
|
23
|
+
THESIS_DISSERTATION = 'Thesis/Dissertation'
|
24
|
+
THREE_D_OBJECT = '3D object'
|
25
|
+
VIDEO = 'Video'
|
26
|
+
WEBSITE_DATABASE = 'Website/Database'
|
27
|
+
|
28
|
+
# Values encoded in MARC that we use to determine "Archive" format
|
29
|
+
ARCHIVE_LOCATIONS = %w[archarch musearch scfreed univarch archivcoll].freeze
|
31
30
|
|
31
|
+
class << self
|
32
32
|
# Get any Format values from {https://www.oclc.org/bibformats/en/3xx/300.html 300},
|
33
33
|
# 254, 255, 310, 342, 352, 362 or {https://www.oclc.org/bibformats/en/3xx/340.html 340} field. based on the source
|
34
34
|
# field, different subfields are used.
|
@@ -65,6 +65,7 @@ carpco:
|
|
65
65
|
specific_location: Athenaeum of Philadelphia - Carpenters' Company
|
66
66
|
library: Athenaeum of Philadelphia
|
67
67
|
display: Athenaeum of Philadelphia - Carpenters' Company
|
68
|
+
aeon: true
|
68
69
|
catoffice:
|
69
70
|
specific_location: Athenaeum of Philadelphia - Cataloging Office
|
70
71
|
library: Athenaeum of Philadelphia
|
@@ -104,6 +105,7 @@ microfilm:
|
|
104
105
|
specific_location: Athenaeum of Philadelphia - Microfilm
|
105
106
|
library: Athenaeum of Philadelphia
|
106
107
|
display: Athenaeum of Philadelphia - Microfilm
|
108
|
+
aeon: true
|
107
109
|
newacqu:
|
108
110
|
specific_location: Athenaeum of Philadelphia - New Acquisitions
|
109
111
|
library: Athenaeum of Philadelphia
|
@@ -155,6 +157,7 @@ vismatl:
|
|
155
157
|
specific_location: Athenaeum of Philadelphia - Visual Materials
|
156
158
|
library: Athenaeum of Philadelphia
|
157
159
|
display: Athenaeum of Philadelphia - Visual Materials
|
160
|
+
aeon: true
|
158
161
|
athstor:
|
159
162
|
specific_location: LIBRA - Athenaeum of Philadelphia
|
160
163
|
library: LIBRA
|
@@ -547,6 +550,12 @@ dent:
|
|
547
550
|
- Health Sciences Libraries
|
548
551
|
- Levy Dental Medicine Library
|
549
552
|
display: Levy Dental Medicine Library - Stacks
|
553
|
+
dent390:
|
554
|
+
specific_location: Levy Dental Medicine Library - Lounge
|
555
|
+
library:
|
556
|
+
- Health Sciences Libraries
|
557
|
+
- Levy Dental Medicine Library
|
558
|
+
display: Levy Dental Medicine Library - Lounge
|
550
559
|
dentpcare:
|
551
560
|
specific_location: Levy Dental Medicine Library - PCare
|
552
561
|
library:
|
data/lib/pennmarc/version.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.33
|
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: 2024-
|
15
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|