neo4j-wrapper 0.0.6-java → 0.0.7-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/neo4j-wrapper/has_n/nodes.rb +2 -0
- data/lib/neo4j-wrapper/version.rb +1 -1
- data/neo4j-wrapper.gemspec +1 -1
- metadata +3 -3
@@ -27,6 +27,7 @@ module Neo4j
|
|
27
27
|
rule_node && rule_node.rules.each do |rule|
|
28
28
|
next if rule.rule_name == :all
|
29
29
|
singelton.send(:define_method, rule.rule_name) do |*cypher_query_hash, &cypher_block|
|
30
|
+
raise "Not a hash, can't create a cypher where clause'" if cypher_query_hash.first && !cypher_query_hash.first.is_a?(Hash)
|
30
31
|
proc = Proc.new do |m|
|
31
32
|
m.incoming(rule.rule_name)
|
32
33
|
if cypher_block
|
@@ -38,6 +39,7 @@ module Neo4j
|
|
38
39
|
end
|
39
40
|
end
|
40
41
|
|
42
|
+
|
41
43
|
def to_s
|
42
44
|
if @cypher_block || @cypher_query_hash
|
43
45
|
query(@cypher_query_hash, &@cypher_block).to_s
|
data/neo4j-wrapper.gemspec
CHANGED
@@ -27,5 +27,5 @@ It comes included with the Apache Lucene document database.
|
|
27
27
|
s.extra_rdoc_files = %w( README.rdoc )
|
28
28
|
s.rdoc_options = ["--quiet", "--title", "Neo4j.rb", "--line-numbers", "--main", "README.rdoc", "--inline-source"]
|
29
29
|
|
30
|
-
s.add_dependency("neo4j-core", "0.0.
|
30
|
+
s.add_dependency("neo4j-core", "0.0.11")
|
31
31
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: neo4j-wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.7
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Andreas Ronge
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-04-
|
13
|
+
date: 2012-04-19 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: neo4j-core
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.
|
23
|
+
version: 0.0.11
|
24
24
|
type: :runtime
|
25
25
|
version_requirements: *id001
|
26
26
|
description: |
|