neo4j 8.0.2 → 8.0.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/session_manager.rb +7 -7
- 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: 2141931cc532e8ab184ede7daf3752b11b3ec4ac
|
4
|
+
data.tar.gz: a3fcb4dfd271eb9a284fdc3d71d5c179f4842692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82708b3e90a00503e03354e9726f4115f28f879f4332d90c49d14e266df86104d04d571e536ed5e5f223516536255f81efdc7282cf29e8508b8b9bc083cfb3dd
|
7
|
+
data.tar.gz: cb6a87cab1f32cd22cccd0f4b63c1461a2f3809ef0b134604cf78291d882c0451b3b74099610eebe8e8ec54e0cece04ed963e90c203a515e883d10a9636bcbd7
|
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
|
+
## [8.0.3] 2016-01-03
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- Fixed/refactored `wait_for_connection`
|
11
|
+
|
6
12
|
## [8.0.2] 2016-12-22
|
7
13
|
|
8
14
|
### Fixed
|
@@ -10,7 +10,7 @@ module Neo4j
|
|
10
10
|
def open_neo4j_session(type, url_or_path, wait_for_connection = false, options = {})
|
11
11
|
enable_unlimited_strength_crypto! if java_platform? && session_type_is_embedded?(type)
|
12
12
|
|
13
|
-
adaptor = wait_for_value(wait_for_connection) do
|
13
|
+
adaptor = wait_for_value(wait_for_connection, Neo4j::Core::CypherSession::ConnectionFailedError) do
|
14
14
|
cypher_session_adaptor(type, url_or_path, options.merge(wrap_level: :proc))
|
15
15
|
end
|
16
16
|
|
@@ -51,16 +51,16 @@ module Neo4j
|
|
51
51
|
RUBY_PLATFORM =~ /java/
|
52
52
|
end
|
53
53
|
|
54
|
-
def wait_for_value(wait)
|
55
|
-
|
54
|
+
def wait_for_value(wait, exception_class)
|
55
|
+
value = nil
|
56
56
|
Timeout.timeout(60) do
|
57
|
-
until
|
57
|
+
until value
|
58
58
|
begin
|
59
|
-
if
|
59
|
+
if value = yield
|
60
60
|
puts
|
61
|
-
return
|
61
|
+
return value
|
62
62
|
end
|
63
|
-
rescue
|
63
|
+
rescue exception_class => e
|
64
64
|
raise e if !wait
|
65
65
|
|
66
66
|
putc '.'
|
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: 8.0.
|
4
|
+
version: 8.0.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: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|