neo4j 1.1.4-java → 1.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/neo4j.rb +12 -12
- data/lib/neo4j/algo/algo.rb +1 -1
- data/lib/neo4j/jars/core/lucene-core-3.1.0.jar +0 -0
- data/lib/neo4j/jars/core/{neo4j-backup-1.3.jar → neo4j-backup-1.4.1.jar} +0 -0
- data/lib/neo4j/jars/core/{neo4j-graph-algo-1.3.jar → neo4j-graph-algo-1.4.1.jar} +0 -0
- data/lib/neo4j/jars/core/neo4j-kernel-1.4.1.jar +0 -0
- data/lib/neo4j/jars/core/neo4j-lucene-index-1.4.1.jar +0 -0
- data/lib/neo4j/jars/ha/{neo4j-com-1.3.jar → neo4j-com-1.4.1.jar} +0 -0
- data/lib/neo4j/jars/ha/neo4j-ha-1.4.1.jar +0 -0
- data/lib/neo4j/jars/ha/{neo4j-jmx-1.3.jar → neo4j-jmx-1.4.1.jar} +0 -0
- data/lib/neo4j/jars/ha/{neo4j-management-1.3.jar → neo4j-management-1.4.1.jar} +0 -0
- data/lib/neo4j/jars/ha/{neo4j-shell-1.3.jar → neo4j-shell-1.4.1.jar} +0 -0
- data/lib/neo4j/transaction.rb +6 -1
- data/lib/neo4j/version.rb +1 -1
- metadata +12 -13
- data/lib/neo4j/jars/core/lucene-core-3.0.3.jar +0 -0
- data/lib/neo4j/jars/core/neo4j-kernel-1.3.jar +0 -0
- data/lib/neo4j/jars/core/neo4j-lucene-index-1.3.jar +0 -0
- data/lib/neo4j/jars/ha/neo4j-ha-1.3.jar +0 -0
- data/lib/neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar +0 -0
data/CHANGELOG
CHANGED
data/lib/neo4j.rb
CHANGED
@@ -19,11 +19,11 @@ require 'neo4j/core_ext/class/inheritable_attributes'
|
|
19
19
|
# Jars
|
20
20
|
|
21
21
|
require 'neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar'
|
22
|
-
require 'neo4j/jars/core/lucene-core-3.0.
|
23
|
-
require 'neo4j/jars/core/neo4j-lucene-index-1.
|
24
|
-
require 'neo4j/jars/core/neo4j-kernel-1.
|
25
|
-
require 'neo4j/jars/ha/neo4j-management-1.
|
26
|
-
require 'neo4j/jars/ha/neo4j-jmx-1.
|
22
|
+
require 'neo4j/jars/core/lucene-core-3.1.0.jar'
|
23
|
+
require 'neo4j/jars/core/neo4j-lucene-index-1.4.1.jar'
|
24
|
+
require 'neo4j/jars/core/neo4j-kernel-1.4.1.jar'
|
25
|
+
require 'neo4j/jars/ha/neo4j-management-1.4.1.jar'
|
26
|
+
require 'neo4j/jars/ha/neo4j-jmx-1.4.1.jar'
|
27
27
|
|
28
28
|
module Neo4j
|
29
29
|
|
@@ -39,24 +39,24 @@ module Neo4j
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def self.load_shell_jars
|
42
|
-
require 'neo4j/jars/ha/neo4j-shell-1.
|
42
|
+
require 'neo4j/jars/ha/neo4j-shell-1.4.1.jar'
|
43
43
|
end
|
44
44
|
|
45
45
|
def self.load_online_backup
|
46
|
-
require 'neo4j/jars/ha/neo4j-com-1.
|
47
|
-
require 'neo4j/jars/core/neo4j-backup-1.
|
46
|
+
require 'neo4j/jars/ha/neo4j-com-1.4.1.jar'
|
47
|
+
require 'neo4j/jars/core/neo4j-backup-1.4.1.jar'
|
48
48
|
require 'neo4j/jars/ha/netty-3.2.1.Final.jar'
|
49
49
|
Neo4j.send(:const_set, :OnlineBackup, org.neo4j.backup.OnlineBackup)
|
50
50
|
end
|
51
51
|
|
52
52
|
def self.load_ha_jars
|
53
|
-
require 'neo4j/jars/core/neo4j-backup-1.
|
53
|
+
require 'neo4j/jars/core/neo4j-backup-1.4.1.jar'
|
54
54
|
require 'neo4j/jars/ha/log4j-1.2.16.jar'
|
55
|
-
require 'neo4j/jars/ha/neo4j-ha-1.
|
56
|
-
require 'neo4j/jars/ha/neo4j-com-1.
|
55
|
+
require 'neo4j/jars/ha/neo4j-ha-1.4.1.jar'
|
56
|
+
require 'neo4j/jars/ha/neo4j-com-1.4.1.jar'
|
57
57
|
require 'neo4j/jars/ha/netty-3.2.1.Final.jar'
|
58
58
|
require 'neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar'
|
59
|
-
require 'neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar'
|
59
|
+
# require 'neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar' # TODO IS THIS NEEDED ?
|
60
60
|
require 'neo4j/jars/ha/zookeeper-3.3.2.jar'
|
61
61
|
end
|
62
62
|
end
|
data/lib/neo4j/algo/algo.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/neo4j/transaction.rb
CHANGED
@@ -56,7 +56,12 @@ module Neo4j
|
|
56
56
|
tx = Neo4j::Transaction.new
|
57
57
|
ret = yield tx
|
58
58
|
tx.success
|
59
|
-
rescue Exception
|
59
|
+
rescue Exception => e
|
60
|
+
if Neo4j::Config[:debug_java] && e.respond_to?(:cause)
|
61
|
+
puts "Java Exception in a transaction, cause: #{e.cause}"
|
62
|
+
e.cause.print_stack_trace
|
63
|
+
end
|
64
|
+
|
60
65
|
tx.failure unless tx.nil?
|
61
66
|
raise
|
62
67
|
ensure
|
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:
|
5
|
-
version: 1.
|
5
|
+
version: 1.2.0
|
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-08-
|
13
|
+
date: 2011-08-16 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -143,22 +143,21 @@ files:
|
|
143
143
|
- lib/neo4j/rails/validations/associated.rb
|
144
144
|
- lib/neo4j/rails/validations/uniqueness.rb
|
145
145
|
- lib/neo4j/rails/validations/non_nil.rb
|
146
|
-
- lib/neo4j/jars/core/
|
147
|
-
- lib/neo4j/jars/core/neo4j-backup-1.3.jar
|
146
|
+
- lib/neo4j/jars/core/neo4j-backup-1.4.1.jar
|
148
147
|
- lib/neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar
|
149
|
-
- lib/neo4j/jars/core/neo4j-lucene-index-1.
|
150
|
-
- lib/neo4j/jars/core/
|
151
|
-
- lib/neo4j/jars/core/neo4j-
|
148
|
+
- lib/neo4j/jars/core/neo4j-lucene-index-1.4.1.jar
|
149
|
+
- lib/neo4j/jars/core/lucene-core-3.1.0.jar
|
150
|
+
- lib/neo4j/jars/core/neo4j-graph-algo-1.4.1.jar
|
152
151
|
- lib/neo4j/jars/core/neo4j-index-1.3-1.3.M01.jar
|
153
|
-
- lib/neo4j/jars/
|
152
|
+
- lib/neo4j/jars/core/neo4j-kernel-1.4.1.jar
|
153
|
+
- lib/neo4j/jars/ha/neo4j-management-1.4.1.jar
|
154
154
|
- lib/neo4j/jars/ha/zookeeper-3.3.2.jar
|
155
155
|
- lib/neo4j/jars/ha/netty-3.2.1.Final.jar
|
156
|
+
- lib/neo4j/jars/ha/neo4j-ha-1.4.1.jar
|
156
157
|
- lib/neo4j/jars/ha/log4j-1.2.16.jar
|
157
|
-
- lib/neo4j/jars/ha/neo4j-
|
158
|
-
- lib/neo4j/jars/ha/neo4j-com-1.
|
159
|
-
- lib/neo4j/jars/ha/neo4j-
|
160
|
-
- lib/neo4j/jars/ha/neo4j-shell-1.3.jar
|
161
|
-
- lib/neo4j/jars/ha/neo4j-jmx-1.3.jar
|
158
|
+
- lib/neo4j/jars/ha/neo4j-shell-1.4.1.jar
|
159
|
+
- lib/neo4j/jars/ha/neo4j-com-1.4.1.jar
|
160
|
+
- lib/neo4j/jars/ha/neo4j-jmx-1.4.1.jar
|
162
161
|
- lib/neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar
|
163
162
|
- lib/neo4j/index/indexer.rb
|
164
163
|
- lib/neo4j/index/lucene_query.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|