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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 357d7d905619778fedfbf148a40164b44273fc46
4
- data.tar.gz: 772c939f9f73395d9f5f599500c5cfeb284d5c2f
3
+ metadata.gz: 1efa90e40b4c189999c12deb3372230c90e98813
4
+ data.tar.gz: 41006b790c6ae89207f138b55f8f4f292bc95c26
5
5
  SHA512:
6
- metadata.gz: 1183dd88f10aba61c3901d8358cfce1cc75a66f2d60f2697f9d18698c70d0a1f8b2a9e782a53bb78a6e92444419afa97cbfd9e143918cc2e2b937a9ec8c03758
7
- data.tar.gz: b953fee710b55a6e150e2c168ca990b6daeb65da925217a15f940cf71b25805c3b9e472b5b98ec0a6356857b5f8352c48213d13895cb54337d6fad3ba87b66ff
6
+ metadata.gz: 72b06f46869df7bd46a279b130ce5ca1738f6284b69873845b1a11dbc7fc5b98496ee65b15ebae8ec930590d13570308a8c5e18e44e85705349e841aa5addd3a
7
+ data.tar.gz: 6db070d2a03b720bf40dd53997620aaafc2444b3fbc56ec6c214f1486b771c06a575a0f651b3db4e46ad8d559ca1d6c4e5e4b33d82d18d014e7465a2bcfb7481
@@ -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
@@ -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.session.empty? ? yaml_config_data : neo4j_config.session
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.session = neo4j_config.sessions[0] if neo4j_config.session.empty?
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.session[key] = value
89
+ neo4j_config[:session][key] = value
90
90
  end
91
91
  end
92
92
  end
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = '9.1.2'
2
+ VERSION = '9.1.3'
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.1.2
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: 2017-12-19 00:00:00.000000000 Z
11
+ date: 2018-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter