rdf-vocab 0.7.0 → 0.8.0

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +24 -200
  3. data/README.md +88 -33
  4. data/lib/{rdf-vocab → rdf}/vocab/acl.rb +19 -13
  5. data/lib/{rdf-vocab → rdf}/vocab/bibframe.rb +513 -510
  6. data/lib/rdf/vocab/cnt.rb +112 -0
  7. data/lib/{rdf-vocab → rdf}/vocab/crm.rb +799 -799
  8. data/lib/{rdf-vocab → rdf}/vocab/datacite.rb +53 -53
  9. data/lib/{rdf-vocab → rdf}/vocab/dwc.rb +459 -459
  10. data/lib/{rdf-vocab → rdf}/vocab/edm.rb +41 -41
  11. data/lib/rdf/vocab/extensions.rb +29 -0
  12. data/lib/{rdf-vocab → rdf}/vocab/fcrepo4.rb +38 -38
  13. data/lib/{rdf-vocab → rdf}/vocab/iana.rb +89 -166
  14. data/lib/{rdf-vocab → rdf}/vocab/identifiers.rb +58 -38
  15. data/lib/rdf/vocab/ldp.rb +218 -0
  16. data/lib/{rdf-vocab → rdf}/vocab/mads.rb +147 -147
  17. data/lib/{rdf-vocab → rdf}/vocab/marc_relators.rb +273 -269
  18. data/lib/{rdf-vocab → rdf}/vocab/mods.rb +178 -178
  19. data/lib/{rdf-vocab → rdf}/vocab/oa.rb +102 -102
  20. data/lib/{rdf-vocab → rdf}/vocab/ore.rb +32 -32
  21. data/lib/{rdf-vocab/vocab/premis/v1.rb → rdf/vocab/premis.rb} +147 -147
  22. data/lib/{rdf-vocab → rdf}/vocab/premis_event_type.rb +0 -0
  23. data/lib/rdf/vocab/version.rb +18 -0
  24. data/lib/rdf/vocab.rb +153 -0
  25. data/spec/spec_helper.rb +3 -84
  26. data/spec/vocab_spec.rb +64 -0
  27. metadata +109 -58
  28. data/.gitignore +0 -17
  29. data/.rspec +0 -2
  30. data/.travis.yml +0 -6
  31. data/CONTRIBUTING.md +0 -116
  32. data/CONTRIBUTORS.md +0 -6
  33. data/Gemfile +0 -4
  34. data/Rakefile +0 -8
  35. data/lib/rdf-vocab/config/vocab.yml +0 -109
  36. data/lib/rdf-vocab/tasks/vocab.rake +0 -44
  37. data/lib/rdf-vocab/version.rb +0 -5
  38. data/lib/rdf-vocab/vocab/fcrepo3.rb +0 -326
  39. data/lib/rdf-vocab/vocab/ldp.rb +0 -140
  40. data/lib/rdf-vocab/vocab/prov.rb +0 -1549
  41. data/lib/rdf-vocab.rb +0 -34
  42. data/rdf-vocab.gemspec +0 -26
  43. data/sources/dwcterms.rdf +0 -2679
  44. data/sources/iana-relation.rdf +0 -475
  45. data/sources/iana-relation.xsl +0 -65
  46. data/spec/fixtures/dcterms.rdf +0 -1077
  47. data/spec/unit/rdf_vocab_spec.rb +0 -27
File without changes
@@ -0,0 +1,18 @@
1
+ module RDF::Vocab::VERSION
2
+ VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
3
+ MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")
4
+
5
+ STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')
6
+
7
+ ##
8
+ # @return [String]
9
+ def self.to_s() STRING end
10
+
11
+ ##
12
+ # @return [String]
13
+ def self.to_str() STRING end
14
+
15
+ ##
16
+ # @return [Array(Integer, Integer, Integer)]
17
+ def self.to_a() STRING.split(".") end
18
+ end
data/lib/rdf/vocab.rb ADDED
@@ -0,0 +1,153 @@
1
+ require 'rdf'
2
+ require 'rdf/vocabulary'
3
+ require 'rdf/vocab/extensions'
4
+
5
+ module RDF
6
+ module Vocab
7
+ autoload :VERSION, 'rdf/vocab/version'
8
+ VOCABS = {
9
+ acl: {uri: "http://www.w3.org/ns/auth/acl#"},
10
+ bibframe: {
11
+ uri: "http://bibframe.org/vocab/",
12
+ source: "http://bibframe.org/vocab.rdf",
13
+ class_name: "Bibframe",
14
+ extra: {hasAccompaniment: {type: "rdf:Property",label: "has accompaniment"}}
15
+ },
16
+ cc: {uri: "http://creativecommons.org/ns#", alias: true},
17
+ cert: {uri: "http://www.w3.org/ns/auth/cert#", alias: true},
18
+ cnt: {uri: "http://www.w3.org/2011/content#"},
19
+ crm: {uri: "http://www.cidoc-crm.org/cidoc-crm/", source: "etc/crm.rdf"},
20
+ datacite: {
21
+ uri: "http://purl.org/spar/datacite/",
22
+ source: "http://eelst.cs.unibo.it/apps/LODE/source?url=http://purl.org/spar/datacite",
23
+ class_name: "DataCite"
24
+ },
25
+ dc: {uri: "http://purl.org/dc/terms/", alias: true},
26
+ dc11: {uri: "http://purl.org/dc/elements/1.1/", alias: true},
27
+ dcat: {uri: "http://www.w3.org/ns/dcat#", alias: true},
28
+ doap: {uri: "http://usefulinc.com/ns/doap#", alias: true},
29
+ dwc: {
30
+ uri: "http://rs.tdwg.org/dwc/terms/",
31
+ source: "etc/dwcterms.rdf",
32
+ alt_source: "http://rs.tdwg.org/dwc/rdf/dwcterms.rdf"
33
+ },
34
+ edm: {
35
+ uri: "http://www.europeana.eu/schemas/edm/",
36
+ source: "http://www.europeana.eu/schemas/edm/rdf/edm.owl"
37
+ },
38
+ exif: {uri: "http://www.w3.org/2003/12/exif/ns#", alias: true},
39
+ fcrepo4: {uri: "http://fedora.info/definitions/v4/repository#", class_name: "Fcrepo4"},
40
+ foaf: {uri: "http://xmlns.com/foaf/0.1/", alias: true},
41
+ geo: {uri: "http://www.w3.org/2003/01/geo/wgs84_pos#", alias: true},
42
+ gr: {uri: "http://purl.org/goodrelations/v1#", source: "http://www.heppnetz.de/ontologies/goodrelations/v1.owl", alias: true},
43
+ ht: {uri: "http://www.w3.org/2011/http#", alias: true},
44
+ iana: {uri: "http://www.iana.org/assignments/link-relations/", source: File.expand_path("../../../etc/iana.ttl", __FILE__)},
45
+ ical: {uri: "http://www.w3.org/2002/12/cal/icaltzd#", alias: true},
46
+ identifiers: {
47
+ uri: "http://id.loc.gov/vocabulary/identifiers/",
48
+ source: "http://id.loc.gov/vocabulary/identifiers.rdf",
49
+ class_name: "Identifiers",
50
+ extra: {
51
+ id: {
52
+ label: "Identifier",
53
+ comment: "Generic Identifier property. It is expected that one will use one of its many subproperties.",
54
+ type: "rdf:Property"
55
+ }
56
+ }
57
+ },
58
+ ldp: {uri: "http://www.w3.org/ns/ldp#", strict: false},
59
+ ma: {uri: "http://www.w3.org/ns/ma-ont#", source: "http://www.w3.org/ns/ma-ont.rdf", strict: false},
60
+ mads: {
61
+ uri: "http://www.loc.gov/mads/rdf/v1#",
62
+ source: "http://www.loc.gov/standards/mads/rdf/v1.rdf"
63
+ },
64
+ marc_relators: {
65
+ uri: "http://id.loc.gov/vocabulary/relators/",
66
+ source: "http://id.loc.gov/vocabulary/relators.rdf",
67
+ class_name: "MARCRelators",
68
+ extra: {
69
+ role: {
70
+ label: "role",
71
+ type: "owl:ObjectProperty",
72
+ comment: "This property and its sub-properties are used to associate a Bibliographic Resource with a Resource that played a part in the lifecycle of the Bibliographic Resource. It is the inverse of relators:roleIn."
73
+ }
74
+ }
75
+ },
76
+ mo: {uri: "http://purl.org/ontology/mo/", strict: false},
77
+ mods: {
78
+ uri: "http://www.loc.gov/mods/rdf/v1#",
79
+ source: "http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl"
80
+ },
81
+ oa: {
82
+ uri: "http://www.w3.org/ns/oa#",
83
+ source: "http://www.openannotation.org/spec/core/20130208/oa.owl"
84
+ },
85
+ og: {uri: "http://ogp.me/ns#", strict: false},
86
+ ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns", strict: false},
87
+ ore: {uri: "http://www.openarchives.org/ore/terms/"},
88
+ premis: {uri: "http://www.loc.gov/premis/rdf/v1#", source: "http://www.loc.gov/premis/rdf/v1.rdf"},
89
+ premis_event_type: {
90
+ uri: "http://id.loc.gov/vocabulary/preservation/eventType/",
91
+ source: "http://id.loc.gov/vocabulary/preservation/eventType.nt",
92
+ class_name: "PremisEventType"
93
+ },
94
+ prov: {uri: "http://www.w3.org/ns/prov#", alias: true},
95
+ rsa: {uri: "http://www.w3.org/ns/auth/rsa#", alias: true},
96
+ rss: {uri: "http://purl.org/rss/1.0/", source: "http://purl.org/rss/1.0/schema.rdf", alias: true},
97
+ schema: {uri: "http://schema.org/", source: "http://schema.org/docs/schema_org_rdfa.html", alias: true},
98
+ sioc: {uri: "http://rdfs.org/sioc/ns#", alias: true},
99
+ skos: {uri: "http://www.w3.org/2004/02/skos/core#", alias: true},
100
+ skosxl: {uri: "http://www.w3.org/2008/05/skos-xl#", source: "http://www.w3.org/TR/skos-reference/skos-xl.rdf", alias: true},
101
+ v: {uri: "http://rdf.data-vocabulary.org/#", source: "etc/rdf.data-vocab.ttl", alias: true},
102
+ vmd: {uri: "http://data-vocabulary.org/", source: "etc/data-vocab.ttl", alias: true},
103
+ vcard: {uri: "http://www.w3.org/2006/vcard/ns#", alias: true},
104
+ void: {uri: "http://rdfs.org/ns/void#", source: "http://vocab.deri.ie/void.rdf", alias: true},
105
+ vs: {uri: "http://www.w3.org/2003/06/sw-vocab-status/ns#", alias: true},
106
+ wdrs: {uri: "http://www.w3.org/2007/05/powder-s#", alias: true},
107
+ wot: {uri: "http://xmlns.com/wot/0.1/", source: "http://xmlns.com/wot/0.1/index.rdf", alias: true},
108
+ xhtml: {uri: "http://www.w3.org/1999/xhtml#", strict: false, alias: true},
109
+ xhv: {uri: "http://www.w3.org/1999/xhtml/vocab#", strict: false, alias: true},
110
+ }.freeze
111
+
112
+ # Autoload vocabularies
113
+ VOCABS.each do |id, params|
114
+ v = params.fetch(:class_name, id.to_s.upcase).to_sym
115
+ autoload v, "rdf/vocab/#{id}"
116
+ end
117
+
118
+ # Aliases for vocabularies still defined directly in RDF.rb
119
+ CC = ::RDF::CC if RDF.const_defined?(:CC)
120
+ CERT = ::RDF::CERT if RDF.const_defined?(:CERT)
121
+ DC = ::RDF::DC if RDF.const_defined?(:DC)
122
+ DC11 = ::RDF::DC11 if RDF.const_defined?(:DC11)
123
+ DCAT = ::RDF::DCAT if RDF.const_defined?(:DCAT)
124
+ DOAP = ::RDF::DOAP if RDF.const_defined?(:DOAP)
125
+ EXIF = ::RDF::EXIF if RDF.const_defined?(:EXIF)
126
+ FOAF = ::RDF::FOAF if RDF.const_defined?(:FOAF)
127
+ GEO = ::RDF::GEO if RDF.const_defined?(:GEO)
128
+ GR = ::RDF::GR if RDF.const_defined?(:GR)
129
+ HT = ::RDF::HT if RDF.const_defined?(:HT)
130
+ ICAL = ::RDF::ICAL if RDF.const_defined?(:ICAL)
131
+ MA = ::RDF::MA if RDF.const_defined?(:MA)
132
+ MO = ::RDF::MO if RDF.const_defined?(:MO)
133
+ OG = ::RDF::OG if RDF.const_defined?(:OG)
134
+ OGC = ::RDF::OGC if RDF.const_defined?(:OGC)
135
+ OWL = ::RDF::OWL if RDF.const_defined?(:OWL)
136
+ PROV = ::RDF::PROV if RDF.const_defined?(:PROV)
137
+ RSA = ::RDF::RSA if RDF.const_defined?(:RSA)
138
+ RSS = ::RDF::RSS if RDF.const_defined?(:RSS)
139
+ SCHEMA = ::RDF::SCHEMA if RDF.const_defined?(:SCHEMA)
140
+ SIOC = ::RDF::SIOC if RDF.const_defined?(:SIOC)
141
+ SKOS = ::RDF::SKOS if RDF.const_defined?(:SKOS)
142
+ SKOSXL = ::RDF::SKOSXL if RDF.const_defined?(:SKOSXL)
143
+ V = ::RDF::V if RDF.const_defined?(:V)
144
+ VCARD = ::RDF::VCARD if RDF.const_defined?(:VCARD)
145
+ VMD = ::RDF::VMD if RDF.const_defined?(:VMD)
146
+ VOID = ::RDF::VOID if RDF.const_defined?(:VOID)
147
+ VS = ::RDF::VS if RDF.const_defined?(:VS)
148
+ WDRS = ::RDF::WDRS if RDF.const_defined?(:WDRS)
149
+ WOT = ::RDF::WOT if RDF.const_defined?(:WOT)
150
+ XHTML = ::RDF::XHTML if RDF.const_defined?(:XHTML)
151
+ XHV = ::RDF::XHV if RDF.const_defined?(:XHV)
152
+ end
153
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,88 +1,7 @@
1
- require "rdf-vocab"
1
+ require "bundler/setup"
2
+ require 'rdf/vocab'
2
3
 
3
- # This file was generated by the `rspec --init` command. Conventionally, all
4
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
- # The generated `.rspec` file contains `--require spec_helper` which will cause this
6
- # file to always be loaded, without a need to explicitly require it in any files.
7
- #
8
- # Given that it is always loaded, you are encouraged to keep this file as
9
- # light-weight as possible. Requiring heavyweight dependencies from this file
10
- # will add to the boot time of your test suite on EVERY test run, even for an
11
- # individual file that may not need all of that loaded. Instead, consider making
12
- # a separate helper file that requires the additional dependencies and performs
13
- # the additional setup, and require it from the spec files that actually need it.
14
- #
15
- # The `.rspec` file also contains a few flags that are not defaults but that
16
- # users commonly want.
17
- #
18
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
4
  RSpec.configure do |config|
20
- # rspec-expectations config goes here. You can use an alternate
21
- # assertion/expectation library such as wrong or the stdlib/minitest
22
- # assertions if you prefer.
23
- config.expect_with :rspec do |expectations|
24
- # This option will default to `true` in RSpec 4. It makes the `description`
25
- # and `failure_message` of custom matchers include text for helper methods
26
- # defined using `chain`, e.g.:
27
- # be_bigger_than(2).and_smaller_than(4).description
28
- # # => "be bigger than 2 and smaller than 4"
29
- # ...rather than:
30
- # # => "be bigger than 2"
31
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
- end
33
-
34
- # rspec-mocks config goes here. You can use an alternate test double
35
- # library (such as bogus or mocha) by changing the `mock_with` option here.
36
- config.mock_with :rspec do |mocks|
37
- # Prevents you from mocking or stubbing a method that does not exist on
38
- # a real object. This is generally recommended, and will default to
39
- # `true` in RSpec 4.
40
- mocks.verify_partial_doubles = true
41
- end
42
-
43
- # These two settings work together to allow you to limit a spec run
44
- # to individual examples or groups you care about by tagging them with
45
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
46
- # get run.
47
- config.filter_run :focus
5
+ config.filter_run :focus => true
48
6
  config.run_all_when_everything_filtered = true
49
-
50
- # Limits the available syntax to the non-monkey patched syntax that is recommended.
51
- # For more details, see:
52
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
53
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
54
- # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
55
- config.disable_monkey_patching!
56
-
57
- # This setting enables warnings. It's recommended, but in some cases may
58
- # be too noisy due to issues in dependencies.
59
- # config.warnings = true
60
-
61
- # Many RSpec users commonly either run the entire suite or an individual
62
- # file, and it's useful to allow more verbose output when running an
63
- # individual spec file.
64
- if config.files_to_run.one?
65
- # Use the documentation formatter for detailed output,
66
- # unless a formatter has already been configured
67
- # (e.g. via a command-line flag).
68
- config.default_formatter = 'doc'
69
- end
70
-
71
- # Print the 10 slowest examples and example groups at the
72
- # end of the spec run, to help surface which specs are running
73
- # particularly slow.
74
- config.profile_examples = 10
75
-
76
- # Run specs in random order to surface order dependencies. If you find an
77
- # order dependency and want to debug it, you can fix the order by providing
78
- # the seed, which is printed after each run.
79
- # --seed 1234
80
- config.order = :random
81
-
82
- # Seed global randomization in this process using the `--seed` CLI option.
83
- # Setting this allows you to use `--seed` to deterministically reproduce
84
- # test failures related to randomization by passing the same `--seed` value
85
- # as the one that triggered the failure.
86
- Kernel.srand config.seed
87
-
88
7
  end
@@ -0,0 +1,64 @@
1
+ require File.expand_path("../spec_helper", __FILE__)
2
+ require 'rdf/reasoner'
3
+
4
+ describe RDF::Vocab do
5
+ describe ".each" do
6
+ it "inumerates pre-defined vocabularies" do
7
+ expect {|b| RDF::Vocabulary.each(&b)}.to yield_control.at_least(RDF::Vocab::VOCABS.keys.length).times
8
+ end
9
+ end
10
+
11
+ context "pre-defined vocabularies" do
12
+ RDF::Vocab::VOCABS.each do |id, params|
13
+ class_name = params.fetch(:class_name, id.to_s.upcase).to_sym
14
+ context id do
15
+ it "defines RDF::Vocab::#{class_name}" do
16
+ expect { RDF::Vocab.const_get(class_name) }.not_to raise_error
17
+ end
18
+
19
+ it "#{class_name} is included in RDF::Vocabulary.each" do
20
+ expect(RDF::Vocabulary.each.to_a).to include(RDF::Vocab.const_get(class_name))
21
+ end
22
+
23
+ it "represents #{params[:uri]}" do
24
+ expect(RDF::Vocab.const_get(class_name).to_s).to eql params[:uri]
25
+ end
26
+ end
27
+ end
28
+ end
29
+
30
+ context "entailments" do
31
+ before(:all) {
32
+ RDF::Reasoner.apply(:rdfs, :owl)
33
+ }
34
+ RDF::Vocabulary.each do |vocab|
35
+ vocab.each do |term|
36
+ if term.type.to_s =~ /Class/
37
+ context term.pname do
38
+ it "subClassOf" do
39
+ expect {term.subClassOf.map(&:pname)}.not_to raise_error
40
+ end
41
+ it "equivalentClass" do
42
+ expect {term.equivalentClass.map(&:pname)}.not_to raise_error
43
+ end
44
+ end
45
+ elsif term.type.to_s =~ /Property/
46
+ context term.pname do
47
+ it "subPropertyOf" do
48
+ expect {term.subPropertyOf.map(&:pname)}.not_to raise_error
49
+ end
50
+ it "domain" do
51
+ expect {term.domain.map(&:pname)}.not_to raise_error
52
+ end
53
+ it "range" do
54
+ expect {term.range.map(&:pname)}.not_to raise_error
55
+ end
56
+ it "equivalentProperty" do
57
+ expect {term.equivalentProperty.map(&:pname)}.not_to raise_error
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
metadata CHANGED
@@ -1,29 +1,51 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-vocab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
8
+ - Aaron Coburn
9
+ - Gregg Kellogg
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2015-03-21 00:00:00.000000000 Z
13
+ date: 2015-04-04 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
- name: linkeddata
16
+ name: rdf
15
17
  requirement: !ruby/object:Gem::Requirement
16
18
  requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.1'
17
22
  - - ">="
18
23
  - !ruby/object:Gem::Version
19
- version: '0'
24
+ version: 1.1.10
20
25
  type: :runtime
21
26
  prerelease: false
22
27
  version_requirements: !ruby/object:Gem::Requirement
23
28
  requirements:
29
+ - - "~>"
30
+ - !ruby/object:Gem::Version
31
+ version: '1.1'
24
32
  - - ">="
25
33
  - !ruby/object:Gem::Version
26
- version: '0'
34
+ version: 1.1.10
35
+ - !ruby/object:Gem::Dependency
36
+ name: rdf-reasoner
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.2'
42
+ type: :development
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.2'
27
49
  - !ruby/object:Gem::Dependency
28
50
  name: bundler
29
51
  requirement: !ruby/object:Gem::Requirement
@@ -38,83 +60,112 @@ dependencies:
38
60
  - - "~>"
39
61
  - !ruby/object:Gem::Version
40
62
  version: '1.7'
63
+ - !ruby/object:Gem::Dependency
64
+ name: linkeddata
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.1'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.1'
41
77
  - !ruby/object:Gem::Dependency
42
78
  name: rake
43
79
  requirement: !ruby/object:Gem::Requirement
44
80
  requirements:
45
- - - ">="
81
+ - - "~>"
46
82
  - !ruby/object:Gem::Version
47
- version: '0'
83
+ version: '10.0'
48
84
  type: :development
49
85
  prerelease: false
50
86
  version_requirements: !ruby/object:Gem::Requirement
51
87
  requirements:
52
- - - ">="
88
+ - - "~>"
53
89
  - !ruby/object:Gem::Version
54
- version: '0'
90
+ version: '10.0'
55
91
  - !ruby/object:Gem::Dependency
56
92
  name: rspec
57
93
  requirement: !ruby/object:Gem::Requirement
58
94
  requirements:
59
95
  - - "~>"
60
96
  - !ruby/object:Gem::Version
61
- version: '3.1'
97
+ version: '3.0'
98
+ type: :development
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '3.0'
105
+ - !ruby/object:Gem::Dependency
106
+ name: rspec-its
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '1.0'
62
112
  type: :development
63
113
  prerelease: false
64
114
  version_requirements: !ruby/object:Gem::Requirement
65
115
  requirements:
66
116
  - - "~>"
67
117
  - !ruby/object:Gem::Version
68
- version: '3.1'
69
- description: A library of RDF vocabularies and vocabulary-generating tools
70
- email:
71
- - dchandekstark@gmail.com
118
+ version: '1.0'
119
+ - !ruby/object:Gem::Dependency
120
+ name: yard
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.8'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '0.8'
133
+ description: Defines several standard RDF vocabularies
134
+ email: public-rdf-ruby@w3.org
72
135
  executables: []
73
136
  extensions: []
74
- extra_rdoc_files: []
137
+ extra_rdoc_files:
138
+ - LICENSE
139
+ - README.md
75
140
  files:
76
- - ".gitignore"
77
- - ".rspec"
78
- - ".travis.yml"
79
- - CONTRIBUTING.md
80
- - CONTRIBUTORS.md
81
- - Gemfile
82
141
  - LICENSE
83
142
  - README.md
84
- - Rakefile
85
- - lib/rdf-vocab.rb
86
- - lib/rdf-vocab/config/vocab.yml
87
- - lib/rdf-vocab/tasks/vocab.rake
88
- - lib/rdf-vocab/version.rb
89
- - lib/rdf-vocab/vocab/acl.rb
90
- - lib/rdf-vocab/vocab/bibframe.rb
91
- - lib/rdf-vocab/vocab/crm.rb
92
- - lib/rdf-vocab/vocab/datacite.rb
93
- - lib/rdf-vocab/vocab/dwc.rb
94
- - lib/rdf-vocab/vocab/edm.rb
95
- - lib/rdf-vocab/vocab/fcrepo3.rb
96
- - lib/rdf-vocab/vocab/fcrepo4.rb
97
- - lib/rdf-vocab/vocab/iana.rb
98
- - lib/rdf-vocab/vocab/identifiers.rb
99
- - lib/rdf-vocab/vocab/ldp.rb
100
- - lib/rdf-vocab/vocab/mads.rb
101
- - lib/rdf-vocab/vocab/marc_relators.rb
102
- - lib/rdf-vocab/vocab/mods.rb
103
- - lib/rdf-vocab/vocab/oa.rb
104
- - lib/rdf-vocab/vocab/ore.rb
105
- - lib/rdf-vocab/vocab/premis/v1.rb
106
- - lib/rdf-vocab/vocab/premis_event_type.rb
107
- - lib/rdf-vocab/vocab/prov.rb
108
- - rdf-vocab.gemspec
109
- - sources/dwcterms.rdf
110
- - sources/iana-relation.rdf
111
- - sources/iana-relation.xsl
112
- - spec/fixtures/dcterms.rdf
143
+ - lib/rdf/vocab.rb
144
+ - lib/rdf/vocab/acl.rb
145
+ - lib/rdf/vocab/bibframe.rb
146
+ - lib/rdf/vocab/cnt.rb
147
+ - lib/rdf/vocab/crm.rb
148
+ - lib/rdf/vocab/datacite.rb
149
+ - lib/rdf/vocab/dwc.rb
150
+ - lib/rdf/vocab/edm.rb
151
+ - lib/rdf/vocab/extensions.rb
152
+ - lib/rdf/vocab/fcrepo4.rb
153
+ - lib/rdf/vocab/iana.rb
154
+ - lib/rdf/vocab/identifiers.rb
155
+ - lib/rdf/vocab/ldp.rb
156
+ - lib/rdf/vocab/mads.rb
157
+ - lib/rdf/vocab/marc_relators.rb
158
+ - lib/rdf/vocab/mods.rb
159
+ - lib/rdf/vocab/oa.rb
160
+ - lib/rdf/vocab/ore.rb
161
+ - lib/rdf/vocab/premis.rb
162
+ - lib/rdf/vocab/premis_event_type.rb
163
+ - lib/rdf/vocab/version.rb
113
164
  - spec/spec_helper.rb
114
- - spec/unit/rdf_vocab_spec.rb
115
- homepage: https://github.com/projecthydra-labs/rdf-vocab
165
+ - spec/vocab_spec.rb
166
+ homepage: http://ruby-rdf.github.com/rdf-vocab
116
167
  licenses:
117
- - APACHE2
168
+ - Public Domain
118
169
  metadata: {}
119
170
  post_install_message:
120
171
  rdoc_options: []
@@ -124,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
175
  requirements:
125
176
  - - ">="
126
177
  - !ruby/object:Gem::Version
127
- version: '0'
178
+ version: 1.9.2
128
179
  required_rubygems_version: !ruby/object:Gem::Requirement
129
180
  requirements:
130
181
  - - ">="
@@ -132,11 +183,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
183
  version: '0'
133
184
  requirements: []
134
185
  rubyforge_project:
135
- rubygems_version: 2.2.2
186
+ rubygems_version: 2.4.3
136
187
  signing_key:
137
188
  specification_version: 4
138
- summary: A library of RDF vocabularies and vocabulary-generating tools
189
+ summary: A library of RDF vocabularies
139
190
  test_files:
140
- - spec/fixtures/dcterms.rdf
141
191
  - spec/spec_helper.rb
142
- - spec/unit/rdf_vocab_spec.rb
192
+ - spec/vocab_spec.rb
193
+ has_rdoc: false
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1
4
- - 2.0.0
5
- cache:
6
- - bundler