neo4j 5.0.0.rc.2 → 5.0.0.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/README.md +13 -13
- data/lib/neo4j/active_node/has_n.rb +7 -19
- data/lib/neo4j/active_node/has_n/association.rb +22 -3
- data/lib/neo4j/active_node/query/query_proxy.rb +2 -2
- data/lib/neo4j/active_node/validations.rb +1 -1
- data/lib/neo4j/active_rel/callbacks.rb +1 -1
- data/lib/neo4j/active_rel/property.rb +1 -1
- data/lib/neo4j/active_rel/related_node.rb +5 -0
- data/lib/neo4j/version.rb +1 -1
- metadata +114 -128
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc96b4d5b3007bf7da4b1894ad52a9a203171e44
|
4
|
+
data.tar.gz: ee8e0b05b7df72c85a4d5f6d661a668fa350dbb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5733ba5a5137b072f5e9dc0eded1bb0642a5361f0dffde0f6c257068b7f83db796967a6767b7683be8e454bfdfcd3e517f99ae9218357e853ea63472c319297
|
7
|
+
data.tar.gz: 8b287427507618a06e4e3f27fa58d4c7ceb6298a2042400dc77591657046680ceacd404accbf20afff71fe545f3dcbfb71736f336d45854d27541ab7b5cb3afd
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
## [Unreleased][unreleased]
|
7
7
|
- Nothing yet, placeholder
|
8
8
|
|
9
|
-
## [5.0.0] - 2015-05-20
|
9
|
+
## [5.0.0.rc.3] - 2015-05-20
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Associations now allow `unique` option. Error handling is generalized to make this testable (Thanks to @olance, see #824)
|
13
|
+
|
14
|
+
## [5.0.0.rc.2] - 2015-05-20
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
- Set Ruby version requirement back to 1.9.3 because of problems with JRuby
|
18
|
+
|
19
|
+
## [5.0.0.rc.1] - 2015-05-20
|
10
20
|
|
11
21
|
### Changed
|
12
22
|
- Ruby 2.0.0 now required (>= 2.2.1 is recommended)
|
data/README.md
CHANGED
@@ -40,22 +40,22 @@ Neo4j.rb v4.1.0 was released in January of 2015. Its changes are outlined [here]
|
|
40
40
|
|
41
41
|
## Neo4j version support
|
42
42
|
|
43
|
-
| **Neo4j Version** | v2.x | v3.x | v4.x |
|
44
|
-
|
45
|
-
| 1.9.x | Yes | No | No
|
46
|
-
| 2.0.x | No | Yes | No
|
47
|
-
| 2.1.x | No | Yes | Yes
|
48
|
-
| 2.2.x | No | No | Yes
|
43
|
+
| **Neo4j Version** | v2.x | v3.x | >= v4.x |
|
44
|
+
|-------------------|------|------|---------|
|
45
|
+
| 1.9.x | Yes | No | No |
|
46
|
+
| 2.0.x | No | Yes | No |
|
47
|
+
| 2.1.x | No | Yes | Yes |
|
48
|
+
| 2.2.x | No | No | Yes |
|
49
49
|
|
50
50
|
## Neo4j feature support
|
51
51
|
|
52
|
-
| **Neo4j Feature** | v2.x | v3.x | v4.x |
|
53
|
-
|
54
|
-
| Auth | No | No | Yes
|
55
|
-
| Remote Cypher | Yes | Yes | Yes
|
56
|
-
| Transactions | Yes | Yes | Yes
|
57
|
-
| High Availability | No | Yes | Yes
|
58
|
-
| Embedded JVM support | Yes | Yes | Yes
|
52
|
+
| **Neo4j Feature** | v2.x | v3.x | >= v4.x |
|
53
|
+
|----------------------------|--------|------|---------|
|
54
|
+
| Auth | No | No | Yes |
|
55
|
+
| Remote Cypher | Yes | Yes | Yes |
|
56
|
+
| Transactions | Yes | Yes | Yes |
|
57
|
+
| High Availability | No | Yes | Yes |
|
58
|
+
| Embedded JVM support | Yes | Yes | Yes |
|
59
59
|
|
60
60
|
## Modern (3.x/4.X) Documentation
|
61
61
|
|
@@ -292,7 +292,6 @@ module Neo4j::ActiveNode
|
|
292
292
|
# (note that the ``:destroy_orphans`` option is known to be "very metal". Caution advised)
|
293
293
|
#
|
294
294
|
def has_many(direction, name, options = {}) # rubocop:disable Style/PredicateName
|
295
|
-
validate_association_options!(name, options)
|
296
295
|
name = name.to_sym
|
297
296
|
build_association(:has_many, direction, name, options)
|
298
297
|
|
@@ -310,7 +309,6 @@ module Neo4j::ActiveNode
|
|
310
309
|
# not specified here
|
311
310
|
#
|
312
311
|
def has_one(direction, name, options = {}) # rubocop:disable Style/PredicateName
|
313
|
-
validate_association_options!(name, options)
|
314
312
|
name = name.to_sym
|
315
313
|
build_association(:has_one, direction, name, options)
|
316
314
|
|
@@ -319,22 +317,6 @@ module Neo4j::ActiveNode
|
|
319
317
|
|
320
318
|
private
|
321
319
|
|
322
|
-
VALID_ASSOCIATION_OPTION_KEYS = [:type, :origin, :model_class, :rel_class, :dependent, :before, :after]
|
323
|
-
|
324
|
-
def validate_association_options!(association_name, options)
|
325
|
-
type_keys = (options.keys & [:type, :origin, :rel_class])
|
326
|
-
message = case
|
327
|
-
when type_keys.size > 1
|
328
|
-
"Only one of 'type', 'origin', or 'rel_class' options are allowed for associations (#{self.class}##{association_name})"
|
329
|
-
when type_keys.empty?
|
330
|
-
"The 'type' option must be specified( even if it is `nil`) or `origin`/`rel_class` must be specified (#{self.class}##{association_name})"
|
331
|
-
when (unknown_keys = options.keys - VALID_ASSOCIATION_OPTION_KEYS).size > 0
|
332
|
-
"Unknown option(s) specified: #{unknown_keys.join(', ')} (#{self.class}##{association_name})"
|
333
|
-
end
|
334
|
-
|
335
|
-
fail ArgumentError, message if message
|
336
|
-
end
|
337
|
-
|
338
320
|
def define_has_many_methods(name)
|
339
321
|
define_method(name) do |node = nil, rel = nil, options = {}|
|
340
322
|
return [].freeze unless self._persisted_obj
|
@@ -435,12 +417,18 @@ module Neo4j::ActiveNode
|
|
435
417
|
end
|
436
418
|
|
437
419
|
def build_association(macro, direction, name, options)
|
438
|
-
associations_keys << name
|
439
420
|
Neo4j::ActiveNode::HasN::Association.new(macro, direction, name, options).tap do |association|
|
440
421
|
@associations ||= {}
|
441
422
|
@associations[name] = association
|
442
423
|
create_reflection(macro, name, association, self)
|
443
424
|
end
|
425
|
+
|
426
|
+
associations_keys << name
|
427
|
+
|
428
|
+
# Re-raise any exception with added class name and association name to
|
429
|
+
# make sure error message is helpful
|
430
|
+
rescue StandardError => e
|
431
|
+
raise e.class, "#{e.message} (#{self.class}##{name})"
|
444
432
|
end
|
445
433
|
end
|
446
434
|
end
|
@@ -8,8 +8,8 @@ module Neo4j
|
|
8
8
|
include Neo4j::ActiveNode::Dependent::AssociationMethods
|
9
9
|
attr_reader :type, :name, :relationship, :direction, :dependent
|
10
10
|
|
11
|
-
def initialize(type, direction, name, options = {})
|
12
|
-
validate_init_arguments(type, direction, options)
|
11
|
+
def initialize(type, direction, name, options = {type: nil})
|
12
|
+
validate_init_arguments(type, direction, name, options)
|
13
13
|
@type = type.to_sym
|
14
14
|
@name = name
|
15
15
|
@direction = direction.to_sym
|
@@ -195,12 +195,31 @@ module Neo4j
|
|
195
195
|
"#{type} #{direction.inspect}, #{name.inspect}"
|
196
196
|
end
|
197
197
|
|
198
|
-
def validate_init_arguments(type, direction, options)
|
198
|
+
def validate_init_arguments(type, direction, name, options)
|
199
|
+
validate_association_options!(name, options)
|
199
200
|
validate_option_combinations(options)
|
200
201
|
validate_dependent(options[:dependent].try(:to_sym))
|
201
202
|
check_valid_type_and_dir(type, direction)
|
202
203
|
end
|
203
204
|
|
205
|
+
VALID_ASSOCIATION_OPTION_KEYS = [:type, :origin, :model_class,
|
206
|
+
:rel_class, :dependent, :before,
|
207
|
+
:after, :unique]
|
208
|
+
|
209
|
+
def validate_association_options!(_association_name, options)
|
210
|
+
type_keys = (options.keys & [:type, :origin, :rel_class])
|
211
|
+
message = case
|
212
|
+
when type_keys.size > 1
|
213
|
+
"Only one of 'type', 'origin', or 'rel_class' options are allowed for associations"
|
214
|
+
when type_keys.empty?
|
215
|
+
"The 'type' option must be specified( even if it is `nil`) or `origin`/`rel_class` must be specified"
|
216
|
+
when (unknown_keys = options.keys - VALID_ASSOCIATION_OPTION_KEYS).size > 0
|
217
|
+
"Unknown option(s) specified: #{unknown_keys.join(', ')}"
|
218
|
+
end
|
219
|
+
|
220
|
+
fail ArgumentError, message if message
|
221
|
+
end
|
222
|
+
|
204
223
|
def check_valid_type_and_dir(type, direction)
|
205
224
|
fail ArgumentError, "Invalid association type: #{type.inspect} (valid value: :has_many and :has_one)" if ![:has_many, :has_one].include?(type.to_sym)
|
206
225
|
fail ArgumentError, "Invalid direction: #{direction.inspect} (valid value: :out, :in, and :both)" if ![:out, :in, :both].include?(direction.to_sym)
|
@@ -228,8 +228,8 @@ module Neo4j
|
|
228
228
|
end
|
229
229
|
end
|
230
230
|
|
231
|
-
def
|
232
|
-
(@model && @model.respond_to?(method_name)) || super
|
231
|
+
def respond_to_missing?(method_name, include_all = false)
|
232
|
+
(@model && @model.respond_to?(method_name, include_all)) || super
|
233
233
|
end
|
234
234
|
|
235
235
|
# Give ability to call `#find` on associations to get a scoped find
|
@@ -40,7 +40,7 @@ module Neo4j
|
|
40
40
|
conditions[attribute] = options[:case_sensitive] ? value : /^#{Regexp.escape(value.to_s)}$/i
|
41
41
|
|
42
42
|
found = record.class.as(:result).where(conditions)
|
43
|
-
found = found.where('ID(result) <> {record_neo_id}').params(record_neo_id: record.neo_id) if record.
|
43
|
+
found = found.where('ID(result) <> {record_neo_id}').params(record_neo_id: record.neo_id) if record._persisted_obj
|
44
44
|
found
|
45
45
|
end
|
46
46
|
|
@@ -5,7 +5,7 @@ module Neo4j
|
|
5
5
|
include Neo4j::Shared::Callbacks
|
6
6
|
|
7
7
|
def save(*args)
|
8
|
-
unless
|
8
|
+
unless _persisted_obj || (from_node.respond_to?(:neo_id) && to_node.respond_to?(:neo_id))
|
9
9
|
fail Neo4j::ActiveRel::Persistence::RelInvalidError, 'from_node and to_node must be node objects'
|
10
10
|
end
|
11
11
|
super(*args)
|
@@ -6,7 +6,7 @@ module Neo4j::ActiveRel
|
|
6
6
|
%w(to_node from_node).each do |direction|
|
7
7
|
define_method("#{direction}") { instance_variable_get("@#{direction}") }
|
8
8
|
define_method("#{direction}=") do |argument|
|
9
|
-
fail FrozenRelError, 'Relationship start/end nodes cannot be changed once persisted' if
|
9
|
+
fail FrozenRelError, 'Relationship start/end nodes cannot be changed once persisted' if _persisted_obj
|
10
10
|
instance_variable_set("@#{direction}", argument)
|
11
11
|
end
|
12
12
|
end
|
@@ -42,6 +42,11 @@ module Neo4j::ActiveRel
|
|
42
42
|
loaded.send(*args, &block)
|
43
43
|
end
|
44
44
|
|
45
|
+
def respond_to_missing?(method_name, include_private = false)
|
46
|
+
loaded if @node.is_a?(Integer)
|
47
|
+
@node.respond_to?(method_name) ? true : super
|
48
|
+
end
|
49
|
+
|
45
50
|
def class
|
46
51
|
loaded.send(:class)
|
47
52
|
end
|
data/lib/neo4j/version.rb
CHANGED
metadata
CHANGED
@@ -1,225 +1,211 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.rc.
|
4
|
+
version: 5.0.0.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge, Brian Underwood, Chris Grigg
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: orm_adapter
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.5.0
|
20
15
|
requirement: !ruby/object:Gem::Requirement
|
21
16
|
requirements:
|
22
|
-
- - ~>
|
17
|
+
- - "~>"
|
23
18
|
- !ruby/object:Gem::Version
|
24
19
|
version: 0.5.0
|
25
|
-
prerelease: false
|
26
20
|
type: :runtime
|
27
|
-
|
28
|
-
name: activemodel
|
21
|
+
prerelease: false
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- - ~>
|
24
|
+
- - "~>"
|
32
25
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
26
|
+
version: 0.5.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activemodel
|
34
29
|
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
|
-
- - ~>
|
31
|
+
- - "~>"
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: '4'
|
39
|
-
prerelease: false
|
40
34
|
type: :runtime
|
41
|
-
|
42
|
-
name: activesupport
|
35
|
+
prerelease: false
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
44
37
|
requirements:
|
45
|
-
- - ~>
|
38
|
+
- - "~>"
|
46
39
|
- !ruby/object:Gem::Version
|
47
40
|
version: '4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activesupport
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
44
|
requirements:
|
50
|
-
- - ~>
|
45
|
+
- - "~>"
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: '4'
|
53
|
-
prerelease: false
|
54
48
|
type: :runtime
|
55
|
-
|
56
|
-
name: active_attr
|
49
|
+
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: active_attr
|
62
57
|
requirement: !ruby/object:Gem::Requirement
|
63
58
|
requirements:
|
64
|
-
- - ~>
|
59
|
+
- - "~>"
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: '0.8'
|
67
|
-
prerelease: false
|
68
62
|
type: :runtime
|
69
|
-
|
70
|
-
name: neo4j-core
|
63
|
+
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
65
|
requirements:
|
73
|
-
- -
|
66
|
+
- - "~>"
|
74
67
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
68
|
+
version: '0.8'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: neo4j-core
|
76
71
|
requirement: !ruby/object:Gem::Requirement
|
77
72
|
requirements:
|
78
|
-
- -
|
73
|
+
- - ">="
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: 5.0.0.rc.1
|
81
|
-
prerelease: false
|
82
76
|
type: :runtime
|
83
|
-
|
84
|
-
name: neo4j-community
|
77
|
+
prerelease: false
|
85
78
|
version_requirements: !ruby/object:Gem::Requirement
|
86
79
|
requirements:
|
87
|
-
- -
|
80
|
+
- - ">="
|
88
81
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
82
|
+
version: 5.0.0.rc.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: railties
|
90
85
|
requirement: !ruby/object:Gem::Requirement
|
91
86
|
requirements:
|
92
|
-
- - ~>
|
87
|
+
- - "~>"
|
93
88
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
89
|
+
version: '4'
|
90
|
+
type: :development
|
95
91
|
prerelease: false
|
96
|
-
type: :runtime
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: railties
|
99
92
|
version_requirements: !ruby/object:Gem::Requirement
|
100
93
|
requirements:
|
101
|
-
- - ~>
|
94
|
+
- - "~>"
|
102
95
|
- !ruby/object:Gem::Version
|
103
96
|
version: '4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
104
99
|
requirement: !ruby/object:Gem::Requirement
|
105
100
|
requirements:
|
106
|
-
- -
|
101
|
+
- - ">="
|
107
102
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
109
|
-
prerelease: false
|
103
|
+
version: '0'
|
110
104
|
type: :development
|
111
|
-
|
112
|
-
name: pry
|
105
|
+
prerelease: false
|
113
106
|
version_requirements: !ruby/object:Gem::Requirement
|
114
107
|
requirements:
|
115
|
-
- -
|
108
|
+
- - ">="
|
116
109
|
- !ruby/object:Gem::Version
|
117
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: os
|
118
113
|
requirement: !ruby/object:Gem::Requirement
|
119
114
|
requirements:
|
120
|
-
- -
|
115
|
+
- - ">="
|
121
116
|
- !ruby/object:Gem::Version
|
122
117
|
version: '0'
|
123
|
-
prerelease: false
|
124
118
|
type: :development
|
125
|
-
|
126
|
-
name: os
|
119
|
+
prerelease: false
|
127
120
|
version_requirements: !ruby/object:Gem::Requirement
|
128
121
|
requirements:
|
129
|
-
- -
|
122
|
+
- - ">="
|
130
123
|
- !ruby/object:Gem::Version
|
131
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
132
127
|
requirement: !ruby/object:Gem::Requirement
|
133
128
|
requirements:
|
134
|
-
- -
|
129
|
+
- - ">="
|
135
130
|
- !ruby/object:Gem::Version
|
136
131
|
version: '0'
|
137
|
-
prerelease: false
|
138
132
|
type: :development
|
139
|
-
|
140
|
-
name: rake
|
133
|
+
prerelease: false
|
141
134
|
version_requirements: !ruby/object:Gem::Requirement
|
142
135
|
requirements:
|
143
|
-
- -
|
136
|
+
- - ">="
|
144
137
|
- !ruby/object:Gem::Version
|
145
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: yard
|
146
141
|
requirement: !ruby/object:Gem::Requirement
|
147
142
|
requirements:
|
148
|
-
- -
|
143
|
+
- - ">="
|
149
144
|
- !ruby/object:Gem::Version
|
150
145
|
version: '0'
|
151
|
-
prerelease: false
|
152
146
|
type: :development
|
153
|
-
|
154
|
-
name: yard
|
147
|
+
prerelease: false
|
155
148
|
version_requirements: !ruby/object:Gem::Requirement
|
156
149
|
requirements:
|
157
|
-
- -
|
150
|
+
- - ">="
|
158
151
|
- !ruby/object:Gem::Version
|
159
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard
|
160
155
|
requirement: !ruby/object:Gem::Requirement
|
161
156
|
requirements:
|
162
|
-
- -
|
157
|
+
- - ">="
|
163
158
|
- !ruby/object:Gem::Version
|
164
159
|
version: '0'
|
165
|
-
prerelease: false
|
166
160
|
type: :development
|
167
|
-
|
168
|
-
name: guard
|
161
|
+
prerelease: false
|
169
162
|
version_requirements: !ruby/object:Gem::Requirement
|
170
163
|
requirements:
|
171
|
-
- -
|
164
|
+
- - ">="
|
172
165
|
- !ruby/object:Gem::Version
|
173
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: guard-rubocop
|
174
169
|
requirement: !ruby/object:Gem::Requirement
|
175
170
|
requirements:
|
176
|
-
- -
|
171
|
+
- - ">="
|
177
172
|
- !ruby/object:Gem::Version
|
178
173
|
version: '0'
|
179
|
-
prerelease: false
|
180
174
|
type: :development
|
181
|
-
|
182
|
-
name: guard-rubocop
|
175
|
+
prerelease: false
|
183
176
|
version_requirements: !ruby/object:Gem::Requirement
|
184
177
|
requirements:
|
185
|
-
- -
|
178
|
+
- - ">="
|
186
179
|
- !ruby/object:Gem::Version
|
187
180
|
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: guard-rspec
|
188
183
|
requirement: !ruby/object:Gem::Requirement
|
189
184
|
requirements:
|
190
|
-
- -
|
185
|
+
- - ">="
|
191
186
|
- !ruby/object:Gem::Version
|
192
187
|
version: '0'
|
193
|
-
prerelease: false
|
194
188
|
type: :development
|
195
|
-
|
196
|
-
name: guard-rspec
|
189
|
+
prerelease: false
|
197
190
|
version_requirements: !ruby/object:Gem::Requirement
|
198
191
|
requirements:
|
199
|
-
- -
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
202
|
-
requirement: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - '>='
|
192
|
+
- - ">="
|
205
193
|
- !ruby/object:Gem::Version
|
206
194
|
version: '0'
|
207
|
-
prerelease: false
|
208
|
-
type: :development
|
209
195
|
- !ruby/object:Gem::Dependency
|
210
196
|
name: rubocop
|
211
|
-
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
212
198
|
requirements:
|
213
|
-
- - ~>
|
199
|
+
- - "~>"
|
214
200
|
- !ruby/object:Gem::Version
|
215
201
|
version: 0.29.1
|
216
|
-
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
205
|
requirements:
|
218
|
-
- - ~>
|
206
|
+
- - "~>"
|
219
207
|
- !ruby/object:Gem::Version
|
220
208
|
version: 0.29.1
|
221
|
-
prerelease: false
|
222
|
-
type: :development
|
223
209
|
description: |
|
224
210
|
A Neo4j OGM (Object-Graph-Mapper) for use in Ruby on Rails and Rack frameworks heavily inspired by ActiveRecord.
|
225
211
|
email: andreas.ronge@gmail.com, brian@brian-underwood.codes, chris@subvertallmedia.com
|
@@ -229,22 +215,22 @@ extensions: []
|
|
229
215
|
extra_rdoc_files:
|
230
216
|
- README.md
|
231
217
|
files:
|
218
|
+
- CHANGELOG.md
|
219
|
+
- CONTRIBUTORS
|
220
|
+
- Gemfile
|
221
|
+
- README.md
|
232
222
|
- bin/neo4j-jars
|
223
|
+
- config/locales/en.yml
|
224
|
+
- config/neo4j/add_classnames.yml
|
225
|
+
- config/neo4j/config.yml
|
233
226
|
- lib/neo4j.rb
|
234
227
|
- lib/neo4j/active_node.rb
|
235
|
-
- lib/neo4j/active_rel.rb
|
236
|
-
- lib/neo4j/config.rb
|
237
|
-
- lib/neo4j/errors.rb
|
238
|
-
- lib/neo4j/migration.rb
|
239
|
-
- lib/neo4j/paginated.rb
|
240
|
-
- lib/neo4j/railtie.rb
|
241
|
-
- lib/neo4j/shared.rb
|
242
|
-
- lib/neo4j/type_converters.rb
|
243
|
-
- lib/neo4j/version.rb
|
244
|
-
- lib/neo4j/wrapper.rb
|
245
228
|
- lib/neo4j/active_node/callbacks.rb
|
246
229
|
- lib/neo4j/active_node/dependent.rb
|
230
|
+
- lib/neo4j/active_node/dependent/association_methods.rb
|
231
|
+
- lib/neo4j/active_node/dependent/query_proxy_methods.rb
|
247
232
|
- lib/neo4j/active_node/has_n.rb
|
233
|
+
- lib/neo4j/active_node/has_n/association.rb
|
248
234
|
- lib/neo4j/active_node/id_property.rb
|
249
235
|
- lib/neo4j/active_node/initialize.rb
|
250
236
|
- lib/neo4j/active_node/labels.rb
|
@@ -253,19 +239,17 @@ files:
|
|
253
239
|
- lib/neo4j/active_node/persistence.rb
|
254
240
|
- lib/neo4j/active_node/property.rb
|
255
241
|
- lib/neo4j/active_node/query.rb
|
256
|
-
- lib/neo4j/active_node/query_methods.rb
|
257
|
-
- lib/neo4j/active_node/reflection.rb
|
258
|
-
- lib/neo4j/active_node/rels.rb
|
259
|
-
- lib/neo4j/active_node/scope.rb
|
260
|
-
- lib/neo4j/active_node/validations.rb
|
261
|
-
- lib/neo4j/active_node/dependent/association_methods.rb
|
262
|
-
- lib/neo4j/active_node/dependent/query_proxy_methods.rb
|
263
|
-
- lib/neo4j/active_node/has_n/association.rb
|
264
242
|
- lib/neo4j/active_node/query/query_proxy.rb
|
265
243
|
- lib/neo4j/active_node/query/query_proxy_enumerable.rb
|
266
244
|
- lib/neo4j/active_node/query/query_proxy_find_in_batches.rb
|
267
245
|
- lib/neo4j/active_node/query/query_proxy_link.rb
|
268
246
|
- lib/neo4j/active_node/query/query_proxy_methods.rb
|
247
|
+
- lib/neo4j/active_node/query_methods.rb
|
248
|
+
- lib/neo4j/active_node/reflection.rb
|
249
|
+
- lib/neo4j/active_node/rels.rb
|
250
|
+
- lib/neo4j/active_node/scope.rb
|
251
|
+
- lib/neo4j/active_node/validations.rb
|
252
|
+
- lib/neo4j/active_rel.rb
|
269
253
|
- lib/neo4j/active_rel/callbacks.rb
|
270
254
|
- lib/neo4j/active_rel/initialize.rb
|
271
255
|
- lib/neo4j/active_rel/persistence.rb
|
@@ -275,7 +259,13 @@ files:
|
|
275
259
|
- lib/neo4j/active_rel/related_node.rb
|
276
260
|
- lib/neo4j/active_rel/types.rb
|
277
261
|
- lib/neo4j/active_rel/validations.rb
|
262
|
+
- lib/neo4j/config.rb
|
278
263
|
- lib/neo4j/core/query.rb
|
264
|
+
- lib/neo4j/errors.rb
|
265
|
+
- lib/neo4j/migration.rb
|
266
|
+
- lib/neo4j/paginated.rb
|
267
|
+
- lib/neo4j/railtie.rb
|
268
|
+
- lib/neo4j/shared.rb
|
279
269
|
- lib/neo4j/shared/callbacks.rb
|
280
270
|
- lib/neo4j/shared/declared_property.rb
|
281
271
|
- lib/neo4j/shared/declared_property_manager.rb
|
@@ -288,46 +278,42 @@ files:
|
|
288
278
|
- lib/neo4j/shared/typecaster.rb
|
289
279
|
- lib/neo4j/shared/validations.rb
|
290
280
|
- lib/neo4j/tasks/migration.rake
|
291
|
-
- lib/
|
281
|
+
- lib/neo4j/type_converters.rb
|
282
|
+
- lib/neo4j/version.rb
|
283
|
+
- lib/neo4j/wrapper.rb
|
292
284
|
- lib/rails/generators/neo4j/model/model_generator.rb
|
293
285
|
- lib/rails/generators/neo4j/model/templates/model.erb
|
294
|
-
-
|
295
|
-
- config/neo4j/add_classnames.yml
|
296
|
-
- config/neo4j/config.yml
|
297
|
-
- README.md
|
298
|
-
- CHANGELOG.md
|
299
|
-
- CONTRIBUTORS
|
300
|
-
- Gemfile
|
286
|
+
- lib/rails/generators/neo4j_generator.rb
|
301
287
|
- neo4j.gemspec
|
302
288
|
homepage: https://github.com/neo4jrb/neo4j/
|
303
289
|
licenses:
|
304
290
|
- MIT
|
305
291
|
metadata: {}
|
306
|
-
post_install_message:
|
292
|
+
post_install_message:
|
307
293
|
rdoc_options:
|
308
|
-
- --quiet
|
309
|
-
- --title
|
294
|
+
- "--quiet"
|
295
|
+
- "--title"
|
310
296
|
- Neo4j.rb
|
311
|
-
- --line-numbers
|
312
|
-
- --main
|
297
|
+
- "--line-numbers"
|
298
|
+
- "--main"
|
313
299
|
- README.rdoc
|
314
|
-
- --inline-source
|
300
|
+
- "--inline-source"
|
315
301
|
require_paths:
|
316
302
|
- lib
|
317
303
|
required_ruby_version: !ruby/object:Gem::Requirement
|
318
304
|
requirements:
|
319
|
-
- -
|
305
|
+
- - ">="
|
320
306
|
- !ruby/object:Gem::Version
|
321
307
|
version: 1.9.3
|
322
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
323
309
|
requirements:
|
324
|
-
- -
|
310
|
+
- - ">"
|
325
311
|
- !ruby/object:Gem::Version
|
326
312
|
version: 1.3.1
|
327
313
|
requirements: []
|
328
314
|
rubyforge_project: neo4j
|
329
|
-
rubygems_version: 2.
|
330
|
-
signing_key:
|
315
|
+
rubygems_version: 2.4.5
|
316
|
+
signing_key:
|
331
317
|
specification_version: 4
|
332
318
|
summary: A graph database for Ruby
|
333
319
|
test_files: []
|