acts_as_graph_object 0.0.5 → 0.0.6

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.
@@ -15,7 +15,7 @@ module ActsAsGraphObject
15
15
  # requires routes.default_url_options[:host] to be set!
16
16
  # TODO: add warning message if method is called?
17
17
  def url
18
- url_helpers.send("#{self.class}_url".downcase, self)
18
+ url_helpers.send("#{self.class}_url".downcase, self) rescue nil
19
19
  end
20
20
 
21
21
  def type
@@ -1,3 +1,3 @@
1
1
  module ActsAsGraphObject
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_graph_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: