neo4j 1.1.0.beta.1-java → 1.1.0.beta.2-java
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,16 @@ module Neo4j
|
|
17
17
|
|
18
18
|
def create(attrs)
|
19
19
|
node = @storage.create(attrs)
|
20
|
-
@storage.create_relationship_to(node, @dir)
|
20
|
+
rel = @storage.create_relationship_to(node, @dir)
|
21
|
+
node.save
|
22
|
+
rel
|
23
|
+
end
|
24
|
+
|
25
|
+
def create!(attrs)
|
26
|
+
node = @storage.create(attrs)
|
27
|
+
rel = @storage.create_relationship_to(node, @dir)
|
28
|
+
node.save!
|
29
|
+
rel
|
21
30
|
end
|
22
31
|
|
23
32
|
def outgoing
|
data/lib/neo4j/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.1.0.beta.
|
5
|
+
version: 1.1.0.beta.2
|
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: 2011-
|
13
|
+
date: 2011-05-02 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|