dor-services 5.31.0 → 5.31.1
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: 0fbf4d60e619912c5af278f19fe929f44596617bff66caf754183aa995f77d4c
|
4
|
+
data.tar.gz: 7c8ceae83d61011967e306270ae07f016bc2600eccd10a39389c7e79c4b918bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b12fe3f28a6cd6484bb298d7ea96a70c449c762eb3064848b3540e84be9809d2be7f65e1f80ffad46fad5b03b9197fc805800308e1acae8bd4dd07b99c161fb2
|
7
|
+
data.tar.gz: f7ef47c60176f1b7a6c1c3573e5169f4569989a0d5e78cb146c3404c142dd62b36f55b2f83866ec6aace1c94984d5e6eeae2040d017c640caac7c6aaba87b40f
|
data/lib/dor-services.rb
CHANGED
@@ -85,18 +85,20 @@ module Dor
|
|
85
85
|
autoload_under 'datastreams' do
|
86
86
|
autoload :AdministrativeMetadataDS
|
87
87
|
autoload :ContentMetadataDS
|
88
|
+
autoload :DefaultObjectRightsDS
|
88
89
|
autoload :DescMetadataDS
|
89
90
|
autoload :EmbargoMetadataDS
|
90
91
|
autoload :EventsDS
|
91
92
|
autoload :GeoMetadataDS
|
92
93
|
autoload :IdentityMetadataDS
|
94
|
+
autoload :ProvenanceMetadataDS
|
93
95
|
autoload :RightsMetadataDS
|
94
96
|
autoload :RoleMetadataDS
|
97
|
+
autoload :SimpleDublinCoreDs
|
98
|
+
autoload :TechnicalMetadataDS
|
99
|
+
autoload :VersionMetadataDS
|
95
100
|
autoload :WorkflowDefinitionDs
|
96
101
|
autoload :WorkflowDs
|
97
|
-
autoload :VersionMetadataDS
|
98
|
-
autoload :DefaultObjectRightsDS
|
99
|
-
autoload :SimpleDublinCoreDs
|
100
102
|
end
|
101
103
|
|
102
104
|
# DOR Concerns
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module Dor
|
2
|
+
# Represents the Fedora 3 datastream that hold provenance metadata
|
3
|
+
class ProvenanceMetadataDS < ActiveFedora::OmDatastream
|
4
|
+
# This provides the prefix for the solr fields generated by ActiveFedora.
|
5
|
+
# Since we don't want a prefix, we override this to return an empty string.
|
6
|
+
def prefix
|
7
|
+
''.freeze
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module Dor
|
2
|
+
# Represents the Fedora 3 datastream that hold technical metadata
|
3
|
+
class TechnicalMetadataDS < ActiveFedora::OmDatastream
|
4
|
+
# This provides the prefix for the solr fields generated by ActiveFedora.
|
5
|
+
# Since we don't want a prefix, we override this to return an empty string.
|
6
|
+
def prefix
|
7
|
+
''.freeze
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -5,8 +5,8 @@ module Dor
|
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
|
7
7
|
included do
|
8
|
-
has_metadata :
|
9
|
-
has_metadata :
|
8
|
+
has_metadata name: 'provenanceMetadata', type: ProvenanceMetadataDS, label: 'Provenance Metadata'
|
9
|
+
has_metadata name: 'technicalMetadata', type: TechnicalMetadataDS, label: 'Technical Metadata', control_group: 'M'
|
10
10
|
end
|
11
11
|
|
12
12
|
def build_provenanceMetadata_datastream(workflow_id, event_text)
|
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: 5.31.
|
4
|
+
version: 5.31.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2018-06-
|
17
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: active-fedora
|
@@ -579,9 +579,11 @@ files:
|
|
579
579
|
- lib/dor/datastreams/human.xslt
|
580
580
|
- lib/dor/datastreams/identity.xsl
|
581
581
|
- lib/dor/datastreams/identity_metadata_ds.rb
|
582
|
+
- lib/dor/datastreams/provenance_metadata_ds.rb
|
582
583
|
- lib/dor/datastreams/rights_metadata_ds.rb
|
583
584
|
- lib/dor/datastreams/role_metadata_ds.rb
|
584
585
|
- lib/dor/datastreams/simple_dublin_core_ds.rb
|
586
|
+
- lib/dor/datastreams/technical_metadata_ds.rb
|
585
587
|
- lib/dor/datastreams/version_metadata_ds.rb
|
586
588
|
- lib/dor/datastreams/workflow_definition_ds.rb
|
587
589
|
- lib/dor/datastreams/workflow_ds.rb
|