neo4j 8.1.3 → 8.1.4

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: b73745139ccf41ae025891a9c0ff69c57cd94aeb
4
- data.tar.gz: 6826e2a3b7abeef95527550178e854ebbdf4ecf8
3
+ metadata.gz: 343541e7477820956b706b0ba67fc97fbea3d4e6
4
+ data.tar.gz: dd65aa8c71fc21ff88cf2718934a5749494d1ccf
5
5
  SHA512:
6
- metadata.gz: 13e0a756de72ad02f82b1526f84599d7cf47eaf20fbf842da11e008e09f1f231e01045bd1a2cba64c1a9cbbe7cf44a9fe8253f435730bef73545aed71af71c70
7
- data.tar.gz: 0d2e7ffd847bb2c16389226f3ee9f8338f9eded404053fa8414f610901562bc916fc11b12f9260e6b14884cf5ab120e34331d3c9b98291dc6340342f098b1efb
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
- instance_eval(&block).query.proxy_as(self.model, identity)
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
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.1.3'
2
+ VERSION = '8.1.4'
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: 8.1.3
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-06-29 00:00:00.000000000 Z
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.8
352
+ rubygems_version: 2.6.12
353
353
  signing_key:
354
354
  specification_version: 4
355
355
  summary: A graph database for Ruby