neo4j 7.2.2 → 7.2.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 +6 -0
- data/Gemfile +1 -0
- data/lib/neo4j/active_node/query/query_proxy.rb +2 -5
- data/lib/neo4j/active_node/query/query_proxy_methods.rb +4 -0
- data/lib/neo4j/version.rb +1 -1
- metadata +47 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10c4a3071672ec1cbeeaf8c16a827491adf838ce
|
4
|
+
data.tar.gz: e372ea171b766c38f20ce48919e7c38f77e58a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1037a455e81fe4791f0c6ee1427eb1949a2b689ebf6a536046c0536bc2ecb62690ee0ac615e12bc099a60460372782bb558d2c378c5eb65d50f0550467d54d
|
7
|
+
data.tar.gz: 1b86a45979724c810b9dfdc137aa66f77b3705697dd9d0e6d6dabfdb5e934f02ac1e5c508f17a9be09e9588642edddbbb7e4059da3ce06e25daf5d1885d0a79e
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@ 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
|
+
## [7.2.3] - 09-28-2016
|
7
|
+
|
8
|
+
### Fixed
|
9
|
+
|
10
|
+
- `as` resetting scope of the current query chain (see #1298)
|
11
|
+
|
6
12
|
## [7.2.2] - 09-22-2016
|
7
13
|
|
8
14
|
### Fixed
|
data/Gemfile
CHANGED
@@ -186,11 +186,8 @@ module Neo4j
|
|
186
186
|
#
|
187
187
|
# @return [QueryProxy] A new QueryProxy
|
188
188
|
def branch(&block)
|
189
|
-
if block
|
190
|
-
|
191
|
-
else
|
192
|
-
fail LocalJumpError, 'no block given'
|
193
|
-
end
|
189
|
+
fail LocalJumpError, 'no block given' if block.nil?
|
190
|
+
instance_eval(&block).query.proxy_as(self.model, identity)
|
194
191
|
end
|
195
192
|
|
196
193
|
def [](index)
|
@@ -15,6 +15,10 @@ module Neo4j
|
|
15
15
|
rels.first
|
16
16
|
end
|
17
17
|
|
18
|
+
def as(node_var)
|
19
|
+
new_link(node_var)
|
20
|
+
end
|
21
|
+
|
18
22
|
# Give ability to call `#find` on associations to get a scoped find
|
19
23
|
# Doesn't pass through via `method_missing` because Enumerable has a `#find` method
|
20
24
|
def find(*args)
|
data/lib/neo4j/version.rb
CHANGED
metadata
CHANGED
@@ -1,31 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.
|
4
|
+
version: 7.2.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: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: orm_adapter
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: 0.5.0
|
20
|
-
|
19
|
+
name: orm_adapter
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: activemodel
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - ">="
|
@@ -34,8 +33,9 @@ dependencies:
|
|
34
33
|
- - "<"
|
35
34
|
- !ruby/object:Gem::Version
|
36
35
|
version: '5.1'
|
37
|
-
|
36
|
+
name: activemodel
|
38
37
|
prerelease: false
|
38
|
+
type: :runtime
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
@@ -45,7 +45,6 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '5.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name: activesupport
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
50
|
- - ">="
|
@@ -54,8 +53,9 @@ dependencies:
|
|
54
53
|
- - "<"
|
55
54
|
- !ruby/object:Gem::Version
|
56
55
|
version: '5.1'
|
57
|
-
|
56
|
+
name: activesupport
|
58
57
|
prerelease: false
|
58
|
+
type: :runtime
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
@@ -65,7 +65,6 @@ dependencies:
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '5.1'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
|
-
name: neo4j-core
|
69
68
|
requirement: !ruby/object:Gem::Requirement
|
70
69
|
requirements:
|
71
70
|
- - ">="
|
@@ -74,8 +73,9 @@ dependencies:
|
|
74
73
|
- - "<"
|
75
74
|
- !ruby/object:Gem::Version
|
76
75
|
version: 7.0.0
|
77
|
-
|
76
|
+
name: neo4j-core
|
78
77
|
prerelease: false
|
78
|
+
type: :runtime
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
@@ -85,7 +85,20 @@ dependencies:
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 7.0.0
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
|
-
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '2.0'
|
93
|
+
name: neo4j-community
|
94
|
+
prerelease: false
|
95
|
+
type: :runtime
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '2.0'
|
101
|
+
- !ruby/object:Gem::Dependency
|
89
102
|
requirement: !ruby/object:Gem::Requirement
|
90
103
|
requirements:
|
91
104
|
- - ">="
|
@@ -94,8 +107,9 @@ dependencies:
|
|
94
107
|
- - "<"
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: '5.1'
|
97
|
-
|
110
|
+
name: railties
|
98
111
|
prerelease: false
|
112
|
+
type: :development
|
99
113
|
version_requirements: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
@@ -105,112 +119,112 @@ dependencies:
|
|
105
119
|
- !ruby/object:Gem::Version
|
106
120
|
version: '5.1'
|
107
121
|
- !ruby/object:Gem::Dependency
|
108
|
-
name: pry
|
109
122
|
requirement: !ruby/object:Gem::Requirement
|
110
123
|
requirements:
|
111
124
|
- - ">="
|
112
125
|
- !ruby/object:Gem::Version
|
113
126
|
version: '0'
|
114
|
-
|
127
|
+
name: pry
|
115
128
|
prerelease: false
|
129
|
+
type: :development
|
116
130
|
version_requirements: !ruby/object:Gem::Requirement
|
117
131
|
requirements:
|
118
132
|
- - ">="
|
119
133
|
- !ruby/object:Gem::Version
|
120
134
|
version: '0'
|
121
135
|
- !ruby/object:Gem::Dependency
|
122
|
-
name: os
|
123
136
|
requirement: !ruby/object:Gem::Requirement
|
124
137
|
requirements:
|
125
138
|
- - ">="
|
126
139
|
- !ruby/object:Gem::Version
|
127
140
|
version: '0'
|
128
|
-
|
141
|
+
name: os
|
129
142
|
prerelease: false
|
143
|
+
type: :development
|
130
144
|
version_requirements: !ruby/object:Gem::Requirement
|
131
145
|
requirements:
|
132
146
|
- - ">="
|
133
147
|
- !ruby/object:Gem::Version
|
134
148
|
version: '0'
|
135
149
|
- !ruby/object:Gem::Dependency
|
136
|
-
name: rake
|
137
150
|
requirement: !ruby/object:Gem::Requirement
|
138
151
|
requirements:
|
139
152
|
- - ">="
|
140
153
|
- !ruby/object:Gem::Version
|
141
154
|
version: '0'
|
142
|
-
|
155
|
+
name: rake
|
143
156
|
prerelease: false
|
157
|
+
type: :development
|
144
158
|
version_requirements: !ruby/object:Gem::Requirement
|
145
159
|
requirements:
|
146
160
|
- - ">="
|
147
161
|
- !ruby/object:Gem::Version
|
148
162
|
version: '0'
|
149
163
|
- !ruby/object:Gem::Dependency
|
150
|
-
name: yard
|
151
164
|
requirement: !ruby/object:Gem::Requirement
|
152
165
|
requirements:
|
153
166
|
- - ">="
|
154
167
|
- !ruby/object:Gem::Version
|
155
168
|
version: '0'
|
156
|
-
|
169
|
+
name: yard
|
157
170
|
prerelease: false
|
171
|
+
type: :development
|
158
172
|
version_requirements: !ruby/object:Gem::Requirement
|
159
173
|
requirements:
|
160
174
|
- - ">="
|
161
175
|
- !ruby/object:Gem::Version
|
162
176
|
version: '0'
|
163
177
|
- !ruby/object:Gem::Dependency
|
164
|
-
name: guard
|
165
178
|
requirement: !ruby/object:Gem::Requirement
|
166
179
|
requirements:
|
167
180
|
- - ">="
|
168
181
|
- !ruby/object:Gem::Version
|
169
182
|
version: '0'
|
170
|
-
|
183
|
+
name: guard
|
171
184
|
prerelease: false
|
185
|
+
type: :development
|
172
186
|
version_requirements: !ruby/object:Gem::Requirement
|
173
187
|
requirements:
|
174
188
|
- - ">="
|
175
189
|
- !ruby/object:Gem::Version
|
176
190
|
version: '0'
|
177
191
|
- !ruby/object:Gem::Dependency
|
178
|
-
name: guard-rubocop
|
179
192
|
requirement: !ruby/object:Gem::Requirement
|
180
193
|
requirements:
|
181
194
|
- - ">="
|
182
195
|
- !ruby/object:Gem::Version
|
183
196
|
version: '0'
|
184
|
-
|
197
|
+
name: guard-rubocop
|
185
198
|
prerelease: false
|
199
|
+
type: :development
|
186
200
|
version_requirements: !ruby/object:Gem::Requirement
|
187
201
|
requirements:
|
188
202
|
- - ">="
|
189
203
|
- !ruby/object:Gem::Version
|
190
204
|
version: '0'
|
191
205
|
- !ruby/object:Gem::Dependency
|
192
|
-
name: guard-rspec
|
193
206
|
requirement: !ruby/object:Gem::Requirement
|
194
207
|
requirements:
|
195
208
|
- - ">="
|
196
209
|
- !ruby/object:Gem::Version
|
197
210
|
version: '0'
|
198
|
-
|
211
|
+
name: guard-rspec
|
199
212
|
prerelease: false
|
213
|
+
type: :development
|
200
214
|
version_requirements: !ruby/object:Gem::Requirement
|
201
215
|
requirements:
|
202
216
|
- - ">="
|
203
217
|
- !ruby/object:Gem::Version
|
204
218
|
version: '0'
|
205
219
|
- !ruby/object:Gem::Dependency
|
206
|
-
name: rubocop
|
207
220
|
requirement: !ruby/object:Gem::Requirement
|
208
221
|
requirements:
|
209
222
|
- - "~>"
|
210
223
|
- !ruby/object:Gem::Version
|
211
224
|
version: 0.34.0
|
212
|
-
|
225
|
+
name: rubocop
|
213
226
|
prerelease: false
|
227
|
+
type: :development
|
214
228
|
version_requirements: !ruby/object:Gem::Requirement
|
215
229
|
requirements:
|
216
230
|
- - "~>"
|
@@ -219,7 +233,7 @@ dependencies:
|
|
219
233
|
description: 'A Neo4j OGM (Object-Graph-Mapper) for use in Ruby on Rails and Rack
|
220
234
|
frameworks heavily inspired by ActiveRecord.
|
221
235
|
|
222
|
-
'
|
236
|
+
'
|
223
237
|
email: andreas.ronge@gmail.com, brian@brian-underwood.codes, chris@subvertallmedia.com
|
224
238
|
executables:
|
225
239
|
- neo4j-jars
|
@@ -329,7 +343,7 @@ homepage: https://github.com/neo4jrb/neo4j/
|
|
329
343
|
licenses:
|
330
344
|
- MIT
|
331
345
|
metadata: {}
|
332
|
-
post_install_message:
|
346
|
+
post_install_message:
|
333
347
|
rdoc_options:
|
334
348
|
- "--quiet"
|
335
349
|
- "--title"
|
@@ -352,8 +366,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
366
|
version: '0'
|
353
367
|
requirements: []
|
354
368
|
rubyforge_project: neo4j
|
355
|
-
rubygems_version: 2.
|
356
|
-
signing_key:
|
369
|
+
rubygems_version: 2.4.8
|
370
|
+
signing_key:
|
357
371
|
specification_version: 4
|
358
372
|
summary: A graph database for Ruby
|
359
373
|
test_files: []
|