neo4j-core 5.1.11 → 5.1.12
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/version.rb +1 -1
- data/lib/neo4j-embedded/embedded_session.rb +7 -3
- data/lib/neo4j-server/cypher_response.rb +2 -3
- 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: f37bacbf2fa0d2262c4881a6f89509ad2a75f8ca
|
4
|
+
data.tar.gz: e9c1f8f06e0ec94aa00bc8f76c2804d4c319d2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a5e8882738d15d434abad23b0ebf9115d615de9f7d91c3f04bb6cf2777a5f74652929825355ee41683c215c45f5cd620f1ba61e3382da8da9c8cdcd85c7b32b
|
7
|
+
data.tar.gz: 1d1d49ec28b59a89e5de4c44d7de4ee8a18442212442b0b72d949e8c8211237aa94e00bbec2b1c8d23fcd459bcf07d2f7146d350757885e66e1e198dee171e13
|
data/lib/neo4j-core/version.rb
CHANGED
@@ -26,9 +26,13 @@ module Neo4j
|
|
26
26
|
def properties_map
|
27
27
|
return @properties_map if @properties_map
|
28
28
|
|
29
|
-
props = @config[:properties_map].
|
30
|
-
|
31
|
-
|
29
|
+
props = if @config[:properties_map].is_a?(Hash)
|
30
|
+
@config[:properties_map].each_with_object({}) do |(k, v), m|
|
31
|
+
m[k.to_s.to_java] = v.to_s.to_java
|
32
|
+
end
|
33
|
+
else
|
34
|
+
{}
|
35
|
+
end
|
32
36
|
@properties_map = java.util.HashMap.new(props)
|
33
37
|
end
|
34
38
|
|
@@ -101,10 +101,9 @@ module Neo4j
|
|
101
101
|
def identify_entity(data)
|
102
102
|
self_string = data[:self]
|
103
103
|
if self_string
|
104
|
-
|
105
|
-
if type == 'node'
|
104
|
+
if self_string.include?('node')
|
106
105
|
:node
|
107
|
-
elsif
|
106
|
+
elsif self_string.include?('relationship')
|
108
107
|
:relationship
|
109
108
|
end
|
110
109
|
elsif [:nodes, :relationships, :start, :end, :length].all? { |k| data.key?(k) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Chris Grigg, Brian Underwood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|