rdf-reasoner 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/reasoner/schema.rb +0 -14
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98bf1114b6fa4d5f10d0fde294d1b0c7986a2f7c
|
4
|
+
data.tar.gz: c388729988814df066130c18f813d56a95c683fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ff5f740202cc21c91ff93c02ff59a2f1f441dc921a538315c2b974096158c53faf247fffd46e03370f42740dafe7240ce12499713e242620f9d4fdeed58c4cb
|
7
|
+
data.tar.gz: 13bf06917afbbe5a9e89d3bf877ef9908f9a671de38018049aebb89c8003e39fc16361ef6d21f7e10dcea0b9cfea267cd3d033b394ffeea4e28e6639c545d479
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/rdf/reasoner/schema.rb
CHANGED
@@ -28,20 +28,6 @@ module RDF::Reasoner
|
|
28
28
|
)?
|
29
29
|
$)x.freeze
|
30
30
|
|
31
|
-
# domain_includes accessor
|
32
|
-
# @return [Array<RDF::Vocabulary::Term>]
|
33
|
-
def domain_includes
|
34
|
-
Array(@attributes["schema:domainIncludes"]).map {|v| RDF::Vocabulary.expand_pname(v)}
|
35
|
-
end
|
36
|
-
alias_method :domainIncludes, :domain_includes
|
37
|
-
|
38
|
-
# range_includes accessor
|
39
|
-
# @return [Array<RDF::Vocabulary::Term>]
|
40
|
-
def range_includes
|
41
|
-
Array(@attributes["schema:rangeIncludes"]).map {|v| RDF::Vocabulary.expand_pname(v)}
|
42
|
-
end
|
43
|
-
alias_method :rangeIncludes, :range_includes
|
44
|
-
|
45
31
|
##
|
46
32
|
# Schema.org requires that if the property has a domain, and the resource has a type that some type matches some domain.
|
47
33
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-reasoner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '1.1'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.1.4.
|
22
|
+
version: 1.1.4.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '1.1'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.1.4.
|
32
|
+
version: 1.1.4.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rdf-xsd
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|