Skip to content

Commit

Permalink
Finish 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Nov 30, 2018
2 parents b5511ea + be09f6f commit c66a319
Show file tree
Hide file tree
Showing 9 changed files with 1,929 additions and 653 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ before_install: "gem update --system"
env:
- CI=true
rvm:
- 2.2
- 2.2.2
- 2.3
- 2.4
- 2.5
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.3
3.0.4
19 changes: 16 additions & 3 deletions lib/rdf/vocab/acl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,22 @@ class ACL < RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")
range: "rdfs:Class".freeze,
type: "rdf:Property".freeze
property :agentGroup,
comment: %(A group of persons or social entities to being given the right).freeze,
comment: %(A group of persons or social entities to being given the right.
The right is given to any entity which is a vcard:member of the group,
as defined by the document received when the Group is dereferenced.).freeze,
domain: "acl:Authorization".freeze,
label: "agent group".freeze,
range: "vcard:Group".freeze,
type: "rdf:Property".freeze
property :default,
comment: %(A directory for which this authorization is used for new files in the directory.).freeze,
comment: %(If a resource has no ACL file \(it is 404\),
then access to the resource if given by the ACL of the immediately
containing directory, or failing that \(404\) the ACL of the recursively next
containing directory which has an ACL file.
Within that ACL file,
any Authentication which has that directory as its acl:default applies to the
resource. \(The highest directory must have an ACL file.\)
).freeze,
domain: "acl:Authorization".freeze,
label: "default access for things in this".freeze,
type: "rdf:Property".freeze
Expand All @@ -137,7 +146,11 @@ class ACL < RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")
type: "rdf:Property".freeze
property :origin,
comment: %(A web application, identified by its Origin, such as
<https://scripts.example.com>, being given the right.).freeze,
<https://scripts.example.com>, being given the right.
When a user of the web application at a certain origin accesses the server,
then the browser sets the Origin: header to warn that a possibly untrusted webapp
is being used.
Then, BOTH the user AND the origin must have the required access.).freeze,
domain: "acl:Authorization".freeze,
label: "origin".freeze,
range: "acl:Origin".freeze,
Expand Down
673 changes: 576 additions & 97 deletions lib/rdf/vocab/ebucore.rb

Large diffs are not rendered by default.

652 changes: 489 additions & 163 deletions lib/rdf/vocab/identifiers.rb

Large diffs are not rendered by default.

1,120 changes: 770 additions & 350 deletions lib/rdf/vocab/premis.rb

Large diffs are not rendered by default.

52 changes: 44 additions & 8 deletions lib/rdf/vocab/premis_event_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,52 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres

# Ontology definition
ontology :"http://id.loc.gov/vocabulary/preservation/eventType/",
comment: %( Event types are actions performed on digital objects within a preservation repository. ).freeze,
comment: %(   Event Types are actions performed within or outside the repository that affect the long term preservation of digital objects. ).freeze,
label: "Event Type".freeze,
"mads:adminMetadata": [term(
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2010-06-01T00:00:00".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2010-06-01T00:00:01".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordContentSource": "premiseventtype:dlc".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordStatus": "new".freeze,
type: "http://id.loc.gov/ontologies/RecordInfo#RecordInfo".freeze
), term(
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2012-06-01T00:00:00".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2012-06-01T00:00:01".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordContentSource": "premiseventtype:dlc".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordStatus": "modified".freeze,
type: "http://id.loc.gov/ontologies/RecordInfo#RecordInfo".freeze
), term(
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2017-12-01T00:00:00".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2017-09-07T00:00:01".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordContentSource": "premiseventtype:dlc".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordStatus": "modified".freeze,
type: "http://id.loc.gov/ontologies/RecordInfo#RecordInfo".freeze
), term(
"http://id.loc.gov/ontologies/RecordInfo#recordChangeDate": "2018-09-24T00:00:01".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordContentSource": "premiseventtype:dlc".freeze,
"http://id.loc.gov/ontologies/RecordInfo#recordStatus": "modified".freeze,
type: "http://id.loc.gov/ontologies/RecordInfo#RecordInfo".freeze
)],
"mads:hasMADSSchemeMember": ["premiseventtype:acc".freeze, "premiseventtype:app".freeze, "premiseventtype:cap".freeze, "premiseventtype:com".freeze, "premiseventtype:cre".freeze, "premiseventtype:dea".freeze, "premiseventtype:dec".freeze, "premiseventtype:del".freeze, "premiseventtype:der".freeze, "premiseventtype:dig".freeze, "premiseventtype:dis".freeze, "premiseventtype:dsg".freeze, "premiseventtype:enc".freeze, "premiseventtype:ffa".freeze, "premiseventtype:fil".freeze, "premiseventtype:fix".freeze, "premiseventtype:for".freeze, "premiseventtype:ima".freeze, "premiseventtype:ine".freeze, "premiseventtype:ing".freeze, "premiseventtype:ins".freeze, "premiseventtype:ipc".freeze, "premiseventtype:ipm".freeze, "premiseventtype:ips".freeze, "premiseventtype:mee".freeze, "premiseventtype:mem".freeze, "premiseventtype:mes".freeze, "premiseventtype:mig".freeze, "premiseventtype:mod".freeze, "premiseventtype:nor".freeze, "premiseventtype:pac".freeze, "premiseventtype:poa".freeze, "premiseventtype:qua".freeze, "premiseventtype:rec".freeze, "premiseventtype:red".freeze, "premiseventtype:ref".freeze, "premiseventtype:rep".freeze, "premiseventtype:tra".freeze, "premiseventtype:unp".freeze, "premiseventtype:unq".freeze, "premiseventtype:val".freeze, "premiseventtype:vir".freeze],
"mads:hasMADSSchemeMember": ["premiseventtype:acc".freeze, "premiseventtype:app".freeze, "premiseventtype:cap".freeze, "premiseventtype:com".freeze, "premiseventtype:cop".freeze, "premiseventtype:cre".freeze, "premiseventtype:dea".freeze, "premiseventtype:dec".freeze, "premiseventtype:del".freeze, "premiseventtype:der".freeze, "premiseventtype:dig".freeze, "premiseventtype:dis".freeze, "premiseventtype:dsg".freeze, "premiseventtype:dsp".freeze, "premiseventtype:enc".freeze, "premiseventtype:exe".freeze, "premiseventtype:exp".freeze, "premiseventtype:ext".freeze, "premiseventtype:ffa".freeze, "premiseventtype:fil".freeze, "premiseventtype:fix".freeze, "premiseventtype:for".freeze, "premiseventtype:ima".freeze, "premiseventtype:ine".freeze, "premiseventtype:ing".freeze, "premiseventtype:ins".freeze, "premiseventtype:int".freeze, "premiseventtype:ipc".freeze, "premiseventtype:ipm".freeze, "premiseventtype:ips".freeze, "premiseventtype:mee".freeze, "premiseventtype:mem".freeze, "premiseventtype:mes".freeze, "premiseventtype:mig".freeze, "premiseventtype:mod".freeze, "premiseventtype:nor".freeze, "premiseventtype:pac".freeze, "premiseventtype:poa".freeze, "premiseventtype:prt".freeze, "premiseventtype:qua".freeze, "premiseventtype:rec".freeze, "premiseventtype:red".freeze, "premiseventtype:ref".freeze, "premiseventtype:ren".freeze, "premiseventtype:rep".freeze, "premiseventtype:tra".freeze, "premiseventtype:unp".freeze, "premiseventtype:unq".freeze, "premiseventtype:val".freeze, "premiseventtype:vir".freeze],
"mads:useFor": ["http://id.loc.gov/vocabulary/preservation/actionsGranted".freeze, "http://id.loc.gov/vocabulary/preservation/environmentPurpose".freeze, "http://id.loc.gov/vocabulary/preservation/inhibitorTarget".freeze],
"skos:changeNote": [term(
"http://purl.org/vocab/changeset/schema#changeReason": "modified".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2012-06-01T00:00:00".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2012-06-01T00:00:01".freeze,
"http://purl.org/vocab/changeset/schema#creatorName": "premiseventtype:dlc".freeze,
"http://purl.org/vocab/changeset/schema#subjectOfChange": "http://id.loc.gov/vocabulary/preservation/eventType".freeze,
type: "http://purl.org/vocab/changeset/schema#ChangeSet".freeze
), term(
"http://purl.org/vocab/changeset/schema#changeReason": "modified".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2017-09-07T00:00:01".freeze,
"http://purl.org/vocab/changeset/schema#creatorName": "premiseventtype:dlc".freeze,
"http://purl.org/vocab/changeset/schema#subjectOfChange": "http://id.loc.gov/vocabulary/preservation/eventType".freeze,
type: "http://purl.org/vocab/changeset/schema#ChangeSet".freeze
), term(
"http://purl.org/vocab/changeset/schema#changeReason": "modified".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2017-12-01T00:00:00".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2018-09-24T00:00:01".freeze,
"http://purl.org/vocab/changeset/schema#creatorName": "premiseventtype:dlc".freeze,
"http://purl.org/vocab/changeset/schema#subjectOfChange": "http://id.loc.gov/vocabulary/preservation/eventType".freeze,
type: "http://purl.org/vocab/changeset/schema#ChangeSet".freeze
), term(
"http://purl.org/vocab/changeset/schema#changeReason": "new".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2010-06-01T00:00:00".freeze,
"http://purl.org/vocab/changeset/schema#createdDate": "2010-06-01T00:00:01".freeze,
"http://purl.org/vocab/changeset/schema#creatorName": "premiseventtype:dlc".freeze,
"http://purl.org/vocab/changeset/schema#subjectOfChange": "http://id.loc.gov/vocabulary/preservation/eventType".freeze,
type: "http://purl.org/vocab/changeset/schema#ChangeSet".freeze
Expand All @@ -64,6 +76,9 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres
term :com,
"mads:authoritativeLabel": "compression".freeze,
type: "mads:Authority".freeze
term :cop,
"mads:authoritativeLabel": "compiling".freeze,
type: "mads:Authority".freeze
term :cre,
"mads:authoritativeLabel": "creation".freeze,
type: "mads:Authority".freeze
Expand All @@ -88,9 +103,21 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres
term :dsg,
"mads:authoritativeLabel": "digital signature generation".freeze,
type: "mads:Authority".freeze
term :dsp,
"mads:authoritativeLabel": "displaying".freeze,
type: "mads:Authority".freeze
term :enc,
"mads:authoritativeLabel": "encryption".freeze,
type: "mads:Authority".freeze
term :exe,
"mads:authoritativeLabel": "execution".freeze,
type: "mads:Authority".freeze
term :exp,
"mads:authoritativeLabel": "exporting".freeze,
type: "mads:Authority".freeze
term :ext,
"mads:authoritativeLabel": "extraction".freeze,
type: "mads:Authority".freeze
term :ffa,
"mads:authoritativeLabel": "forensic feature analysis".freeze,
type: "mads:Authority".freeze
Expand All @@ -115,6 +142,9 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres
term :ins,
"mads:authoritativeLabel": "ingestion start".freeze,
type: "mads:Authority".freeze
term :int,
"mads:authoritativeLabel": "interpreting".freeze,
type: "mads:Authority".freeze
term :ipc,
"mads:authoritativeLabel": "information package creation".freeze,
type: "mads:Authority".freeze
Expand Down Expand Up @@ -148,6 +178,9 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres
term :poa,
"mads:authoritativeLabel": "policy assignment".freeze,
type: "mads:Authority".freeze
term :prt,
"mads:authoritativeLabel": "printing".freeze,
type: "mads:Authority".freeze
term :qua,
"mads:authoritativeLabel": "quarantine".freeze,
type: "mads:Authority".freeze
Expand All @@ -160,6 +193,9 @@ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/pres
term :ref,
"mads:authoritativeLabel": "refreshment".freeze,
type: "mads:Authority".freeze
term :ren,
"mads:authoritativeLabel": "rendering".freeze,
type: "mads:Authority".freeze
term :rep,
"mads:authoritativeLabel": "replication".freeze,
type: "mads:Authority".freeze
Expand Down
Loading

0 comments on commit c66a319

Please sign in to comment.