neo4j-core 6.1.4 → 6.1.5

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
  SHA1:
3
- metadata.gz: 22ff33ec0090545d1e2ec40d3ed85f8b8b978722
4
- data.tar.gz: 602036eebf6aad8d8d218267a9ca2b54b4dbd0eb
3
+ metadata.gz: c85ab81a22131642fd896e0c490d97e56598888d
4
+ data.tar.gz: 5d921b82e999733cc6e85f9a4a475b8e8d86315f
5
5
  SHA512:
6
- metadata.gz: 2428fe975eaa6b21a3308dec7d9a88a5b837c9353406c3a037df581f002ae7669d856c95255f2d3a357f3a14897809ca3464a32bb4e89dfa68132540747ac212
7
- data.tar.gz: 0f65c44cb1e8c483865462f0a6cb037799217ac500227747e62225009699f96694c8854e980bc11ec4d73fcfd562b9987308805e1b7a1de9a2cb768c19594aae
6
+ metadata.gz: 9b05f1abf853e33fecefe542216c4e48b6b1aae44c6b6a1b25b3dfcca03da17406187bef495fda2a664299f49a1f71720eaba73be9159319eb3e09c95298cd78
7
+ data.tar.gz: 8c2da8e9245e46ae5c653e03e4394708b2f83b0386c651dc7e010ddbce33d9439c9b7372e0d2f9a5224c49bd9dbfa9c5ef9726b2e20d3acead951f37b8626a86
data/Gemfile CHANGED
@@ -5,14 +5,22 @@ gemspec
5
5
  # gem 'neo4j-advanced', '>= 1.8.1', '< 2.0', :require => false
6
6
  # gem 'neo4j-enterprise', '>= 1.8.1', '< 2.0', :require => false
7
7
 
8
+ gem 'activesupport', '~> 4.2' if RUBY_VERSION.to_f < 2.2
9
+
8
10
  group 'development' do
11
+ gem 'listen', '< 3.1'
9
12
  gem 'guard-rspec', require: false
10
- gem 'overcommit'
13
+ if RUBY_VERSION.to_f < 2.0
14
+ gem 'overcommit', '< 0.35.0'
15
+ else
16
+ gem 'overcommit'
17
+ end
11
18
  end
12
19
 
13
20
  group 'test' do
14
21
  gem 'coveralls', require: false
15
22
  gem 'simplecov-html', require: false
23
+ gem 'tins', '< 1.7' if RUBY_VERSION.to_f < 2.0
16
24
  gem 'rspec', '~> 3.0'
17
25
  gem 'rspec-its'
18
26
  gem 'dotenv'
@@ -158,11 +158,10 @@ module Neo4j
158
158
  # DETACH DELETE clause
159
159
  # @return [Query]
160
160
 
161
- METHODS = %w(start match optional_match using where create create_unique merge set on_create_set on_match_set remove unwind delete detach_delete with return order skip limit)
162
- BREAK_METHODS = %(with)
161
+ METHODS = %w(start match optional_match call using where create create_unique merge set on_create_set on_match_set remove unwind delete detach_delete with return order skip limit) # rubocop:disable Metrics/LineLength
162
+ BREAK_METHODS = %(with call)
163
163
 
164
164
  CLAUSIFY_CLAUSE = proc { |method| const_get(method.to_s.split('_').map(&:capitalize).join + 'Clause') }
165
-
166
165
  CLAUSES = METHODS.map(&CLAUSIFY_CLAUSE)
167
166
 
168
167
  METHODS.each_with_index do |clause, i|
@@ -337,6 +337,24 @@ module Neo4j
337
337
  end
338
338
  end
339
339
 
340
+ class CallClause < Clause
341
+ KEYWORD = 'CALL'
342
+
343
+ def from_string(value)
344
+ value
345
+ end
346
+
347
+ class << self
348
+ def clause_strings(clauses)
349
+ clauses.map!(&:value)
350
+ end
351
+
352
+ def clause_join
353
+ " #{KEYWORD} "
354
+ end
355
+ end
356
+ end
357
+
340
358
  class MatchClause < Clause
341
359
  KEYWORD = 'MATCH'
342
360
 
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module Core
3
- VERSION = '6.1.4'
3
+ VERSION = '6.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,241 +1,271 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.4
4
+ version: 6.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Chris Grigg, Brian Underwood
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-12 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: httparty
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
18
  version: '0'
20
- type: :runtime
19
+ name: httparty
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'
27
27
  - !ruby/object:Gem::Dependency
28
- name: faraday
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
32
  version: 0.9.0
34
- type: :runtime
33
+ name: faraday
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.9.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: net-http-persistent
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - ">="
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
- type: :runtime
47
+ name: net-http-persistent
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
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: httpclient
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- type: :runtime
61
+ name: httpclient
63
62
  prerelease: false
63
+ type: :runtime
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: faraday_middleware
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - "~>"
74
73
  - !ruby/object:Gem::Version
75
74
  version: 0.10.0
76
- type: :runtime
75
+ name: faraday_middleware
77
76
  prerelease: false
77
+ type: :runtime
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.10.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: json
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - ">="
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
90
- type: :runtime
89
+ name: json
91
90
  prerelease: false
91
+ type: :runtime
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: activesupport
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
100
  - - ">="
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
104
- type: :runtime
103
+ name: activesupport
105
104
  prerelease: false
105
+ type: :runtime
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: multi_json
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - ">="
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
- type: :runtime
117
+ name: multi_json
119
118
  prerelease: false
119
+ type: :runtime
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: faraday_middleware-multi_json
127
126
  requirement: !ruby/object:Gem::Requirement
128
127
  requirements:
129
128
  - - ">="
130
129
  - !ruby/object:Gem::Version
131
130
  version: '0'
132
- type: :runtime
131
+ name: faraday_middleware-multi_json
133
132
  prerelease: false
133
+ type: :runtime
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: neo4j-rake_tasks
141
140
  requirement: !ruby/object:Gem::Requirement
142
141
  requirements:
143
142
  - - ">="
144
143
  - !ruby/object:Gem::Version
145
144
  version: 0.3.0
146
- type: :runtime
145
+ name: neo4j-rake_tasks
147
146
  prerelease: false
147
+ type: :runtime
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.3.0
153
153
  - !ruby/object:Gem::Dependency
154
- name: pry
155
154
  requirement: !ruby/object:Gem::Requirement
156
155
  requirements:
157
156
  - - ">="
158
157
  - !ruby/object:Gem::Version
159
158
  version: '0'
160
- type: :development
159
+ name: pry
161
160
  prerelease: false
161
+ type: :development
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: yard
169
168
  requirement: !ruby/object:Gem::Requirement
170
169
  requirements:
171
170
  - - ">="
172
171
  - !ruby/object:Gem::Version
173
172
  version: '0'
174
- type: :development
173
+ name: yard
175
174
  prerelease: false
175
+ type: :development
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
- name: simplecov
183
182
  requirement: !ruby/object:Gem::Requirement
184
183
  requirements:
185
184
  - - ">="
186
185
  - !ruby/object:Gem::Version
187
186
  version: '0'
188
- type: :development
187
+ name: simplecov
189
188
  prerelease: false
189
+ type: :development
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
- name: guard
197
196
  requirement: !ruby/object:Gem::Requirement
198
197
  requirements:
199
198
  - - ">="
200
199
  - !ruby/object:Gem::Version
201
200
  version: '0'
202
- type: :development
201
+ name: guard
203
202
  prerelease: false
203
+ type: :development
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
- name: guard-rubocop
211
210
  requirement: !ruby/object:Gem::Requirement
212
211
  requirements:
213
212
  - - ">="
214
213
  - !ruby/object:Gem::Version
215
214
  version: '0'
216
- type: :development
215
+ name: guard-rubocop
217
216
  prerelease: false
217
+ type: :development
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
- name: rubocop
225
224
  requirement: !ruby/object:Gem::Requirement
226
225
  requirements:
227
226
  - - "~>"
228
227
  - !ruby/object:Gem::Version
229
228
  version: 0.34.0
230
- type: :development
229
+ name: rubocop
231
230
  prerelease: false
231
+ type: :development
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: 0.34.0
237
- description: |
238
- Neo4j-core provides classes and methods to work with the graph database Neo4j.
237
+ - !ruby/object:Gem::Dependency
238
+ requirement: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 2.1.1
243
+ name: neo4j-community
244
+ prerelease: false
245
+ type: :runtime
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: 2.1.1
251
+ - !ruby/object:Gem::Dependency
252
+ requirement: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ name: ruby-debug
258
+ prerelease: false
259
+ type: :development
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ description: 'Neo4j-core provides classes and methods to work with the graph database
266
+ Neo4j.
267
+
268
+ '
239
269
  email: andreas.ronge@gmail.com, chris@subvertallmedia.com, brian@brian-underwood.codes
240
270
  executables: []
241
271
  extensions: []
@@ -303,7 +333,7 @@ homepage: https://github.com/neo4jrb/neo4j-core
303
333
  licenses:
304
334
  - MIT
305
335
  metadata: {}
306
- post_install_message:
336
+ post_install_message:
307
337
  rdoc_options:
308
338
  - "--quiet"
309
339
  - "--title"
@@ -325,10 +355,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
325
355
  - !ruby/object:Gem::Version
326
356
  version: '0'
327
357
  requirements: []
328
- rubyforge_project:
329
- rubygems_version: 2.4.5.1
330
- signing_key:
358
+ rubyforge_project:
359
+ rubygems_version: 2.4.8
360
+ signing_key:
331
361
  specification_version: 4
332
362
  summary: A basic library to work with the graph database Neo4j.
333
363
  test_files: []
334
- has_rdoc: true