neo4j 6.0.0.rc.1 → 6.0.0.rc.2

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: 79fee58d2b88d542f1af73c6240762f5484fe820
4
- data.tar.gz: bc525e2a2f3ec67b346a09a89f62dc1ac39f85fc
3
+ metadata.gz: 90acb999a96277731963ebee171a24b1a4db1160
4
+ data.tar.gz: 95ba1d616f1a1d443fe7a3bc25364e60107b9c4b
5
5
  SHA512:
6
- metadata.gz: e536923b9a12aee831cefb2bf323c52c616868f1404d1c3e34edb68833c4365ae65afea87872174bd5b227dc857775c0e03bf0577a194df8da01e1e3176da1f5
7
- data.tar.gz: 33a078d405f0eb7afaa34f079d458920211a2844c743d32faca3ba5f2a2e1fe10d41f4acc89b529177dae8c19ba62c746d6843478162296d3be13fd7236fe7c9
6
+ metadata.gz: 0fc5d9d4c7957a1b0bcbeaf30e8378dbf52e1f4def9e10d6322fdda144d739516ed7ed1ba13bbf0230686c9055d348084a15a6c6c0df0bea0a226d5a75022d58
7
+ data.tar.gz: 7515a0e4d43875a7b26cef00a0a8025e0bf40921cf029b05d2ae79b22a991895b85d4a82a50789b4b30f727231556897c00a8d67250ce3ecf9a9f7a5e10782cb
data/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@ 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.0.0.rc.2] - 11-17-2015
7
+
8
+ ### Changed
9
+
10
+ - `QueryProxy#<<` and `#create`, when `rel_class` option is set, will use `RelClass.create!` instead of `create` to alert the user of failed rel creations.
11
+
6
12
  ## [6.0.0.rc.1] - 11-13-2015
7
13
 
8
14
  This release contains no changes since the last alpha. Below are all modifications introduced in alpha releases.
@@ -28,7 +28,7 @@ module Neo4j::ActiveNode::HasN
28
28
  def _create_relationship_with_rel_class
29
29
  Array(other_node_or_nodes).each do |other_node|
30
30
  node_props = _nodes_for_create(other_node, :from_node, :to_node)
31
- association.relationship_class.create(properties.merge(node_props))
31
+ association.relationship_class.create!(properties.merge(node_props))
32
32
  end
33
33
  end
34
34
 
@@ -33,7 +33,7 @@ module Neo4j::ActiveRel
33
33
  end
34
34
 
35
35
  def save!(*args)
36
- save(*args) or fail(RelInvalidError, self) # rubocop:disable Style/AndOr
36
+ save(*args) or fail(RelInvalidError, inspect) # rubocop:disable Style/AndOr
37
37
  end
38
38
 
39
39
  def create_model
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '6.0.0.rc.1'
2
+ VERSION = '6.0.0.rc.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.rc.1
4
+ version: 6.0.0.rc.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Brian Underwood, Chris Grigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-13 00:00:00.000000000 Z
11
+ date: 2015-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter