neo4j-core 5.1.14 → 6.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/neo4j-core.rb +1 -1
  3. data/lib/neo4j-core/helpers.rb +6 -0
  4. data/lib/neo4j-core/query.rb +88 -40
  5. data/lib/neo4j-core/query_clauses.rb +67 -67
  6. data/lib/neo4j-core/version.rb +1 -1
  7. data/lib/neo4j-embedded/embedded_label.rb +16 -14
  8. data/lib/neo4j-embedded/embedded_node.rb +115 -113
  9. data/lib/neo4j-embedded/embedded_relationship.rb +53 -51
  10. data/lib/neo4j-embedded/embedded_session.rb +5 -14
  11. data/lib/neo4j-embedded/label.rb +2 -1
  12. data/lib/neo4j-server/cypher_label.rb +8 -7
  13. data/lib/neo4j-server/cypher_relationship.rb +1 -1
  14. data/lib/neo4j-server/cypher_response.rb +3 -2
  15. data/lib/neo4j-server/cypher_transaction.rb +1 -6
  16. data/lib/neo4j-server/resource.rb +1 -1
  17. data/lib/neo4j/core/cypher_session.rb +28 -0
  18. data/lib/neo4j/core/cypher_session/adaptors.rb +108 -0
  19. data/lib/neo4j/core/cypher_session/adaptors/embedded.rb +81 -0
  20. data/lib/neo4j/core/cypher_session/adaptors/http.rb +159 -0
  21. data/lib/neo4j/core/cypher_session/responses.rb +27 -0
  22. data/lib/neo4j/core/cypher_session/responses/embedded.rb +77 -0
  23. data/lib/neo4j/core/cypher_session/responses/http.rb +104 -0
  24. data/lib/neo4j/core/cypher_session/result.rb +39 -0
  25. data/lib/neo4j/core/instrumentable.rb +36 -0
  26. data/lib/neo4j/core/node.rb +28 -0
  27. data/lib/neo4j/core/path.rb +15 -0
  28. data/lib/neo4j/core/relationship.rb +25 -0
  29. data/lib/neo4j/core/wrappable.rb +35 -0
  30. data/lib/neo4j/label.rb +7 -0
  31. data/lib/neo4j/session.rb +3 -3
  32. data/lib/neo4j/transaction.rb +1 -24
  33. data/neo4j-core.gemspec +2 -2
  34. metadata +22 -9
data/neo4j-core.gemspec CHANGED
@@ -33,14 +33,14 @@ Neo4j-core provides classes and methods to work with the graph database Neo4j.
33
33
  s.add_dependency('activesupport') # For ActiveSupport::Notifications
34
34
  s.add_dependency('multi_json')
35
35
  s.add_dependency('faraday_middleware-multi_json')
36
- s.add_dependency('neo4j-rake_tasks', '~> 0.3.0')
36
+ s.add_dependency('neo4j-rake_tasks', '~> 0.2.0')
37
37
 
38
38
  s.add_development_dependency('pry')
39
39
  s.add_development_dependency('yard')
40
40
  s.add_development_dependency('simplecov')
41
41
  s.add_development_dependency('guard')
42
42
  s.add_development_dependency('guard-rubocop')
43
- s.add_development_dependency('rubocop', '~> 0.29.1')
43
+ s.add_development_dependency('rubocop', '~> 0.34.0')
44
44
 
45
45
  if RUBY_PLATFORM == 'java'
46
46
  s.add_dependency('neo4j-community', '>= 2.1.1')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.14
4
+ version: 6.0.0.alpha.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Ronge, Chris Grigg, Brian Underwood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-23 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.3.0
145
+ version: 0.2.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.3.0
152
+ version: 0.2.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pry
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 0.29.1
229
+ version: 0.34.0
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 0.29.1
236
+ version: 0.34.0
237
237
  description: |
238
238
  Neo4j-core provides classes and methods to work with the graph database Neo4j.
239
239
  email: andreas.ronge@gmail.com, chris@subvertallmedia.com, brian@brian-underwood.codes
@@ -276,6 +276,19 @@ files:
276
276
  - lib/neo4j-server/label.rb
277
277
  - lib/neo4j-server/resource.rb
278
278
  - lib/neo4j/ansi.rb
279
+ - lib/neo4j/core/cypher_session.rb
280
+ - lib/neo4j/core/cypher_session/adaptors.rb
281
+ - lib/neo4j/core/cypher_session/adaptors/embedded.rb
282
+ - lib/neo4j/core/cypher_session/adaptors/http.rb
283
+ - lib/neo4j/core/cypher_session/responses.rb
284
+ - lib/neo4j/core/cypher_session/responses/embedded.rb
285
+ - lib/neo4j/core/cypher_session/responses/http.rb
286
+ - lib/neo4j/core/cypher_session/result.rb
287
+ - lib/neo4j/core/instrumentable.rb
288
+ - lib/neo4j/core/node.rb
289
+ - lib/neo4j/core/path.rb
290
+ - lib/neo4j/core/relationship.rb
291
+ - lib/neo4j/core/wrappable.rb
279
292
  - lib/neo4j/entity_equality.rb
280
293
  - lib/neo4j/label.rb
281
294
  - lib/neo4j/node.rb
@@ -307,12 +320,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
307
320
  version: 1.9.3
308
321
  required_rubygems_version: !ruby/object:Gem::Requirement
309
322
  requirements:
310
- - - ">="
323
+ - - ">"
311
324
  - !ruby/object:Gem::Version
312
- version: '0'
325
+ version: 1.3.1
313
326
  requirements: []
314
327
  rubyforge_project:
315
- rubygems_version: 2.4.5.1
328
+ rubygems_version: 2.4.6
316
329
  signing_key:
317
330
  specification_version: 4
318
331
  summary: A basic library to work with the graph database Neo4j.