blacklight-marc 7.1.0 → 7.1.1

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: 67e4c2b3e51422a3801fda3a61fe549e73889f43cdee3571c35368f44f10490e
4
- data.tar.gz: dec3a61d6f54c91811d37afa6d9a4462255c224c33d1f7a0448d1de3028161ff
3
+ metadata.gz: 7c8cfea333dd144499e53e391fe0cb08fe57cb8f77a208fd855a2bb384389fa7
4
+ data.tar.gz: f21d7a0e17b3620cd75362f61b4c3c8ee202f6da9706906a56d1614348acc996
5
5
  SHA512:
6
- metadata.gz: 57f8a9949505a58970bae0a8aaf9f25a0d46c1d7d80272cf19c8a5ff43aa2833c3676e9f5246dd88c8954d33d6699601ddf463429ae30cb916a762616b7014eb
7
- data.tar.gz: 959d4dae4de2e8f5378cd7379b3863a1ca70408f9d6e0ba95bed151651ec6bc5b4f052167782caf53f3d1c351e6747f68be5841825888a4be724ee3c02ad1330
6
+ metadata.gz: '068fc78f8e7e22f46028b21a0b80c2328a00ec0052d4c4f6c0e7dbd5214d6746414446387d764f656e4d2eb6839a5c90fe9ddeb2ab9e3a800bf504d66ccaefb4'
7
+ data.tar.gz: 56c70c31d927d4b77cbfdb01a2aa695ded5dc847e13b387cb24a9634f68a5aa0a097800e9911909e1166f7c7b58835c9dbb04c04245837e4a175e8f9d30e29bf
@@ -59,7 +59,9 @@ module Blacklight::Solr::Document::Marc
59
59
  end
60
60
 
61
61
  def marc_record_from_marcxml
62
- MARC::XMLReader.new(StringIO.new( fetch(_marc_source_field) )).to_a.first
62
+ marcxml = fetch(_marc_source_field)
63
+ marcxml = marcxml.first if marcxml.kind_of? Array
64
+ MARC::XMLReader.new(StringIO.new(marcxml)).to_a.first
63
65
  end
64
66
 
65
67
  def _marc_helper
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Marc
3
- VERSION = '7.1.0'
3
+ VERSION = '7.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-marc
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -310,7 +310,7 @@ homepage: https://github.com/projectblacklight/blacklight-marc
310
310
  licenses:
311
311
  - Apache-2.0
312
312
  metadata: {}
313
- post_install_message:
313
+ post_install_message:
314
314
  rdoc_options: []
315
315
  require_paths:
316
316
  - lib
@@ -325,8 +325,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
325
325
  - !ruby/object:Gem::Version
326
326
  version: '0'
327
327
  requirements: []
328
- rubygems_version: 3.1.2
329
- signing_key:
328
+ rubygems_version: 3.2.29
329
+ signing_key:
330
330
  specification_version: 4
331
331
  summary: MARC support for Blacklight
332
332
  test_files: