neo4j-core 3.0.0.alpha.11 → 3.0.0.alpha.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j-core/version.rb +1 -1
- data/lib/neo4j-server/cypher_session.rb +3 -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: 996e8bf0524717f822fd3b4817ae67de19a1fc4a
|
4
|
+
data.tar.gz: 0dd0cce3404ead0e0f9dfa292949e2a352891ae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 288a4758d5ef9cd416ca964305ee1bd024c6b6632167138a3af5bcebbbb652df68ae7c2b081d8122632a4b1423d98c30304bffccc97fdaaf3ec5bb7bab1a2c2a
|
7
|
+
data.tar.gz: 40de5b9275d65d987b7784754822991cf417a4f964adea529b2df94c31e926bcb0e47c0f88ee31f0ac0d0a7389013267d0bcc3e3910c8f2fc7fa8863756e7b1b
|
data/lib/neo4j-core/version.rb
CHANGED
@@ -113,9 +113,11 @@ module Neo4j::Server
|
|
113
113
|
end
|
114
114
|
|
115
115
|
def find_nodes(label_name, key, value)
|
116
|
+
value = "'#{value}'" if value.is_a? String
|
117
|
+
|
116
118
|
response = _query_or_fail <<-CYPHER
|
117
119
|
MATCH (n:`#{label_name}`)
|
118
|
-
WHERE n.#{key} =
|
120
|
+
WHERE n.#{key} = #{value}
|
119
121
|
RETURN ID(n)
|
120
122
|
CYPHER
|
121
123
|
search_result_to_enumerable(response)
|
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: 3.0.0.alpha.
|
4
|
+
version: 3.0.0.alpha.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|