dor-services 9.0.0 → 9.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/config_defaults.yml +0 -5
- data/lib/dor-services.rb +0 -2
- data/lib/dor/datastreams/embargo_metadata_ds.rb +6 -1
- data/lib/dor/models/etd.rb +16 -0
- data/lib/dor/models/part.rb +2 -0
- data/lib/dor/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 136d61d182d9ce8c75cd211f5b1d76c5a27f7db15811939718ecf4257a025a9b
|
4
|
+
data.tar.gz: ddb8aaab834a7c7c78fe7da5388127bd8978740ac9fa5b59e1b25a34b6c0aca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 904c66a42965b98fa202d6044d2e82557a673f520fb06d011dcc3e40a4d42ed5ccf0eeadf725743066b7087a664da0567a7cf0fb7ea0086e094e40ee4dbada2c
|
7
|
+
data.tar.gz: 73d3fb910e501d6c85e67d32d459f2af338e1373ffaed6dabb3ed00e2245b4e8534753c369cb5882785d065fee6b5e204b5e57a8a7a295b538fd016bcb75e1c8
|
data/config/config_defaults.yml
CHANGED
data/lib/dor-services.rb
CHANGED
@@ -9,9 +9,14 @@ module Dor
|
|
9
9
|
t.status
|
10
10
|
t.embargo_status(path: 'status', index_as: [:symbol])
|
11
11
|
t.release_date(path: 'releaseDate', index_as: [:dateable])
|
12
|
-
t.release_access(path: 'releaseAccess')
|
12
|
+
t.release_access(path: 'releaseAccess') do
|
13
|
+
t.use do
|
14
|
+
t.human(attributes: { type: 'useAndReproduction' })
|
15
|
+
end
|
16
|
+
end
|
13
17
|
t.twenty_pct_status(path: 'twentyPctVisibilityStatus', index_as: [:symbol])
|
14
18
|
t.twenty_pct_release_date(path: 'twentyPctVisibilityReleaseDate')
|
19
|
+
t.use_and_reproduction_statement(proxy: %i[release_access use human])
|
15
20
|
end
|
16
21
|
|
17
22
|
# Default EmbargoMetadataDS xml
|
data/lib/dor/models/etd.rb
CHANGED
@@ -12,6 +12,22 @@ module Dor
|
|
12
12
|
has_many :supplemental_files, property: :is_constituent_of, class_name: 'Part'
|
13
13
|
has_many :permission_files, property: :is_dependent_of, class_name: 'Part'
|
14
14
|
|
15
|
+
has_attributes :name, :prefix, :suffix, :major, :degree, :advisor, :etd_type,
|
16
|
+
:title, :abstract, :containscopyright, :copyrightclearance,
|
17
|
+
:sulicense, :cclicense, :cclicensetype, :embargo,
|
18
|
+
:external_visibility, :term, :sub, :univid, :sunetid, :ps_career,
|
19
|
+
:ps_program, :ps_plan, :ps_subplan, :dissertation_id, :provost,
|
20
|
+
:degreeconfyr, :schoolname, :department, :readerapproval,
|
21
|
+
:readercomment, :readeractiondttm, :regapproval, :regcomment,
|
22
|
+
:regactiondttm, :documentaccess, :submit_date, :symphonyStatus,
|
23
|
+
datastream: 'properties', multiple: false
|
24
|
+
|
25
|
+
has_attributes :citation_verified, :abstract_provided, :dissertation_uploaded,
|
26
|
+
:supplemental_files_uploaded, :permissions_provided,
|
27
|
+
:permission_files_uploaded, :rights_selected,
|
28
|
+
:cc_license_selected, :submitted_to_registrar,
|
29
|
+
datastream: 'workflow', multiple: false
|
30
|
+
|
15
31
|
has_metadata name: 'properties', type: ActiveFedora::SimpleDatastream, versionable: false do |m|
|
16
32
|
m.field 'name', :string # PS:name
|
17
33
|
m.field 'prefix', :string # PS:prefix
|
data/lib/dor/models/part.rb
CHANGED
@@ -7,6 +7,8 @@ module Dor
|
|
7
7
|
belongs_to :supplemental_file_for, property: :is_constituent_of, class_name: 'Etd' # relationship between supplemental file and parent etd
|
8
8
|
belongs_to :permission_file_for, property: :is_dependent_of, class_name: 'Etd' # relationsihip between permission file and parent etd
|
9
9
|
|
10
|
+
has_attributes :file_name, :size, datastream: 'properties', multiple: false
|
11
|
+
|
10
12
|
has_metadata name: 'properties', type: ActiveFedora::SimpleDatastream, versionable: false do |m|
|
11
13
|
m.field 'file_name', :string
|
12
14
|
m.field 'size', :string
|
data/lib/dor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2020-
|
23
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: active-fedora
|
@@ -220,20 +220,6 @@ dependencies:
|
|
220
220
|
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: 1.2.0
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: druid-tools
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - ">="
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 0.4.1
|
230
|
-
type: :runtime
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 0.4.1
|
237
223
|
- !ruby/object:Gem::Dependency
|
238
224
|
name: stanford-mods
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|