rdfobjects 0.10.6 → 0.10.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rdf_objects/rdf_resource.rb +2 -2
- metadata +3 -3
@@ -112,7 +112,7 @@ module RDFObject
|
|
112
112
|
end
|
113
113
|
objects.each do | object |
|
114
114
|
line = "#{ntriples_format} <#{uri}#{pred}> "
|
115
|
-
if object.is_a?(ResourceReference)
|
115
|
+
if object.is_a?(ResourceReference) || object.is_a?(BlankNode)
|
116
116
|
line << object.ntriples_format
|
117
117
|
else
|
118
118
|
line << "#{object.to_json}"
|
@@ -125,7 +125,7 @@ module RDFObject
|
|
125
125
|
end
|
126
126
|
end
|
127
127
|
end
|
128
|
-
line << ".\n"
|
128
|
+
line << " .\n"
|
129
129
|
ntriples << line
|
130
130
|
end
|
131
131
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 10
|
8
|
-
-
|
9
|
-
version: 0.10.
|
8
|
+
- 7
|
9
|
+
version: 0.10.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ross Singer
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-16 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|