neo4j 9.0.2 → 9.0.3

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: 07c4c11bf181ac331e150a1c4bdbabddd281f54b
4
- data.tar.gz: 1db879e0700a013eeb19346ec3f81190037e396b
3
+ metadata.gz: a7ca81ec5992d720e475153b67b5ff8925ae7ed7
4
+ data.tar.gz: 66b0e1127889493d380fdc4eab3f40bbfda18c92
5
5
  SHA512:
6
- metadata.gz: fd0046d1cd5c09d73559cf7d7e73f081cd29387400ac3dbacde28f9cb72ffddac6045aada3f529c78d148f896de4abe9008943435efa61631b2b625f0642458c
7
- data.tar.gz: 92e0caa7997696c8623cb8ce719dbceeabb75f5483d08b41cd742861f9730e8a33418a9a009f1b9f8d340fd4a26818bb817aa99233335710ed58af3e45094486
6
+ metadata.gz: 82e26a23091d24eb800fbc3913112ab9e72c0718a5c5bed9c607da40e8283f4f03d701fe4e8e2c9e122256dd79e3198070f3501a8b107a6c8c433d81cf408a26
7
+ data.tar.gz: 0b84a21768da316da5b34d70a6db0563405f49b361826f9cfc3ccdb71c4543eb453dbd0245f278319e84522dcce84022965b10b54970b065e0f34b2acc799d65
data/CHANGELOG.md CHANGED
@@ -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
- ## [9.0.2] 2017-10-08
6
+ ## [9.0.3] 2017-10-12
7
7
 
8
8
  ### Fixed
9
9
 
10
10
  - Ensure branch method propagates with_association_tree context (brought forward from 8.3.1. Thanks @klobuczek / see #1437)
11
11
 
12
+ ## [9.0.2] 2017-10-08
13
+
14
+ - Accidental release
15
+
12
16
  ## [9.0.1] 2017-09-26
13
17
 
14
18
  ### Fixed
@@ -21,12 +25,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
21
25
 
22
26
  - By default, `enum` values are now case-insensitive (but there are local and global `_case_sensitive` options [see the docs](http://neo4jrb.readthedocs.io/en/9.0.x/ActiveNode.html#enums)) (thanks @thefliik / see #1419)
23
27
 
24
- ## [8.3.1] 2017-10-08
28
+ ## [8.3.2] 2017-10-12
25
29
 
26
30
  ## Fixes
27
31
 
28
32
  - Ensure branch method propagates with_association_tree context (thanks @klobuczek / see #1437)
29
33
 
34
+ ## [8.3.1] 2017-10-08
35
+
36
+ - Accidental release
37
+
30
38
  ## [8.3.0] 2017-09-25
31
39
 
32
40
  ### 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
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.0.2'
2
+ VERSION = '9.0.3'
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: 9.0.2
4
+ version: 9.0.3
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