blacklight-marc 7.1.0 → 7.1.1
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: 7c8cfea333dd144499e53e391fe0cb08fe57cb8f77a208fd855a2bb384389fa7
|
|
4
|
+
data.tar.gz: f21d7a0e17b3620cd75362f61b4c3c8ee202f6da9706906a56d1614348acc996
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
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.
|
|
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-
|
|
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.
|
|
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:
|