cul_scv_hydra 0.16.12 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/cul/scv/hydra/datastreams/dc_metadata.rb +2 -2
- data/app/models/generic_resource.rb +2 -2
- data/config/fedora.yml +8 -8
- data/config/locales/nnc.ntriples +12 -0
- data/config/subs.yml +12 -0
- data/lib/cul_scv_hydra/version.rb +1 -1
- metadata +5 -5
- data/config/solr.yml +0 -5
- data/lib/cul_scv_hydra/version.rb~ +0 -11
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTBkODQ3ZmViNGU4YjI4MjAyZThmZDI3ZDNlNTJmZTkyMzgzNDEzYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTM5ZTVhZGY2Y2JhYzNjNWI5OTY2YTI1YjZlZThkZTc4MzI2ODQ3OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWEyYTMxNWRhMjg0MmNjNTBkYTViN2QzZTcxNDAzYjE5ZGNhZmY3MjNlMjMx
|
10
|
+
YjRmODg3NzFiZWMwZGM5ZjM0ZGYwMWQwMGQ2MDZkZWNiOGI2ZGU2MjQxMGU4
|
11
|
+
ZWNjN2YxYTUwODA2YmE5ODFiMjQ4ZDJiOTUzNDNjZDJiNmM3MGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTNhZWExNzU3ZWRlMTgwZjY0ZDA5NjMzZmJkZDVjN2IyNDYyOGVjMTZiMGJm
|
14
|
+
ZDU5NTVjYWFlNDM1MzM4ZjM1M2U5NzkzZGVlNjEwYTUwYjMyOTQwODMwMjMy
|
15
|
+
OTg2YjljZGYyNzk0NTI5MTg4MWViMjk1Y2EyYmI3OTYyMzYzZTA=
|
@@ -28,7 +28,7 @@ class DCMetadata < ::ActiveFedora::OmDatastream
|
|
28
28
|
:index_as=>[:displayable, :searchable])
|
29
29
|
t.dc_format(:path=>"format",
|
30
30
|
:namespace_prefix=>"dc",
|
31
|
-
:index_as=>[:displayable, :
|
31
|
+
:index_as=>[:displayable, :facetable])
|
32
32
|
t.dc_identifier(:path=>"identifier",
|
33
33
|
:namespace_prefix=>"dc",
|
34
34
|
:type=>:string,
|
@@ -56,7 +56,7 @@ class DCMetadata < ::ActiveFedora::OmDatastream
|
|
56
56
|
:index_as=>[:displayable, :searchable])
|
57
57
|
t.dc_type(:path=>"type",
|
58
58
|
:namespace_prefix=>"dc",
|
59
|
-
:index_as=>[:displayable, :
|
59
|
+
:index_as=>[:displayable, :facetable])
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.xml_template
|
@@ -28,11 +28,11 @@ class GenericResource < ::ActiveFedora::Base
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def route_as
|
31
|
-
|
31
|
+
"resource"
|
32
32
|
end
|
33
33
|
|
34
34
|
def index_type_label
|
35
|
-
"FILE
|
35
|
+
"FILE ASSET"
|
36
36
|
end
|
37
37
|
|
38
38
|
def to_solr(solr_doc = Hash.new, opts={})
|
data/config/fedora.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
|
1
|
+
alcott: &alcott
|
2
|
+
:url: http://alcott.cul.columbia.edu:8080/fedora
|
2
3
|
:user: fedoraAdmin
|
3
|
-
:password:
|
4
|
-
|
5
|
-
:
|
6
|
-
|
7
|
-
test:
|
4
|
+
:password: f+BULUS*^
|
5
|
+
default: &default
|
6
|
+
:url: http://127.0.0.1:8983/fedora
|
8
7
|
:user: fedoraAdmin
|
9
8
|
:password: fedoraAdmin
|
10
|
-
|
11
|
-
|
9
|
+
development: *alcott
|
10
|
+
test: *default
|
11
|
+
production: *alcott
|
@@ -0,0 +1,12 @@
|
|
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
ADDED
@@ -0,0 +1,12 @@
|
|
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"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cul_scv_hydra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Armintor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blacklight
|
@@ -254,10 +254,11 @@ files:
|
|
254
254
|
- config/fedora.yml
|
255
255
|
- config/jetty.yml
|
256
256
|
- config/locales/ldpd_hydra.en.yml
|
257
|
+
- config/locales/nnc.ntriples
|
257
258
|
- config/predicate_mappings.yml
|
258
|
-
- config/solr.yml
|
259
259
|
- config/solr_mappings.yml
|
260
260
|
- config/solr_value_maps.yml
|
261
|
+
- config/subs.yml
|
261
262
|
- lib/cul_scv_fedora/dummy_object.rb
|
262
263
|
- lib/cul_scv_fedora/rubydora_patch.rb
|
263
264
|
- lib/cul_scv_fedora/url_helper_behavior.rb
|
@@ -293,7 +294,6 @@ files:
|
|
293
294
|
- lib/cul_scv_hydra/solrizer/terminology_based_solrizer.rb
|
294
295
|
- lib/cul_scv_hydra/solrizer/value_mapper.rb
|
295
296
|
- lib/cul_scv_hydra/version.rb
|
296
|
-
- lib/cul_scv_hydra/version.rb~
|
297
297
|
- lib/tasks/cmodel.rake
|
298
298
|
- lib/tasks/cul_hydra_dev.rake
|
299
299
|
- lib/tasks/index.rake
|
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
319
319
|
version: '0'
|
320
320
|
requirements: []
|
321
321
|
rubyforge_project:
|
322
|
-
rubygems_version: 2.
|
322
|
+
rubygems_version: 2.2.2
|
323
323
|
signing_key:
|
324
324
|
specification_version: 4
|
325
325
|
summary: ActiveFedora, OM, and Solrizer implementations for CUL Staff Collection Viewer
|
data/config/solr.yml
DELETED