Skip to content

Commit

Permalink
fix passing neo_server instance for traverser-nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaum committed Jul 24, 2011
1 parent d92dfae commit eac66aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/neography/relationship_traverser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def to_s
def each
iterator.each do |i|
rel = Neography::Relationship.new(i, @node.neo_server)
rel.start_node = Neography::Node.load(rel.start_node)
rel.end_node = Neography::Node.load(rel.end_node)
rel.start_node = Neography::Node.load(rel.start_node, @node.neo_server)
rel.end_node = Neography::Node.load(rel.end_node, @node.neo_server)

yield rel if match_to_other?(rel)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/neography/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Neography
VERSION = "0.0.12"
VERSION = "0.0.13"
end

0 comments on commit eac66aa

Please sign in to comment.