cul_hydra 1.4.16 → 1.4.17
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98a70de0210ddf9f8699da9b958aeec32d055010
|
|
4
|
+
data.tar.gz: 100a0e4c43455e6f7a049f1500c81ca7a348af59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7730e2f172d55af4ca69f02875d6506b9843f353994cc1a58d4c0b747a9b2dd9e929ff5ad36cf6bea22b45e99134b2da35823d100467c60353ee0899364db30d
|
|
7
|
+
data.tar.gz: e842754c44bae108447445fe6f940ff81e385fa1a9d47ef4ec19107f8e0b6a65ba62a5f72c48565b3e67b163df3306734ebda72f80cd66b4028b9dda6dd9c02f
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<mods xmlns='http://www.loc.gov/mods/v3' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd' version='3.4'>
|
|
3
3
|
<identifier type='local'>prd.custord.040148</identifier>
|
|
4
4
|
<identifier type='CLIO'>12381225</identifier>
|
|
5
|
+
<classification authority='loc'>LOC.123.456</classification>
|
|
6
|
+
<classification authority='z'>AB.CD.EF.G.123</classification>
|
|
7
|
+
<classification authority='z'>AB.CD.EF.G.456</classification>
|
|
5
8
|
<titleInfo>
|
|
6
9
|
<nonSort>The </nonSort>
|
|
7
10
|
<title>Manuscript, unidentified</title>
|
|
@@ -363,6 +363,14 @@ module Cul::Hydra::Solrizer
|
|
|
363
363
|
return places
|
|
364
364
|
end
|
|
365
365
|
|
|
366
|
+
def classification_other(node=mods)
|
|
367
|
+
classification_other_values = []
|
|
368
|
+
node.xpath("./mods:classification[@authority='z']", MODS_NS).collect do |n|
|
|
369
|
+
classification_other_values << ModsFieldable.normalize(n.text, true)
|
|
370
|
+
end
|
|
371
|
+
return classification_other_values
|
|
372
|
+
end
|
|
373
|
+
|
|
366
374
|
def origin_info_place_for_display(node=mods)
|
|
367
375
|
# If there are multiple origin_info place elements, choose only the ones without valueURI attributes. Otherwise show the others.
|
|
368
376
|
places_with_uri = []
|
|
@@ -448,6 +456,7 @@ module Cul::Hydra::Solrizer
|
|
|
448
456
|
solr_doc["lib_project_url_ssm"] = project_url
|
|
449
457
|
solr_doc["origin_info_place_ssm"] = origin_info_place
|
|
450
458
|
solr_doc["origin_info_place_for_display_ssm"] = origin_info_place_for_display
|
|
459
|
+
solr_doc["classification_other"] = classification_other
|
|
451
460
|
|
|
452
461
|
repo_marc_code = repository_code
|
|
453
462
|
unless repo_marc_code.nil?
|
data/lib/cul_hydra/version.rb
CHANGED
data/lib/cul_hydra/version.rb~
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cul_hydra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin Armintor
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-05-
|
|
12
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: blacklight
|
|
@@ -532,6 +532,7 @@ files:
|
|
|
532
532
|
- fixtures/spec/STRUCTMAP/structmap-unlabeled-seq.xml
|
|
533
533
|
- fixtures/spec/STRUCTMAP/structmap-unordered-seq.xml
|
|
534
534
|
- lib/cul_hydra.rb
|
|
535
|
+
- lib/cul_hydra/#version.rb#
|
|
535
536
|
- lib/cul_hydra/access_controls_enforcement.rb
|
|
536
537
|
- lib/cul_hydra/controllers.rb
|
|
537
538
|
- lib/cul_hydra/controllers/aggregates.rb
|