rdfobjects 0.10.5 → 0.10.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rdf_objects/rdf_resource.rb +1 -1
  2. metadata +3 -3
@@ -160,7 +160,7 @@ module RDFObject
160
160
  [*objects].each do | object |
161
161
  rdf << "<#{key}:#{predicate}"
162
162
  namespaces["xmlns:#{key}"] = "#{Curie.parse("[#{key}:]")}"
163
- if object.is_a?(RDFObject::ResourceReference)
163
+ if object.is_a?(RDFObject::ResourceReference) || object.is_a?(RDFObject::BlankNode)
164
164
  if depth == 0
165
165
  rdf << " #{object.xml_object_attribute} />"
166
166
  else
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 10
8
- - 5
9
- version: 0.10.5
8
+ - 6
9
+ version: 0.10.6
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-03-11 00:00:00 -05:00
17
+ date: 2010-04-07 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency