Skip to content

Commit

Permalink
MRI support
Browse files Browse the repository at this point in the history
  • Loading branch information
klobuczek committed Jan 13, 2025
1 parent 649d0b3 commit dcff8c3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions activegraph-extensions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
2 changes: 1 addition & 1 deletion lib/active_graph_extensions/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ActiveGraphExtensions
VERSION = '0.0.4'
VERSION = '0.1.0'
end
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
require 'tmpdir'
require 'logger'

require 'active_graph/core'
require 'active_graph'
require 'active_graph_extensions'
require 'unique_class'

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit dcff8c3

Please sign in to comment.