neo4j-ruby-driver 4.4.0 → 4.4.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fd1245f505176d11efea03e96cc022216e0e93f93581aaf6b55d6397097cf2d
|
4
|
+
data.tar.gz: 7a7394025131851020cfda11949bed86860be9fb599b22efe458e8d79bcbffc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b77c6e15952c126b67a67fc953c9da825fb8aee8399c8929eb8bc45d43542b0f88ef2d019de39877409c9c5fb73e3d04972ad79dcbda9f8b64a62f47120e6a34
|
7
|
+
data.tar.gz: d1a0538ad1ec75804854efaf5d0cd951573f25fb1b976adf0fe606826d87e8141f30453cd77eec1b390201f3d80515d0094840855121f43766e11db5d0d1108e
|
@@ -4,9 +4,7 @@ module Neo4j::Driver
|
|
4
4
|
class GraphDatabase
|
5
5
|
class << self
|
6
6
|
extend AutoClosable
|
7
|
-
extend Synchronizable
|
8
7
|
auto_closable :driver, :routing_driver
|
9
|
-
sync :driver
|
10
8
|
|
11
9
|
def driver(uri, auth_token = nil, **config)
|
12
10
|
internal_driver(uri, auth_token, config, Internal::DriverFactory.new)
|
@@ -10,7 +10,7 @@ module Neo4j::Driver
|
|
10
10
|
|
11
11
|
def initialize(address, connector, logger)
|
12
12
|
@attributes = Connection::ChannelAttributes.new
|
13
|
-
@stream = Connection::Stream.new(connector
|
13
|
+
@stream = Connection::Stream.new(connect_to_io_socket(connector, address))
|
14
14
|
@stream.write(Connection::BoltProtocolUtil.handshake_buf)
|
15
15
|
@stream.flush
|
16
16
|
Connection::HandshakeHandler.new(logger).decode(self)
|
@@ -39,6 +39,10 @@ module Neo4j::Driver
|
|
39
39
|
|
40
40
|
private
|
41
41
|
|
42
|
+
def connect_to_io_socket(connector, address)
|
43
|
+
Sync { connector.connect(address) }
|
44
|
+
end
|
45
|
+
|
42
46
|
def bracketless(host)
|
43
47
|
host.delete_prefix('[').delete_suffix(']')
|
44
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-ruby-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -500,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
500
500
|
- !ruby/object:Gem::Version
|
501
501
|
version: '0'
|
502
502
|
requirements: []
|
503
|
-
rubygems_version: 3.3.
|
503
|
+
rubygems_version: 3.3.26
|
504
504
|
signing_key:
|
505
505
|
specification_version: 4
|
506
506
|
summary: ''
|