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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09597f0df61b4a9948f89d95ed600ef2db87d937
4
- data.tar.gz: dc5e479907ca3e809e90a764c08803028b982c43
3
+ metadata.gz: be06c097781331ec4dccb09d40038fec9239fbfa
4
+ data.tar.gz: 892e5afadd50dbcdadec44260b8bbeabf038353c
5
5
  SHA512:
6
- metadata.gz: 07897d73425c35140cd50a0dd64b75ee5137654a59954ddc24b76cb157ebfcfce245aaa4d97ac6b89801facbf385f1ef134cf7110d56720226725cb5fe270808
7
- data.tar.gz: 16c02fdf8bead9d1114f2ec7130ec5640bc4ee51d6d13b3ffdbe881fa74d6f604d2d3bb51c5fae2214cf9fa82cba8e39d93aa536eb14c01db28f7f71e3ce7d5b
6
+ metadata.gz: 89d66d9bea5ce8d15612b2c5fa960730d6ea70873731ef1a2769fceca55ffd6f1c75acc8dd9ef3b35190886bbe33904b99282277ff4a8be743783564e109a31e
7
+ data.tar.gz: 9a0235c1df3dae42ea20fe159337ab1ae809bb7d6152aec308b648a50b20d40c420cc8afae2197fdd10caed01d8902befff6fd7e511724c61cc172d6b17722f3
@@ -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| "\#{s}" } if props[key].is_a?(String) && !raw
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
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module Cypher
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
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.2
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: 2013-11-12 00:00:00.000000000 Z
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