neo4j-ruby-driver 5.7.0.alpha.2 → 5.7.0.alpha.4

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: 71b95e5c46e4972f99faf4ae2022d22080dfc3c1dc9bdefa41f32d673fbbe12d
4
- data.tar.gz: 2f835765a09b106233846a5fb6b27b7c4294432ddcf529e97e24a12d95453b41
3
+ metadata.gz: 6e0343454cd9cf98cab65814233386d198abbd6644152af5b0e514f2e2d152ea
4
+ data.tar.gz: fe48e618ebbcacd6148f31055367b5e6feb328a24dca43a6769f0261c9de7a68
5
5
  SHA512:
6
- metadata.gz: b8fdbc3550b26212a79b6a88d8162fb1d3098ae6bf96e421a857a17ea3964fc4baa24a068aaa6876c49b17a19fe1fe2303ccda40cb3c17694ba768f74ac9e7c8
7
- data.tar.gz: 553a6511cc8ea7d464d8e3d4e26ccb8eef4611c03ad6c758cac656f623bbd0d27053e4b071194ad8356bfb0fb25286577a18b7168d4c40ffccb4c2158c0c540c
6
+ metadata.gz: 3d8c347a0cee9ae197dfca6afd2deaed9f144a72df354a18f3298c052c75c6a627eae062993f638b67cace9b4195938845e6fb1917f9c9f034b5a349e2c0b4dd
7
+ data.tar.gz: 0c87b4ba135c8ad6626ac0d0fc8678ccc7e255860a163f4d0a862a62b2b6795d9cffab01fdd5c803df93d0ca69007cfb0e27eb77455477789e617e6dcf59a514
@@ -10,6 +10,7 @@ module Neo4j::Driver
10
10
 
11
11
  def initialize(address, connector, logger)
12
12
  @attributes = Connection::ChannelAttributes.new
13
+ @attributes[:server_address] = address
13
14
  @stream = Connection::Stream.new(connect_to_io_socket(connector, address))
14
15
  @stream.write(Connection::BoltProtocolUtil.handshake_buf)
15
16
  @stream.flush
@@ -3,20 +3,20 @@
3
3
  module Neo4j::Driver
4
4
  module Internal
5
5
  class InternalRelationship < InternalEntity
6
- attr_accessor :start_node_id, :end_node_id, :start_element_id, :end_element_id
6
+ attr_accessor :start_node_id, :end_node_id, :start_node_element_id, :end_node_element_id
7
7
  attr_reader :type
8
8
 
9
- def initialize(id, element_id, start_node_id, start_element_id, end_node_id, end_element_id, type, **properties)
9
+ def initialize(id, element_id, start_node_id, start_node_element_id, end_node_id, end_node_element_id, type, **properties)
10
10
  super(id, element_id, **properties)
11
- set_start_and_end_node_ids(start_node_id, start_element_id, end_node_id, end_element_id)
11
+ set_start_and_end_node_ids(start_node_id, start_node_element_id, end_node_id, end_node_element_id)
12
12
  @type = type.to_sym
13
13
  end
14
14
 
15
- def set_start_and_end_node_ids(start_node_id, start_element_id, end_node_id, end_element_id)
15
+ def set_start_and_end_node_ids(start_node_id, start_node_element_id, end_node_id, end_node_element_id)
16
16
  @start_node_id = start_node_id
17
- @start_element_id = start_element_id || start_node_id.to_s
17
+ @start_node_element_id = start_node_element_id || start_node_id.to_s
18
18
  @end_node_id = end_node_id
19
- @end_element_id = end_element_id || end_node_id.to_s
19
+ @end_node_element_id = end_node_element_id || end_node_id.to_s
20
20
  end
21
21
 
22
22
  def to_s
@@ -20,7 +20,7 @@ module Neo4j::Driver
20
20
  end
21
21
 
22
22
  def extract_summary(query, connection, result_available_after, metadata)
23
- server_info = Summary::InternalServerInfo.new(connection.server_agent, connection.server_address, connection.server_version, connection.protocol.version)
23
+ server_info = Summary::InternalServerInfo.new(connection.server_agent, connection.server_address.to_s, connection.server_version, connection.protocol.version)
24
24
  db_info = self.class.extract_database_info(metadata)
25
25
  Summary::InternalResultSummary.new(
26
26
  query, server_info, db_info, self.class.extract_query_type(metadata), self.class.extract_counters(metadata),
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '5.7.0.alpha.2'
5
+ VERSION = '5.7.0.alpha.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-ruby-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.0.alpha.2
4
+ version: 5.7.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-13 00:00:00.000000000 Z
10
+ date: 2025-01-14 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport