traject_umich_format 0.4.1 → 0.4.2
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
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a33f3aeb6c8b94d0f60fb32f253b1351312549b5d4dab2c472dd3816df733ed5
|
|
4
|
+
data.tar.gz: 5167802eceaac712c358479044bc3402b12850ef90777c5160d067274af70c03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd966ad314b0947b195c74fcdd73d2db04d70eedf605aab817ca8fe5893ff705b0d6a6cf1f429e9e5cd04c77521d00bf6e67b18dfed772fb3b88f10939d9d382
|
|
7
|
+
data.tar.gz: 801cdd8e3af26e59444c4bd36f559dacc7d66154e671bd4afcc0064113e33929d9b91d05653b6fbf9e55b614a8b16b648902ff9e2ee37b5bc917428ea55c1bbe
|
|
@@ -38,6 +38,7 @@ class Traject::UMichFormat::BibTypes
|
|
|
38
38
|
codes.concat self.reference_types
|
|
39
39
|
codes.concat self.pp_types
|
|
40
40
|
codes.concat self.videogame_types
|
|
41
|
+
codes.concat self.boardgame_types
|
|
41
42
|
|
|
42
43
|
codes.uniq!
|
|
43
44
|
codes.compact!
|
|
@@ -566,5 +567,22 @@ class Traject::UMichFormat::BibTypes
|
|
|
566
567
|
end
|
|
567
568
|
end
|
|
568
569
|
|
|
570
|
+
# TYP BG Board Games 655## a MATCH board games
|
|
571
|
+
# TYP BG Board Games 655## a MATCH card games
|
|
572
|
+
# TYP BG Board Games 852## j MATCH game board*
|
|
573
|
+
# TYP BG Board Games LDR F06-01 EQUAL [g,k,o,r]
|
|
574
|
+
# 008 F33-01 EQUAL g
|
|
575
|
+
# TYP BG Board Games LDR F06-01 EQUAL [g,k,o,r]
|
|
576
|
+
# 006 F16-01 EQUAL g
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
def boardgame_types
|
|
580
|
+
return ['BG'] if self['655a'].grep(/\A(board|card) games/i).size > 0
|
|
581
|
+
return ['BG'] if self['852j'].grep(/\Agame board/i).size > 0
|
|
582
|
+
return ['BG'] if %w[g k o r].include?(record.leader[6]) && (self['008[33]'].include? 'g')
|
|
583
|
+
return ['BG'] if %w[g k o r].include?(record.leader[6]) && (self['006[16`]'].include? 'g')
|
|
584
|
+
return []
|
|
585
|
+
end
|
|
586
|
+
|
|
569
587
|
|
|
570
588
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: traject_umich_format
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bill Dueber
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -106,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
106
106
|
- !ruby/object:Gem::Version
|
|
107
107
|
version: '0'
|
|
108
108
|
requirements: []
|
|
109
|
-
|
|
110
|
-
rubygems_version: 2.6.13
|
|
109
|
+
rubygems_version: 3.0.1
|
|
111
110
|
signing_key:
|
|
112
111
|
specification_version: 4
|
|
113
112
|
summary: Extract the format and type from a MARC record, the UMich way
|