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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6975540b2c6651e92c02c37d9a1e95c8915a6ed4e2f8a386f3834850fb3c1df7
4
- data.tar.gz: c8da1818b3e04ae27f09a16264e5f13c17e250382a4b5d313b1853b24516108e
3
+ metadata.gz: 136d61d182d9ce8c75cd211f5b1d76c5a27f7db15811939718ecf4257a025a9b
4
+ data.tar.gz: ddb8aaab834a7c7c78fe7da5388127bd8978740ac9fa5b59e1b25a34b6c0aca4
5
5
  SHA512:
6
- metadata.gz: 9a286057bcf87acf81a680afac4973e06073ad620822e54d2b1f5575017380f6f8412b55fc0db54ee7e689194fc13115563976206b6fad48174aeb8a2618c978
7
- data.tar.gz: b104f5093f0b5222decc2217e16909bf001615639f165e52dadadd4b6ff654c5de680703529bfdfdad29f079b852a6649e00f09bb53dc442c7139b084ef8cfdc
6
+ metadata.gz: 904c66a42965b98fa202d6044d2e82557a673f520fb06d011dcc3e40a4d42ed5ccf0eeadf725743066b7087a664da0567a7cf0fb7ea0086e094e40ee4dbada2c
7
+ data.tar.gz: 73d3fb910e501d6c85e67d32d459f2af338e1373ffaed6dabb3ed00e2245b4e8534753c369cb5882785d065fee6b5e204b5e57a8a7a295b538fd016bcb75e1c8
@@ -17,8 +17,3 @@ suri:
17
17
  url:
18
18
  user:
19
19
  mint_ids: false
20
- workflow:
21
- url:
22
- timeout: 60
23
- logfile: workflow_service.log
24
- shift_age: weekly
@@ -47,8 +47,6 @@ module Dor
47
47
 
48
48
  require 'dor/datastreams/datastream_spec_solrizer'
49
49
 
50
- require 'druid-tools'
51
-
52
50
  # datastreams
53
51
  autoload_under 'datastreams' do
54
52
  autoload :AdministrativeMetadataDS
@@ -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
@@ -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
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dor
4
- VERSION = '9.0.0'
4
+ VERSION = '9.1.0'
5
5
  end
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.0.0
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-02-14 00:00:00.000000000 Z
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