neo4j 7.0.0.rc.3 → 7.0.0.rc.4

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: 8d5bc4e8f2bcb42f5e7747829c71fcb95428bf34
4
- data.tar.gz: a0bfde6039373ffdcec00dafb52aad95011575f8
3
+ metadata.gz: b52aac116da68284c7e54e32fa0f42f348d299c8
4
+ data.tar.gz: 17527fdb763f05c5a13ef211d033d7f0d98c92f4
5
5
  SHA512:
6
- metadata.gz: d43b84a06a654cd8c35aaed5fb300690f9bfc3e626657f6aa459e0a124349ede4c3933449c2c0e16ec8fe98c30b1a55ac1c5abfb49e05dbe32367124358f0258
7
- data.tar.gz: 5b4d1156d174b8c26c8d55f2fb16634b25698435af6532fbbf2b7fe19b55f48f8e6ae616be2b89e2fc9d5f0cfd139333b174c7a18727794d220574d67d441703
6
+ metadata.gz: e9a2f6c971ef9ba960e5f35567d7f4d26ba471cf230e137efacb79c50c72321ee16f97eca3b5d3f0db426ec0bf431b4027e66ad46b43c0f90826b9467343a5b4
7
+ data.tar.gz: 4bf163d05cee8ecfef525d2423ad6954d410230981ee9557ca3abf38e8084587dbc1b8e5b65c80b76ead35be21d78dfdcc5b1df189bde88ffaf224e7095d4d28
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
- ## [7.0.0.rc.2] - 03-08-2016
6
+ ## [7.0.0.rc.4] - 03-11-2016
7
+
8
+ ### Fixed
9
+
10
+ - Catching errors for 404s in Rails (thanks ProGm, see #1153)
11
+
12
+ ## [7.0.0.rc.3] - 03-08-2016
7
13
 
8
14
  ### Fixed
9
15
 
data/lib/neo4j/railtie.rb CHANGED
@@ -17,11 +17,13 @@ module Neo4j
17
17
  # For rails 3.2 and 4.0
18
18
  if config.action_dispatch.respond_to?(:rescue_responses)
19
19
  config.action_dispatch.rescue_responses.merge!(
20
- 'Neo4j::RecordNotFound' => :not_found
20
+ 'Neo4j::RecordNotFound' => :not_found,
21
+ 'Neo4j::ActiveNode::Labels::RecordNotFound' => :not_found
21
22
  )
22
23
  else
23
24
  # For rails 3.0 and 3.1
24
25
  ActionDispatch::ShowExceptions.rescue_responses['Neo4j::RecordNotFound'] = :not_found
26
+ ActionDispatch::ShowExceptions.rescue_responses['Neo4j::ActiveNode::Labels::RecordNotFound'] = :not_found
25
27
  end
26
28
 
27
29
  # Add ActiveModel translations to the I18n load_path
data/lib/neo4j/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '7.0.0.rc.3'
2
+ VERSION = '7.0.0.rc.4'
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: 7.0.0.rc.3
4
+ version: 7.0.0.rc.4
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: 2016-03-10 00:00:00.000000000 Z
11
+ date: 2016-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter