neo4j 5.0.13 → 5.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5919738c632d648c8381b62b85de79066a72f93
4
- data.tar.gz: b667c5c10c5c927eab499ac0e735f5d3c66f8cae
3
+ metadata.gz: 9c4b3a230362c94efc4fc7b851289f7e73040b5c
4
+ data.tar.gz: 54cfbe6f101c7bc6961d0c3e9fd04d17ede7552a
5
5
  SHA512:
6
- metadata.gz: 066c5333dd95e73794fb4440b6803c6d694dcb35b069f10d1456c06489dd3921ac13d320015fd5d2de3520115b10672b4d4f8bb6f0414a2ac46fb34dddea64c8
7
- data.tar.gz: 74e927d91a14cb497a0bd5bb37c5ec25e3a26fd09ec7d243cbd84c71411d737bb98c9a0b761e05c9d51934c3470a41711348b3a37fd142ddd0232ff131396f97
6
+ metadata.gz: 368f2f9d83019b2e2b85aeed9dfe0393cf021d865cecad33a9ffad8366fac8d7dfc650a01d8ccfc634334fdf2f0d177d4ac6acace785ed0afa818364e0420dfc
7
+ data.tar.gz: e1879aafca3eab1eca58112e13d686516580b74132a91a0abd29bc2be39aa9dbf0a546de63e9d6879691bb26ad9dc1a3bc73bb88779aad59c7b44cda9dde4fef
@@ -84,7 +84,8 @@ module Neo4j::ActiveNode
84
84
  ScopeRegistry.set_value_for(:current_scope, base_class.to_s, scope)
85
85
  end
86
86
 
87
- def all(var = :n)
87
+ def all(new_var = nil)
88
+ var = new_var || (current_scope ? current_scope.node_identity : :n)
88
89
  if current_scope
89
90
  current_scope.new_link(var)
90
91
  else
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '5.0.13'
2
+ VERSION = '5.0.14'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.13
4
+ version: 5.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-07 00:00:00.000000000 Z
11
+ date: 2015-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -314,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  version: '0'
315
315
  requirements: []
316
316
  rubyforge_project: neo4j
317
- rubygems_version: 2.4.5
317
+ rubygems_version: 2.4.6
318
318
  signing_key:
319
319
  specification_version: 4
320
320
  summary: A graph database for Ruby