neo4j-ruby-driver 4.4.2-java → 4.4.4-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: be9470ec71cbfdb5b0fe8539f151a3907b29a9162585889c1470bec0df600461
4
- data.tar.gz: bfbbf892074843ea3d50f51d386183627e28d54c6faa5d5b134234e0f9b6674c
3
+ metadata.gz: d25c6f125661dfa91a2e3c098f77cc3915e059218404e472829e6bbe30eb6113
4
+ data.tar.gz: 18a372d5f7015458ea87552d63017b2d8b7c343aba9f8ff6ab08c6f970e63422
5
5
  SHA512:
6
- metadata.gz: 05f7c4064d07383c2e9b4d751348b913ed13c46ed86b608b08cc51b3a27e276930c6a7a1e3d6ed9e7eec04120a62166b6ef5bf609c7ab6c987f9e17ab5fb9ba5
7
- data.tar.gz: 8bab6c775b47a3d77491da03a239db1e36ff2d9d255330b5ef7bd249d2bfcfc437148a58e59ee529ed30bd669afe89a855af2d19a03f9891560e23cf67df6a12
6
+ metadata.gz: c54da5e7237caabd5ded1fd3ea90d72e289de683285b372f29f565b959bc5be8c433c3784fc21015e9eab65950aba87a94ea631c9bdbfbae87df481210401cea
7
+ data.tar.gz: 58a072b28ab11eda0be3d97a8fdfea22da983f70c7af13e67cf397846c43faa981716a8f0c60f5cb3aa35d7526fc763fe2a290e14d1380060d28ec259bef3676
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Neo4j
4
4
  module Driver
5
- VERSION = '4.4.2'
5
+ VERSION = '4.4.4'
6
6
  end
7
7
  end
@@ -1,14 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/core_ext/hash/keys'
4
- require 'date'
5
- require 'loader'
6
4
  require 'neo4j-ruby-driver_jars'
7
-
8
- Loader.load
5
+ require 'neo4j-ruby-driver_loader'
9
6
 
10
7
  module Neo4j
11
8
  module Driver
9
+ Loader.load
10
+
12
11
  include_package 'org.neo4j.driver'
13
12
 
14
13
  Record = Java::OrgNeo4jDriverInternal::InternalRecord
@@ -0,0 +1,5 @@
1
+ # This file is here so that there is a file with the same name as the gem that
2
+ # can be required by Bundler.require. Applications should normally
3
+ # require 'neo4j/driver'.
4
+
5
+ require 'neo4j/driver'
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/concern'
4
+ require 'active_support/core_ext/hash/indifferent_access'
5
+ require 'active_support/isolated_execution_state' if Gem::Requirement.create('>= 7').satisfied_by?(Gem.loaded_specs["activesupport"].version) # TODO: this should not be necessary https://github.com/rails/rails/issues/43851
6
+ require 'active_support/core_ext/numeric/time'
7
+ require 'active_support/duration'
8
+ require 'active_support/time'
9
+ require 'date'
10
+ require 'uri'
11
+ require 'zeitwerk'
12
+
13
+ module Neo4j
14
+ module Driver
15
+ class Loader
16
+ def self.load
17
+ loader = Zeitwerk::Loader.new
18
+ loader.tag = 'neo4j-ruby-driver'
19
+ loader.push_dir(File.expand_path(__dir__))
20
+ driver_specific_dir = File.dirname(File.dirname(caller_locations(1..1).first.path))
21
+ loader.push_dir(driver_specific_dir)
22
+ yield loader if block_given?
23
+ loader.ignore(File.expand_path('neo4j*ruby*driver*.rb', __dir__))
24
+ loader.ignore(File.expand_path('org', __dir__))
25
+ loader.inflector = Zeitwerk::GemInflector.new(File.expand_path('neo4j/driver', driver_specific_dir))
26
+ loader.setup
27
+ loader.eager_load
28
+ end
29
+ end
30
+ end
31
+ end
@@ -1,15 +1,4 @@
1
- # frozen_string_literal: true
1
+ # This file is for backwards compatibility only.
2
+ # Applications should require 'neo4j/driver'.
2
3
 
3
- module Neo4j
4
- module Driver
5
- end
6
- end
7
-
8
- require 'active_support/concern'
9
- require 'active_support/core_ext/hash/indifferent_access'
10
- require 'active_support/isolated_execution_state' if Gem::Requirement.create('>= 7').satisfied_by?(Gem.loaded_specs["activesupport"].version) # TODO: this should not be necessary https://github.com/rails/rails/issues/43851
11
- require 'active_support/core_ext/numeric/time'
12
- require 'active_support/duration'
13
- require 'active_support/time'
14
4
  require 'neo4j/driver'
15
- require 'uri'
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.2
4
+ version: 4.4.4
5
5
  platform: java
6
6
  authors:
7
7
  - Heinrich Klobuczek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-11 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -254,7 +254,8 @@ files:
254
254
  - jruby/neo4j/driver/ext/run_override.rb
255
255
  - jruby/neo4j/driver/ext/start_end_naming.rb
256
256
  - jruby/neo4j/driver/version.rb
257
- - lib/loader.rb
257
+ - lib/neo4j-ruby-driver.rb
258
+ - lib/neo4j-ruby-driver_loader.rb
258
259
  - lib/neo4j/driver/auto_closable.rb
259
260
  - lib/neo4j/driver/exceptions/authentication_exception.rb
260
261
  - lib/neo4j/driver/exceptions/authorization_expired_exception.rb
data/lib/loader.rb DELETED
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'zeitwerk'
4
-
5
- class Loader
6
- def self.load
7
- loader = Zeitwerk::Loader.new
8
- loader.tag = 'neo4j-ruby-driver'
9
- loader.push_dir(File.expand_path(__dir__))
10
- driver_specific_dir = File.dirname(File.dirname(caller_locations(1..1).first.path))
11
- loader.push_dir(driver_specific_dir)
12
- yield loader if block_given?
13
- loader.ignore(File.expand_path('neo4j-*-driver_jars.rb', __dir__))
14
- loader.ignore(File.expand_path('neo4j_ruby_driver.rb', __dir__))
15
- loader.ignore(File.expand_path('org', __dir__))
16
- loader.inflector = Zeitwerk::GemInflector.new(File.expand_path('neo4j/driver', driver_specific_dir))
17
- loader.setup
18
- loader.eager_load
19
- end
20
- end