neo4j 5.2.8 → 5.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/neo4j/active_rel/persistence.rb +5 -1
- 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: 150d670eb04b61fe23fc417d61d4338502574126
|
4
|
+
data.tar.gz: fe6eccb06bc641d599c2dfd82a670ace354caeeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839e5c02c25e5c994efcab44addd909f18e6caf6ba1505cef86065d7ba3a6a22eec58234224b38180c5a6036a3053b804cf4997428fec17f96d8f243890fcef0
|
7
|
+
data.tar.gz: 55ea6fd3f5655345625e2ec680c4973e588d3f3b7f686561339ddbbc4409e976068deb3e9a3bb816d7767c3e576417dc6cbf5165227062b0abe6ae975ef62281
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased][unreleased]
|
7
7
|
|
8
|
+
## [5.2.9] - 09-30-2015
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
- Better error message for `ActiveRel` creation when from_node|to_node is not persisted
|
12
|
+
|
8
13
|
## [5.2.8] - 09-30-2015
|
9
14
|
|
10
15
|
### Fixed
|
@@ -74,7 +74,11 @@ module Neo4j::ActiveRel
|
|
74
74
|
|
75
75
|
def _create_rel(from_node, to_node, props = {})
|
76
76
|
if from_node.id.nil? || to_node.id.nil?
|
77
|
-
|
77
|
+
messages = []
|
78
|
+
messages << 'from_node ID is nil' if from_node.id.nil?
|
79
|
+
messages << 'to_node ID is nil' if to_node.id.nil?
|
80
|
+
|
81
|
+
fail RelCreateFailedError, "Unable to create relationship (#{messages.join(' / ')})"
|
78
82
|
end
|
79
83
|
_rel_creation_query(from_node, to_node, props)
|
80
84
|
end
|
data/lib/neo4j/version.rb
CHANGED