neo4j 5.0.12 → 5.0.13

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: 8b057f7f5a1a2cfd3c7c7c93f43779c7b7b112ba
4
- data.tar.gz: 6fff6a29d11461286b24f7f3bd67a3ae117b677e
3
+ metadata.gz: f5919738c632d648c8381b62b85de79066a72f93
4
+ data.tar.gz: b667c5c10c5c927eab499ac0e735f5d3c66f8cae
5
5
  SHA512:
6
- metadata.gz: bfc962e7797e4fd8c574c306670bfb5f64a864e6cc25a0000dc594120d67dcaaf4780767a57ba6af588d0355a731c43a4532bb11ede273ab69229512d1662181
7
- data.tar.gz: b239329ab44ab8580abdeaf8776c3aa8686a1ce531220d0bfc6b5b99b72aef02bc4d2653c68343676eb56e730dc177db1ded67805742d0a5f08ffce139d5833a
6
+ metadata.gz: 066c5333dd95e73794fb4440b6803c6d694dcb35b069f10d1456c06489dd3921ac13d320015fd5d2de3520115b10672b4d4f8bb6f0414a2ac46fb34dddea64c8
7
+ data.tar.gz: 74e927d91a14cb497a0bd5bb37c5ec25e3a26fd09ec7d243cbd84c71411d737bb98c9a0b761e05c9d51934c3470a41711348b3a37fd142ddd0232ff131396f97
@@ -71,13 +71,11 @@ module Neo4j::ActiveNode
71
71
 
72
72
  def method_missing(method_name, *args, &block)
73
73
  target = target_for_missing_method(method_name)
74
+ super if target.nil?
74
75
 
75
76
  cache_query_proxy_result if !cached? && !target.is_a?(Neo4j::ActiveNode::Query::QueryProxy)
76
-
77
77
  clear_cache_result if target.is_a?(Neo4j::ActiveNode::Query::QueryProxy)
78
78
 
79
- return if target.nil?
80
-
81
79
  target.public_send(method_name, *args, &block)
82
80
  end
83
81
 
@@ -129,7 +127,7 @@ module Neo4j::ActiveNode
129
127
  result_by_previous_id = previous_proxy_results_by_previous_id(result_cache, name)
130
128
 
131
129
  result_cache.inject(nil) do |proxy_to_return, object|
132
- proxy = fresh_association_proxy(name, options, result_by_previous_id[object.neo_id])
130
+ proxy = fresh_association_proxy(name, options.merge(start_object: object), result_by_previous_id[object.neo_id])
133
131
 
134
132
  object.association_proxy_cache[hash] = proxy
135
133
 
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '5.0.12'
2
+ VERSION = '5.0.13'
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.12
4
+ version: 5.0.13
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-06 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter