Skip to content

Commit

Permalink
Merge pull request #11 from tbaum/master
Browse files Browse the repository at this point in the history
server is not passed in traversal-noded
  • Loading branch information
maxdemarzi committed Jul 24, 2011
2 parents d92dfae + eac66aa commit d667a85
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 d667a85

Please sign in to comment.