diff --git a/Gemfile.lock b/Gemfile.lock index 200cf04..05a9f42 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,9 +2,9 @@ PATH remote: . specs: rails_graph (0.3.0) - activerecord (>= 6.0, < 7.1) - neo4j-ruby-driver (>= 4.4.0.alpha.8) - railties (>= 6.0, < 7.1) + activerecord (>= 6.0) + neo4j-ruby-driver (>= 4.4) + railties (>= 6.0) GEM remote: https://rubygems.org/ @@ -48,30 +48,24 @@ GEM diff-lcs (1.5.0) erubi (1.12.0) fiber-local (1.0.0) - i18n (1.13.0) + i18n (1.14.0) concurrent-ruby (~> 1.0) io-event (1.2.2) - json (2.6.2) + json (2.6.3) loofah (2.21.3) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.0.0) - mini_portile2 (2.8.2) minitest (5.18.0) neo4j-ruby-driver (4.4.4) activesupport async-io connection_pool zeitwerk (>= 2.1.10) - nokogiri (1.15.2) - mini_portile2 (~> 2.8.2) - racc (~> 1.4) nokogiri (1.15.2-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.2-x86_64-linux) - racc (~> 1.4) - parallel (1.22.1) - parser (3.1.2.1) + parallel (1.23.0) + parser (3.2.2.1) ast (~> 2.4.1) racc (1.6.2) rack (2.2.7) @@ -92,39 +86,39 @@ GEM zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.5.0) + regexp_parser (2.8.0) rexml (3.2.5) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-mocks (3.11.1) + rspec-support (~> 3.12.0) + rspec-mocks (3.12.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-support (3.11.1) - rubocop (1.36.0) + rspec-support (~> 3.12.0) + rspec-support (3.12.0) + rubocop (1.52.0) json (~> 2.3) parallel (~> 1.10) - parser (>= 3.1.2.1) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.20.1, < 2.0) + rubocop-ast (>= 1.28.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.21.0) - parser (>= 3.1.1.0) - ruby-progressbar (1.11.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + ruby-progressbar (1.13.0) thor (1.2.2) timers (4.3.5) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.3.0) + unicode-display_width (2.4.2) zeitwerk (2.6.8) PLATFORMS @@ -139,4 +133,4 @@ DEPENDENCIES rubocop (~> 1.21) BUNDLED WITH - 2.3.22 + 2.4.13 diff --git a/lib/rails_graph/graph/nodes/database.rb b/lib/rails_graph/graph/nodes/database.rb index 6fb11e1..e20a51d 100644 --- a/lib/rails_graph/graph/nodes/database.rb +++ b/lib/rails_graph/graph/nodes/database.rb @@ -28,8 +28,8 @@ def build_properties replica: configs.replica? || false, database_name: configs.database, reaping_frequency: configs.reaping_frequency, - min_threads: configs.min_threads, - max_threads: configs.max_threads + min_threads: configs.try(:min_threads), + max_threads: configs.try(:max_threads) } end end diff --git a/rails_graph.gemspec b/rails_graph.gemspec index 19ab2ed..c8a6f48 100644 --- a/rails_graph.gemspec +++ b/rails_graph.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] # Dependencies - spec.add_dependency "activerecord", ">= 6.0", "< 7.1" - spec.add_dependency "neo4j-ruby-driver", ">= 4.4.0.alpha.8" - spec.add_dependency "railties", ">= 6.0", "< 7.1" + spec.add_dependency "activerecord", ">= 6.0" + spec.add_dependency "neo4j-ruby-driver", ">= 4.4" + spec.add_dependency "railties", ">= 6.0" end