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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 995bb89e81a2980c96a02fb29f07f1b5a6a2bab7
4
- data.tar.gz: 93f3b243d02df66a9690f0a40ad569b169ef5729
3
+ metadata.gz: 150d670eb04b61fe23fc417d61d4338502574126
4
+ data.tar.gz: fe6eccb06bc641d599c2dfd82a670ace354caeeb
5
5
  SHA512:
6
- metadata.gz: 90496ea3c7b9d0019a3997f5246261f682408021bee7931fe2c0a508486b2ddef55bf791e49b1053c59fbc3941f5e0797df7cf412c5ad6662924efc44aafd2f7
7
- data.tar.gz: cf4bddb0f9bfd919af01d21bc3e66418958ee1f3d562e8956bb398b590169c21a0b958f833cbdf6d1ef3a0f8abe1d822b369136f4d88eab1821e29e3d3461cf2
6
+ metadata.gz: 839e5c02c25e5c994efcab44addd909f18e6caf6ba1505cef86065d7ba3a6a22eec58234224b38180c5a6036a3053b804cf4997428fec17f96d8f243890fcef0
7
+ data.tar.gz: 55ea6fd3f5655345625e2ec680c4973e588d3f3b7f686561339ddbbc4409e976068deb3e9a3bb816d7767c3e576417dc6cbf5165227062b0abe6ae975ef62281
@@ -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
- fail RelCreateFailedError, "Unable to create relationship (id is nil). from_node: #{from_node}, to_node: #{to_node}"
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
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '5.2.8'
2
+ VERSION = '5.2.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.8
4
+ version: 5.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg