rdfobjects 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rdf_objects/rdf_resource.rb +1 -0
  2. metadata +2 -2
@@ -77,6 +77,7 @@ module RDFObject
77
77
  def describe
78
78
  response = HTTPClient.fetch(self.uri)
79
79
  local_collection = Parser.parse(response[:content], {:base_uri=>response[:uri]})
80
+ return unless local_collection[self.uri]
80
81
  local_collection[self.uri].assertions.each do | predicate, object |
81
82
  [*object].each do | obj |
82
83
  self.assert(predicate, obj) unless self.assertion_exists?(predicate, obj)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdfobjects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Singer
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-01 00:00:00 -05:00
12
+ date: 2010-02-09 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency