neo4j 8.1.3 → 8.1.4
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/neo4j/active_node/query/query_proxy.rb +4 -1
- data/lib/neo4j/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 343541e7477820956b706b0ba67fc97fbea3d4e6
|
|
4
|
+
data.tar.gz: dd65aa8c71fc21ff88cf2718934a5749494d1ccf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9893f832911d1c1c9c780fbe9b192795956d8e80812752995ea0296e248e146484e466471b7164a46a515698f7d25013825eab5d50a62167c893a0dbb28715c9
|
|
7
|
+
data.tar.gz: 39be21820e42ca1fca0bbf7c967e37c4539d1b55b474632d2b8a2fad6203984446b002370c5c8e75e084c7d04116959fcecfcece0e5212127c38dcd4ce269964
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
This file should follow the standards specified on [http://keepachangelog.com/]
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [8.1.4] 2017-08-17
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- Issue where node Cypher variable could change during a `branch` (see issue #1348 / thanks @klobuczek for the report)
|
|
11
|
+
|
|
6
12
|
## [8.1.3] 2017-06-29
|
|
7
13
|
|
|
8
14
|
### Fixed
|
|
@@ -184,7 +184,10 @@ module Neo4j
|
|
|
184
184
|
# @return [QueryProxy] A new QueryProxy
|
|
185
185
|
def branch(&block)
|
|
186
186
|
fail LocalJumpError, 'no block given' if block.nil?
|
|
187
|
-
|
|
187
|
+
# `as(identity)` is here to make sure we get the right variable
|
|
188
|
+
# There might be a deeper problem of the variable changing when we
|
|
189
|
+
# traverse an association
|
|
190
|
+
as(identity).instance_eval(&block).query.proxy_as(self.model, identity)
|
|
188
191
|
end
|
|
189
192
|
|
|
190
193
|
def [](index)
|
data/lib/neo4j/version.rb
CHANGED
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: 8.1.
|
|
4
|
+
version: 8.1.4
|
|
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: 2017-
|
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: orm_adapter
|
|
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
349
349
|
version: '0'
|
|
350
350
|
requirements: []
|
|
351
351
|
rubyforge_project: neo4j
|
|
352
|
-
rubygems_version: 2.6.
|
|
352
|
+
rubygems_version: 2.6.12
|
|
353
353
|
signing_key:
|
|
354
354
|
specification_version: 4
|
|
355
355
|
summary: A graph database for Ruby
|