neo4j 6.1.2 → 6.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/neo4j/shared/query_factory.rb +12 -9
- data/lib/neo4j/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: dcdf7a5298b8798b054658fcd85c9788e12bf7de
|
4
|
+
data.tar.gz: a1c3c11a99a1756ba322ef69f62ff5e1823bf56e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dba85ea4f388c39a43dcec28dcd16b1a0792db62ce9acea8ec8b918922ecec6fc3870ec5e480b8a152c68676f2a7727712549abaa7997afbbedc509b56bc9d9a
|
7
|
+
data.tar.gz: cd013be7dbc76bd64aa76ad2e60ea1c2b3060ea4a6a2794d6cfb23bc28da1bf403842f8457d0382100f14ceb95b31e6662f618537f92e5be626709d05769619c
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,13 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
This file should follow the standards specified on [http://keepachangelog.com/]
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
-
## [6.1.
|
6
|
+
## [6.1.3] - 2016-01-20
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- Issue where `ActiveRel.create` would not work with `RelatedNode` (`rel.from_node`) instances (Thanks, djvs #1107)
|
11
|
+
|
12
|
+
## [6.1.2] - 2016-01-19
|
7
13
|
|
8
14
|
### Fixed
|
9
15
|
|
@@ -11,15 +11,18 @@ module Neo4j::Shared
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.create(graph_object, identifier)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
factory_for(graph_object).new(graph_object, identifier)
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.factory_for(graph_obj)
|
18
|
+
case
|
19
|
+
when graph_obj.respond_to?(:labels_for_create)
|
20
|
+
NodeQueryFactory
|
21
|
+
when graph_obj.respond_to?(:rel_type)
|
22
|
+
RelQueryFactory
|
23
|
+
else
|
24
|
+
fail "Unable to find factory for #{graph_obj}"
|
25
|
+
end
|
23
26
|
end
|
24
27
|
|
25
28
|
def query
|
data/lib/neo4j/version.rb
CHANGED