neo4j-core 7.0.0.alpha.6 → 7.0.0.alpha.7

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: 2da96ae064aeeec8b51f281c0d8fc09484c561c0
4
- data.tar.gz: dad88de4518fc4c6101ec9a5f0b43612aae39b72
3
+ metadata.gz: 93ae20dabf10904c1f908c4112bc12a53cc5ac2a
4
+ data.tar.gz: 9e37cbb29aea85dd6f200c497c22bbf57779be46
5
5
  SHA512:
6
- metadata.gz: ddb7e86134dcbc3c44458f7af3e4db6ff04b591cd5ee53c48c03a494b25a39bf916408b3424ee1963c8f64b0928601b75e0232fcc8a52aa0da04db7b8843bdbd
7
- data.tar.gz: 678c2a19f3356fbf923024310d56c50fd30bafb2da75fad7617f34f5d914a66f59292d2360a2b162f98c22b7ae04425accba3437040f22cf2b0323cffa04c666
6
+ metadata.gz: f85e410f549a2c1cd8cf01c2077749f0edd05442eb64bf179dbc319cd9dc2b549358060619b369f360827cf9484443bd3168aeea4741e335c765c4b010997f64
7
+ data.tar.gz: 5bd7e2eb99a8232ed89304d8244e4852559871cae0c18a6d88608d9546a6c6b077d093930e9d2a176d5d294ce63128b8fe8e6b5da1df5d2656aa7829c9f80984
data/Gemfile CHANGED
@@ -9,7 +9,11 @@ gem 'tins', '< 1.7' if RUBY_VERSION.to_f < 2.0
9
9
 
10
10
  group 'development' do
11
11
  gem 'guard-rspec', require: false if RUBY_PLATFORM != 'java'
12
- gem 'overcommit'
12
+ if RUBY_VERSION.to_f < 2.0
13
+ gem 'overcommit', '< 0.35.0'
14
+ else
15
+ gem 'overcommit'
16
+ end
13
17
  end
14
18
 
15
19
  group 'test' do
@@ -159,11 +159,10 @@ module Neo4j
159
159
  # DETACH DELETE clause
160
160
  # @return [Query]
161
161
 
162
- 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)
163
- BREAK_METHODS = %(with)
162
+ 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
163
+ BREAK_METHODS = %(with call)
164
164
 
165
165
  CLAUSIFY_CLAUSE = proc { |method| const_get(method.to_s.split('_').map(&:capitalize).join + 'Clause') }
166
-
167
166
  CLAUSES = METHODS.map(&CLAUSIFY_CLAUSE)
168
167
 
169
168
  METHODS.each_with_index do |clause, i|
@@ -347,6 +347,24 @@ module Neo4j
347
347
  end
348
348
  end
349
349
 
350
+ class CallClause < Clause
351
+ KEYWORD = 'CALL'
352
+
353
+ def from_string(value)
354
+ value
355
+ end
356
+
357
+ class << self
358
+ def clause_strings(clauses)
359
+ clauses.map!(&:value)
360
+ end
361
+
362
+ def clause_join
363
+ " #{KEYWORD} "
364
+ end
365
+ end
366
+ end
367
+
350
368
  class MatchClause < Clause
351
369
  KEYWORD = 'MATCH'
352
370
 
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module Core
3
- VERSION = '7.0.0.alpha.6'
3
+ VERSION = '7.0.0.alpha.7'
4
4
  end
5
5
  end
@@ -0,0 +1,9 @@
1
+ module Neo4j
2
+ module Core
3
+ <<<<<<< HEAD
4
+ VERSION = '7.0.0.alpha.6'
5
+ =======
6
+ VERSION = '6.1.5'
7
+ >>>>>>> 6.1.x
8
+ end
9
+ end
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: 7.0.0.alpha.6
4
+ version: 7.0.0.alpha.7
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: 2016-09-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
14
  name: faraday
@@ -242,6 +242,7 @@ files:
242
242
  - lib/neo4j-core/query_clauses.rb
243
243
  - lib/neo4j-core/query_find_in_batches.rb
244
244
  - lib/neo4j-core/version.rb
245
+ - lib/neo4j-core/version.rb.orig
245
246
  - lib/neo4j-embedded.rb
246
247
  - lib/neo4j-embedded/cypher_response.rb
247
248
  - lib/neo4j-embedded/embedded_database.rb
@@ -330,4 +331,3 @@ signing_key:
330
331
  specification_version: 4
331
332
  summary: A basic library to work with the graph database Neo4j.
332
333
  test_files: []
333
- has_rdoc: true