neoid 0.1 → 0.1.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.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## v0.1
1
+ ## v0.1.1
2
2
 
3
3
  * Added batch support, for much faster intiialization of current DB or reindexing all DB.
4
4
  * Dropped indexes per model, instead, using `node_auto_index` and `relationship_auto_index`, letting Neo4j auto index objects.
data/lib/neoid/batch.rb CHANGED
@@ -119,7 +119,7 @@ module Neoid
119
119
  # so a `.then` can be chained after the batch do ... end
120
120
  # it proxies all methods to the result
121
121
  class BatchPromiseProxy
122
- def initialize(*results)
122
+ def initialize(results)
123
123
  @results = results
124
124
  end
125
125
 
@@ -128,7 +128,7 @@ module Neoid
128
128
  end
129
129
 
130
130
  def then
131
- yield(*@results)
131
+ yield(@results)
132
132
  end
133
133
  end
134
134
 
data/lib/neoid/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neoid
2
- VERSION = "0.1"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neoid
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: