rdf-isomorphic 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rdf/isomorphic.rb +3 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -32,7 +32,9 @@ module RDF
32
32
  # @return [Hash, nil]
33
33
  def bijection_to(other)
34
34
 
35
- grounded_stmts_match = each_statement.all? do | stmt |
35
+ grounded_stmts_match = (size == other.size)
36
+
37
+ grounded_stmts_match &&= each_statement.all? do | stmt |
36
38
  stmt.has_blank_nodes? || other.has_statement?(stmt)
37
39
  end
38
40
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ben Lavender
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-03-12 00:00:00 +01:00
18
+ date: 2010-03-24 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency