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 +4 -4
- data/lib/neo4j/active_node/has_n.rb +2 -4
- data/lib/neo4j/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5919738c632d648c8381b62b85de79066a72f93
|
4
|
+
data.tar.gz: b667c5c10c5c927eab499ac0e735f5d3c66f8cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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: 5.0.
|
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-
|
11
|
+
date: 2015-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|