neo4j 7.1.0 → 7.1.1
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 +9 -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: 6375692eca36d132d9e274aa374b92ea3d6346ae
|
4
|
+
data.tar.gz: d49392db1ed0558c86b4fd3d963fd3977e9cf0e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac1a3b77079c3db6cd2e18b43ac55fea38b116b439b1e0e456d9a24f28507b52d74dc4d47684220093a096447c7876cefd616daf7b8400debea6532ff418fcfd
|
7
|
+
data.tar.gz: 8b65881627ed47fd3d339df0593c47ce943a8e226b2e9d29d78a552a42b93e6a3f37de42f48557ac17087a7354f9ec0f26391658d2a94d1f2d36252f78ac8e12
|
@@ -109,7 +109,14 @@ module Neo4j::ActiveNode
|
|
109
109
|
@query_proxy.public_send(:replace_with, *args)
|
110
110
|
end
|
111
111
|
|
112
|
-
QUERY_PROXY_METHODS = [:<<, :delete, :create]
|
112
|
+
QUERY_PROXY_METHODS = [:<<, :delete, :create, :pluck, :where, :where_not, :rel_where, :rel_order, :order, :skip, :limit]
|
113
|
+
|
114
|
+
QUERY_PROXY_METHODS.each do |method|
|
115
|
+
define_method(method) do |*args, &block|
|
116
|
+
@query_proxy.public_send(method, *args, &block)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
113
120
|
CACHED_RESULT_METHODS = []
|
114
121
|
|
115
122
|
def method_missing(method_name, *args, &block)
|
@@ -117,7 +124,7 @@ module Neo4j::ActiveNode
|
|
117
124
|
super if target.nil?
|
118
125
|
|
119
126
|
cache_query_proxy_result if !cached? && !target.is_a?(Neo4j::ActiveNode::Query::QueryProxy)
|
120
|
-
clear_cache_result if
|
127
|
+
clear_cache_result if target.is_a?(Neo4j::ActiveNode::Query::QueryProxy)
|
121
128
|
|
122
129
|
target.public_send(method_name, *args, &block)
|
123
130
|
end
|
@@ -130,8 +137,6 @@ module Neo4j::ActiveNode
|
|
130
137
|
|
131
138
|
def target_for_missing_method(method_name)
|
132
139
|
case method_name
|
133
|
-
when *QUERY_PROXY_METHODS
|
134
|
-
@query_proxy
|
135
140
|
when *CACHED_RESULT_METHODS
|
136
141
|
@cached_result
|
137
142
|
else
|
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: 7.1.
|
4
|
+
version: 7.1.1
|
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: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|