cul_hydra_models 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cul_hydra_models/version.rb +1 -1
  3. data/lib/cul_hydra_models/version.rb~ +1 -1
  4. data/spec/fixtures/cmodels/ldpd_ADLMetadata.xml +56 -0
  5. data/spec/fixtures/cmodels/ldpd_AESMetadata.xml +56 -0
  6. data/spec/fixtures/cmodels/ldpd_BagAggregator.xml +70 -0
  7. data/spec/fixtures/cmodels/ldpd_Concept.xml +69 -0
  8. data/spec/fixtures/cmodels/ldpd_ContentAggregator.xml +70 -0
  9. data/spec/fixtures/cmodels/ldpd_DynamicAggregator.xml +56 -0
  10. data/spec/fixtures/cmodels/ldpd_JP2ImageAggregator.xml +60 -0
  11. data/spec/fixtures/cmodels/ldpd_METSMetadata.xml +56 -0
  12. data/spec/fixtures/cmodels/ldpd_METSStructuredAggregator.xml +53 -0
  13. data/spec/fixtures/cmodels/ldpd_MODSMetadata.xml +73 -0
  14. data/spec/fixtures/cmodels/ldpd_MostRecent.xml +46 -0
  15. data/spec/fixtures/cmodels/ldpd_PTIFImageAggregator.xml +63 -0
  16. data/spec/fixtures/cmodels/ldpd_Resource.xml +72 -0
  17. data/spec/fixtures/cmodels/ldpd_RestrictedResource.xml +54 -0
  18. data/spec/fixtures/cmodels/ldpd_Since.xml +62 -0
  19. data/spec/fixtures/cmodels/ldpd_StaticAudioAggregator.xml +54 -0
  20. data/spec/fixtures/cmodels/ldpd_StaticImageAggregator.xml +71 -0
  21. data/spec/fixtures/cmodels/ldpd_htest.xml +54 -0
  22. data/spec/fixtures/cmodels/ldpd_nullbind.xml +63 -0
  23. data/spec/fixtures/cmodels/ldpd_sdef.Aggregator.xml +71 -0
  24. data/spec/fixtures/cmodels/ldpd_sdef.Core.xml +48 -0
  25. data/spec/fixtures/cmodels/ldpd_sdef.Image.xml +47 -0
  26. data/spec/fixtures/cmodels/ldpd_sdef.Metadata.xml +62 -0
  27. data/spec/fixtures/cmodels/ldpd_sdef.Resource.xml +76 -0
  28. data/spec/fixtures/cmodels/ldpd_sdef.ZoomingImage.xml +46 -0
  29. data/spec/fixtures/cmodels/ldpd_sdep.BagAggregator.xml +160 -0
  30. data/spec/fixtures/cmodels/ldpd_sdep.BagAggregatorCore.xml +221 -0
  31. data/spec/fixtures/cmodels/ldpd_sdep.ContentAggregatorCore.xml +221 -0
  32. data/spec/fixtures/cmodels/ldpd_sdep.DynamicAggregator.xml +171 -0
  33. data/spec/fixtures/cmodels/ldpd_sdep.DynamicAggregatorCore.xml +215 -0
  34. data/spec/fixtures/cmodels/ldpd_sdep.JP2Image.xml +220 -0
  35. data/spec/fixtures/cmodels/ldpd_sdep.JP2ImageAggregator.xml +167 -0
  36. data/spec/fixtures/cmodels/ldpd_sdep.JP2ImageCore.xml +229 -0
  37. data/spec/fixtures/cmodels/ldpd_sdep.MODSMetadata.xml +158 -0
  38. data/spec/fixtures/cmodels/ldpd_sdep.MODSMetadataCore.xml +227 -0
  39. data/spec/fixtures/cmodels/ldpd_sdep.PTIFImage.xml +222 -0
  40. data/spec/fixtures/cmodels/ldpd_sdep.PTIFImageAggregator.xml +167 -0
  41. data/spec/fixtures/cmodels/ldpd_sdep.PTIFImageCore.xml +215 -0
  42. data/spec/fixtures/cmodels/ldpd_sdep.StaticImage.xml +210 -0
  43. data/spec/fixtures/cmodels/ldpd_sdep.StaticImageAggregator.xml +186 -0
  44. data/spec/fixtures/cmodels/ldpd_sdep.StaticImageCore.xml +220 -0
  45. data/spec/fixtures/cmodels/ore_Proxy.xml +50 -0
  46. data/spec/fixtures/cmodels/pcdm_Collection.xml +52 -0
  47. metadata +44 -1
@@ -0,0 +1,50 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="ore:Proxy"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for ORE (Object Reuse and Exchange) Proxy objects"/>
9
+ </foxml:objectProperties>
10
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
11
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for CModel for proxy objects" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/">
12
+ <foxml:xmlContent>
13
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
14
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
15
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
17
+ <dc:title>CModel for proxy objects</dc:title>
18
+ <dc:creator>CUL/IS:LDPD</dc:creator>
19
+ <dc:contributor>NNC</dc:contributor>
20
+ <dc:identifier>ore:Proxy</dc:identifier>
21
+ </oai_dc:dc>
22
+ </foxml:xmlContent>
23
+ </foxml:datastreamVersion>
24
+ </foxml:datastream>
25
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
26
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0">
27
+ <foxml:xmlContent>
28
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
29
+ <rdf:Description rdf:about="info:fedora/ore:Proxy">
30
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
31
+ </rdf:Description>
32
+ </rdf:RDF>
33
+ </foxml:xmlContent>
34
+ </foxml:datastreamVersion>
35
+ </foxml:datastream>
36
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
37
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0">
38
+ <foxml:xmlContent>
39
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
40
+ <dsTypeModel ID="DC">
41
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
42
+ </dsTypeModel>
43
+ <dsTypeModel ID="RELS-EXT">
44
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
45
+ </dsTypeModel>
46
+ </dsCompositeModel>
47
+ </foxml:xmlContent>
48
+ </foxml:datastreamVersion>
49
+ </foxml:datastream>
50
+ </foxml:digitalObject>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <foxml:digitalObject VERSION="1.1" PID="pcdm:Collection"
3
+ xmlns:foxml="info:fedora/fedora-system:def/foxml#"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
6
+ <foxml:objectProperties>
7
+ <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
8
+ <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="CModel for PCDM Collections"/>
9
+ </foxml:objectProperties>
10
+ <foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
11
+ <foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for CModel for PCDM Collections" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/">
12
+ <foxml:xmlContent>
13
+ <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
14
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
15
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16
+ xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
17
+ <dc:title>CModel for PCDM Collections</dc:title>
18
+ <dc:creator>DuraSpace</dc:creator>
19
+ <dc:creator>ProjectHydra</dc:creator>
20
+ <dc:creator>Islandora</dc:creator>
21
+ <dc:contributor>NNC</dc:contributor>
22
+ <dc:identifier>http://pcdm.org/models#Collection</dc:identifier>
23
+ </oai_dc:dc>
24
+ </foxml:xmlContent>
25
+ </foxml:datastreamVersion>
26
+ </foxml:datastream>
27
+ <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
28
+ <foxml:datastreamVersion ID="RELS-EXT1.0" LABEL="RDF Statements about this object" MIMETYPE="application/rdf+xml" FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0">
29
+ <foxml:xmlContent>
30
+ <rdf:RDF xmlns:fedora-model="info:fedora/fedora-system:def/model#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
31
+ <rdf:Description rdf:about="info:fedora/pcdm:Collection">
32
+ <fedora-model:hasModel rdf:resource="info:fedora/fedora-system:ContentModel-3.0"></fedora-model:hasModel>
33
+ </rdf:Description>
34
+ </rdf:RDF>
35
+ </foxml:xmlContent>
36
+ </foxml:datastreamVersion>
37
+ </foxml:datastream>
38
+ <foxml:datastream ID="DS-COMPOSITE-MODEL" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
39
+ <foxml:datastreamVersion ID="DS-COMPOSITE-MODEL1.0" LABEL="Datastream Composite Model" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:FedoraDSCompositeModel-1.0">
40
+ <foxml:xmlContent>
41
+ <dsCompositeModel xmlns="info:fedora/fedora-system:def/dsCompositeModel#">
42
+ <dsTypeModel ID="DC">
43
+ <form FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" MIME="text/xml"></form>
44
+ </dsTypeModel>
45
+ <dsTypeModel ID="RELS-EXT">
46
+ <form FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" MIME="application/rdf+xml"></form>
47
+ </dsTypeModel>
48
+ </dsCompositeModel>
49
+ </foxml:xmlContent>
50
+ </foxml:datastreamVersion>
51
+ </foxml:datastream>
52
+ </foxml:digitalObject>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul_hydra_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric O'Hanlon
@@ -176,6 +176,49 @@ files:
176
176
  - lib/cul_hydra_models/version.rb~
177
177
  - lib/tasks/ci.rake
178
178
  - lib/tasks/cmodel.rake
179
+ - spec/fixtures/cmodels/ldpd_ADLMetadata.xml
180
+ - spec/fixtures/cmodels/ldpd_AESMetadata.xml
181
+ - spec/fixtures/cmodels/ldpd_BagAggregator.xml
182
+ - spec/fixtures/cmodels/ldpd_Concept.xml
183
+ - spec/fixtures/cmodels/ldpd_ContentAggregator.xml
184
+ - spec/fixtures/cmodels/ldpd_DynamicAggregator.xml
185
+ - spec/fixtures/cmodels/ldpd_JP2ImageAggregator.xml
186
+ - spec/fixtures/cmodels/ldpd_METSMetadata.xml
187
+ - spec/fixtures/cmodels/ldpd_METSStructuredAggregator.xml
188
+ - spec/fixtures/cmodels/ldpd_MODSMetadata.xml
189
+ - spec/fixtures/cmodels/ldpd_MostRecent.xml
190
+ - spec/fixtures/cmodels/ldpd_PTIFImageAggregator.xml
191
+ - spec/fixtures/cmodels/ldpd_Resource.xml
192
+ - spec/fixtures/cmodels/ldpd_RestrictedResource.xml
193
+ - spec/fixtures/cmodels/ldpd_Since.xml
194
+ - spec/fixtures/cmodels/ldpd_StaticAudioAggregator.xml
195
+ - spec/fixtures/cmodels/ldpd_StaticImageAggregator.xml
196
+ - spec/fixtures/cmodels/ldpd_htest.xml
197
+ - spec/fixtures/cmodels/ldpd_nullbind.xml
198
+ - spec/fixtures/cmodels/ldpd_sdef.Aggregator.xml
199
+ - spec/fixtures/cmodels/ldpd_sdef.Core.xml
200
+ - spec/fixtures/cmodels/ldpd_sdef.Image.xml
201
+ - spec/fixtures/cmodels/ldpd_sdef.Metadata.xml
202
+ - spec/fixtures/cmodels/ldpd_sdef.Resource.xml
203
+ - spec/fixtures/cmodels/ldpd_sdef.ZoomingImage.xml
204
+ - spec/fixtures/cmodels/ldpd_sdep.BagAggregator.xml
205
+ - spec/fixtures/cmodels/ldpd_sdep.BagAggregatorCore.xml
206
+ - spec/fixtures/cmodels/ldpd_sdep.ContentAggregatorCore.xml
207
+ - spec/fixtures/cmodels/ldpd_sdep.DynamicAggregator.xml
208
+ - spec/fixtures/cmodels/ldpd_sdep.DynamicAggregatorCore.xml
209
+ - spec/fixtures/cmodels/ldpd_sdep.JP2Image.xml
210
+ - spec/fixtures/cmodels/ldpd_sdep.JP2ImageAggregator.xml
211
+ - spec/fixtures/cmodels/ldpd_sdep.JP2ImageCore.xml
212
+ - spec/fixtures/cmodels/ldpd_sdep.MODSMetadata.xml
213
+ - spec/fixtures/cmodels/ldpd_sdep.MODSMetadataCore.xml
214
+ - spec/fixtures/cmodels/ldpd_sdep.PTIFImage.xml
215
+ - spec/fixtures/cmodels/ldpd_sdep.PTIFImageAggregator.xml
216
+ - spec/fixtures/cmodels/ldpd_sdep.PTIFImageCore.xml
217
+ - spec/fixtures/cmodels/ldpd_sdep.StaticImage.xml
218
+ - spec/fixtures/cmodels/ldpd_sdep.StaticImageAggregator.xml
219
+ - spec/fixtures/cmodels/ldpd_sdep.StaticImageCore.xml
220
+ - spec/fixtures/cmodels/ore_Proxy.xml
221
+ - spec/fixtures/cmodels/pcdm_Collection.xml
179
222
  homepage: https://github.com/cul/cul_hydra_models
180
223
  licenses: []
181
224
  metadata: {}