neospace 0.0.1 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -0
  3. data/README.md +88 -0
  4. data/ffi/bolt/address.rb +11 -0
  5. data/ffi/bolt/address_resolver.rb +12 -0
  6. data/ffi/bolt/address_set.rb +9 -0
  7. data/ffi/bolt/auth.rb +10 -0
  8. data/ffi/bolt/auto_releasable.rb +22 -0
  9. data/ffi/bolt/boolean.rb +9 -0
  10. data/ffi/bolt/bytes.rb +10 -0
  11. data/ffi/bolt/config.rb +45 -0
  12. data/ffi/bolt/connection.rb +44 -0
  13. data/ffi/bolt/connector.rb +17 -0
  14. data/ffi/bolt/dictionary.rb +15 -0
  15. data/ffi/bolt/error.rb +74 -0
  16. data/ffi/bolt/float.rb +9 -0
  17. data/ffi/bolt/integer.rb +9 -0
  18. data/ffi/bolt/library.rb +12 -0
  19. data/ffi/bolt/lifecycle.rb +9 -0
  20. data/ffi/bolt/list.rb +10 -0
  21. data/ffi/bolt/log.rb +16 -0
  22. data/ffi/bolt/socket_options.rb +14 -0
  23. data/ffi/bolt/status.rb +25 -0
  24. data/ffi/bolt/string.rb +9 -0
  25. data/ffi/bolt/structure.rb +10 -0
  26. data/ffi/bolt/value.rb +35 -0
  27. data/ffi/neo4j/driver.rb +60 -0
  28. data/ffi/neo4j/driver/access_mode.rb +10 -0
  29. data/ffi/neo4j/driver/auth_tokens.rb +18 -0
  30. data/ffi/neo4j/driver/config.rb +40 -0
  31. data/ffi/neo4j/driver/graph_database.rb +52 -0
  32. data/ffi/neo4j/driver/internal/async/access_mode_connection.rb +19 -0
  33. data/ffi/neo4j/driver/internal/async/direct_connection.rb +106 -0
  34. data/ffi/neo4j/driver/internal/bolt_server_address.rb +18 -0
  35. data/ffi/neo4j/driver/internal/bookmarks_holder.rb +30 -0
  36. data/ffi/neo4j/driver/internal/direct_connection_provider.rb +28 -0
  37. data/ffi/neo4j/driver/internal/driver_factory.rb +125 -0
  38. data/ffi/neo4j/driver/internal/error_handling.rb +108 -0
  39. data/ffi/neo4j/driver/internal/explicit_transaction.rb +146 -0
  40. data/ffi/neo4j/driver/internal/handlers/pull_all_response_handler.rb +105 -0
  41. data/ffi/neo4j/driver/internal/handlers/response_handler.rb +49 -0
  42. data/ffi/neo4j/driver/internal/handlers/run_response_handler.rb +32 -0
  43. data/ffi/neo4j/driver/internal/handlers/session_pull_all_response_handler.rb +32 -0
  44. data/ffi/neo4j/driver/internal/handlers/transaction_pull_all_response_handler.rb +23 -0
  45. data/ffi/neo4j/driver/internal/internal_driver.rb +45 -0
  46. data/ffi/neo4j/driver/internal/internal_logger.rb +32 -0
  47. data/ffi/neo4j/driver/internal/internal_record.rb +26 -0
  48. data/ffi/neo4j/driver/internal/internal_resolver.rb +31 -0
  49. data/ffi/neo4j/driver/internal/internal_statement_result.rb +52 -0
  50. data/ffi/neo4j/driver/internal/messaging/bolt_protocol.rb +24 -0
  51. data/ffi/neo4j/driver/internal/messaging/v1/bolt_protocol_v1.rb +59 -0
  52. data/ffi/neo4j/driver/internal/messaging/v2/bolt_protocol_v2.rb +16 -0
  53. data/ffi/neo4j/driver/internal/messaging/v3/bolt_protocol_v3.rb +63 -0
  54. data/ffi/neo4j/driver/internal/network_session.rb +129 -0
  55. data/ffi/neo4j/driver/internal/retry/exponential_backoff_retry_logic.rb +80 -0
  56. data/ffi/neo4j/driver/internal/session_factory_impl.rb +28 -0
  57. data/ffi/neo4j/driver/internal/summary/internal_result_summary.rb +67 -0
  58. data/ffi/neo4j/driver/internal/summary/internal_server_info.rb +19 -0
  59. data/ffi/neo4j/driver/internal/summary/internal_summary_counters.rb +23 -0
  60. data/ffi/neo4j/driver/internal/util/metadata_extractor.rb +15 -0
  61. data/ffi/neo4j/driver/internal/value/base_time_value.rb +22 -0
  62. data/ffi/neo4j/driver/internal/value/date_value.rb +25 -0
  63. data/ffi/neo4j/driver/internal/value/duration_value.rb +27 -0
  64. data/ffi/neo4j/driver/internal/value/local_date_time_value.rb +24 -0
  65. data/ffi/neo4j/driver/internal/value/local_time_value.rb +19 -0
  66. data/ffi/neo4j/driver/internal/value/node_value.rb +18 -0
  67. data/ffi/neo4j/driver/internal/value/offset_time_value.rb +25 -0
  68. data/ffi/neo4j/driver/internal/value/path_value.rb +41 -0
  69. data/ffi/neo4j/driver/internal/value/point2_d_value.rb +24 -0
  70. data/ffi/neo4j/driver/internal/value/point3_d_value.rb +24 -0
  71. data/ffi/neo4j/driver/internal/value/relationship_value.rb +18 -0
  72. data/ffi/neo4j/driver/internal/value/structure_value.rb +42 -0
  73. data/ffi/neo4j/driver/internal/value/time_with_zone_id_value.rb +25 -0
  74. data/ffi/neo4j/driver/internal/value/time_with_zone_offset_value.rb +28 -0
  75. data/ffi/neo4j/driver/internal/value/unbound_relationship_value.rb +18 -0
  76. data/ffi/neo4j/driver/internal/value/value_adapter.rb +99 -0
  77. data/ffi/neo4j/driver/net/server_address.rb +13 -0
  78. data/ffi/neo4j/driver/statement.rb +15 -0
  79. data/ffi/neo4j/driver/summary/statement_type.rb +14 -0
  80. data/ffi/neo4j/driver/types/entity.rb +21 -0
  81. data/ffi/neo4j/driver/types/node.rb +16 -0
  82. data/ffi/neo4j/driver/types/path.rb +35 -0
  83. data/ffi/neo4j/driver/types/relationship.rb +19 -0
  84. data/lib/loader.rb +18 -0
  85. data/lib/neo4j/driver/auto_closable.rb +32 -0
  86. data/lib/neo4j/driver/exceptions/authentication_exception.rb +10 -0
  87. data/lib/neo4j/driver/exceptions/client_exception.rb +15 -0
  88. data/lib/neo4j/driver/exceptions/database_exception.rb +10 -0
  89. data/lib/neo4j/driver/exceptions/illegal_state_exception.rb +10 -0
  90. data/lib/neo4j/driver/exceptions/neo4j_exception.rb +23 -0
  91. data/lib/neo4j/driver/exceptions/no_such_record_exception.rb +33 -0
  92. data/lib/neo4j/driver/exceptions/protocol_exception.rb +10 -0
  93. data/lib/neo4j/driver/exceptions/security_exception.rb +10 -0
  94. data/lib/neo4j/driver/exceptions/service_unavailable_exception.rb +10 -0
  95. data/lib/neo4j/driver/exceptions/session_expired_exception.rb +10 -0
  96. data/lib/neo4j/driver/exceptions/transient_exception.rb +10 -0
  97. data/lib/neo4j/driver/exceptions/untrusted_server_exception.rb +10 -0
  98. data/lib/neo4j/driver/internal/duration_normalizer.rb +46 -0
  99. data/lib/neo4j/driver/internal/ruby_signature.rb +18 -0
  100. data/lib/neo4j/driver/internal/validator.rb +28 -0
  101. data/lib/neo4j/driver/types/bytes.rb +10 -0
  102. data/lib/neo4j/driver/types/local_date_time.rb +20 -0
  103. data/lib/neo4j/driver/types/local_time.rb +19 -0
  104. data/lib/neo4j/driver/types/offset_time.rb +19 -0
  105. data/lib/neo4j/driver/types/point.rb +39 -0
  106. data/lib/neo4j/driver/types/time.rb +43 -0
  107. data/lib/neo4j/driver/version.rb +7 -0
  108. data/lib/neo4j_ruby_driver.rb +20 -0
  109. metadata +314 -12
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Exceptions
6
+ class ServiceUnavailableException < 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 SessionExpiredException < 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 TransientException < 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 UntrustedServerException < RuntimeError
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Internal
6
+ module DurationNormalizer
7
+ class << self
8
+ def normalize(object)
9
+ parts = object.parts
10
+ months_i, months_remainder_seconds = divmod(months(parts), ActiveSupport::Duration::SECONDS_PER_MONTH)
11
+ months_days, months_remainder_seconds =
12
+ months_remainder_seconds.divmod(ActiveSupport::Duration::SECONDS_PER_DAY)
13
+ days_i, days_remainder_seconds = divmod(months_days + days(parts), ActiveSupport::Duration::SECONDS_PER_DAY)
14
+ seconds_i, nonanoseconds = divmod(months_remainder_seconds + days_remainder_seconds + seconds(parts),
15
+ 1_000_000_000)
16
+ [months_i, days_i, seconds_i, nonanoseconds.round]
17
+ end
18
+
19
+ def milliseconds(duration)
20
+ duration.in_milliseconds.round
21
+ end
22
+
23
+ private
24
+
25
+ def divmod(number, factor)
26
+ number_i, remainder = number.divmod(1)
27
+ [number_i.to_i, remainder * factor]
28
+ end
29
+
30
+ def months(parts)
31
+ parts[:years] * 12 + parts[:months]
32
+ end
33
+
34
+ def days(parts)
35
+ parts[:weeks] * 7 + parts[:days]
36
+ end
37
+
38
+ def seconds(parts)
39
+ parts[:hours] * ActiveSupport::Duration::SECONDS_PER_HOUR +
40
+ parts[:minutes] * ActiveSupport::Duration::SECONDS_PER_MINUTE + parts[:seconds]
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Internal
6
+ module RubySignature
7
+ class << self
8
+ def session(args)
9
+ [
10
+ args.empty? || args.first.is_a?(String) ? Neo4j::Driver::AccessMode::WRITE : args.shift, # mode
11
+ args # bookmarks
12
+ ]
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Internal
6
+ module Validator
7
+ def self.require_hash_parameters!(parameters)
8
+ require_hash!(parameters) do
9
+ "The parameters should be provided as Map type. Unsupported parameters type: #{parameters.class.name}"
10
+ end
11
+ end
12
+
13
+ def self.require_hash!(obj)
14
+ raise(ArgumentError, yield) unless obj.nil? || obj.is_a?(Hash)
15
+ end
16
+
17
+ def self.require_non_nil!(obj, message)
18
+ raise ArgumentError, message if obj.nil?
19
+ end
20
+
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"
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class Bytes < String
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class LocalDateTime < Time
7
+ class << self
8
+ FIELDS = %i[year month day hour min sec nsec].freeze
9
+
10
+ def significant_fields
11
+ FIELDS
12
+ end
13
+ end
14
+
15
+ delegate(*significant_fields, to: :@time)
16
+ delegate :to_i, to: :@time
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class LocalTime < Time
7
+ class << self
8
+ FIELDS = %i[hour min sec nsec].freeze
9
+
10
+ def significant_fields
11
+ FIELDS
12
+ end
13
+ end
14
+
15
+ delegate(*significant_fields, to: :@time)
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class OffsetTime < Time
7
+ class << self
8
+ FIELDS = %i[hour min sec nsec utc_offset].freeze
9
+
10
+ def significant_fields
11
+ FIELDS
12
+ end
13
+ end
14
+
15
+ delegate(*significant_fields, to: :@time)
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class Point
7
+ attr_accessor :srid, :x, :y, :z
8
+
9
+ SRID = {
10
+ 'WGS-84': 4326,
11
+ 'WGS-84-3D': 4979,
12
+ cartesian: 7203,
13
+ 'cartesian-3D': 9157
14
+ }.with_indifferent_access.freeze
15
+
16
+ def initialize(args)
17
+ self.x = args[:longitude] || args[:x]
18
+ self.y = args[:latitude] || args[:y]
19
+ self.z = args[:height] || args[:z]
20
+ self.srid = args[:srid] || SRID[args[:crs] || implied_crs(args[:longitude] || args[:latitude])]
21
+ end
22
+
23
+ def coordinates
24
+ [x, y, z].compact.map(&:to_f)
25
+ end
26
+
27
+ private
28
+
29
+ def implied_crs(geo)
30
+ if geo
31
+ z ? :'WGS-84-3D' : :'WGS-84'
32
+ else
33
+ z ? :'cartesian-3D' : :cartesian
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ module Types
6
+ class Time
7
+ include Comparable
8
+
9
+ delegate :hash, :to_a, to: :significant
10
+
11
+ class << self
12
+ def parse(date)
13
+ new(::Time.parse(date))
14
+ end
15
+ end
16
+
17
+ def initialize(time)
18
+ @time = time
19
+ end
20
+
21
+ def significant
22
+ self.class.significant_fields.map(&method(:send))
23
+ end
24
+
25
+ def <=>(other)
26
+ return unless other.is_a?(self.class)
27
+
28
+ self.class.significant_fields.reduce(0) do |acc, elem|
29
+ acc.zero? ? send(elem) <=> other.send(elem) : (break acc)
30
+ end
31
+ end
32
+
33
+ def eql?(other)
34
+ other.is_a?(self.class) && self.class.significant_fields.all? { |elem| send(elem).eql?(other.send(elem)) }
35
+ end
36
+
37
+ def +(numeric)
38
+ self.class.new(@time + numeric)
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neo4j
4
+ module Driver
5
+ VERSION = '1.7.0'
6
+ end
7
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
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
12
+ end
13
+ end
14
+ # End workaround
15
+
16
+ require 'active_support/core_ext/hash/indifferent_access'
17
+ require 'active_support/core_ext/numeric/time'
18
+ require 'active_support/duration'
19
+ require 'active_support/time'
20
+ require 'neo4j/driver'
metadata CHANGED
@@ -1,34 +1,336 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neospace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-20 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Master of Neo
14
- email: heinrick@klobuczek.on
11
+ date: 2020-08-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: zeitwerk
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.1.10
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.1.10
41
+ - !ruby/object:Gem::Dependency
42
+ name: ffi
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: recursive-open-struct
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ffaker
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: hoe
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: hoe-bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: hoe-gemspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: parallel
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-its
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-mocks
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rdoc
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '4.0'
188
+ - - "<"
189
+ - !ruby/object:Gem::Version
190
+ version: '7'
191
+ type: :development
192
+ prerelease: false
193
+ version_requirements: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '4.0'
198
+ - - "<"
199
+ - !ruby/object:Gem::Version
200
+ version: '7'
201
+ description: ''
202
+ email:
203
+ - heinrich@mail.com
15
204
  executables: []
16
205
  extensions: []
17
- extra_rdoc_files: []
18
- files: []
19
- homepage: https://home.page
206
+ extra_rdoc_files:
207
+ - LICENSE.txt
208
+ - README.md
209
+ files:
210
+ - LICENSE.txt
211
+ - README.md
212
+ - ffi/bolt/address.rb
213
+ - ffi/bolt/address_resolver.rb
214
+ - ffi/bolt/address_set.rb
215
+ - ffi/bolt/auth.rb
216
+ - ffi/bolt/auto_releasable.rb
217
+ - ffi/bolt/boolean.rb
218
+ - ffi/bolt/bytes.rb
219
+ - ffi/bolt/config.rb
220
+ - ffi/bolt/connection.rb
221
+ - ffi/bolt/connector.rb
222
+ - ffi/bolt/dictionary.rb
223
+ - ffi/bolt/error.rb
224
+ - ffi/bolt/float.rb
225
+ - ffi/bolt/integer.rb
226
+ - ffi/bolt/library.rb
227
+ - ffi/bolt/lifecycle.rb
228
+ - ffi/bolt/list.rb
229
+ - ffi/bolt/log.rb
230
+ - ffi/bolt/socket_options.rb
231
+ - ffi/bolt/status.rb
232
+ - ffi/bolt/string.rb
233
+ - ffi/bolt/structure.rb
234
+ - ffi/bolt/value.rb
235
+ - ffi/neo4j/driver.rb
236
+ - ffi/neo4j/driver/access_mode.rb
237
+ - ffi/neo4j/driver/auth_tokens.rb
238
+ - ffi/neo4j/driver/config.rb
239
+ - ffi/neo4j/driver/graph_database.rb
240
+ - ffi/neo4j/driver/internal/async/access_mode_connection.rb
241
+ - ffi/neo4j/driver/internal/async/direct_connection.rb
242
+ - ffi/neo4j/driver/internal/bolt_server_address.rb
243
+ - ffi/neo4j/driver/internal/bookmarks_holder.rb
244
+ - ffi/neo4j/driver/internal/direct_connection_provider.rb
245
+ - ffi/neo4j/driver/internal/driver_factory.rb
246
+ - ffi/neo4j/driver/internal/error_handling.rb
247
+ - ffi/neo4j/driver/internal/explicit_transaction.rb
248
+ - ffi/neo4j/driver/internal/handlers/pull_all_response_handler.rb
249
+ - ffi/neo4j/driver/internal/handlers/response_handler.rb
250
+ - ffi/neo4j/driver/internal/handlers/run_response_handler.rb
251
+ - ffi/neo4j/driver/internal/handlers/session_pull_all_response_handler.rb
252
+ - ffi/neo4j/driver/internal/handlers/transaction_pull_all_response_handler.rb
253
+ - ffi/neo4j/driver/internal/internal_driver.rb
254
+ - ffi/neo4j/driver/internal/internal_logger.rb
255
+ - ffi/neo4j/driver/internal/internal_record.rb
256
+ - ffi/neo4j/driver/internal/internal_resolver.rb
257
+ - ffi/neo4j/driver/internal/internal_statement_result.rb
258
+ - ffi/neo4j/driver/internal/messaging/bolt_protocol.rb
259
+ - ffi/neo4j/driver/internal/messaging/v1/bolt_protocol_v1.rb
260
+ - ffi/neo4j/driver/internal/messaging/v2/bolt_protocol_v2.rb
261
+ - ffi/neo4j/driver/internal/messaging/v3/bolt_protocol_v3.rb
262
+ - ffi/neo4j/driver/internal/network_session.rb
263
+ - ffi/neo4j/driver/internal/retry/exponential_backoff_retry_logic.rb
264
+ - ffi/neo4j/driver/internal/session_factory_impl.rb
265
+ - ffi/neo4j/driver/internal/summary/internal_result_summary.rb
266
+ - ffi/neo4j/driver/internal/summary/internal_server_info.rb
267
+ - ffi/neo4j/driver/internal/summary/internal_summary_counters.rb
268
+ - ffi/neo4j/driver/internal/util/metadata_extractor.rb
269
+ - ffi/neo4j/driver/internal/value/base_time_value.rb
270
+ - ffi/neo4j/driver/internal/value/date_value.rb
271
+ - ffi/neo4j/driver/internal/value/duration_value.rb
272
+ - ffi/neo4j/driver/internal/value/local_date_time_value.rb
273
+ - ffi/neo4j/driver/internal/value/local_time_value.rb
274
+ - ffi/neo4j/driver/internal/value/node_value.rb
275
+ - ffi/neo4j/driver/internal/value/offset_time_value.rb
276
+ - ffi/neo4j/driver/internal/value/path_value.rb
277
+ - ffi/neo4j/driver/internal/value/point2_d_value.rb
278
+ - ffi/neo4j/driver/internal/value/point3_d_value.rb
279
+ - ffi/neo4j/driver/internal/value/relationship_value.rb
280
+ - ffi/neo4j/driver/internal/value/structure_value.rb
281
+ - ffi/neo4j/driver/internal/value/time_with_zone_id_value.rb
282
+ - ffi/neo4j/driver/internal/value/time_with_zone_offset_value.rb
283
+ - ffi/neo4j/driver/internal/value/unbound_relationship_value.rb
284
+ - ffi/neo4j/driver/internal/value/value_adapter.rb
285
+ - ffi/neo4j/driver/net/server_address.rb
286
+ - ffi/neo4j/driver/statement.rb
287
+ - ffi/neo4j/driver/summary/statement_type.rb
288
+ - ffi/neo4j/driver/types/entity.rb
289
+ - ffi/neo4j/driver/types/node.rb
290
+ - ffi/neo4j/driver/types/path.rb
291
+ - ffi/neo4j/driver/types/relationship.rb
292
+ - lib/loader.rb
293
+ - lib/neo4j/driver/auto_closable.rb
294
+ - lib/neo4j/driver/exceptions/authentication_exception.rb
295
+ - lib/neo4j/driver/exceptions/client_exception.rb
296
+ - lib/neo4j/driver/exceptions/database_exception.rb
297
+ - lib/neo4j/driver/exceptions/illegal_state_exception.rb
298
+ - lib/neo4j/driver/exceptions/neo4j_exception.rb
299
+ - lib/neo4j/driver/exceptions/no_such_record_exception.rb
300
+ - lib/neo4j/driver/exceptions/protocol_exception.rb
301
+ - lib/neo4j/driver/exceptions/security_exception.rb
302
+ - lib/neo4j/driver/exceptions/service_unavailable_exception.rb
303
+ - lib/neo4j/driver/exceptions/session_expired_exception.rb
304
+ - lib/neo4j/driver/exceptions/transient_exception.rb
305
+ - lib/neo4j/driver/exceptions/untrusted_server_exception.rb
306
+ - lib/neo4j/driver/internal/duration_normalizer.rb
307
+ - lib/neo4j/driver/internal/ruby_signature.rb
308
+ - lib/neo4j/driver/internal/validator.rb
309
+ - lib/neo4j/driver/types/bytes.rb
310
+ - lib/neo4j/driver/types/local_date_time.rb
311
+ - lib/neo4j/driver/types/local_time.rb
312
+ - lib/neo4j/driver/types/offset_time.rb
313
+ - lib/neo4j/driver/types/point.rb
314
+ - lib/neo4j/driver/types/time.rb
315
+ - lib/neo4j/driver/version.rb
316
+ - lib/neo4j_ruby_driver.rb
317
+ homepage: https://github.com/neo4jrb/neo4j-ruby-driver
20
318
  licenses:
21
319
  - MIT
22
- metadata: {}
320
+ metadata:
321
+ homepage_uri: https://github.com/neo4jrb/neo4j-ruby-driver
23
322
  post_install_message:
24
- rdoc_options: []
323
+ rdoc_options:
324
+ - "--main"
325
+ - README.md
25
326
  require_paths:
26
327
  - lib
328
+ - ffi
27
329
  required_ruby_version: !ruby/object:Gem::Requirement
28
330
  requirements:
29
331
  - - ">="
30
332
  - !ruby/object:Gem::Version
31
- version: '0'
333
+ version: '2.5'
32
334
  required_rubygems_version: !ruby/object:Gem::Requirement
33
335
  requirements:
34
336
  - - ">="
@@ -38,5 +340,5 @@ requirements: []
38
340
  rubygems_version: 3.0.8
39
341
  signing_key:
40
342
  specification_version: 4
41
- summary: Master of Neo
343
+ summary: ''
42
344
  test_files: []