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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be06c097781331ec4dccb09d40038fec9239fbfa
4
- data.tar.gz: 892e5afadd50dbcdadec44260b8bbeabf038353c
3
+ metadata.gz: a41ab8a8e460f49070d231a6d5d4a84bb40d8bc9
4
+ data.tar.gz: 0426812e594deffd96487133079d5d60ce06cd4a
5
5
  SHA512:
6
- metadata.gz: 89d66d9bea5ce8d15612b2c5fa960730d6ea70873731ef1a2769fceca55ffd6f1c75acc8dd9ef3b35190886bbe33904b99282277ff4a8be743783564e109a31e
7
- data.tar.gz: 9a0235c1df3dae42ea20fe159337ab1ae809bb7d6152aec308b648a50b20d40c420cc8afae2197fdd10caed01d8902befff6fd7e511724c61cc172d6b17722f3
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
- right_operand ||= :NULL if op == '='
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
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module Cypher
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ module Neo4j
2
+ module Cypher
3
+ VERSION = '1.0.3'
4
+ end
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.3
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-02-12 00:00:00.000000000 Z
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