cul_hydra 1.5.2 → 1.5.3
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 +4 -4
- data/config/fedora.yml +24 -15
- data/config/solr.yml +16 -7
- data/config/subs.yml +8 -15
- data/fixtures/spec/CUL_MODS/mods-all.xml +1 -0
- data/lib/cul_hydra/solrizer/mods_fieldable.rb +7 -0
- data/lib/cul_hydra/version.rb +1 -1
- metadata +3 -5
- data/lib/cul_hydra/#version.rb# +0 -8
- data/lib/cul_hydra/version.rb~ +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb64e93822e5e1c522e9240134661dc4df7e90ab
|
|
4
|
+
data.tar.gz: eb272b2a854d45c9eda69120baf5ffb876f4c2bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d096d188afc10a31bf06c177639f2784cd253a83cfa0570fbf7943a914c4f735021e30935758224a56823cc8304585fba9adbf48f0b2792cba87215e852e69e
|
|
7
|
+
data.tar.gz: c1c7e9190b48b5e8ad7afa72edd9190ac881a5563d4dc296e55a8ff97536b14ff46cf495aef782129d52637be713a1208a54dbff6f799ce756ccbc7238a49c3c
|
data/config/fedora.yml
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
development:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
:
|
|
6
|
-
|
|
7
|
-
test:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
:
|
|
12
|
-
|
|
2
|
+
user: fedoraAdmin
|
|
3
|
+
password: f+BULUS*^
|
|
4
|
+
url: http://repository.cul.columbia.edu:8080/fedora
|
|
5
|
+
datastreams_root: /ifs/cul/repo/archive/repo-datastreams
|
|
6
|
+
time_zone: "America/New_York"
|
|
7
|
+
test: &TEST
|
|
8
|
+
user: fedoraAdmin
|
|
9
|
+
password: fedoraAdmin
|
|
10
|
+
url: <%= "http://127.0.0.1:#{ENV['TEST_JETTY_PORT'] || 8983}/fedora-test" %>
|
|
11
|
+
datastreams_root: /ifs/cul/repo/archive/repo-datastreams
|
|
12
|
+
time_zone: "America/New_York"
|
|
13
13
|
production:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
:
|
|
14
|
+
user: fedoraAdmin
|
|
15
|
+
password: f+BULUS*^
|
|
16
|
+
url: http://repository.cul.columbia.edu:8080/fedora
|
|
17
|
+
datastreams_root: /ifs/cul/repo/archive/repo-datastreams
|
|
18
|
+
time_zone: "America/New_York"
|
|
19
|
+
dcv_test:
|
|
20
|
+
user: fedoraAdmin
|
|
21
|
+
password: f+BULUS*^
|
|
22
|
+
url: http://repository.cul.columbia.edu:8080/fedora
|
|
23
|
+
datastreams_root: /ifs/cul/repo/archive/repo-datastreams
|
|
24
|
+
time_zone: "America/New_York"
|
|
25
|
+
cucumber:
|
|
26
|
+
<<: *TEST
|
data/config/solr.yml
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
# This is a sample config file that does not have multiple solr instances. You will also need to be sure to
|
|
2
|
+
# edit the fedora.yml file to match the solr URL for active-fedora.
|
|
3
|
+
# url: http://katana.cul.columbia.edu:8080/solr-4.7/dcv_private_dev
|
|
4
|
+
test: &TEST
|
|
5
|
+
url: <%= "http://127.0.0.1:#{ENV['TEST_JETTY_PORT'] || 8983}/solr/test" %>
|
|
6
|
+
dcv_dev: &DEV
|
|
7
|
+
url: http://spatha.cul.columbia.edu:8080/solr-4.7/dcv_private_test
|
|
8
|
+
dcv_core: 'dcv_private_dev'
|
|
9
|
+
dcv_test: &IFP
|
|
10
|
+
url: http://spatha.cul.columbia.edu:8080/solr-4.7/dcv_private_test
|
|
11
|
+
dcv_core: 'dcv_private_test'
|
|
12
|
+
cucumber:
|
|
13
|
+
<<: *TEST
|
|
14
|
+
production: &PROD
|
|
15
|
+
url: http://spatha.cul.columbia.edu:8080/solr-4.7/dcv_prod
|
|
1
16
|
development:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
test:
|
|
5
|
-
url: http://localhost:8983/solr/test
|
|
6
|
-
|
|
7
|
-
production:
|
|
8
|
-
url: http://katana.cul.columbia.edu:8080/solr-4.7/dcv_private_dev
|
|
17
|
+
<<: *PROD
|
data/config/subs.yml
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
+
old:
|
|
2
|
+
fedora_server: http://sayers.cul.columbia.edu:8080
|
|
3
|
+
php_server: http://bach.cul.columbia.edu/dev
|
|
4
|
+
djatoka_server: http://iris.cul.columbia.edu:8080
|
|
1
5
|
development:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
php_server: "http://bach.cul.columbia.edu/dev"
|
|
6
|
+
fedora_server: http://repository.cul.columbia.edu:8080
|
|
7
|
+
php_server: http://fedora-svc.cul.columbia.edu/dev
|
|
5
8
|
test:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
php_server: "http://bach.cul.columbia.edu/dev"
|
|
9
|
-
production:
|
|
10
|
-
djatoka_server: "http://iris.cul.columbia.edu:8080"
|
|
11
|
-
fedora_server: "http://alcott.cul.columbia.edu:8080"
|
|
12
|
-
php_server: "http://bach.cul.columbia.edu"
|
|
13
|
-
|
|
14
|
-
hyacinth_prod:
|
|
15
|
-
djatoka_server: "http://iris.cul.columbia.edu:8080"
|
|
16
|
-
fedora_server: "http://alcott.cul.columbia.edu:8080"
|
|
17
|
-
php_server: "http://bach.cul.columbia.edu"
|
|
9
|
+
fedora_server: http://repository.cul.columbia.edu:8080
|
|
10
|
+
php_server: http://fedora-svc.cul.columbia.edu/dev
|
|
@@ -2,6 +2,7 @@
|
|
|
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
|
+
<identifier type='archive.org'>internet_archive_id_value</identifier>
|
|
5
6
|
<classification authority='loc'>LOC.123.456</classification>
|
|
6
7
|
<classification authority='z'>AB.CD.EF.G.123</classification>
|
|
7
8
|
<classification authority='z'>AB.CD.EF.G.456</classification>
|
|
@@ -405,6 +405,12 @@ module Cul::Hydra::Solrizer
|
|
|
405
405
|
coordinate_values
|
|
406
406
|
end
|
|
407
407
|
|
|
408
|
+
def archive_org_identifier(node=mods)
|
|
409
|
+
node.xpath('./mods:identifier[@type="archive.org"]', MODS_NS).collect do |t|
|
|
410
|
+
ModsFieldable.normalize(t.text)
|
|
411
|
+
end.first
|
|
412
|
+
end
|
|
413
|
+
|
|
408
414
|
def add_names_by_text_role!(solr_doc)
|
|
409
415
|
# Note: These roles usually come from http://www.loc.gov/marc/relators/relaterm.html,
|
|
410
416
|
# but there are known cases when non-marc relator values are used (e.g. 'Owner/Agent'),
|
|
@@ -439,6 +445,7 @@ module Cul::Hydra::Solrizer
|
|
|
439
445
|
solr_doc["alternative_title_ssm"] = alternative_titles
|
|
440
446
|
solr_doc["all_text_teim"] += solr_doc["alternative_title_ssm"]
|
|
441
447
|
solr_doc["clio_ssim"] = clio_ids
|
|
448
|
+
solr_doc["archive_org_identifier_ssi"] = archive_org_identifier
|
|
442
449
|
solr_doc["lib_collection_sim"] = collections
|
|
443
450
|
solr_doc["lib_name_sim"] = names
|
|
444
451
|
solr_doc["lib_name_teim"] = solr_doc["lib_name_sim"]
|
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.5.
|
|
4
|
+
version: 1.5.3
|
|
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:
|
|
12
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: blacklight
|
|
@@ -532,7 +532,6 @@ 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#
|
|
536
535
|
- lib/cul_hydra/access_controls_enforcement.rb
|
|
537
536
|
- lib/cul_hydra/controllers.rb
|
|
538
537
|
- lib/cul_hydra/controllers/aggregates.rb
|
|
@@ -570,7 +569,6 @@ files:
|
|
|
570
569
|
- lib/cul_hydra/solrizer/value_mapper.rb
|
|
571
570
|
- lib/cul_hydra/solrizer_patch.rb
|
|
572
571
|
- lib/cul_hydra/version.rb
|
|
573
|
-
- lib/cul_hydra/version.rb~
|
|
574
572
|
- lib/tasks/cmodel.rake
|
|
575
573
|
- lib/tasks/cul_hydra_dev.rake
|
|
576
574
|
- lib/tasks/index.rake
|
|
@@ -597,7 +595,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
597
595
|
version: '0'
|
|
598
596
|
requirements: []
|
|
599
597
|
rubyforge_project:
|
|
600
|
-
rubygems_version: 2.6.
|
|
598
|
+
rubygems_version: 2.6.11
|
|
601
599
|
signing_key:
|
|
602
600
|
specification_version: 4
|
|
603
601
|
summary: ActiveFedora, OM, and Solrizer implementations for CUL repository apps
|
data/lib/cul_hydra/#version.rb#
DELETED