neo4j 9.1.2 → 9.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/neo4j/railtie.rb +3 -3
- data/lib/neo4j/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1efa90e40b4c189999c12deb3372230c90e98813
|
4
|
+
data.tar.gz: 41006b790c6ae89207f138b55f8f4f292bc95c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72b06f46869df7bd46a279b130ce5ca1738f6284b69873845b1a11dbc7fc5b98496ee65b15ebae8ec930590d13570308a8c5e18e44e85705349e841aa5addd3a
|
7
|
+
data.tar.gz: 6db070d2a03b720bf40dd53997620aaafc2444b3fbc56ec6c214f1486b771c06a575a0f651b3db4e46ad8d559ca1d6c4e5e4b33d82d18d014e7465a2bcfb7481
|
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
|
+
## [9.1.3] 2018-02-01
|
7
|
+
|
8
|
+
## Fixed
|
9
|
+
|
10
|
+
- Fixed issue with Rails 5.1 where `neo4j_config.session` refers to the wrong this (thanks @RicardoTrindade / see #1471 and #1475)
|
11
|
+
|
6
12
|
## [9.1.2] 2017-12-18
|
7
13
|
|
8
14
|
## Fixed
|
data/lib/neo4j/railtie.rb
CHANGED
@@ -73,20 +73,20 @@ module Neo4j
|
|
73
73
|
def final_session_config!(neo4j_config)
|
74
74
|
support_deprecated_session_configs!(neo4j_config)
|
75
75
|
|
76
|
-
neo4j_config
|
76
|
+
neo4j_config[:session].empty? ? yaml_config_data : neo4j_config[:session]
|
77
77
|
end
|
78
78
|
|
79
79
|
def support_deprecated_session_configs!(neo4j_config)
|
80
80
|
if neo4j_config.sessions.present?
|
81
81
|
ActiveSupport::Deprecation.warn('neo4j.config.sessions is deprecated, please use neo4j.config.session (not an array)')
|
82
|
-
neo4j_config
|
82
|
+
neo4j_config[:session] = neo4j_config.sessions[0] if neo4j_config[:session].empty?
|
83
83
|
end
|
84
84
|
|
85
85
|
%w(type path url options).each do |key|
|
86
86
|
value = neo4j_config.send("session_#{key}")
|
87
87
|
if value.present?
|
88
88
|
ActiveSupport::Deprecation.warn("neo4j.config.session_#{key} is deprecated, please use neo4j.config.session.#{key}")
|
89
|
-
neo4j_config
|
89
|
+
neo4j_config[:session][key] = value
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|
data/lib/neo4j/version.rb
CHANGED
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.1.
|
4
|
+
version: 9.1.3
|
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:
|
11
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|