Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed a test

  • Loading branch information...
commit edde093f11e4b0249137a560e416b897049d5802 1 parent ead47a6
@elado authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  CHANGELOG.md
  2. +2 −2 lib/neoid/batch.rb
  3. +1 −1  lib/neoid/version.rb
View
2  CHANGELOG.md
@@ -1,4 +1,4 @@
-## v0.1
+## v0.1.1
* Added batch support, for much faster intiialization of current DB or reindexing all DB.
* Dropped indexes per model, instead, using `node_auto_index` and `relationship_auto_index`, letting Neo4j auto index objects.
View
4 lib/neoid/batch.rb
@@ -119,7 +119,7 @@ def process_results(results)
# so a `.then` can be chained after the batch do ... end
# it proxies all methods to the result
class BatchPromiseProxy
- def initialize(*results)
+ def initialize(results)
@results = results
end
@@ -128,7 +128,7 @@ def method_missing(method, *args)
end
def then
- yield(*@results)
+ yield(@results)
end
end
View
2  lib/neoid/version.rb
@@ -1,3 +1,3 @@
module Neoid
- VERSION = "0.1"
+ VERSION = "0.1.1"
end
Please sign in to comment.
Something went wrong with that request. Please try again.