neo4j-cypher 1.0.3 → 1.0.4
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/operator.rb +3 -1
- data/lib/neo4j-cypher/version.rb +1 -1
- data/lib/neo4j-cypher/version.rb~ +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a41ab8a8e460f49070d231a6d5d4a84bb40d8bc9
|
4
|
+
data.tar.gz: 0426812e594deffd96487133079d5d60ce06cd4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b45c8555223c14f3c6acc5ab485fd9dde5a370d18b5c65586ed8deb3ac3e1f8615491fc7eb8420e5fba78d5ef8339306a020c880edbe507865db95c5d0e3c2e8
|
7
|
+
data.tar.gz: 982677a560edc309bbcc37de5d87024cf3a38904501a3aad117739f7bf7a81ea709d50f801d8b9aba64436ccf0064d39955927325df88a8ab495656263bce437
|
@@ -37,7 +37,9 @@ module Neo4j
|
|
37
37
|
|
38
38
|
def initialize(clause_list, left_operand, right_operand, op, clause_type = :where, post_fix = nil, &dsl)
|
39
39
|
super(clause_list, clause_type, EvalContext)
|
40
|
-
|
40
|
+
if op == '='
|
41
|
+
right_operand = right_operand.nil? ? :NULL : right_operand
|
42
|
+
end
|
41
43
|
right_operand = Regexp.new(right_operand) if op == '=~' && right_operand.is_a?(String)
|
42
44
|
@left_operand = Operand.new(left_operand)
|
43
45
|
raise "No Leftoperatnd #{left_operand.class}" unless @left_operand.obj
|
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.4
|
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-
|
11
|
+
date: 2014-05-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
|
@@ -40,6 +40,7 @@ files:
|
|
40
40
|
- lib/neo4j-cypher/root.rb
|
41
41
|
- lib/neo4j-cypher/start.rb
|
42
42
|
- lib/neo4j-cypher/version.rb
|
43
|
+
- lib/neo4j-cypher/version.rb~
|
43
44
|
- lib/neo4j-cypher/where.rb
|
44
45
|
- lib/neo4j-cypher/with.rb
|
45
46
|
- lib/neo4j-cypher.rb
|
@@ -79,4 +80,3 @@ signing_key:
|
|
79
80
|
specification_version: 4
|
80
81
|
summary: A Ruby DSL for Cypher - the Neo4j Graph Query Language
|
81
82
|
test_files: []
|
82
|
-
has_rdoc: true
|