active-fedora 13.2.0 → 13.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '083816ab491af3e41f5c65d9e450d069a4c566b2b39b5ab36b808e07882a85f8'
|
4
|
+
data.tar.gz: 71ce0e2990bb59b4e3b588c7b29e740a484b5cb073deb96b64c13031a779e055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9df280f39137706c7c83a23ac3607c820473af267f8f384caa455dcab47f0086932d062abf0dd3644b612ebf8886a3996feb04f8608e8a5fa7031098eeee3e0a
|
7
|
+
data.tar.gz: 353bdeaa160542f8174ca6c66207a0368d9c530ddd28bfc97f85bd5431445b6cc3c194c30463f92a18cda459ad41e3b6be6224b59a52aefa76de441d61f074dc
|
data/active-fedora.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_dependency 'faraday', '~> 0.12'
|
22
22
|
s.add_dependency 'faraday-encoding', '>= 0.0.5'
|
23
23
|
s.add_dependency "ldp", '>= 0.7.0', '< 2'
|
24
|
-
s.add_dependency 'rdf-vocab', '< 3.1.5'
|
25
24
|
s.add_dependency 'rsolr', '>= 1.1.2', '< 3'
|
26
25
|
s.add_dependency "ruby-progressbar", '~> 1.0'
|
27
26
|
|
data/config/fedora.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
development:
|
2
2
|
user: fedoraAdmin
|
3
3
|
password: fedoraAdmin
|
4
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984
|
4
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
5
5
|
base_path: <%= ENV['FCREPO_BASE_PATH'] || '/dev' %>
|
6
6
|
test:
|
7
7
|
user: fedoraAdmin
|
8
8
|
password: fedoraAdmin
|
9
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986
|
9
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
10
10
|
base_path: <%= ENV['FCREPO_BASE_PATH'] || '/test' %>
|
11
11
|
production:
|
12
12
|
user: fedoraAdmin
|
13
13
|
password: fedoraAdmin
|
14
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983
|
14
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
@@ -3,8 +3,19 @@
|
|
3
3
|
# to add rdf triples to a non-rdf resource and have them persisted.
|
4
4
|
module ActiveFedora::WithMetadata
|
5
5
|
class DefaultSchema < ActiveTriples::Schema
|
6
|
+
def self.legacy_ebucore_vocabulary
|
7
|
+
@legacy_ebucore_vocabulary ||= Class.new(RDF::StrictVocabulary("http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#")) do
|
8
|
+
property :filename,
|
9
|
+
comment: %(The name of the file containing the Resource.).freeze,
|
10
|
+
domain: "ebucore:Resource".freeze,
|
11
|
+
label: "File name".freeze,
|
12
|
+
range: "xsd:string".freeze,
|
13
|
+
type: "rdf:Property".freeze
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
6
17
|
property :label, predicate: ::RDF::RDFS.label
|
7
|
-
property :file_name, predicate:
|
18
|
+
property :file_name, predicate: legacy_ebucore_vocabulary.filename
|
8
19
|
property :file_size, predicate: ::RDF::Vocab::EBUCore.fileSize
|
9
20
|
property :date_created, predicate: ::RDF::Vocab::EBUCore.dateCreated
|
10
21
|
property :date_modified, predicate: ::RDF::Vocab::EBUCore.dateModified
|
@@ -1,15 +1,15 @@
|
|
1
1
|
development:
|
2
2
|
user: fedoraAdmin
|
3
3
|
password: fedoraAdmin
|
4
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984
|
4
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
5
5
|
base_path: <%= ENV['FCREPO_BASE_PATH'] || '/dev' %>
|
6
6
|
test:
|
7
7
|
user: fedoraAdmin
|
8
8
|
password: fedoraAdmin
|
9
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986
|
9
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
10
10
|
base_path: <%= ENV['FCREPO_BASE_PATH'] || '/test' %>
|
11
11
|
production:
|
12
12
|
user: fedoraAdmin
|
13
13
|
password: fedoraAdmin
|
14
|
-
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983
|
14
|
+
url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983 %>/<%= ENV['FCREPO_REST_PATH'] || 'rest' %>
|
15
15
|
base_path: <%= ENV['FCREPO_BASE_PATH'] || '/prod' %>
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.2.
|
4
|
+
version: 13.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt
|
8
8
|
- McClain Looney
|
9
9
|
- Justin Coyne
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemodel
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - "<"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '2'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rdf-vocab
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "<"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 3.1.5
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "<"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 3.1.5
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: rsolr
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -603,7 +589,7 @@ homepage: https://github.com/samvera/active_fedora
|
|
603
589
|
licenses:
|
604
590
|
- Apache-2.0
|
605
591
|
metadata: {}
|
606
|
-
post_install_message:
|
592
|
+
post_install_message:
|
607
593
|
rdoc_options: []
|
608
594
|
require_paths:
|
609
595
|
- lib
|
@@ -619,7 +605,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
619
605
|
version: '0'
|
620
606
|
requirements: []
|
621
607
|
rubygems_version: 3.1.4
|
622
|
-
signing_key:
|
608
|
+
signing_key:
|
623
609
|
specification_version: 4
|
624
610
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
625
611
|
test_files: []
|