lightrdf 0.3.6 → 0.3.7
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.rb +1 -1
- data/lib/lightrdf/parser.rb +2 -1
- data/lightrdf.gemspec +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/lightrdf.rb
CHANGED
data/lib/lightrdf/parser.rb
CHANGED
@@ -152,7 +152,8 @@ module RDF
|
|
152
152
|
else
|
153
153
|
already_serialized << node
|
154
154
|
text += ":\n"
|
155
|
-
node.predicates.each do |p, o| # Predicate and
|
155
|
+
node.predicates.each do |p, o| # Predicate and objects
|
156
|
+
next if o.empty?
|
156
157
|
text += " " *(level+1)*2
|
157
158
|
text += ID.compress(p.id, ns)
|
158
159
|
text += ":"
|
data/lightrdf.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{lightrdf}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.7"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Jose Ignacio"]
|
9
|
-
s.date = %q{2011-03-
|
9
|
+
s.date = %q{2011-03-25}
|
10
10
|
s.default_executable = %q{yarfp}
|
11
11
|
s.description = %q{RDF library}
|
12
12
|
s.email = %q{joseignacio.fernandez@gmail.com}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 7
|
9
|
+
version: 0.3.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jose Ignacio
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-25 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|