neo4j 9.0.5 → 9.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5de01449e5d4f56c3ad132aafe6f217fc71906c7
4
- data.tar.gz: d09b397acdb1282df5fc8af65f49a53daacb9d3b
3
+ metadata.gz: 11c35957d113234d06dad9a1f142dff96551fb85
4
+ data.tar.gz: 456a0897a428cae0c2ad18fb85dbf43eb2fc105c
5
5
  SHA512:
6
- metadata.gz: bd93f4e6401527c29e294bad829345fcffdb22543c6a3d513381b76f2f8246cecee70ed0e5607bdba46706e649dae7e3b0330284a36a6412b82fcd60273e1178
7
- data.tar.gz: 2552206f837cb420430787ec44c62de1a498daa6ac689eb31f92d1b36e924efd64a3543edc86f60d559222a63a591f8ad48e692b659940946c6e02688e9525a4
6
+ metadata.gz: 8fc16720205352c8f7352606a5dd86176253b0480a8e6f2f3a6113ec1b457a8c0141e35bc52af3ae84fb5e949eef208badb77ea9241becbffe4830a62d5fcde0
7
+ data.tar.gz: 51ee2e8462cfd300dc7f6b9c32a057a83d2a03dbfe67406704baad6436548101713512efa3a00debc2661bfddcf0de11a657028fd7d990cc98278ca8986febd6
@@ -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
+ ## [9.0.6] 2017-11-21
7
+
8
+ ## Fixes
9
+
10
+ - Ensure `RecordNotFound` consistent in providing the model (thanks @leviwilson / see #1442)
11
+
6
12
  ## [9.0.5] 2017-10-16
7
13
 
8
14
  ## Fixes
@@ -115,7 +115,7 @@ module Neo4j
115
115
 
116
116
  # Like find_by, except that if no record is found, raises a RecordNotFound error.
117
117
  def find_by!(values)
118
- find_by(values) || fail(RecordNotFound, "#{self.query_as(:n).where(n: values).limit(1).to_cypher} returned no results")
118
+ find_by(values) || fail(RecordNotFound.new("#{self.query_as(:n).where(n: values).limit(1).to_cypher} returned no results", name))
119
119
  end
120
120
 
121
121
  # Deletes all nodes and connected relationships from Cypher.
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.0.5'
2
+ VERSION = '9.0.6'
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: 9.0.5
4
+ version: 9.0.6
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: 2017-10-16 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter