activegraph 11.5.0.beta.2 → 11.5.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -17
- data/lib/active_graph/railtie.rb +7 -5
- data/lib/active_graph/version.rb +1 -1
- data/lib/active_graph.rb +2 -0
- data/lib/rails/generators/migration_helper.rb +3 -0
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 604940d80ab31b1106ef275f0effdab6f9544ae52f517180f980cae6e29ab82e
|
4
|
+
data.tar.gz: 94b07c78a4bce3a3436b817ef8e615f7757e4df47302f2ba8c51585a85c4bb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54481d30d30ebd5715b84d63ae9160631d6871afbc83ad2fdef2b1f4421dc06c97923fdd7494a409f9524a333464cc89cb20e358c1ea376ba791e60ff3269c2a
|
7
|
+
data.tar.gz: e16d4ade7abc7a352ef55a5189d731e9656fe531ff6f13d4607b6df3170dea6ac657731bd12a4dbaaae709b4e7018349fdeda1bb40029b842e9c38a5bcf587db
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## Code Status
|
4
4
|
|
5
5
|
[![Actively Maintained](https://img.shields.io/badge/Maintenance%20Level-Actively%20Maintained-green.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)
|
6
|
-
[![Build Status](https://
|
6
|
+
[![Build Status](https://github.com/neo4jrb/activegraph/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/neo4jrb/activegraph/actions)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/neo4jrb/neo4j/badge.svg?branch=master)](https://coveralls.io/r/neo4jrb/neo4j?branch=master)
|
8
8
|
[![Code Climate](https://codeclimate.com/github/neo4jrb/neo4j.svg)](https://codeclimate.com/github/neo4jrb/neo4j)
|
9
9
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
### Documentation
|
13
13
|
|
14
|
-
All new documentation will be done via our [readthedocs](http://neo4jrb.readthedocs.org) site, though some old documentation has yet to be moved from our [wiki](https://github.com/neo4jrb/neo4j/wiki)
|
14
|
+
All new documentation will be done via our [readthedocs](http://neo4jrb.readthedocs.org) site, though some old documentation has yet to be moved from our [wiki](https://github.com/neo4jrb/neo4j/wiki)
|
15
15
|
|
16
16
|
### Contact Us
|
17
17
|
|
@@ -47,20 +47,20 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
|
|
47
47
|
|
48
48
|
| **Neo4j Version** | v2.x | v3.x | >= v4.x | >= 7.0.3 | activegraph 10 | activegraph 11.1 |
|
49
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
|
62
|
-
| 4.4 | No | No | No | No | No | Yes
|
63
|
-
| 5.x | No | No | No | No | No | Yes
|
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 |
|
62
|
+
| 4.4 | No | No | No | No | No | Yes |
|
63
|
+
| 5.x | No | No | No | No | No | Yes |
|
64
64
|
|
65
65
|
`*` 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
|
66
66
|
|
@@ -68,7 +68,7 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
|
|
68
68
|
|
69
69
|
| **Neo4j Feature** | v2.x | v3.x | >= v4.x | >= 8.x | >= activegraph 10.0 |
|
70
70
|
|----------------------------|--------|------|---------|--------|---------------------|
|
71
|
-
| Bolt Protocol | No | No | No | Yes | Yes |
|
71
|
+
| Bolt Protocol | No | No | No | Yes | Yes |
|
72
72
|
| Auth | No | No | Yes | Yes | Yes |
|
73
73
|
| Remote Cypher | Yes | Yes | Yes | Yes | No |
|
74
74
|
| Transactions | Yes | Yes | Yes | Yes | Yes |
|
data/lib/active_graph/railtie.rb
CHANGED
@@ -1,11 +1,6 @@
|
|
1
1
|
# Need the action_dispatch railtie to have action_dispatch.rescue_responses initialized correctly
|
2
2
|
require 'action_dispatch/railtie'
|
3
|
-
require 'rails/generators'
|
4
|
-
require 'rails/generators/active_model'
|
5
|
-
require 'rails/generators/named_base'
|
6
3
|
require 'rails/railtie'
|
7
|
-
require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
|
8
|
-
Rails::Generators::GeneratedAttribute.include ActiveGraph::Generators::GeneratedAttribute
|
9
4
|
require 'active_graph'
|
10
5
|
|
11
6
|
module ActiveGraph
|
@@ -44,6 +39,13 @@ module ActiveGraph
|
|
44
39
|
ActiveGraph::Config[:verbose_query_logs] = false
|
45
40
|
end
|
46
41
|
|
42
|
+
# By default, Rails loads generators from load path.
|
43
|
+
# However, if we want to place generators at a different location we have to use "generators" hook
|
44
|
+
# https://api.rubyonrails.org/classes/Rails/Railtie.html
|
45
|
+
generators do
|
46
|
+
require File.expand_path('../rails/generators/migration_helper.rb', __dir__)
|
47
|
+
end
|
48
|
+
|
47
49
|
# Starting Neo after :load_config_initializers allows apps to
|
48
50
|
# register migrations in config/initializers
|
49
51
|
initializer 'neo4j.start', after: :load_config_initializers do |app|
|
data/lib/active_graph/version.rb
CHANGED
data/lib/active_graph.rb
CHANGED
@@ -26,6 +26,8 @@ loader = Zeitwerk::Loader.for_gem
|
|
26
26
|
loader.ignore(File.expand_path('rails', __dir__))
|
27
27
|
loader.ignore(File.expand_path('active_graph/railtie.rb', __dir__))
|
28
28
|
loader.inflector.inflect("ansi" => "ANSI")
|
29
|
+
module ActiveGraph
|
30
|
+
end
|
29
31
|
loader.setup
|
30
32
|
# loader.eager_load
|
31
33
|
|
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.5.0.beta.
|
4
|
+
version: 11.5.0.beta.3
|
5
5
|
platform: ruby
|
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: 2024-01-
|
11
|
+
date: 2024-01-25 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: '7'
|
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: '7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: i18n
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - "!="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 1.8.8
|
33
|
-
name: i18n
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -39,6 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.8.8
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: neo4j-ruby-driver
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - ">="
|
@@ -47,7 +48,6 @@ dependencies:
|
|
47
48
|
- - "<"
|
48
49
|
- !ruby/object:Gem::Version
|
49
50
|
version: '5'
|
50
|
-
name: neo4j-ruby-driver
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -59,12 +59,12 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '5'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
|
+
name: orm_adapter
|
62
63
|
requirement: !ruby/object:Gem::Requirement
|
63
64
|
requirements:
|
64
65
|
- - ">="
|
65
66
|
- !ruby/object:Gem::Version
|
66
67
|
version: 0.5.0
|
67
|
-
name: orm_adapter
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -73,12 +73,12 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 0.5.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
+
name: sorted_set
|
76
77
|
requirement: !ruby/object:Gem::Requirement
|
77
78
|
requirements:
|
78
79
|
- - ">="
|
79
80
|
- !ruby/object:Gem::Version
|
80
81
|
version: '0'
|
81
|
-
name: sorted_set
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -87,12 +87,12 @@ dependencies:
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
|
+
name: guard
|
90
91
|
requirement: !ruby/object:Gem::Requirement
|
91
92
|
requirements:
|
92
93
|
- - ">="
|
93
94
|
- !ruby/object:Gem::Version
|
94
95
|
version: '0'
|
95
|
-
name: guard
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -101,12 +101,12 @@ dependencies:
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
|
+
name: guard-rspec
|
104
105
|
requirement: !ruby/object:Gem::Requirement
|
105
106
|
requirements:
|
106
107
|
- - ">="
|
107
108
|
- !ruby/object:Gem::Version
|
108
109
|
version: '0'
|
109
|
-
name: guard-rspec
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -115,12 +115,12 @@ dependencies:
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
|
+
name: guard-rubocop
|
118
119
|
requirement: !ruby/object:Gem::Requirement
|
119
120
|
requirements:
|
120
121
|
- - ">="
|
121
122
|
- !ruby/object:Gem::Version
|
122
123
|
version: '0'
|
123
|
-
name: guard-rubocop
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -129,12 +129,12 @@ dependencies:
|
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
|
+
name: neo4j-rake_tasks
|
132
133
|
requirement: !ruby/object:Gem::Requirement
|
133
134
|
requirements:
|
134
135
|
- - ">="
|
135
136
|
- !ruby/object:Gem::Version
|
136
137
|
version: 0.3.0
|
137
|
-
name: neo4j-rake_tasks
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -143,12 +143,12 @@ dependencies:
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 0.3.0
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
|
+
name: os
|
146
147
|
requirement: !ruby/object:Gem::Requirement
|
147
148
|
requirements:
|
148
149
|
- - ">="
|
149
150
|
- !ruby/object:Gem::Version
|
150
151
|
version: '0'
|
151
|
-
name: os
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -157,12 +157,12 @@ dependencies:
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
|
+
name: pry
|
160
161
|
requirement: !ruby/object:Gem::Requirement
|
161
162
|
requirements:
|
162
163
|
- - ">="
|
163
164
|
- !ruby/object:Gem::Version
|
164
165
|
version: '0'
|
165
|
-
name: pry
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -171,12 +171,12 @@ dependencies:
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
|
+
name: railties
|
174
175
|
requirement: !ruby/object:Gem::Requirement
|
175
176
|
requirements:
|
176
177
|
- - ">="
|
177
178
|
- !ruby/object:Gem::Version
|
178
179
|
version: '7'
|
179
|
-
name: railties
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -185,12 +185,12 @@ dependencies:
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '7'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
|
+
name: rake
|
188
189
|
requirement: !ruby/object:Gem::Requirement
|
189
190
|
requirements:
|
190
191
|
- - ">="
|
191
192
|
- !ruby/object:Gem::Version
|
192
193
|
version: '0'
|
193
|
-
name: rake
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -199,12 +199,12 @@ dependencies:
|
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
|
+
name: rubocop
|
202
203
|
requirement: !ruby/object:Gem::Requirement
|
203
204
|
requirements:
|
204
205
|
- - ">="
|
205
206
|
- !ruby/object:Gem::Version
|
206
207
|
version: 0.56.0
|
207
|
-
name: rubocop
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -213,12 +213,12 @@ dependencies:
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 0.56.0
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
|
+
name: yard
|
216
217
|
requirement: !ruby/object:Gem::Requirement
|
217
218
|
requirements:
|
218
219
|
- - ">="
|
219
220
|
- !ruby/object:Gem::Version
|
220
221
|
version: '0'
|
221
|
-
name: yard
|
222
222
|
type: :development
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -227,12 +227,12 @@ dependencies:
|
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
|
+
name: dryspec
|
230
231
|
requirement: !ruby/object:Gem::Requirement
|
231
232
|
requirements:
|
232
233
|
- - ">="
|
233
234
|
- !ruby/object:Gem::Version
|
234
235
|
version: '0'
|
235
|
-
name: dryspec
|
236
236
|
type: :development
|
237
237
|
prerelease: false
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -241,12 +241,12 @@ dependencies:
|
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: '0'
|
243
243
|
- !ruby/object:Gem::Dependency
|
244
|
+
name: rspec
|
244
245
|
requirement: !ruby/object:Gem::Requirement
|
245
246
|
requirements:
|
246
247
|
- - ">="
|
247
248
|
- !ruby/object:Gem::Version
|
248
249
|
version: '3.10'
|
249
|
-
name: rspec
|
250
250
|
type: :development
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -437,7 +437,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
437
437
|
- !ruby/object:Gem::Version
|
438
438
|
version: 1.3.1
|
439
439
|
requirements: []
|
440
|
-
rubygems_version: 3.
|
440
|
+
rubygems_version: 3.4.10
|
441
441
|
signing_key:
|
442
442
|
specification_version: 4
|
443
443
|
summary: A graph database for Ruby
|