diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 3034c8d..f8a70bc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,13 +20,12 @@ jobs: test: runs-on: ubuntu-latest - continue-on-error: ${{ matrix.ruby == 'ruby' }} timeout-minutes: 30 strategy: fail-fast: false matrix: - ruby: [ jruby-9.4.1.0] - neo4j: [ 4.4.17, 5.4.0 ] + ruby: [ ruby, jruby ] + neo4j: [ 4.4.39, 5.26.0 ] env: NEO4J_VERSION: ${{ matrix.neo4j }} JRUBY_OPTS: --debug -J-Xmx1280m -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF diff --git a/CHANGELOG.md b/CHANGELOG.md index f30e0b1..9d0e014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,4 +4,10 @@ ## Fixed -- Fixed issue where there was 500 error when we are eagerloding relations with multiple optional matches and some privious match was haveing authorization and next one was skipping authorization for those same nodes. This would result in a collection of related nodes where some nodes were null and corresponding next optional match nodes on path had values. +- Fixed issue where there was 500 error when we are eagerloding relations with multiple optional matches and some previous match was having authorization and next one was skipping authorization for those same nodes. This would result in a collection of related nodes where some nodes were null and corresponding next optional match nodes on path had values. + +## [0.1.0] 2025-01-13 + +## Added + +- Support for MRI diff --git a/activegraph-extensions.gemspec b/activegraph-extensions.gemspec index 0b2c5bc..13843af 100644 --- a/activegraph-extensions.gemspec +++ b/activegraph-extensions.gemspec @@ -24,8 +24,6 @@ DESCRIPTION s.extra_rdoc_files = %w( README.md ) s.rdoc_options = ['--quiet', '--title', 'Neo4j.rb', '--line-numbers', '--main', 'README.rdoc', '--inline-source'] - s.platform = 'java' - s.add_dependency('parslet') s.add_dependency('activegraph') diff --git a/lib/active_graph_extensions/version.rb b/lib/active_graph_extensions/version.rb index c476b46..25c2deb 100644 --- a/lib/active_graph_extensions/version.rb +++ b/lib/active_graph_extensions/version.rb @@ -1,3 +1,3 @@ module ActiveGraphExtensions - VERSION = '0.0.4' + VERSION = '0.1.0' end \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9789200..73cfd99 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -27,8 +27,6 @@ require 'tmpdir' require 'logger' -require 'active_graph/core' -require 'active_graph' require 'active_graph_extensions' require 'unique_class' @@ -156,7 +154,7 @@ def id_property_value(o) end def create_constraint(label_name, property, options = {}) - ActiveGraph::Base.label_object(label_name).create_constraint(property, options) + ActiveGraph::Base.label_object(label_name).create_constraint(property, **options) ActiveGraph::ModelSchema.reload_models_data! end