traject_umich_format 0.4.3 → 0.4.4

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: c2f9995d036ac39662711a2fb98e8e49868c321bee26bc20ebdcf8c8d40a07e7
4
- data.tar.gz: 020e708994872b64080de3a94b6c4ad79f5ca3026c7b62914fc8cace5d8d5f09
3
+ metadata.gz: 5d5c289456af156391507f875b2c204c9e8c734a5778eb1e669e0da1c0ee0b3d
4
+ data.tar.gz: 953420f1ab73559be5ab828c5702b950b4e68e126ce07d651a0eb3d527a1d5ff
5
5
  SHA512:
6
- metadata.gz: 5608a232b6cfa6b99548ad4583bf55dd27b341f94c30c5e27b2d7d8262732870c9e0c7bcc73e4c065026835164d58d7c3ad5e887ed0dc1bc797429540af0bf92
7
- data.tar.gz: aafe2dbf11115db50c7b6dcd0b376ebc2a0f1d439e13c8d16470a7994ab94aac9f25740699818e7fad3adaaab13cac7a84b519a48abfe7163db1128a3eb7a100
6
+ metadata.gz: fffed374bb32707d3026b1510fe9b410710e5e3ecd3f6ef557e11030599fa77e589d6fbed6013553fe530b23b874ab5a3192038a67441b9c8628aa4017e6e13f
7
+ data.tar.gz: 0565de640f6889aad2812f69bf4d882c87799adb174514b5f115a55f48d84d2b3846a6688d3cda6bb8629cdc405556d760a374406b6972ace71945d48c87e4d0
@@ -1,3 +1,7 @@
1
+ ### 0.4.4 / 2020-06-10
2
+
3
+ * Include "i" bib level in defs for formats other than bk or se.
4
+
1
5
  ### 0.4.0 / 2017-12-01
2
6
 
3
7
  * Improve recognition of audio and CD formats
@@ -37,19 +37,19 @@ class Traject::UMichFormat::BibFormat
37
37
  end
38
38
 
39
39
  def bibformat_cf(type, lev)
40
- (type == 'm') && %w[a b c d m s].include?(lev)
40
+ (type == 'm') && %w[a b c d i m s].include?(lev)
41
41
  end
42
42
 
43
43
  def bibformat_vm(type, lev)
44
- %w[g k o r].include?(type) && %w[a b c d m s].include?(lev)
44
+ %w[g k o r].include?(type) && %w[a b c d i m s].include?(lev)
45
45
  end
46
46
 
47
47
  def bibformat_mu(type, lev)
48
- %w[c d i j].include?(type) && %w[a b c d m s].include?(lev)
48
+ %w[c d i j].include?(type) && %w[a b c d i m s].include?(lev)
49
49
  end
50
50
 
51
51
  def bibformat_mp(type, lev)
52
- %w[e f].include?(type) && %w[a b c d m s].include?(lev)
52
+ %w[e f].include?(type) && %w[a b c d i m s].include?(lev)
53
53
  end
54
54
 
55
55
  def bibformat_se(type, lev)
@@ -57,6 +57,6 @@ class Traject::UMichFormat::BibFormat
57
57
  end
58
58
 
59
59
  def bibformat_mx(type, lev)
60
- %w[b p].include?(type) && %w[a b c d m s].include?(lev)
60
+ %w[b p].include?(type) && %w[a b c d i m s].include?(lev)
61
61
  end
62
62
  end
@@ -1,5 +1,5 @@
1
1
  module Traject
2
2
  class UMichFormat
3
- VERSION = "0.4.3"
3
+ VERSION = "0.4.4"
4
4
  end
5
5
  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.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Dueber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-02 00:00:00.000000000 Z
11
+ date: 2020-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.6.11
110
+ rubygems_version: 2.7.9
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Extract the format and type from a MARC record, the UMich way