rdf 1.1.10 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +9 -4
- data/VERSION +1 -1
- data/lib/rdf/model/node.rb +1 -1
- data/lib/rdf/util/file.rb +256 -90
- data/lib/rdf/vocab/cc.rb +2 -1
- data/lib/rdf/vocab/cert.rb +3 -2
- data/lib/rdf/vocab/dc.rb +1 -0
- data/lib/rdf/vocab/dc11.rb +1 -0
- data/lib/rdf/vocab/dcat.rb +33 -32
- data/lib/rdf/vocab/doap.rb +1 -0
- data/lib/rdf/vocab/exif.rb +4 -3
- data/lib/rdf/vocab/foaf.rb +1 -0
- data/lib/rdf/vocab/geo.rb +1 -0
- data/lib/rdf/vocab/gr.rb +1 -0
- data/lib/rdf/vocab/ht.rb +190 -274
- data/lib/rdf/vocab/ical.rb +1 -0
- data/lib/rdf/vocab/ma.rb +1 -0
- data/lib/rdf/vocab/mo.rb +1 -0
- data/lib/rdf/vocab/og.rb +1 -0
- data/lib/rdf/vocab/ogc.rb +1 -0
- data/lib/rdf/vocab/prov.rb +1 -0
- data/lib/rdf/vocab/rsa.rb +4 -3
- data/lib/rdf/vocab/rss.rb +1 -0
- data/lib/rdf/vocab/schema.rb +2 -1
- data/lib/rdf/vocab/sioc.rb +1 -0
- data/lib/rdf/vocab/skos.rb +1 -0
- data/lib/rdf/vocab/skosxl.rb +1 -0
- data/lib/rdf/vocab/v.rb +1 -0
- data/lib/rdf/vocab/vcard.rb +1 -0
- data/lib/rdf/vocab/vmd.rb +1 -0
- data/lib/rdf/vocab/void.rb +1 -0
- data/lib/rdf/vocab/vs.rb +1 -0
- data/lib/rdf/vocab/wdrs.rb +1 -0
- data/lib/rdf/vocab/wot.rb +1 -0
- data/lib/rdf/vocab/xhtml.rb +1 -0
- data/lib/rdf/vocab/xhv.rb +1 -0
- data/lib/rdf/vocabulary.rb +2 -0
- metadata +31 -3
data/lib/rdf/vocab/ical.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2002/12/cal/icaltzd#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::ICAL` from the rdf-vocab gem instead
|
5
6
|
class ICAL < RDF::StrictVocabulary("http://www.w3.org/2002/12/cal/icaltzd#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/ma.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/ma-ont.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::MA` from the rdf-vocab gem instead
|
5
6
|
class MA < RDF::StrictVocabulary("http://www.w3.org/ns/ma-ont#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/mo.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://purl.org/ontology/mo/
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::MO` from the rdf-vocab gem instead
|
5
6
|
class MO < RDF::StrictVocabulary("http://purl.org/ontology/mo/")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/og.rb
CHANGED
data/lib/rdf/vocab/ogc.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://ogp.me/ns
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::OGC` from the rdf-vocab gem instead
|
5
6
|
class OGC < RDF::StrictVocabulary("http://ogp.me/ns/class#")
|
6
7
|
|
7
8
|
# Datatype definitions
|
data/lib/rdf/vocab/prov.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/prov#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::PROV` from the rdf-vocab gem instead
|
5
6
|
class PROV < RDF::StrictVocabulary("http://www.w3.org/ns/prov#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/rsa.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/auth/rsa#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::RSA` from the rdf-vocab gem instead
|
5
6
|
class RSA < RDF::StrictVocabulary("http://www.w3.org/ns/auth/rsa#")
|
6
7
|
|
7
8
|
# Class definitions
|
@@ -42,7 +43,7 @@ module RDF
|
|
42
43
|
).freeze,
|
43
44
|
domain: "rsa:RSAKey".freeze,
|
44
45
|
label: "modulus".freeze,
|
45
|
-
range: "
|
46
|
+
range: ["xsd:base64Binary".freeze, "xsd:hexBinary".freeze],
|
46
47
|
type: "owl:DatatypeProperty".freeze,
|
47
48
|
"vs:term_status" => %(unstable).freeze
|
48
49
|
property :private_exponent,
|
@@ -54,7 +55,7 @@ module RDF
|
|
54
55
|
).freeze,
|
55
56
|
domain: "rsa:RSAPrivateKey".freeze,
|
56
57
|
label: "private".freeze,
|
57
|
-
range: "
|
58
|
+
range: "xsd:nonNegativeInteger".freeze,
|
58
59
|
type: "owl:DatatypeProperty".freeze,
|
59
60
|
"vs:term_status" => %(unstable).freeze
|
60
61
|
property :public_exponent,
|
@@ -64,7 +65,7 @@ module RDF
|
|
64
65
|
).freeze,
|
65
66
|
domain: "rsa:RSAPublicKey".freeze,
|
66
67
|
label: "public_exponent".freeze,
|
67
|
-
range: "
|
68
|
+
range: "xsd:nonNegativeInteger".freeze,
|
68
69
|
type: "owl:DatatypeProperty".freeze,
|
69
70
|
"vs:term_status" => %(unstable).freeze
|
70
71
|
end
|
data/lib/rdf/vocab/rss.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://purl.org/rss/1.0/schema.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::RSS` from the rdf-vocab gem instead
|
5
6
|
class RSS < RDF::StrictVocabulary("http://purl.org/rss/1.0/")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/schema.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://schema.org/docs/schema_org_rdfa.html
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::SCHEMA` from the rdf-vocab gem instead
|
5
6
|
class SCHEMA < RDF::StrictVocabulary("http://schema.org/")
|
6
7
|
|
7
8
|
# Class definitions
|
@@ -738,7 +739,7 @@ module RDF
|
|
738
739
|
comment: %(A collection of datasets.).freeze,
|
739
740
|
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass).freeze,
|
740
741
|
label: "DataCatalog".freeze,
|
741
|
-
"owl:equivalentClass" => %(dcat:
|
742
|
+
"owl:equivalentClass" => %(dcat:Catalog).freeze,
|
742
743
|
subClassOf: "schema:CreativeWork".freeze,
|
743
744
|
type: "rdfs:Class".freeze
|
744
745
|
term :DataDownload,
|
data/lib/rdf/vocab/sioc.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://rdfs.org/sioc/ns#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::SIOC` from the rdf-vocab gem instead
|
5
6
|
class SIOC < RDF::StrictVocabulary("http://rdfs.org/sioc/ns#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2004/02/skos/core#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::SKOS` from the rdf-vocab gem instead
|
5
6
|
class SKOS < RDF::StrictVocabulary("http://www.w3.org/2004/02/skos/core#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/skosxl.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/TR/skos-reference/skos-xl.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::SKOSXL` from the rdf-vocab gem instead
|
5
6
|
class SKOSXL < RDF::StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/v.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from etc/rdf.data-vocab.ttl
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::V` from the rdf-vocab gem instead
|
5
6
|
class V < RDF::StrictVocabulary("http://rdf.data-vocabulary.org/#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/vcard.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2006/vcard/ns#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::VCARD` from the rdf-vocab gem instead
|
5
6
|
class VCARD < RDF::StrictVocabulary("http://www.w3.org/2006/vcard/ns#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/vmd.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from etc/data-vocab.ttl
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::VMD` from the rdf-vocab gem instead
|
5
6
|
class VMD < RDF::StrictVocabulary("http://data-vocabulary.org/")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/void.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://vocab.deri.ie/void.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::VOID` from the rdf-vocab gem instead
|
5
6
|
class VOID < RDF::StrictVocabulary("http://rdfs.org/ns/void#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/vs.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2003/06/sw-vocab-status/ns#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::VS` from the rdf-vocab gem instead
|
5
6
|
class VS < RDF::StrictVocabulary("http://www.w3.org/2003/06/sw-vocab-status/ns#")
|
6
7
|
|
7
8
|
# Property definitions
|
data/lib/rdf/vocab/wdrs.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2007/05/powder-s#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::WRDS` from the rdf-vocab gem instead
|
5
6
|
class WDRS < RDF::StrictVocabulary("http://www.w3.org/2007/05/powder-s#")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://xmlns.com/wot/0.1/index.rdf
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::WOT` from the rdf-vocab gem instead
|
5
6
|
class WOT < RDF::StrictVocabulary("http://xmlns.com/wot/0.1/")
|
6
7
|
|
7
8
|
# Class definitions
|
data/lib/rdf/vocab/xhtml.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::XHTML` from the rdf-vocab gem instead
|
5
6
|
class XHTML < RDF::Vocabulary("http://www.w3.org/1999/xhtml#")
|
6
7
|
end
|
7
8
|
end
|
data/lib/rdf/vocab/xhv.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml/vocab#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF
|
5
|
+
# @deprecated Please use `RDF::Vocab::XHV` from the rdf-vocab gem instead
|
5
6
|
class XHV < RDF::Vocabulary("http://www.w3.org/1999/xhtml/vocab#")
|
6
7
|
|
7
8
|
# Property definitions
|
data/lib/rdf/vocabulary.rb
CHANGED
@@ -732,6 +732,8 @@ module RDF
|
|
732
732
|
# @raise [KeyError] if property not defined in vocabulary
|
733
733
|
def [](name)
|
734
734
|
props.fetch(name.to_sym)
|
735
|
+
rescue KeyError => e
|
736
|
+
raise KeyError, "#{name} not found in vocabulary #{self.__name__}"
|
735
737
|
end
|
736
738
|
end
|
737
739
|
end # StrictVocabulary
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: link_header
|
@@ -178,6 +178,34 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0.8'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: faraday
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0.9'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.9'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: faraday_middleware
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.9'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.9'
|
181
209
|
description: RDF.rb is a pure-Ruby library for working with Resource Description Framework
|
182
210
|
(RDF) data.
|
183
211
|
email: public-rdf-ruby@w3.org
|
@@ -304,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
304
332
|
version: '0'
|
305
333
|
requirements: []
|
306
334
|
rubyforge_project: rdf
|
307
|
-
rubygems_version: 2.4.
|
335
|
+
rubygems_version: 2.4.3
|
308
336
|
signing_key:
|
309
337
|
specification_version: 4
|
310
338
|
summary: A Ruby library for working with Resource Description Framework (RDF) data.
|