neo4j-cypher 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j-cypher/clause.rb +1 -1
- data/lib/neo4j-cypher/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be06c097781331ec4dccb09d40038fec9239fbfa
|
4
|
+
data.tar.gz: 892e5afadd50dbcdadec44260b8bbeabf038353c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89d66d9bea5ce8d15612b2c5fa960730d6ea70873731ef1a2769fceca55ffd6f1c75acc8dd9ef3b35190886bbe33904b99282277ff4a8be743783564e109a31e
|
7
|
+
data.tar.gz: 9a0235c1df3dae42ea20fe159337ab1ae809bb7d6152aec308b648a50b20d40c420cc8afae2197fdd10caed01d8902befff6fd7e511724c61cc172d6b17722f3
|
data/lib/neo4j-cypher/clause.rb
CHANGED
@@ -90,7 +90,7 @@ module Neo4j
|
|
90
90
|
def to_prop_string(props)
|
91
91
|
key_values = props.keys.map do |key|
|
92
92
|
raw = key.to_s[0, 1] == '_'
|
93
|
-
escaped_string = props[key].gsub(/['"]/) { |s| "
|
93
|
+
escaped_string = props[key].gsub(/['"]/) { |s| "\\#{s}" } if props[key].is_a?(String) && !raw
|
94
94
|
val = props[key].is_a?(String) && !raw ? "'#{escaped_string}'" : props[key]
|
95
95
|
"#{raw ? key.to_s[1..-1] : key} : #{val}"
|
96
96
|
end
|
data/lib/neo4j-cypher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-cypher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Ronge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
This gem is used in the JRuby neo4j gem but should work on any Ruby implementation since it simply
|
@@ -79,3 +79,4 @@ signing_key:
|
|
79
79
|
specification_version: 4
|
80
80
|
summary: A Ruby DSL for Cypher - the Neo4j Graph Query Language
|
81
81
|
test_files: []
|
82
|
+
has_rdoc: true
|