neo4j-core 5.0.8 → 5.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j-core/query_clauses.rb +5 -1
- data/lib/neo4j-core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1baba4beacc0686d088ddb9ea78481a3521a94c
|
4
|
+
data.tar.gz: 60c98ce859e5ae1d4b874e0d11d90884d00a2688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d933ed801c87998d77eab7abfbe391ea3eb020921c689caed43e62edee66fc55ee0a2e81f2c17ddef01b8f31492313d1193fc9ecb2b64a0425489ef25bdbbc3
|
7
|
+
data.tar.gz: 384f4248251a9596fbe2e2e365a5622d06302b0f77ca4b6eb7cf37aaf144b0a524b6d506511e3c56ba2918aeeca1f9deedbfd667933b8c1d829b9333e5313cca
|
@@ -25,7 +25,7 @@ module Neo4j
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def value
|
28
|
-
[String, Symbol, Integer, Hash].each do |arg_class|
|
28
|
+
[String, Symbol, Integer, Hash, NilClass].each do |arg_class|
|
29
29
|
from_method = "from_#{arg_class.name.downcase}"
|
30
30
|
return send(from_method, @arg) if @arg.is_a?(arg_class) && self.respond_to?(from_method)
|
31
31
|
end
|
@@ -456,6 +456,10 @@ module Neo4j
|
|
456
456
|
"{#{clause_id}}"
|
457
457
|
end
|
458
458
|
|
459
|
+
def from_nilclass(value)
|
460
|
+
''
|
461
|
+
end
|
462
|
+
|
459
463
|
class << self
|
460
464
|
def clause_string(clauses)
|
461
465
|
clauses.last.value
|
data/lib/neo4j-core/version.rb
CHANGED