neo4j 8.3.1 → 8.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d863bb65f442736100364ec38856007d2287c571
4
- data.tar.gz: 737d25b2e3ad940eae0a0f4cbf7537ee9b648c79
3
+ metadata.gz: 79e1442aa9e1686be600d48a008ae9bdc1638b73
4
+ data.tar.gz: 88454d6fc2325a74e79890792e880a32644de9a2
5
5
  SHA512:
6
- metadata.gz: 8be51d37661e8697388b12206ea410a35fc76ee5d1cb177a8909ef903db45413558ff7aea1290ce60e82b6a6cceabb4a6180be1e64dbb03d8f583af6a5a8a16c
7
- data.tar.gz: edb7a78b68c078159e663cb793ffa0a96c5a9b36102b0996cc7a6931c47f993360d95ff5346ba8b4d05bf1af68ba7dd6d9cac23d19c79eaa70ba867ee56e3385
6
+ metadata.gz: 2f438dd02d8aa61e669a41015017afdae9186d9a8968e147e40468c077c52dc538a407d9645c26c2be926292461800256a542f3b161c1d5db43394395475e7de
7
+ data.tar.gz: 135b3b65de03c108cf157ec5a4d8e9f2cfae63d4744bc0cfa8a4cddebab802e1ab6570bab18133dcbdf9f303586ddf60eea83697b1f4421b977fe3fe7ea7f26c
@@ -3,12 +3,16 @@ 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.3.1] 2017-10-08
6
+ ## [8.3.2] 2017-10-12
7
7
 
8
8
  ## Fixes
9
9
 
10
10
  - Ensure branch method propagates with_association_tree context (thanks @klobuczek / see #1437)
11
11
 
12
+ ## [8.3.1] 2017-10-08
13
+
14
+ - Accidental release
15
+
12
16
  ## [8.3.0] 2017-09-25
13
17
 
14
18
  ### Changed
@@ -187,7 +187,9 @@ module Neo4j
187
187
  # `as(identity)` is here to make sure we get the right variable
188
188
  # There might be a deeper problem of the variable changing when we
189
189
  # traverse an association
190
- as(identity).instance_eval(&block).query.proxy_as(self.model, identity)
190
+ as(identity).instance_eval(&block).query.proxy_as(self.model, identity).tap do |new_query_proxy|
191
+ propagate_context(new_query_proxy)
192
+ end
191
193
  end
192
194
 
193
195
  def [](index)
@@ -73,6 +73,10 @@ module Neo4j
73
73
  end
74
74
  end
75
75
 
76
+ def propagate_context(query_proxy)
77
+ query_proxy.instance_variable_set('@with_associations_tree', @with_associations_tree)
78
+ end
79
+
76
80
  def with_associations_tree
77
81
  @with_associations_tree ||= AssociationTree.new(model)
78
82
  end
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '8.3.1'
2
+ VERSION = '8.3.2'
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.3.1
4
+ version: 8.3.2
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-10-08 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter