neo4j-core 8.0.4 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/neo4j-core/query.rb +6 -2
- data/lib/neo4j-core/query_clauses.rb +4 -0
- data/lib/neo4j-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e290e539e504748bc5926bdcd1cdf56a22a2a8e
|
|
4
|
+
data.tar.gz: 2dd344e59de215f10404277f4f6f79f0a2e8999e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7422392c7b08cfb4ea13ba4d953cc61cd347139f10592c5a9527eea606c6af0c246b4d1b74eab6beaaef20a67194430b0e0ac3e821b9865a228ba3fbb99ec53
|
|
7
|
+
data.tar.gz: 865bd4da36f152a56a63c7f0002a0bc4db5fd4f45dd462b0e3194eb16e2f014cfed74694683e682900d4c8ebbfc0c451539a5b7c03a69eb4cc09508c3edda8cd
|
data/lib/neo4j-core/query.rb
CHANGED
|
@@ -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)
|
data/lib/neo4j-core/version.rb
CHANGED
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
|
+
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:
|
|
11
|
+
date: 2018-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|