cul_scv_hydra 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/generic_resource.rb +1 -1
- data/config/fedora.yml +8 -8
- data/config/locales/ldpd_hydra.en.yml +10 -11
- data/config/solr.yml +5 -0
- data/lib/cul_scv_hydra/indexer.rb +1 -1
- data/lib/cul_scv_hydra/version.rb +1 -1
- data/lib/cul_scv_hydra/version.rb~ +11 -0
- metadata +5 -4
- data/config/locales/nnc.ntriples +0 -12
- data/config/subs.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c83f01d70ffea304d2cfd2adb319328a1ce6e693
|
4
|
+
data.tar.gz: ea391bb2680b8ea434f28bd4635c36f6d5ae5859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d24fdd7c273d77a095cbf0fdfafd86a8ea898617c98435bf8157a00fb9e0006c151948aaf2c41362bf842a278770bd57ca0425c3afbadb70c64ee1d89ca9efde
|
7
|
+
data.tar.gz: f6591b9bd1ce46d737447b24810b84a95f7d2e40c5101a55924031ee8c6e978eeba0c4a9d6004992d076ef952a683ae459a66a46cfe49ce4496d23a66c3021d4
|
@@ -22,7 +22,7 @@ class GenericResource < ::ActiveFedora::Base
|
|
22
22
|
|
23
23
|
has_datastream :name => "content", :type=>::ActiveFedora::Datastream, :versionable => true
|
24
24
|
has_metadata :name=>"RELS-INT", :type=>ActiveFedora::RelsInt::Datastream
|
25
|
-
|
25
|
+
|
26
26
|
def assert_content_model
|
27
27
|
super
|
28
28
|
add_relationship(:rdf_type, Cul::Scv::Hydra::ActiveFedora::RESOURCE_TYPE.to_s)
|
data/config/fedora.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
:url: http://alcott.cul.columbia.edu:8080/fedora
|
1
|
+
development:
|
3
2
|
:user: fedoraAdmin
|
4
|
-
:password:
|
5
|
-
|
6
|
-
:
|
3
|
+
:password: fedoraAdmin
|
4
|
+
:url: http://localhost:8983/fedora-test
|
5
|
+
:time_zone: "America/New_York"
|
6
|
+
|
7
|
+
test:
|
7
8
|
:user: fedoraAdmin
|
8
9
|
:password: fedoraAdmin
|
9
|
-
|
10
|
-
|
11
|
-
production: *alcott
|
10
|
+
:url: http://localhost:8983/fedora-test
|
11
|
+
:time_zone: "America/New_York"
|
@@ -18,11 +18,10 @@ en:
|
|
18
18
|
'NNC-MUS' : 'Music Library' # This is an unofficial form of NyNyCMA that we've used in the past
|
19
19
|
'NyNyCOH' : 'Oral History Center'
|
20
20
|
project:
|
21
|
-
|
22
|
-
"Avery
|
23
|
-
"Avery's Architectural Novelties" : "Avery Novelties"
|
21
|
+
"Avery’s Architectural Ephemera Collections" : "Avery Ephemera"
|
22
|
+
"Avery’s Architectural Novelties" : "Avery Novelties"
|
24
23
|
"Barbara Curtis Adachi Bunraku Collection" : "Bunraku Collection"
|
25
|
-
"Biggert
|
24
|
+
"Biggert collection of architectural vignettes on commercial stationery" : "Biggert Collection"
|
26
25
|
"Butler 75: Butler Library's 75th anniversary, 1934-2009" : "Butler 75"
|
27
26
|
"Chamber of Commerce of New York" : "Chamber of Commerce"
|
28
27
|
"Charles A. Platt's Italian Garden Photographs" : "Platt's Italian Garden Photographs"
|
@@ -34,11 +33,11 @@ en:
|
|
34
33
|
"Dramatic Museum Realia" : "Dramatic Museum"
|
35
34
|
'Customer Order Collection' : 'Pres Orders'
|
36
35
|
'G.E.E. Lindquist Native American Photographs' : 'Lindquist Photographs'
|
37
|
-
"Greene &
|
36
|
+
"Greene & Greene Architectural Records and Papers Collection" : "Greene & Greene"
|
38
37
|
"Hugh Ferriss architectural drawings and papers" : "Ferriss Architectural Drawings"
|
39
38
|
"Images from Stokes' Iconography of Manhattan Island, 1498-1909" : "Stokes"
|
40
39
|
'Jewels in her crown: treasures of Columbia University Libraries special collections' : 'Jewels in Her Crown'
|
41
|
-
"Joseph Urban Stage Design Models &
|
40
|
+
"Joseph Urban Stage Design Models & Documents Stabilization & Access Project" : "Urban Stage Design"
|
42
41
|
"Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century" : "Judging a Book"
|
43
42
|
"Korean Independence Outbreak Movement" : "Korean Independence"
|
44
43
|
"Lehman special correspondence files" : "Lehman Correspondence"
|
@@ -89,10 +88,10 @@ en:
|
|
89
88
|
'NNC-MUS' : 'Gabe M. Wiener Music & Arts Library, Columbia University' # This is an unofficial form of NyNyCMA that we've used in the past
|
90
89
|
'NyNyCOH' : 'Columbia Center for Oral History, Columbia University'
|
91
90
|
project:
|
92
|
-
"Avery
|
93
|
-
"Avery
|
91
|
+
"Avery’s Architectural Ephemera Collections" : "Avery’s Architectural Ephemera Collections"
|
92
|
+
"Avery’s Architectural Novelties" : "Avery's Architectural Novelties"
|
94
93
|
"Barbara Curtis Adachi Bunraku Collection" : "Barbara Curtis Adachi Bunraku Collection"
|
95
|
-
"Biggert
|
94
|
+
"Biggert collection of architectural vignettes on commercial stationery" : "Biggert Collection of Architectural Vignettes on Commercial Stationery"
|
96
95
|
"Butler 75: Butler Library's 75th anniversary, 1934-2009" : "Butler 75: Butler Library's 75th anniversary, 1934-2009"
|
97
96
|
"Chamber of Commerce of New York" : "Chamber of Commerce of New York"
|
98
97
|
"Charles A. Platt's Italian Garden Photographs" : "Charles A. Platt's Italian Garden Photographs"
|
@@ -104,11 +103,11 @@ en:
|
|
104
103
|
"Dramatic Museum Realia" : "Dramatic Museum Realia"
|
105
104
|
'Customer Order Collection' : 'Customer Order Collection'
|
106
105
|
'G.E.E. Lindquist Native American Photographs' : 'G.E.E. Lindquist Native American Photographs'
|
107
|
-
"Greene &
|
106
|
+
"Greene & Greene Architectural Records and Papers Collection" : "Greene & Greene Architectural Records and Papers Collection"
|
108
107
|
"Hugh Ferriss architectural drawings and papers" : "Hugh Ferriss architectural drawings and papers"
|
109
108
|
"Images from Stokes' Iconography of Manhattan Island, 1498-1909" : "Images from Stokes' Iconography of Manhattan Island, 1498-1909"
|
110
109
|
'Jewels in her crown: treasures of Columbia University Libraries special collections' : 'Jewels in her Crown: Treasures of Columbia University Libraries Special Collections'
|
111
|
-
"Joseph Urban Stage Design Models &
|
110
|
+
"Joseph Urban Stage Design Models & Documents Stabilization & Access Project" : "Joseph Urban Stage Design Models & Documents Stabilization & Access Project"
|
112
111
|
"Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century" : "Judging a Book by its Cover : Gold-Stamped Publishers' Bindings of the 19th century"
|
113
112
|
"Korean Independence Outbreak Movement" : "Korean Independence Outbreak Movement"
|
114
113
|
"Lehman special correspondence files" : "Lehman Special Correspondence Files"
|
data/config/solr.yml
ADDED
@@ -55,7 +55,7 @@ module Cul::Scv::Hydra::Indexer
|
|
55
55
|
active_fedora_object = ActiveFedora::Base.find(pid, :cast => true)
|
56
56
|
|
57
57
|
if skip_generic_resources && active_fedora_object.is_a?(GenericResource)
|
58
|
-
puts '
|
58
|
+
puts 'Object was skipped because GenericResources are being skipped and it is a GenericResource.'
|
59
59
|
else
|
60
60
|
begin
|
61
61
|
active_fedora_object.update_index
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cul_scv_hydra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Armintor
|
8
|
+
- Eric O'Hanlon
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: blacklight
|
@@ -254,11 +255,10 @@ files:
|
|
254
255
|
- config/fedora.yml
|
255
256
|
- config/jetty.yml
|
256
257
|
- config/locales/ldpd_hydra.en.yml
|
257
|
-
- config/locales/nnc.ntriples
|
258
258
|
- config/predicate_mappings.yml
|
259
|
+
- config/solr.yml
|
259
260
|
- config/solr_mappings.yml
|
260
261
|
- config/solr_value_maps.yml
|
261
|
-
- config/subs.yml
|
262
262
|
- lib/cul_scv_fedora/dummy_object.rb
|
263
263
|
- lib/cul_scv_fedora/rubydora_patch.rb
|
264
264
|
- lib/cul_scv_fedora/url_helper_behavior.rb
|
@@ -294,6 +294,7 @@ files:
|
|
294
294
|
- lib/cul_scv_hydra/solrizer/terminology_based_solrizer.rb
|
295
295
|
- lib/cul_scv_hydra/solrizer/value_mapper.rb
|
296
296
|
- lib/cul_scv_hydra/version.rb
|
297
|
+
- lib/cul_scv_hydra/version.rb~
|
297
298
|
- lib/tasks/cmodel.rake
|
298
299
|
- lib/tasks/cul_hydra_dev.rake
|
299
300
|
- lib/tasks/index.rake
|
data/config/locales/nnc.ntriples
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
<info:fedora/marcorg:nnc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.loc.gov/mads/rdf/v1#CorporateName> .
|
2
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#hasReciprocalAuthority> <http://id.loc.gov/vocabulary/organizations/nnc> .
|
3
|
-
<info:fedora/marcorg:nnc> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.loc.gov/mads/rdf/v1#Authority> .
|
4
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#code> "NNC"^^<http://id.loc.gov/datatypes/orgs/code> .
|
5
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#code> "nnc"^^<http://id.loc.gov/datatypes/orgs/normalized> .
|
6
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#authoritativeLabel> "Butler Library"@en .
|
7
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#hasAbbreviationVariant> _:bnodereponncfacet .
|
8
|
-
<info:fedora/marcorg:nnc> <http://www.loc.gov/mads/rdf/v1#hasExpansionVariant> _:bnodereponncfull .
|
9
|
-
_:bnodereponncfacet <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.loc.gov/mads/rdf/v1#Variant> .
|
10
|
-
_:bnodereponncfacet <http://www.loc.gov/mads/rdf/v1#variantLabel> "Butler Library"@en .
|
11
|
-
_:bnodereponncfull <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.loc.gov/mads/rdf/v1#Variant> .
|
12
|
-
_:bnodereponncfull <http://www.loc.gov/mads/rdf/v1#variantLabel> "Butler Library, Columbia University"@en
|
data/config/subs.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
development:
|
2
|
-
djatoka_server: "http://iris.cul.columbia.edu:8080"
|
3
|
-
fedora_server: "http://sayers.cul.columbia.edu:8080"
|
4
|
-
php_server: "http://bach.cul.columbia.edu/dev"
|
5
|
-
test:
|
6
|
-
djatoka_server: "http://iris.cul.columbia.edu:8080"
|
7
|
-
fedora_server: "http://sayers.cul.columbia.edu:8080"
|
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"
|