neo4apis 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/lib/neo4apis/base.rb +2 -1
- data/lib/neo4apis/query_buffer.rb +0 -1
- data/neo4apis.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce1c0386a3c09c46b8f6121ec5365767cf3fa6c0
|
4
|
+
data.tar.gz: b5fc80eab66e2437df93b80710862cbd01ce37e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a843d25cf552b8768ac50409674769d86f909127935e91e79aa93260e8db16b58222a1e84307bfdf0c95f9e3e27c6cdadf10d62aba23b9131d3443a4ec1b33a4
|
7
|
+
data.tar.gz: b975297653c2c9cedd06a68dbd8db4c71cd7045649edf1c49bf8b1fb752807783f78cd44c43228abaa68d06ad28de45ceda2a0bfcae7d1e7f3b0d2739202f1a7
|
data/Gemfile
CHANGED
data/lib/neo4apis/base.rb
CHANGED
@@ -104,7 +104,8 @@ module Neo4Apis
|
|
104
104
|
Neo4j::Core::Query.new.
|
105
105
|
match(source: {self.class.full_label(source.label) => {source.uuid_field => source.uuid_value}}).
|
106
106
|
match(target: {self.class.full_label(target.label) => {target.uuid_field => target.uuid_value}}).
|
107
|
-
merge("source-[:#{type}]->target")
|
107
|
+
merge("source-[rel:#{type}]->target").
|
108
|
+
on_create_set(rel: props)
|
108
109
|
end
|
109
110
|
|
110
111
|
def create_constraint_query(label, uuid_field)
|
@@ -9,7 +9,6 @@ module Neo4Apis
|
|
9
9
|
|
10
10
|
@faraday_connection = Faraday.new(:url => "#{uri.scheme}://#{uri.host}:#{uri.port}") do |faraday|
|
11
11
|
faraday.request :url_encoded # form-encode POST params
|
12
|
-
faraday.response :logger # log requests to STDOUT
|
13
12
|
faraday.adapter Faraday.default_adapter # make requests with Net::HTTP
|
14
13
|
end
|
15
14
|
|
data/neo4apis.gemspec
CHANGED