neo4j-core 8.0.4 → 8.1.0

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: f8de680582b09a8c090895e9a85a4d5080a66353
4
- data.tar.gz: 1ff32ea3fcbd0346b0a28405124591de58625bc5
3
+ metadata.gz: 2e290e539e504748bc5926bdcd1cdf56a22a2a8e
4
+ data.tar.gz: 2dd344e59de215f10404277f4f6f79f0a2e8999e
5
5
  SHA512:
6
- metadata.gz: 8e80bf3cd756aaa2ee1531b17ded398e2fe6bc63f9ab8d670f52cf40caf3e2766420b92f209faa1c67d1a02dd161270f709ff37fc9594313d6aae440e21e1935
7
- data.tar.gz: 04937db49c3af483ef2abeb8af0cae96570a6f0fa385011e3e45d9405c8c7cbaa55f21799056f01efd2c1bcf640d491dd0b80be8489a01106ec4590f1afbb073
6
+ metadata.gz: f7422392c7b08cfb4ea13ba4d953cc61cd347139f10592c5a9527eea606c6af0c246b4d1b74eab6beaaef20a67194430b0e0ac3e821b9865a228ba3fbb99ec53
7
+ data.tar.gz: 865bd4da36f152a56a63c7f0002a0bc4db5fd4f45dd462b0e3194eb16e2f014cfed74694683e682900d4c8ebbfc0c451539a5b7c03a69eb4cc09508c3edda8cd
@@ -103,6 +103,10 @@ module Neo4j
103
103
  # WITH clause
104
104
  # @return [Query]
105
105
 
106
+ # @method with_distinct *args
107
+ # WITH clause with DISTINCT specified
108
+ # @return [Query]
109
+
106
110
  # @method order *args
107
111
  # ORDER BY clause
108
112
  # @return [Query]
@@ -159,8 +163,8 @@ module Neo4j
159
163
  # DETACH DELETE clause
160
164
  # @return [Query]
161
165
 
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)
166
+ 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 with_distinct return order skip limit] # rubocop:disable Metrics/LineLength
167
+ BREAK_METHODS = %(with with_distinct call)
164
168
 
165
169
  CLAUSIFY_CLAUSE = proc { |method| const_get(method.to_s.split('_').map(&:capitalize).join + 'Clause') }
166
170
  CLAUSES = METHODS.map(&CLAUSIFY_CLAUSE)
@@ -406,6 +406,10 @@ module Neo4j
406
406
  end
407
407
  end
408
408
 
409
+ class WithDistinctClause < WithClause
410
+ KEYWORD = 'WITH DISTINCT'
411
+ end
412
+
409
413
  class UsingClause < Clause
410
414
  KEYWORD = 'USING'
411
415
 
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module Core
3
- VERSION = '8.0.4'
3
+ VERSION = '8.1.0'
4
4
  end
5
5
  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: 8.0.4
4
+ version: 8.1.0
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: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport