rdf-reasoner 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rdf/reasoner/schema.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 201995bd765a1158f571d6bdbcebecbcfa2e83f8
4
- data.tar.gz: 871c90ef242de061b0fd882c1f37f6d9a68bf55d
3
+ metadata.gz: f9275fa437c87b472623056a9fd7c73980edf4c8
4
+ data.tar.gz: 9d719a2b0abb97fa4d742bedf500206758310e7a
5
5
  SHA512:
6
- metadata.gz: 0ca78b48855476fa1a699afc8268bd324d837a1c1f107e768aae4959112da154f66f06ed7013a6b3327f96785589cd10edb6c8f6889f1101ca64f2210a0bed42
7
- data.tar.gz: b104515116a9e39c6596c6fbe1d4b52d211db551f5c4f76452e171c90216890920a85d83fd81907d658913d88395345b0869616a357445e4557b55962e5129fe
6
+ metadata.gz: a367c26d3b6510dbef1b952a02e0e941cca2763a124d292d5848ec46f408419ffc0bedf7dca5f9e8f8ecbc12c602e38d28af1cdb44dd2f56cd389f41887ddf02
7
+ data.tar.gz: 871e5463c26f3d112986b308054d7cb00dee85d9d652b18df36165d36a9b1c264b33aceac64e318e4cbe356867368250b747c125ad0fbf15bd8d3e1f96a866d2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -148,8 +148,8 @@ module RDF::Reasoner
148
148
  resource.simple? && RDF::Literal(resource.value, :datatype => RDF::URI(range)).valid?
149
149
  end
150
150
  else
151
- # Otherwise, presume that the range refers to a typed resource
152
- false
151
+ # Otherwise, presume that the range refers to a typed resource. This is allowed if the value is a plain literal
152
+ resource.plain?
153
153
  end
154
154
  end
155
155
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-reasoner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg