activegraph 11.0.0.beta.3-java → 11.0.2-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: dabd800eb8d7b51eeab984f1c12f1fe1a98f74fa5f574d3cb7c4be8b5bcc6639
4
- data.tar.gz: da816f07c51ebef78a442b4f7596bcaa00e2ba53a44c94241c993f433d837713
3
+ metadata.gz: a4166cc1b843272f4eacbbde0144882609fe8fbfb0089eb61653c2c9b360fe44
4
+ data.tar.gz: 953f128a161f3dbf18ddfd7e40f12be17b973e16c5e0a4fea214b651c840b0bd
5
5
  SHA512:
6
- metadata.gz: a6ff1e6885692740d539587f378f760e9b5818aff573820d8abf7d3666398ab78ed3f1a1ed129b9c3e19392e97e1eb7057a970e058bbc4afdfdc051689fc631d
7
- data.tar.gz: ae09dcb6d8a79a38495c3065fa51d15ebf2a07c411553a1d582687b1662d036912a6fff8fcfce2b354c9b3d5307578cf1d12ff1b085219006f36bfc93e28223f
6
+ metadata.gz: 23dbd470448b5821cc78081740a0f11f3e3509dc1e79ba9ece54b6cd75cb50c99bba99c8e33ff3a8c4c055bcca06dd059643b2e1586b04d79bdffc389047918f
7
+ data.tar.gz: 7f8cb871d7b3e502a847d6de6575abdc85306ffa308c9b17a03855696930c5f4d08f6a624645f3d3fe75208bbe650272a012144388083af8f4a4ee010ed2aa7f
data/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@ 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.2] 2021-11-05
7
+
8
+ ## Fixed
9
+
10
+ - Fixed issue where some has_one relationships where incorrectly deleted disregarding direction
11
+
12
+ ## [11.0.1] 2021-07-14
13
+
14
+ - It changes the relationship length assignment in query proxy eagerloading module to be consistent with query proxy relationship length syntax.
15
+
16
+ ## [11.0.0] 2021-06-25
17
+
18
+ ## Added
19
+
20
+ - support for neo4j 4.1, 4.2, 4.3
21
+
22
+ ## [10.1.0] 2021-02-05
23
+
24
+ ## Added
25
+
26
+ - support for ruby 3.0.0
27
+
28
+ ## [10.0.2] 2020-12-08
29
+
30
+ ## Fixed
31
+
32
+ - fixed bad require (https://github.com/neo4jrb/activegraph/issues/1634)
33
+ - removed unused exception class (Thanks @joshjordan)
34
+ - prevented after_commit callbacks from being called multiple times (Thanks @joshjordan)
35
+
6
36
  ## [10.0.1] 2020-07-26
7
37
 
8
38
  ## 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.0 |
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, 3.5 | No | No | No | Yes | Yes |
57
- | 4.0 | No | No | No | No | Yes |
58
- | 4.1 | No | No | No | No | No |
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.3.0') # version 1.3.0 introduced a bug with `symbolize_key`
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("neo4j-java-driver", '~> 4.1.0.beta.2')
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
- read_transaction do
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(result, row), properties: properties(row),
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
- session do |session|
24
- session.read_transaction do |tx|
25
- tx.run('CALL db.indexes()')
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(result, row)
44
- if v34?(result)
45
+ def label(keys, row)
46
+ if v34?(keys)
45
47
  row[:label]
46
48
  else
47
- (v4?(result) ? row[:labelsOrTypes] : row[:tokenNames]).first
49
+ (v4?(keys) ? row[:labelsOrTypes] : row[:tokenNames]).first
48
50
  end.to_sym
49
51
  end
50
52
 
51
- def v4?(result)
53
+ def v4?(keys)
52
54
  return @v4 unless @v4.nil?
53
- @v4 = result.keys.include?(:labelsOrTypes)
55
+ @v4 = keys.include?(:labelsOrTypes)
54
56
  end
55
57
 
56
- def v34?(result)
58
+ def v34?(keys)
57
59
  return @v34 unless @v34.nil?
58
- @v34 = result.keys.include?(:label)
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'.freeze
5
- SEPARATOR = '--------------------------------------------------'.freeze
6
- FILE_MISSING = '**** file missing ****'.freeze
7
- STATUS_TABLE_HEADER = ['Status'.freeze, 'Migration ID'.freeze, 'Migration Name'.freeze].freeze
8
- UP_MESSAGE = 'up'.freeze
9
- DOWN_MESSAGE = 'down'.freeze
10
- INCOMPLETE_MESSAGE = 'incomplete'.freeze
11
- MIGRATION_RUNNING = {up: 'running'.freeze, down: 'reverting'.freeze}.freeze
12
- MIGRATION_DONE = {up: 'migrated'.freeze, down: 'reverted'.freeze}.freeze
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']
@@ -24,11 +24,12 @@ module ActiveGraph
24
24
  end
25
25
 
26
26
  def fetch_index_descriptions
27
- result = ActiveGraph::Base.query('CALL db.indexes()')
28
- if result.keys.include?(:description)
29
- v3_indexes(result)
30
- else
31
- v4_indexes(result)
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
32
33
  end
33
34
  end
34
35
 
@@ -253,8 +253,10 @@ module ActiveGraph::Node
253
253
 
254
254
  def relationship_corresponding_rel(relationship, direction, target_class)
255
255
  self.class.associations.find do |_key, assoc|
256
- assoc.relationship_class_name == relationship.class.name ||
257
- (assoc.relationship_type == relationship.type.to_sym && assoc.target_class == target_class && assoc.direction == direction)
256
+ assoc.direction == direction && (
257
+ assoc.relationship_class_name == relationship.class.name ||
258
+ (assoc.relationship_type == relationship.type.to_sym && assoc.target_class == target_class)
259
+ )
258
260
  end
259
261
  end
260
262
 
@@ -58,6 +58,7 @@ module ActiveGraph
58
58
  def process_string(str)
59
59
  head, rest = str.split('.', 2)
60
60
  k, length = head.split('*', -2)
61
+ length = {max: length} if length
61
62
  add_nested(k.to_sym, rest, length)
62
63
  end
63
64
 
@@ -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
- if rel_length
161
- rel_name = nil
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'] || 'http://localhost:7474'
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)
@@ -181,7 +180,7 @@ class #{migration_class_name} < ActiveGraph::Migrations::Base
181
180
  drop_#{index_or_constraint} #{label.to_sym.inspect}, #{property_name.to_sym.inspect}
182
181
  end
183
182
  end
184
- CONTENT
183
+ CONTENT
185
184
 
186
185
  File.open(path, 'w') { |f| f << content }
187
186
 
@@ -1,3 +1,3 @@
1
1
  module ActiveGraph
2
- VERSION = '11.0.0.beta.3'
2
+ VERSION = '11.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.0.beta.3
4
+ version: 11.0.2
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: 2020-09-24 00:00:00.000000000 Z
11
+ date: 2021-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -17,8 +17,8 @@ dependencies:
17
17
  - !ruby/object:Gem::Version
18
18
  version: '4.0'
19
19
  name: activemodel
20
- type: :runtime
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
@@ -31,8 +31,8 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.0'
33
33
  name: activesupport
34
- type: :runtime
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
@@ -43,15 +43,15 @@ dependencies:
43
43
  requirements:
44
44
  - - "!="
45
45
  - !ruby/object:Gem::Version
46
- version: 1.3.0
46
+ version: 1.8.8
47
47
  name: i18n
48
- type: :runtime
49
48
  prerelease: false
49
+ type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "!="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.3.0
54
+ version: 1.8.8
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
@@ -59,8 +59,8 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: 0.5.0
61
61
  name: orm_adapter
62
- type: :runtime
63
62
  prerelease: false
63
+ type: :runtime
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
@@ -69,17 +69,31 @@ dependencies:
69
69
  - !ruby/object:Gem::Dependency
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 4.1.0.beta.2
75
- name: neo4j-java-driver
74
+ version: '0'
75
+ name: sorted_set
76
+ prerelease: false
76
77
  type: :runtime
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 4.3.0
89
+ name: neo4j-java-driver
77
90
  prerelease: false
91
+ type: :runtime
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - "~>"
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: 4.1.0.beta.2
96
+ version: 4.3.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  requirement: !ruby/object:Gem::Requirement
85
99
  requirements:
@@ -87,8 +101,8 @@ dependencies:
87
101
  - !ruby/object:Gem::Version
88
102
  version: '0'
89
103
  name: guard
90
- type: :development
91
104
  prerelease: false
105
+ type: :development
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - ">="
@@ -101,8 +115,8 @@ dependencies:
101
115
  - !ruby/object:Gem::Version
102
116
  version: '0'
103
117
  name: guard-rspec
104
- type: :development
105
118
  prerelease: false
119
+ type: :development
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - ">="
@@ -115,8 +129,8 @@ dependencies:
115
129
  - !ruby/object:Gem::Version
116
130
  version: '0'
117
131
  name: guard-rubocop
118
- type: :development
119
132
  prerelease: false
133
+ type: :development
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - ">="
@@ -129,8 +143,8 @@ dependencies:
129
143
  - !ruby/object:Gem::Version
130
144
  version: 0.3.0
131
145
  name: neo4j-rake_tasks
132
- type: :development
133
146
  prerelease: false
147
+ type: :development
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - ">="
@@ -143,8 +157,8 @@ dependencies:
143
157
  - !ruby/object:Gem::Version
144
158
  version: '0'
145
159
  name: os
146
- type: :development
147
160
  prerelease: false
161
+ type: :development
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - ">="
@@ -157,8 +171,8 @@ dependencies:
157
171
  - !ruby/object:Gem::Version
158
172
  version: '0'
159
173
  name: pry
160
- type: :development
161
174
  prerelease: false
175
+ type: :development
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
178
  - - ">="
@@ -171,8 +185,8 @@ dependencies:
171
185
  - !ruby/object:Gem::Version
172
186
  version: '4.0'
173
187
  name: railties
174
- type: :development
175
188
  prerelease: false
189
+ type: :development
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - ">="
@@ -185,8 +199,8 @@ dependencies:
185
199
  - !ruby/object:Gem::Version
186
200
  version: '0'
187
201
  name: rake
188
- type: :development
189
202
  prerelease: false
203
+ type: :development
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
206
  - - ">="
@@ -199,8 +213,8 @@ dependencies:
199
213
  - !ruby/object:Gem::Version
200
214
  version: 0.56.0
201
215
  name: rubocop
202
- type: :development
203
216
  prerelease: false
217
+ type: :development
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - ">="
@@ -213,8 +227,8 @@ dependencies:
213
227
  - !ruby/object:Gem::Version
214
228
  version: '0'
215
229
  name: yard
216
- type: :development
217
230
  prerelease: false
231
+ type: :development
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
234
  - - ">="
@@ -227,13 +241,27 @@ dependencies:
227
241
  - !ruby/object:Gem::Version
228
242
  version: '0'
229
243
  name: dryspec
230
- type: :development
231
244
  prerelease: false
245
+ type: :development
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - ">="
235
249
  - !ruby/object:Gem::Version
236
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ requirement: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - "<"
255
+ - !ruby/object:Gem::Version
256
+ version: '3.10'
257
+ name: rspec
258
+ prerelease: false
259
+ type: :development
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: 1.3.1
444
+ version: '0'
418
445
  requirements: []
419
- rubygems_version: 3.0.6
446
+ rubygems_version: 3.1.6
420
447
  signing_key:
421
448
  specification_version: 4
422
449
  summary: A graph database for Ruby
@@ -1,6 +0,0 @@
1
- module ActiveGraph
2
- module Core
3
- class ConnectionFailedError < StandardError;
4
- end
5
- end
6
- end