neo4j-ruby-driver 4.4.0.alpha.7 → 4.4.0.alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/neo4j/driver/graph_database.rb +2 -2
- data/ruby/neo4j/driver/internal/async/inbound/inbound_message_dispatcher.rb +2 -3
- data/ruby/neo4j/driver/internal/async/network_connection.rb +5 -6
- data/ruby/neo4j/driver/internal/async/network_session.rb +6 -9
- data/ruby/neo4j/driver/internal/async/unmanaged_transaction.rb +18 -20
- data/ruby/neo4j/driver/internal/cluster/cluster_routing_table.rb +2 -2
- data/ruby/neo4j/driver/internal/cluster/rediscovery_impl.rb +1 -2
- data/ruby/neo4j/driver/internal/cluster/single_database_routing_procedure_runner.rb +15 -16
- data/ruby/neo4j/driver/internal/cursor/async_result_cursor_impl.rb +29 -19
- data/ruby/neo4j/driver/internal/cursor/async_result_cursor_only_factory.rb +0 -4
- data/ruby/neo4j/driver/internal/cursor/disposable_async_result_cursor.rb +2 -2
- data/ruby/neo4j/driver/internal/cursor/result_cursor_factory_impl.rb +0 -5
- data/ruby/neo4j/driver/internal/handlers/commit_tx_response_handler.rb +4 -4
- data/ruby/neo4j/driver/internal/handlers/legacy_pull_all_response_handler.rb +23 -64
- data/ruby/neo4j/driver/internal/handlers/pulln/auto_pull_response_handler.rb +35 -45
- data/ruby/neo4j/driver/internal/handlers/pulln/basic_pull_response_handler.rb +28 -18
- data/ruby/neo4j/driver/internal/handlers/rollback_tx_response_handler.rb +7 -1
- data/ruby/neo4j/driver/internal/internal_driver.rb +0 -4
- data/ruby/neo4j/driver/internal/internal_result.rb +6 -17
- data/ruby/neo4j/driver/internal/internal_session.rb +1 -1
- data/ruby/neo4j/driver/internal/internal_transaction.rb +4 -4
- data/ruby/neo4j/driver/internal/messaging/abstract_message_writer.rb +1 -1
- data/ruby/neo4j/driver/internal/messaging/request/abstract_streaming_message.rb +4 -1
- data/ruby/neo4j/driver/internal/messaging/v3/bolt_protocol_v3.rb +7 -3
- data/ruby/neo4j/driver/internal/messaging/v3/message_writer_v3.rb +13 -13
- data/ruby/neo4j/driver/internal/messaging/v4/message_writer_v4.rb +4 -15
- data/ruby/neo4j/driver/internal/messaging/v43/message_writer_v43.rb +2 -16
- data/ruby/neo4j/driver/internal/messaging/v44/message_writer_v44.rb +2 -13
- data/ruby/neo4j/driver/internal/resolved_bolt_server_address.rb +1 -1
- data/ruby/neo4j/driver/internal/retry/exponential_backoff_retry_logic.rb +1 -1
- data/ruby/neo4j/driver/internal/util/metadata_extractor.rb +1 -3
- data/ruby/neo4j/driver/internal/util/result_holder.rb +72 -0
- data/ruby/neo4j/driver/version.rb +1 -1
- metadata +3 -3
- data/ruby/neo4j/driver/session_config.rb +0 -15
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.0.alpha.
|
4
|
+
version: 4.4.0.alpha.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -467,12 +467,12 @@ files:
|
|
467
467
|
- ruby/neo4j/driver/internal/util/metadata_extractor.rb
|
468
468
|
- ruby/neo4j/driver/internal/util/mutex.rb
|
469
469
|
- ruby/neo4j/driver/internal/util/preconditions.rb
|
470
|
+
- ruby/neo4j/driver/internal/util/result_holder.rb
|
470
471
|
- ruby/neo4j/driver/internal/util/server_version.rb
|
471
472
|
- ruby/neo4j/driver/logging1.rb
|
472
473
|
- ruby/neo4j/driver/net/server_address.rb
|
473
474
|
- ruby/neo4j/driver/query.rb
|
474
475
|
- ruby/neo4j/driver/records.rb
|
475
|
-
- ruby/neo4j/driver/session_config.rb
|
476
476
|
- ruby/neo4j/driver/transaction_config.rb
|
477
477
|
- ruby/neo4j/driver/values.rb
|
478
478
|
- ruby/neo4j/driver/version.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
module Neo4j
|
2
|
-
module Driver
|
3
|
-
# The session configurations used to configure a session.
|
4
|
-
class SessionConfig < Hash
|
5
|
-
attr_reader :bookmarks, :default_access_mode, :database, :fetch_size, :impersonated_user
|
6
|
-
def initialize(**config)
|
7
|
-
@bookmarks = config.bookmarks
|
8
|
-
@default_access_mode = config.default_access_mode
|
9
|
-
@database = config.database
|
10
|
-
@fetch_size = config.fetch_size
|
11
|
-
@impersonated_user = config.impersonated_user
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|