activegraph 11.0.0.beta.2-java → 11.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/Gemfile +1 -2
- data/README.md +23 -20
- data/activegraph.gemspec +4 -2
- data/lib/active_graph/core/schema.rb +19 -17
- data/lib/active_graph/migrations/runner.rb +13 -9
- data/lib/active_graph/migrations/schema.rb +11 -9
- data/lib/active_graph/node/query/query_proxy_eager_loading.rb +3 -9
- data/lib/active_graph/node/query/query_proxy_eager_loading/association_tree.rb +1 -0
- data/lib/active_graph/node/query/query_proxy_link.rb +1 -2
- data/lib/active_graph/node/validations.rb +1 -1
- data/lib/active_graph/tasks/migration.rake +3 -6
- data/lib/active_graph/version.rb +1 -1
- metadata +54 -27
- data/lib/active_graph/core/connection_failed_error.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 747cb00a7f0f16e3edc045cae2e1bf0638fb56ce8219ad4cdb9523a4db993d22
|
4
|
+
data.tar.gz: 44cd6ab8000c77d7321b357857682289c0bd58ad51bf2dfe43009314b9b6f799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e43e8f673bd250eef19a2e0f60ef2bce4beb683576fb9d0052cb1459b20f1f71d56f076f87ceba78d46cdac4eee24c198f6a6708f56d9a29faa2c2ce04684f53
|
7
|
+
data.tar.gz: 2abea4c02f971b87d0c6b23aad7680f02b11bb724dbd055d45033cb8a8b70784a5ec3bb0dc1ac8500aa421acc53980a814fc6649abb4e36de456f4ba82fd014f
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
This file should follow the standards specified on [http://keepachangelog.com/]
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [11.0.1] 2021-07-14
|
7
|
+
|
8
|
+
- It changes the relationship length assignment in query proxy eagerloading module to be consistent with query proxy relationship length syntax.
|
9
|
+
|
10
|
+
## [11.0.0] 2021-06-25
|
11
|
+
|
12
|
+
## Added
|
13
|
+
|
14
|
+
- support for neo4j 4.1, 4.2, 4.3
|
15
|
+
|
16
|
+
## [10.1.0] 2021-02-05
|
17
|
+
|
18
|
+
## Added
|
19
|
+
|
20
|
+
- support for ruby 3.0.0
|
21
|
+
|
22
|
+
## [10.0.2] 2020-12-08
|
23
|
+
|
24
|
+
## Fixed
|
25
|
+
|
26
|
+
- fixed bad require (https://github.com/neo4jrb/activegraph/issues/1634)
|
27
|
+
- removed unused exception class (Thanks @joshjordan)
|
28
|
+
- prevented after_commit callbacks from being called multiple times (Thanks @joshjordan)
|
29
|
+
|
6
30
|
## [10.0.1] 2020-07-26
|
7
31
|
|
8
32
|
## Fixed
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gemspec
|
|
7
7
|
gem 'listen', '< 3.1'
|
8
8
|
|
9
9
|
active_model_version = ENV['ACTIVE_MODEL_VERSION']
|
10
|
-
gem 'activemodel', "~> #{active_model_version}" if active_model_version
|
10
|
+
gem 'activemodel', "~> #{active_model_version}" if active_model_version&.length&.positive?
|
11
11
|
|
12
12
|
group 'test' do
|
13
13
|
gem 'coveralls', require: false
|
@@ -15,7 +15,6 @@ group 'test' do
|
|
15
15
|
gem 'codecov', require: false
|
16
16
|
gem 'simplecov', require: false
|
17
17
|
gem 'simplecov-html', require: false
|
18
|
-
gem 'rspec', '~> 3.4'
|
19
18
|
gem 'its'
|
20
19
|
gem 'test-unit'
|
21
20
|
gem 'colored'
|
data/README.md
CHANGED
@@ -45,31 +45,34 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
|
|
45
45
|
|
46
46
|
## Neo4j version support
|
47
47
|
|
48
|
-
| **Neo4j Version** | v2.x | v3.x | >= v4.x | >= 7.0.3 | activegraph 10
|
49
|
-
|
50
|
-
| 1.9.x | Yes | No | No | No | No |
|
51
|
-
| 2.0.x | No | Yes | No | No | No |
|
52
|
-
| 2.1.x | No | Yes | Yes * | Yes | No |
|
53
|
-
| 2.2.x | No | No | Yes | Yes | No |
|
54
|
-
| 2.3.x | No | No | Yes | Yes | No |
|
55
|
-
| 3.0, 3.1, 3.3 | No | No | No | Yes | No |
|
56
|
-
| 3.4
|
57
|
-
|
|
58
|
-
| 4.
|
48
|
+
| **Neo4j Version** | v2.x | v3.x | >= v4.x | >= 7.0.3 | activegraph 10 | activegraph 11 (jRuby only) |
|
49
|
+
|-------------------|------|-------|---------|----------|------------------|-----------------------------|
|
50
|
+
| 1.9.x | Yes | No | No | No | No | No
|
51
|
+
| 2.0.x | No | Yes | No | No | No | No
|
52
|
+
| 2.1.x | No | Yes | Yes * | Yes | No | No
|
53
|
+
| 2.2.x | No | No | Yes | Yes | No | No
|
54
|
+
| 2.3.x | No | No | Yes | Yes | No | No
|
55
|
+
| 3.0, 3.1, 3.3 | No | No | No | Yes | No | No
|
56
|
+
| 3.4 | No | No | No | Yes | Yes | No
|
57
|
+
| 3.5 | No | No | No | Yes | Yes | Yes
|
58
|
+
| 4.0 | No | No | No | No | Yes | Yes
|
59
|
+
| 4.1 | No | No | No | No | No | Yes
|
60
|
+
| 4.2 | No | No | No | No | No | Yes
|
61
|
+
| 4.3 | No | No | No | No | No | Yes
|
59
62
|
|
60
63
|
`*` Neo4j.rb >= 4.x doesn't support Neo4j versions before 2.1.5. To use 2.1.x you should upgrade to a version >= 2.1.5
|
61
64
|
|
62
65
|
## Neo4j feature support
|
63
66
|
|
64
|
-
| **Neo4j Feature** | v2.x | v3.x | >= v4.x | >= 8.x | activegraph 10.0 |
|
65
|
-
|
66
|
-
| Bolt Protocol | No | No | No | Yes | Yes
|
67
|
-
| Auth | No | No | Yes | Yes | Yes
|
68
|
-
| Remote Cypher | Yes | Yes | Yes | Yes | No
|
69
|
-
| Transactions | Yes | Yes | Yes | Yes | Yes
|
70
|
-
| High Availability | No | Yes | Yes | Yes | Yes
|
71
|
-
| Causal Cluster | No | No | No | No | Yes
|
72
|
-
| Embedded JVM support | Yes | Yes | Yes | Yes | via bolt only
|
67
|
+
| **Neo4j Feature** | v2.x | v3.x | >= v4.x | >= 8.x | >= activegraph 10.0 |
|
68
|
+
|----------------------------|--------|------|---------|--------|---------------------|
|
69
|
+
| Bolt Protocol | No | No | No | Yes | Yes |
|
70
|
+
| Auth | No | No | Yes | Yes | Yes |
|
71
|
+
| Remote Cypher | Yes | Yes | Yes | Yes | No |
|
72
|
+
| Transactions | Yes | Yes | Yes | Yes | Yes |
|
73
|
+
| High Availability | No | Yes | Yes | Yes | Yes |
|
74
|
+
| Causal Cluster | No | No | No | No | Yes |
|
75
|
+
| Embedded JVM support | Yes | Yes | Yes | Yes | via bolt only |
|
73
76
|
|
74
77
|
## Documentation
|
75
78
|
|
data/activegraph.gemspec
CHANGED
@@ -34,9 +34,10 @@ DESCRIPTION
|
|
34
34
|
|
35
35
|
s.add_dependency('activemodel', '>= 4.0')
|
36
36
|
s.add_dependency('activesupport', '>= 4.0')
|
37
|
-
s.add_dependency('i18n', '!= 1.
|
37
|
+
s.add_dependency('i18n', '!= 1.8.8') # https://github.com/jruby/jruby/issues/6547
|
38
38
|
s.add_dependency('orm_adapter', '~> 0.5.0')
|
39
|
-
s.add_dependency(
|
39
|
+
s.add_dependency('sorted_set')
|
40
|
+
s.add_dependency("neo4j-java-driver", '>= 4.3.0')
|
40
41
|
s.add_development_dependency('guard')
|
41
42
|
s.add_development_dependency('guard-rspec')
|
42
43
|
s.add_development_dependency('guard-rubocop')
|
@@ -49,4 +50,5 @@ DESCRIPTION
|
|
49
50
|
s.add_development_dependency('rubocop', '>= 0.56.0')
|
50
51
|
s.add_development_dependency('yard')
|
51
52
|
s.add_development_dependency('dryspec')
|
53
|
+
s.add_development_dependency('rspec', '< 3.10') # Cannot proxy frozen objects
|
52
54
|
end
|
@@ -9,27 +9,29 @@ module ActiveGraph
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def indexes
|
12
|
-
|
13
|
-
result = query('CALL db.indexes()', {}, skip_instrumentation: true)
|
14
|
-
|
12
|
+
raw_indexes do |keys, result|
|
15
13
|
result.map do |row|
|
16
|
-
{ type: row[:type].to_sym, label: label(
|
14
|
+
{ type: row[:type].to_sym, label: label(keys, row), properties: properties(row),
|
17
15
|
state: row[:state].to_sym }
|
18
16
|
end
|
19
17
|
end
|
20
18
|
end
|
21
19
|
|
22
20
|
def constraints
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
.select(&method(v4?(tx.run('CALL db.indexes()')) ? :v4_filter : :v3_filter)).map do |row|
|
27
|
-
{ type: :uniqueness, label: label(tx.run('CALL db.indexes()'), row), properties: properties(row) }
|
28
|
-
end
|
21
|
+
raw_indexes do |keys, result|
|
22
|
+
result.select(&method(v4?(keys) ? :v4_filter : :v3_filter)).map do |row|
|
23
|
+
{ type: :uniqueness, label: label(keys, row), properties: properties(row) }
|
29
24
|
end
|
30
25
|
end
|
31
26
|
end
|
32
27
|
|
28
|
+
def raw_indexes
|
29
|
+
read_transaction do
|
30
|
+
result = query('CALL db.indexes()', {}, skip_instrumentation: true)
|
31
|
+
yield result.keys, result.reject { |row| row[:type] == 'LOOKUP' }
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
33
35
|
private
|
34
36
|
|
35
37
|
def v4_filter(row)
|
@@ -40,22 +42,22 @@ module ActiveGraph
|
|
40
42
|
row[:type] == 'node_unique_property'
|
41
43
|
end
|
42
44
|
|
43
|
-
def label(
|
44
|
-
if v34?(
|
45
|
+
def label(keys, row)
|
46
|
+
if v34?(keys)
|
45
47
|
row[:label]
|
46
48
|
else
|
47
|
-
(v4?(
|
49
|
+
(v4?(keys) ? row[:labelsOrTypes] : row[:tokenNames]).first
|
48
50
|
end.to_sym
|
49
51
|
end
|
50
52
|
|
51
|
-
def v4?(
|
53
|
+
def v4?(keys)
|
52
54
|
return @v4 unless @v4.nil?
|
53
|
-
@v4 =
|
55
|
+
@v4 = keys.include?(:labelsOrTypes)
|
54
56
|
end
|
55
57
|
|
56
|
-
def v34?(
|
58
|
+
def v34?(keys)
|
57
59
|
return @v34 unless @v34.nil?
|
58
|
-
@v34 =
|
60
|
+
@v34 = keys.include?(:label)
|
59
61
|
end
|
60
62
|
|
61
63
|
def properties(row)
|
@@ -1,15 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'sorted_set'
|
4
|
+
|
1
5
|
module ActiveGraph
|
2
6
|
module Migrations
|
3
7
|
class Runner
|
4
|
-
STATUS_TABLE_FORMAT = '%-10s %-20s %s'
|
5
|
-
SEPARATOR = '--------------------------------------------------'
|
6
|
-
FILE_MISSING = '**** file missing ****'
|
7
|
-
STATUS_TABLE_HEADER = ['Status'
|
8
|
-
UP_MESSAGE = 'up'
|
9
|
-
DOWN_MESSAGE = 'down'
|
10
|
-
INCOMPLETE_MESSAGE = 'incomplete'
|
11
|
-
MIGRATION_RUNNING = {up: 'running'
|
12
|
-
MIGRATION_DONE = {up: 'migrated'
|
8
|
+
STATUS_TABLE_FORMAT = '%-10s %-20s %s'
|
9
|
+
SEPARATOR = '--------------------------------------------------'
|
10
|
+
FILE_MISSING = '**** file missing ****'
|
11
|
+
STATUS_TABLE_HEADER = ['Status', 'Migration ID', 'Migration Name'].freeze
|
12
|
+
UP_MESSAGE = 'up'
|
13
|
+
DOWN_MESSAGE = 'down'
|
14
|
+
INCOMPLETE_MESSAGE = 'incomplete'
|
15
|
+
MIGRATION_RUNNING = {up: 'running', down: 'reverting'}.freeze
|
16
|
+
MIGRATION_DONE = {up: 'migrated', down: 'reverted'}.freeze
|
13
17
|
|
14
18
|
def initialize(options = {})
|
15
19
|
@silenced = options[:silenced] || !!ENV['MIGRATIONS_SILENCED']
|
@@ -3,14 +3,15 @@ module ActiveGraph
|
|
3
3
|
module Schema
|
4
4
|
class << self
|
5
5
|
def fetch_schema_data
|
6
|
-
{constraints: fetch_constraint_descriptions.sort,
|
7
|
-
indexes: fetch_index_descriptions.sort}
|
6
|
+
{ constraints: fetch_constraint_descriptions.sort, indexes: fetch_index_descriptions.sort }
|
8
7
|
end
|
9
8
|
|
10
9
|
def synchronize_schema_data(schema_data, remove_missing)
|
11
10
|
queries = []
|
12
|
-
|
13
|
-
|
11
|
+
ActiveGraph::Base.read_transaction do
|
12
|
+
queries += drop_and_create_queries(fetch_constraint_descriptions, schema_data[:constraints], remove_missing)
|
13
|
+
queries += drop_and_create_queries(fetch_index_descriptions, schema_data[:indexes], remove_missing)
|
14
|
+
end
|
14
15
|
ActiveGraph::Base.write_transaction do
|
15
16
|
queries.each(&ActiveGraph::Base.method(:query))
|
16
17
|
end
|
@@ -23,11 +24,12 @@ module ActiveGraph
|
|
23
24
|
end
|
24
25
|
|
25
26
|
def fetch_index_descriptions
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
ActiveGraph::Base.raw_indexes do |keys, result|
|
28
|
+
if keys.include?(:description)
|
29
|
+
v3_indexes(result)
|
30
|
+
else
|
31
|
+
v4_indexes(result)
|
32
|
+
end
|
31
33
|
end
|
32
34
|
end
|
33
35
|
|
@@ -68,7 +68,7 @@ module ActiveGraph
|
|
68
68
|
|
69
69
|
def init_associations(node, element)
|
70
70
|
element.each_key { |key| node.association_proxy(key).init_cache }
|
71
|
-
node.association_proxy(element.name).init_cache if element.rel_length == ''
|
71
|
+
node.association_proxy(element.name).init_cache if element.rel_length && element.rel_length[:max] == ''
|
72
72
|
end
|
73
73
|
|
74
74
|
def cache_and_init(node, element)
|
@@ -157,14 +157,8 @@ module ActiveGraph
|
|
157
157
|
end
|
158
158
|
|
159
159
|
def relationship_part(association, path_name, rel_length)
|
160
|
-
|
161
|
-
|
162
|
-
length = {max: rel_length}
|
163
|
-
else
|
164
|
-
rel_name = escape("#{path_name}_rel")
|
165
|
-
length = nil
|
166
|
-
end
|
167
|
-
"#{association.arrow_cypher(rel_name, {}, false, false, length)}(#{escape(path_name)})"
|
160
|
+
rel_name = escape("#{path_name}_rel") unless rel_length
|
161
|
+
"#{association.arrow_cypher(rel_name, {}, false, false, rel_length)}(#{escape(path_name)})"
|
168
162
|
end
|
169
163
|
|
170
164
|
def chain
|
@@ -22,6 +22,7 @@ module ActiveGraph
|
|
22
22
|
class << self
|
23
23
|
def for_clause(clause, arg, model, *args)
|
24
24
|
method_to_call = "for_#{clause}_clause"
|
25
|
+
return unless respond_to?(method_to_call)
|
25
26
|
|
26
27
|
send(method_to_call, arg, model, *args)
|
27
28
|
end
|
@@ -112,8 +113,6 @@ module ActiveGraph
|
|
112
113
|
default = [Link.new(clause, arg, *args)]
|
113
114
|
|
114
115
|
Link.for_clause(clause, arg, model, *args) || default
|
115
|
-
rescue NoMethodError
|
116
|
-
default
|
117
116
|
end
|
118
117
|
|
119
118
|
def converted_keys(model, arg)
|
@@ -28,7 +28,7 @@ module ActiveGraph
|
|
28
28
|
def validate_each(record, attribute, value)
|
29
29
|
return unless found(record, attribute, value).exists?
|
30
30
|
|
31
|
-
record.errors.add(attribute, :taken, options.except(:case_sensitive, :scope).merge(value: value))
|
31
|
+
record.errors.add(attribute, :taken, **options.except(:case_sensitive, :scope).merge(value: value))
|
32
32
|
end
|
33
33
|
|
34
34
|
def found(record, attribute, value)
|
@@ -5,9 +5,8 @@ require 'active_graph/migration'
|
|
5
5
|
if !defined?(Rails) && !Rake::Task.task_defined?('environment')
|
6
6
|
desc 'Run a script against the database to perform system-wide changes'
|
7
7
|
task :environment do
|
8
|
-
require 'active_graph/session_manager'
|
9
8
|
require 'ostruct'
|
10
|
-
neo4j_url = ENV['NEO4J_URL'] || '
|
9
|
+
neo4j_url = ENV['NEO4J_URL'] || 'bolt://localhost:7687'
|
11
10
|
$LOAD_PATH.unshift File.dirname('./')
|
12
11
|
ActiveGraph::Base.on_establish_driver do
|
13
12
|
Neo4j::Driver::GraphDatabase.driver(neo4j_url)
|
@@ -88,9 +87,7 @@ COMMENT
|
|
88
87
|
|
89
88
|
ActiveGraph::Base.subscribe_to_query(&method(:puts))
|
90
89
|
|
91
|
-
ActiveGraph::
|
92
|
-
ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
|
93
|
-
end
|
90
|
+
ActiveGraph::Migrations::Schema.synchronize_schema_data(schema_data, args[:remove_missing])
|
94
91
|
|
95
92
|
ActiveGraph::Base.transaction do
|
96
93
|
runner = ActiveGraph::Migrations::Runner.new
|
@@ -183,7 +180,7 @@ class #{migration_class_name} < ActiveGraph::Migrations::Base
|
|
183
180
|
drop_#{index_or_constraint} #{label.to_sym.inspect}, #{property_name.to_sym.inspect}
|
184
181
|
end
|
185
182
|
end
|
186
|
-
CONTENT
|
183
|
+
CONTENT
|
187
184
|
|
188
185
|
File.open(path, 'w') { |f| f << content }
|
189
186
|
|
data/lib/active_graph/version.rb
CHANGED
metadata
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0.
|
4
|
+
version: 11.0.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Brian Underwood, Chris Grigg, Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: activemodel
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - ">="
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: '4.0'
|
19
|
-
name: activemodel
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -25,12 +25,12 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '4.0'
|
33
|
-
name: activesupport
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -39,26 +39,26 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: i18n
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - "!="
|
45
46
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.
|
47
|
-
name: i18n
|
47
|
+
version: 1.8.8
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "!="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.8.8
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
name: orm_adapter
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
57
58
|
requirements:
|
58
59
|
- - "~>"
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: 0.5.0
|
61
|
-
name: orm_adapter
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -67,26 +67,40 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.5.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
+
name: sorted_set
|
70
71
|
requirement: !ruby/object:Gem::Requirement
|
71
72
|
requirements:
|
72
|
-
- - "
|
73
|
+
- - ">="
|
73
74
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
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
|
75
84
|
name: neo4j-java-driver
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 4.3.0
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.
|
96
|
+
version: 4.3.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard
|
84
99
|
requirement: !ruby/object:Gem::Requirement
|
85
100
|
requirements:
|
86
101
|
- - ">="
|
87
102
|
- !ruby/object:Gem::Version
|
88
103
|
version: '0'
|
89
|
-
name: guard
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -95,12 +109,12 @@ dependencies:
|
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
112
|
+
name: guard-rspec
|
98
113
|
requirement: !ruby/object:Gem::Requirement
|
99
114
|
requirements:
|
100
115
|
- - ">="
|
101
116
|
- !ruby/object:Gem::Version
|
102
117
|
version: '0'
|
103
|
-
name: guard-rspec
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,12 +123,12 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard-rubocop
|
112
127
|
requirement: !ruby/object:Gem::Requirement
|
113
128
|
requirements:
|
114
129
|
- - ">="
|
115
130
|
- !ruby/object:Gem::Version
|
116
131
|
version: '0'
|
117
|
-
name: guard-rubocop
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -123,12 +137,12 @@ dependencies:
|
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
140
|
+
name: neo4j-rake_tasks
|
126
141
|
requirement: !ruby/object:Gem::Requirement
|
127
142
|
requirements:
|
128
143
|
- - ">="
|
129
144
|
- !ruby/object:Gem::Version
|
130
145
|
version: 0.3.0
|
131
|
-
name: neo4j-rake_tasks
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -137,12 +151,12 @@ dependencies:
|
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: 0.3.0
|
139
153
|
- !ruby/object:Gem::Dependency
|
154
|
+
name: os
|
140
155
|
requirement: !ruby/object:Gem::Requirement
|
141
156
|
requirements:
|
142
157
|
- - ">="
|
143
158
|
- !ruby/object:Gem::Version
|
144
159
|
version: '0'
|
145
|
-
name: os
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -151,12 +165,12 @@ dependencies:
|
|
151
165
|
- !ruby/object:Gem::Version
|
152
166
|
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry
|
154
169
|
requirement: !ruby/object:Gem::Requirement
|
155
170
|
requirements:
|
156
171
|
- - ">="
|
157
172
|
- !ruby/object:Gem::Version
|
158
173
|
version: '0'
|
159
|
-
name: pry
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -165,12 +179,12 @@ dependencies:
|
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
182
|
+
name: railties
|
168
183
|
requirement: !ruby/object:Gem::Requirement
|
169
184
|
requirements:
|
170
185
|
- - ">="
|
171
186
|
- !ruby/object:Gem::Version
|
172
187
|
version: '4.0'
|
173
|
-
name: railties
|
174
188
|
type: :development
|
175
189
|
prerelease: false
|
176
190
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -179,12 +193,12 @@ dependencies:
|
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '4.0'
|
181
195
|
- !ruby/object:Gem::Dependency
|
196
|
+
name: rake
|
182
197
|
requirement: !ruby/object:Gem::Requirement
|
183
198
|
requirements:
|
184
199
|
- - ">="
|
185
200
|
- !ruby/object:Gem::Version
|
186
201
|
version: '0'
|
187
|
-
name: rake
|
188
202
|
type: :development
|
189
203
|
prerelease: false
|
190
204
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -193,12 +207,12 @@ dependencies:
|
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: '0'
|
195
209
|
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop
|
196
211
|
requirement: !ruby/object:Gem::Requirement
|
197
212
|
requirements:
|
198
213
|
- - ">="
|
199
214
|
- !ruby/object:Gem::Version
|
200
215
|
version: 0.56.0
|
201
|
-
name: rubocop
|
202
216
|
type: :development
|
203
217
|
prerelease: false
|
204
218
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -207,12 +221,12 @@ dependencies:
|
|
207
221
|
- !ruby/object:Gem::Version
|
208
222
|
version: 0.56.0
|
209
223
|
- !ruby/object:Gem::Dependency
|
224
|
+
name: yard
|
210
225
|
requirement: !ruby/object:Gem::Requirement
|
211
226
|
requirements:
|
212
227
|
- - ">="
|
213
228
|
- !ruby/object:Gem::Version
|
214
229
|
version: '0'
|
215
|
-
name: yard
|
216
230
|
type: :development
|
217
231
|
prerelease: false
|
218
232
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -221,12 +235,12 @@ dependencies:
|
|
221
235
|
- !ruby/object:Gem::Version
|
222
236
|
version: '0'
|
223
237
|
- !ruby/object:Gem::Dependency
|
238
|
+
name: dryspec
|
224
239
|
requirement: !ruby/object:Gem::Requirement
|
225
240
|
requirements:
|
226
241
|
- - ">="
|
227
242
|
- !ruby/object:Gem::Version
|
228
243
|
version: '0'
|
229
|
-
name: dryspec
|
230
244
|
type: :development
|
231
245
|
prerelease: false
|
232
246
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -234,6 +248,20 @@ dependencies:
|
|
234
248
|
- - ">="
|
235
249
|
- !ruby/object:Gem::Version
|
236
250
|
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rspec
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "<"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '3.10'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "<"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '3.10'
|
237
265
|
description: 'A Neo4j OGM (Object-Graph-Mapper) for Ruby heavily inspired by ActiveRecord.
|
238
266
|
|
239
267
|
'
|
@@ -260,7 +288,6 @@ files:
|
|
260
288
|
- lib/active_graph/class_arguments.rb
|
261
289
|
- lib/active_graph/config.rb
|
262
290
|
- lib/active_graph/core.rb
|
263
|
-
- lib/active_graph/core/connection_failed_error.rb
|
264
291
|
- lib/active_graph/core/cypher_error.rb
|
265
292
|
- lib/active_graph/core/entity.rb
|
266
293
|
- lib/active_graph/core/instrumentable.rb
|
@@ -412,11 +439,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
412
439
|
version: '2.5'
|
413
440
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
441
|
requirements:
|
415
|
-
- - "
|
442
|
+
- - ">="
|
416
443
|
- !ruby/object:Gem::Version
|
417
|
-
version:
|
444
|
+
version: '0'
|
418
445
|
requirements: []
|
419
|
-
rubygems_version: 3.
|
446
|
+
rubygems_version: 3.2.3
|
420
447
|
signing_key:
|
421
448
|
specification_version: 4
|
422
449
|
summary: A graph database for Ruby
|