lightrdf 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/lightrdf/graph.rb +1 -1
- data/lib/lightrdf.rb +1 -1
- data/lightrdf.gemspec +1 -1
- data/test/test_lightrdf.rb +1 -0
- metadata +2 -2
data/History.txt
CHANGED
data/lib/lightrdf/graph.rb
CHANGED
data/lib/lightrdf.rb
CHANGED
data/lightrdf.gemspec
CHANGED
data/test/test_lightrdf.rb
CHANGED
@@ -95,6 +95,7 @@ class TestLightRDF < Test::Unit::TestCase
|
|
95
95
|
a.foaf::weblog = Node('http://www.awesomeweblogfordummies.com')
|
96
96
|
g = RDF::Graph.new a.triples
|
97
97
|
assert g[Node('ex:bob')].foaf::weblog?(Node('http://www.awesomeweblogfordummies.com'))
|
98
|
+
assert_equal 1, [g[Node('ex:bob')].graph.object_id, g[Node('ex:bob')].foaf::weblog.map(&:graph).map(&:object_id)].flatten.uniq.size
|
98
99
|
end
|
99
100
|
|
100
101
|
def test_graph_merge
|