rdf-vocab 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +201 -0
- data/README.md +4 -0
- data/Rakefile +1 -0
- data/lib/rdf-vocab.rb +5 -0
- data/lib/rdf-vocab/version.rb +5 -0
- data/lib/rdf-vocab/vocab/marc_relators.rb +544 -0
- data/lib/rdf-vocab/vocab/premis.rb +445 -0
- data/lib/rdf-vocab/vocab/preservation.rb +6 -0
- data/lib/rdf-vocab/vocab/preservation/event_type.rb +24 -0
- data/rdf-vocab.gemspec +24 -0
- metadata +98 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rdf'
|
2
|
+
|
3
|
+
module RDF
|
4
|
+
module Preservation
|
5
|
+
class EventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/preservation/eventType/")
|
6
|
+
property :cap, label: "capture"
|
7
|
+
property :com, label: "compression"
|
8
|
+
property :cre, label: "creation"
|
9
|
+
property :dea, label: "deaccession"
|
10
|
+
property :dec, label: "decompression"
|
11
|
+
property :der, label: "decryption"
|
12
|
+
property :del, label: "deletion"
|
13
|
+
property :dig, label: "digital signature validation"
|
14
|
+
property :fix, label: "fixity check"
|
15
|
+
property :ing, label: "ingestion"
|
16
|
+
property :mes, label: "message digest calculation"
|
17
|
+
property :mig, label: "migration"
|
18
|
+
property :nor, label: "normalization"
|
19
|
+
property :rep, label: "replication"
|
20
|
+
property :val, label: "validation"
|
21
|
+
property :vir, label: "virus check"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/rdf-vocab.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rdf-vocab/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rdf-vocab"
|
8
|
+
spec.version = RDF::Vocab::VERSION
|
9
|
+
spec.authors = ["David Chandek-Stark"]
|
10
|
+
spec.email = ["dchandekstark@gmail.com"]
|
11
|
+
spec.summary = %q{A library of RDF vocabularies and vocabulary-building tools}
|
12
|
+
spec.description = %q{A library of RDF vocabularies and vocabulary-building tools}
|
13
|
+
spec.homepage = "https://github.com/projecthydra-labs/rdf-vocab"
|
14
|
+
spec.license = "APACHE2"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "linkeddata"
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rdf-vocab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Chandek-Stark
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: linkeddata
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: A library of RDF vocabularies and vocabulary-building tools
|
56
|
+
email:
|
57
|
+
- dchandekstark@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- .gitignore
|
63
|
+
- Gemfile
|
64
|
+
- LICENSE
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- lib/rdf-vocab.rb
|
68
|
+
- lib/rdf-vocab/version.rb
|
69
|
+
- lib/rdf-vocab/vocab/marc_relators.rb
|
70
|
+
- lib/rdf-vocab/vocab/premis.rb
|
71
|
+
- lib/rdf-vocab/vocab/preservation.rb
|
72
|
+
- lib/rdf-vocab/vocab/preservation/event_type.rb
|
73
|
+
- rdf-vocab.gemspec
|
74
|
+
homepage: https://github.com/projecthydra-labs/rdf-vocab
|
75
|
+
licenses:
|
76
|
+
- APACHE2
|
77
|
+
metadata: {}
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 2.2.2
|
95
|
+
signing_key:
|
96
|
+
specification_version: 4
|
97
|
+
summary: A library of RDF vocabularies and vocabulary-building tools
|
98
|
+
test_files: []
|