neo4j-core 7.0.0.alpha.2 → 7.0.0.alpha.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e69d6a3474ef2e057ce91015f3dcf2882b0d711
|
4
|
+
data.tar.gz: ff82a54d57df258f33d485c92f4d9af6f8209220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f56a085cfe83029f16b466a9b06babdfc57a33908cd39c129a8d0201238c11f247d6b4869b580788573e2b8ae054f4f0c9d83a98f3b89f9a0a6241353cc644b
|
7
|
+
data.tar.gz: 4b6465780ac28f61383e543dcffa818cd17b0e6846fd67668126d9a286c620fba4f3c93f4dba35be7c9a6b4cd4c6c1fea1625bb20d8bfc314af94cd1f7dc75c9
|
data/lib/neo4j-core/version.rb
CHANGED
@@ -72,8 +72,8 @@ module Neo4j
|
|
72
72
|
::Neo4j::Core::Relationship.new(entity.get_id,
|
73
73
|
entity.get_type.name,
|
74
74
|
get_entity_properties(entity),
|
75
|
-
entity.get_start_node.
|
76
|
-
entity.get_end_node.
|
75
|
+
entity.get_start_node.id,
|
76
|
+
entity.get_end_node.id)
|
77
77
|
end
|
78
78
|
|
79
79
|
def wrap_path(entity)
|
@@ -84,12 +84,12 @@ module Neo4j
|
|
84
84
|
|
85
85
|
def wrap_value(entity)
|
86
86
|
if entity.is_a?(Java::ScalaCollectionConvert::Wrappers::MapWrapper)
|
87
|
-
entity.each_with_object({}) { |(k, v), r| r[k.to_sym] = v }
|
87
|
+
entity.each_with_object({}) { |(k, v), r| r[k.to_sym] = _wrap_entity(v) }
|
88
88
|
elsif entity.is_a?(Java::OrgNeo4jKernelImplCore::NodeProxy) ||
|
89
89
|
entity.is_a?(Java::OrgNeo4jKernelImplCore::RelationshipProxy)
|
90
90
|
entity.property_keys.each_with_object({}) { |key, hash| hash[key.to_sym] = entity.get_property(key) }
|
91
|
-
elsif entity.respond_to?(:path_entities)
|
92
|
-
entity.to_a.map(&method(:
|
91
|
+
elsif entity.respond_to?(:path_entities) || entity.is_a?(Java::ScalaCollectionConvert::Wrappers::SeqWrapper)
|
92
|
+
entity.to_a.map(&method(:_wrap_entity))
|
93
93
|
else
|
94
94
|
# Convert from Java?
|
95
95
|
entity
|
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: 7.0.0.alpha.
|
4
|
+
version: 7.0.0.alpha.3
|
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: 2016-08-
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|