neo4j-java-driver 4.2.0.beta.1-java → 4.4.0-java

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: 199e69cb97be63f0b1e4e7abc8f180a80cf7d1de5d6929d03d72edb54c496ba7
4
- data.tar.gz: a9dc598ff2ff6722a06327bcadeadbcfcdb316441fe9a0e23f376468f50b22ff
3
+ metadata.gz: 6274146d0ca5ef9a1e5a32475935f3d396f413eb25398da8c36d845b0a5c9b4d
4
+ data.tar.gz: ca2be240e235f99d4610cea6283ee53b1eead343da620b17602816e9c36ee4db
5
5
  SHA512:
6
- metadata.gz: 5ceea589b041d3b90c0ef8a137bd171896b0d53f91fef31ffc6bff137a0a7fc9db6392b6870b5f2ece9ee1dd45a9882c339b23e0c0ac8a48325e4caa4e509761
7
- data.tar.gz: e88fc71a1866a0a2aae1352830663ed2ac3eb056b02deae5d629212ea8dc45397d455a24b774249cf6e23d70370b58dd3083c29fce5bd310dfa86e32f8be194b
6
+ metadata.gz: 9bbb959f453751928e4175d1175a78303f65e12ef7e4841b21dd38fbff5badb12f0fa6289ebdad4a5073d0e48282790182382ca16d78f113947f087053e816f4
7
+ data.tar.gz: ba3657c03e45d104fa88a971f89d5e84dfbddc1cdc3128a5f344c8ca9083095084c660d73e2f28af9281664fee01f16b9944953854a0d97eeb33a868d8982f7a
data/README.md CHANGED
@@ -75,9 +75,27 @@ To run the tests the following tools need to be installed:
75
75
  $ pip3 install --user git+https://github.com/klobuczek/boltkit@1.3#egg=boltkit
76
76
  $ neoctrl-install -e 4.0.2 servers
77
77
  $ neoctrl-configure servers/neo4j-enterprise-4.0.2 dbms.directories.import= dbms.default_listen_address=::
78
- $ neoctrl-set-initial-password password servers/neo4j-enterprise-4.0.2
78
+ $ neoctrl-set-initial-password pass servers/neo4j-enterprise-4.0.2
79
79
  $ neoctrl-start servers/neo4j-enterprise-4.0.2
80
80
 
81
+ To run the test using ruby driver:
82
+ ```console
83
+ $ driver=ruby bin/setup
84
+ $ driver=ruby rspec spec
85
+ ```
86
+
87
+ To run the test using java driver:
88
+ ```console
89
+ $ driver=java bin/setup
90
+ $ driver=java rspec spec
91
+ ```
92
+
93
+ In case of heap space memory error (`org.neo4j.driver.exceptions.DatabaseException: Java heap space`), you should limit the dbms memory, for example:
94
+
95
+ ```console
96
+ $ neoctrl-configure servers/neo4j-enterprise-4.0.2 dbms.memory.pagecache.size=600m dbms.memory.heap.max_size=600m dbms.memory.heap.initial_size=600m dbms.directories.import= dbms.connectors.default_listen_address=::
97
+ ```
98
+
81
99
  ## Contributing
82
100
 
83
101
  Suggestions, improvements, bug reports and pull requests are welcome on GitHub at https://github.com/neo4jrb/neo4j-ruby-driver.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j::Driver::Ext
4
+ module AsyncConverter
5
+ include ExceptionMapper
6
+
7
+ private
8
+
9
+ def to_future(completion_stage)
10
+ Concurrent::Promises.resolvable_future.tap do |future|
11
+ completion_stage.then_apply(&future.method(:fulfill)).exceptionally { |e| future.reject(mapped_exception(e.cause)) }
12
+ end
13
+ end
14
+ end
15
+ end
@@ -4,10 +4,16 @@ module Neo4j
4
4
  module Driver
5
5
  module Ext
6
6
  module AuthTokens
7
+ include NeoConverter
8
+
7
9
  def basic(username, password, realm = nil)
8
10
  Neo4j::Driver::Internal::Validator.require_non_nil_credentials!(username, password)
9
11
  super
10
12
  end
13
+
14
+ def custom(principal, credentials, realm, scheme, **parameters)
15
+ super(principal, credentials, realm, scheme, to_neo(parameters))
16
+ end
11
17
  end
12
18
  end
13
19
  end
@@ -4,18 +4,12 @@ module Neo4j
4
4
  module Driver
5
5
  module Ext
6
6
  module ExceptionCheckable
7
+ include ExceptionMapper
8
+
7
9
  def check
8
10
  yield
9
- rescue Java::OrgNeo4jDriverExceptions::Neo4jException => e
10
- e.reraise
11
- rescue Java::OrgNeo4jDriverExceptions::NoSuchRecordException => e
12
- raise Neo4j::Driver::Exceptions::NoSuchRecordException, e.message
13
- rescue Java::OrgNeo4jDriverExceptions::UntrustedServerException => e
14
- raise Neo4j::Driver::Exceptions::UntrustedServerException, e.message
15
- rescue Java::JavaLang::IllegalStateException => e
16
- raise Neo4j::Driver::Exceptions::IllegalStateException, e.message
17
- rescue Java::JavaLang::IllegalArgumentException => e
18
- raise ArgumentError, e.message
11
+ rescue Java::JavaLang::RuntimeException => e
12
+ raise mapped_exception(e)
19
13
  end
20
14
 
21
15
  def reverse_check
@@ -1,48 +1,63 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- java_import org.neo4j.driver.exceptions.AuthenticationException
4
- java_import org.neo4j.driver.exceptions.ClientException
5
- java_import org.neo4j.driver.exceptions.DatabaseException
6
- java_import org.neo4j.driver.exceptions.ProtocolException
7
- java_import org.neo4j.driver.exceptions.ResultConsumedException
8
- java_import org.neo4j.driver.exceptions.SecurityException
9
- java_import org.neo4j.driver.exceptions.ServiceUnavailableException
10
- java_import org.neo4j.driver.exceptions.SessionExpiredException
11
- java_import org.neo4j.driver.exceptions.TransientException
12
- java_import org.neo4j.driver.exceptions.UntrustedServerException
13
-
14
3
  module Neo4j
15
4
  module Driver
16
5
  module Ext
17
6
  module ExceptionMapper
18
- def reraise
19
- raise mapped_exception(self)
20
- end
7
+ java_import org.neo4j.driver.exceptions.AuthenticationException
8
+ java_import org.neo4j.driver.exceptions.AuthorizationExpiredException
9
+ java_import org.neo4j.driver.exceptions.ClientException
10
+ java_import org.neo4j.driver.exceptions.ConnectionReadTimeoutException
11
+ java_import org.neo4j.driver.exceptions.DatabaseException
12
+ java_import org.neo4j.driver.exceptions.DiscoveryException
13
+ java_import org.neo4j.driver.exceptions.FatalDiscoveryException
14
+ java_import org.neo4j.driver.exceptions.ProtocolException
15
+ java_import org.neo4j.driver.exceptions.ResultConsumedException
16
+ java_import org.neo4j.driver.exceptions.SecurityException
17
+ java_import org.neo4j.driver.exceptions.ServiceUnavailableException
18
+ java_import org.neo4j.driver.exceptions.SessionExpiredException
19
+ java_import org.neo4j.driver.exceptions.TokenExpiredException
20
+ java_import org.neo4j.driver.exceptions.TransactionNestingException
21
+ java_import org.neo4j.driver.exceptions.TransientException
22
+ java_import org.neo4j.driver.exceptions.UntrustedServerException
21
23
 
22
24
  def mapped_exception(exception)
23
- mapped_exception_class(exception)&.new(*exception.arguments) || exception
25
+ mapped_neo4j_exception_class(exception)&.new(*arguments(exception)) ||
26
+ mapped_runtime_exception_class(exception)&.new(exception.message) || exception
24
27
  end
25
28
 
26
- def arguments
27
- [code, message, suppressed.map(&method(:mapped_exception))]
29
+ def arguments(e)
30
+ [e.code, e.message, e.suppressed.map(&method(:mapped_exception))]
28
31
  end
29
32
 
30
33
  private
31
34
 
32
- def mapped_exception_class(exception)
33
- case exception
35
+ def mapped_neo4j_exception_class(exception_class)
36
+ case exception_class
34
37
  when AuthenticationException
35
38
  Neo4j::Driver::Exceptions::AuthenticationException
39
+ when AuthorizationExpiredException
40
+ Neo4j::Driver::Exceptions::AuthorizationExpiredException
41
+ when FatalDiscoveryException
42
+ Neo4j::Driver::Exceptions::FatalDiscoveryException
36
43
  when ResultConsumedException
37
44
  Neo4j::Driver::Exceptions::ResultConsumedException
45
+ when TokenExpiredException
46
+ Neo4j::Driver::Exceptions::TokenExpiredException
47
+ when SecurityException
48
+ Neo4j::Driver::Exceptions::SecurityException
49
+ when TransactionNestingException
50
+ Neo4j::Driver::Exceptions::TransactionNestingException
38
51
  when ClientException
39
52
  Neo4j::Driver::Exceptions::ClientException
53
+ when ConnectionReadTimeoutException
54
+ Neo4j::Driver::Exceptions::ConnectionReadTimeoutException
40
55
  when DatabaseException
41
56
  Neo4j::Driver::Exceptions::DatabaseException
57
+ when DiscoveryException
58
+ Neo4j::Driver::Exceptions::DiscoveryException
42
59
  when ProtocolException
43
60
  Neo4j::Driver::Exceptions::ProtocolException
44
- when SecurityException
45
- Neo4j::Driver::Exceptions::SecurityException
46
61
  when ServiceUnavailableException
47
62
  Neo4j::Driver::Exceptions::ServiceUnavailableException
48
63
  when SessionExpiredException
@@ -53,6 +68,21 @@ module Neo4j
53
68
  nil
54
69
  end
55
70
  end
71
+
72
+ def mapped_runtime_exception_class(exception_class)
73
+ case exception_class
74
+ when Java::OrgNeo4jDriverExceptions::NoSuchRecordException
75
+ Neo4j::Driver::Exceptions::NoSuchRecordException
76
+ when Java::OrgNeo4jDriverExceptions::UntrustedServerException
77
+ Neo4j::Driver::Exceptions::UntrustedServerException
78
+ when Java::JavaLang::IllegalStateException
79
+ Neo4j::Driver::Exceptions::IllegalStateException
80
+ when Java::JavaLang::IllegalArgumentException
81
+ ArgumentError
82
+ else
83
+ nil
84
+ end
85
+ end
56
86
  end
57
87
  end
58
88
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Ext
6
+ module Internal
7
+ module Async
8
+ module InternalAsyncSession
9
+ include ConfigConverter
10
+ include RunOverride
11
+ include AsyncConverter
12
+
13
+ def run_async(statement, parameters = {}, config = {})
14
+ to_future(
15
+ java_method(:runAsync, [org.neo4j.driver.Query, org.neo4j.driver.TransactionConfig])
16
+ .call(to_statement(statement, parameters), to_java_config(Neo4j::Driver::TransactionConfig, config)))
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j::Driver::Ext
4
+ module Internal
5
+ module Cluster
6
+ module RoutingTableRegistryImpl
7
+ def routing_table_handler(database)
8
+ get_routing_table_handler(org.neo4j.driver.internal.DatabaseNameUtil.database(database)).then do |it|
9
+ it.get if it.present?
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j::Driver::Ext
4
+ module Internal
5
+ module Cursor
6
+ module DisposableAsyncResultCursor
7
+ include AsyncConverter
8
+
9
+ def next_async
10
+ to_future(super)
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -7,6 +7,7 @@ module Neo4j
7
7
  extend AutoClosable
8
8
  include ConfigConverter
9
9
  include ExceptionCheckable
10
+ include AsyncConverter
10
11
 
11
12
  auto_closable :session
12
13
 
@@ -15,6 +16,15 @@ module Neo4j
15
16
  .call(to_java_config(Neo4j::Driver::SessionConfig, session_config))
16
17
  end
17
18
 
19
+ def async_session(**session_config)
20
+ java_method(:asyncSession, [org.neo4j.driver.SessionConfig])
21
+ .call(to_java_config(Neo4j::Driver::SessionConfig, session_config))
22
+ end
23
+
24
+ def close_async
25
+ to_future(super)
26
+ end
27
+
18
28
  def verify_connectivity
19
29
  check { super }
20
30
  end
@@ -15,9 +15,9 @@ module Neo4j
15
15
  check { super }
16
16
  end
17
17
 
18
- # def rollback
19
- # check { super }
20
- # end
18
+ def rollback
19
+ check { super }
20
+ end
21
21
  end
22
22
  end
23
23
  end
@@ -13,7 +13,7 @@ module Neo4j
13
13
  @active_support_logger = active_support_logger
14
14
  end
15
15
 
16
- def get_log(_name)
16
+ def getLog(_name)
17
17
  self
18
18
  end
19
19
 
@@ -5,6 +5,8 @@ require 'date'
5
5
  require 'loader'
6
6
  require 'neo4j-java-driver_jars'
7
7
 
8
+ Loader.load
9
+
8
10
  module Neo4j
9
11
  module Driver
10
12
  include_package 'org.neo4j.driver'
@@ -27,20 +29,9 @@ module Neo4j
27
29
  Path = Java::OrgNeo4jDriverInternal::InternalPath
28
30
  Relationship = Java::OrgNeo4jDriverInternal::InternalRelationship
29
31
  end
30
-
31
- # Workaround for missing zeitwerk support as of jruby-9.2.13.0
32
- module Ext
33
- module Internal
34
- module Summary
35
- end
36
- end
37
- end
38
- # End workaround
39
32
  end
40
33
  end
41
34
 
42
- Loader.load
43
-
44
35
  Java::OrgNeo4jDriver::AuthTokens.singleton_class.prepend Neo4j::Driver::Ext::AuthTokens
45
36
  Java::OrgNeo4jDriver::Bookmark.singleton_class.prepend Neo4j::Driver::Ext::Bookmark::ClassMethods
46
37
  Java::OrgNeo4jDriver::GraphDatabase.singleton_class.prepend Neo4j::Driver::Ext::GraphDatabase
@@ -56,6 +47,8 @@ Java::OrgNeo4jDriverInternal::InternalRelationship.prepend Neo4j::Driver::Ext::I
56
47
  Java::OrgNeo4jDriverInternal::InternalResult.prepend Neo4j::Driver::Ext::InternalResult
57
48
  Java::OrgNeo4jDriverInternal::InternalSession.prepend Neo4j::Driver::Ext::InternalSession
58
49
  Java::OrgNeo4jDriverInternal::InternalTransaction.prepend Neo4j::Driver::Ext::InternalTransaction
50
+ Java::OrgNeo4jDriverInternalAsync::InternalAsyncSession.prepend Neo4j::Driver::Ext::Internal::Async::InternalAsyncSession
51
+ Java::OrgNeo4jDriverInternalCluster::RoutingTableRegistryImpl.include Neo4j::Driver::Ext::Internal::Cluster::RoutingTableRegistryImpl
52
+ Java::OrgNeo4jDriverInternalCursor::DisposableAsyncResultCursor.prepend Neo4j::Driver::Ext::Internal::Cursor::DisposableAsyncResultCursor
59
53
  Java::OrgNeo4jDriverInternalSummary::InternalResultSummary.prepend Neo4j::Driver::Ext::Internal::Summary::InternalResultSummary
60
54
  Java::OrgNeo4jDriverInternalValue::ValueAdapter.include Neo4j::Driver::Ext::RubyConverter
61
- Java::OrgNeo4jDriverExceptions::Neo4jException.include Neo4j::Driver::Ext::ExceptionMapper
data/lib/loader.rb CHANGED
@@ -8,6 +8,7 @@ class Loader
8
8
  loader.tag = 'neo4j-ruby-driver'
9
9
  loader.push_dir(File.expand_path(__dir__))
10
10
  loader.push_dir(File.dirname(File.dirname(caller_locations(1..1).first.path)))
11
+ yield loader if block_given?
11
12
  loader.ignore(File.expand_path('neo4j-*-driver_jars.rb', __dir__))
12
13
  loader.ignore(File.expand_path('neo4j_ruby_driver.rb', __dir__))
13
14
  loader.ignore(File.expand_path('org', __dir__))
@@ -3,7 +3,7 @@
3
3
  module Neo4j
4
4
  module Driver
5
5
  module Exceptions
6
- class AuthenticationException < Neo4jException
6
+ class AuthenticationException < SecurityException
7
7
  end
8
8
  end
9
9
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class AuthorizationExpiredException < SecurityException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class CertificateException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class ConnectionReadTimeoutException < SecurityException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class DiscoveryException < Neo4jException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class FatalDiscoveryException < ClientException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class TokenExpiredException < SecurityException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class TransactionNestingException < ClientException
7
+ end
8
+ end
9
+ end
10
+ end
@@ -15,12 +15,12 @@ module Neo4j
15
15
  end
16
16
 
17
17
  def self.require_non_nil!(obj, message)
18
- raise ArgumentError, message if obj.nil?
18
+ raise ArgumentError, "#{message} can't be nil" if obj.nil?
19
19
  end
20
20
 
21
21
  def self.require_non_nil_credentials!(username, password)
22
- require_non_nil! username, "Username can't be nil"
23
- require_non_nil! password, "Password can't be nil"
22
+ require_non_nil! username, "Username"
23
+ require_non_nil! password, "Password"
24
24
  end
25
25
  end
26
26
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '4.2.0.beta.1'
5
+ VERSION = '4.4.0'
6
6
  end
7
7
  end
@@ -1,17 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Workaround for missing zeitwerk support in jruby-9.2.8.0
4
- if RUBY_PLATFORM.match?(/java/)
5
- module Neo4j
6
- module Driver
7
- module Exceptions
8
- end
9
- module Internal
10
- end
11
- end
3
+ module Neo4j
4
+ module Driver
12
5
  end
13
6
  end
14
- # End workaround
15
7
 
16
8
  require 'active_support/concern'
17
9
  require 'active_support/core_ext/hash/indifferent_access'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-java-driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.beta.1
4
+ version: 4.4.0
5
5
  platform: java
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-05 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -17,8 +17,8 @@ dependencies:
17
17
  - !ruby/object:Gem::Version
18
18
  version: '0'
19
19
  name: activesupport
20
- type: :runtime
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
@@ -31,8 +31,8 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.1.10
33
33
  name: zeitwerk
34
- type: :runtime
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
@@ -45,8 +45,8 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  name: jar-dependencies
48
- type: :runtime
49
48
  prerelease: false
49
+ type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
@@ -59,8 +59,8 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  name: ffaker
62
- type: :development
63
62
  prerelease: false
63
+ type: :development
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
@@ -73,8 +73,8 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  name: hoe
76
- type: :development
77
76
  prerelease: false
77
+ type: :development
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
@@ -87,8 +87,8 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  name: hoe-bundler
90
- type: :development
91
90
  prerelease: false
91
+ type: :development
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
@@ -101,8 +101,8 @@ dependencies:
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  name: hoe-gemspec
104
- type: :development
105
104
  prerelease: false
105
+ type: :development
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
@@ -115,8 +115,8 @@ dependencies:
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  name: parallel
118
- type: :development
119
118
  prerelease: false
119
+ type: :development
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
@@ -129,8 +129,8 @@ dependencies:
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  name: rake
132
- type: :development
133
132
  prerelease: false
133
+ type: :development
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
@@ -143,8 +143,8 @@ dependencies:
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  name: rspec-its
146
- type: :development
147
146
  prerelease: false
147
+ type: :development
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
@@ -157,8 +157,8 @@ dependencies:
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  name: rspec-mocks
160
- type: :development
161
160
  prerelease: false
161
+ type: :development
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
@@ -171,8 +171,8 @@ dependencies:
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  name: ruby-maven
174
- type: :development
175
174
  prerelease: false
175
+ type: :development
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
@@ -188,8 +188,8 @@ dependencies:
188
188
  - !ruby/object:Gem::Version
189
189
  version: '7'
190
190
  name: rdoc
191
- type: :development
192
191
  prerelease: false
192
+ type: :development
193
193
  version_requirements: !ruby/object:Gem::Requirement
194
194
  requirements:
195
195
  - - ">="
@@ -210,12 +210,16 @@ files:
210
210
  - LICENSE.txt
211
211
  - README.md
212
212
  - jruby/neo4j/driver.rb
213
+ - jruby/neo4j/driver/ext/async_converter.rb
213
214
  - jruby/neo4j/driver/ext/auth_tokens.rb
214
215
  - jruby/neo4j/driver/ext/bookmark.rb
215
216
  - jruby/neo4j/driver/ext/config_converter.rb
216
217
  - jruby/neo4j/driver/ext/exception_checkable.rb
217
218
  - jruby/neo4j/driver/ext/exception_mapper.rb
218
219
  - jruby/neo4j/driver/ext/graph_database.rb
220
+ - jruby/neo4j/driver/ext/internal/async/internal_async_session.rb
221
+ - jruby/neo4j/driver/ext/internal/cluster/routing_table_registry_impl.rb
222
+ - jruby/neo4j/driver/ext/internal/cursor/disposable_async_result_cursor.rb
219
223
  - jruby/neo4j/driver/ext/internal/summary/internal_result_summary.rb
220
224
  - jruby/neo4j/driver/ext/internal_driver.rb
221
225
  - jruby/neo4j/driver/ext/internal_entity.rb
@@ -236,8 +240,13 @@ files:
236
240
  - lib/loader.rb
237
241
  - lib/neo4j/driver/auto_closable.rb
238
242
  - lib/neo4j/driver/exceptions/authentication_exception.rb
243
+ - lib/neo4j/driver/exceptions/authorization_expired_exception.rb
244
+ - lib/neo4j/driver/exceptions/certificate_exception.rb
239
245
  - lib/neo4j/driver/exceptions/client_exception.rb
246
+ - lib/neo4j/driver/exceptions/connection_read_timeout_exception.rb
240
247
  - lib/neo4j/driver/exceptions/database_exception.rb
248
+ - lib/neo4j/driver/exceptions/discovery_exception.rb
249
+ - lib/neo4j/driver/exceptions/fatal_discovery_exception.rb
241
250
  - lib/neo4j/driver/exceptions/illegal_state_exception.rb
242
251
  - lib/neo4j/driver/exceptions/neo4j_exception.rb
243
252
  - lib/neo4j/driver/exceptions/no_such_record_exception.rb
@@ -246,6 +255,8 @@ files:
246
255
  - lib/neo4j/driver/exceptions/security_exception.rb
247
256
  - lib/neo4j/driver/exceptions/service_unavailable_exception.rb
248
257
  - lib/neo4j/driver/exceptions/session_expired_exception.rb
258
+ - lib/neo4j/driver/exceptions/token_expired_exception.rb
259
+ - lib/neo4j/driver/exceptions/transaction_nesting_exception.rb
249
260
  - lib/neo4j/driver/exceptions/transient_exception.rb
250
261
  - lib/neo4j/driver/exceptions/untrusted_server_exception.rb
251
262
  - lib/neo4j/driver/internal/duration_normalizer.rb
@@ -274,15 +285,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
274
285
  requirements:
275
286
  - - ">="
276
287
  - !ruby/object:Gem::Version
277
- version: '2.5'
288
+ version: '2.6'
278
289
  required_rubygems_version: !ruby/object:Gem::Requirement
279
290
  requirements:
280
- - - ">"
291
+ - - ">="
281
292
  - !ruby/object:Gem::Version
282
- version: 1.3.1
293
+ version: '0'
283
294
  requirements:
284
- - jar org.neo4j.driver, neo4j-java-driver, 4.2.1
285
- rubygems_version: 3.0.6
295
+ - jar org.neo4j.driver, neo4j-java-driver, 4.4.2
296
+ rubygems_version: 3.2.29
286
297
  signing_key:
287
298
  specification_version: 4
288
299
  summary: ''