neo4j-community 1.6.0.alpha.8-java → 1.6.0.alpha.9-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +33 -0
- data/lib/neo4j-community.rb +9 -0
- data/lib/neo4j-community/jars/lucene-core-3.5.0.jar +0 -0
- data/lib/neo4j-community/jars/{neo4j-community-1.6.M02.jar → neo4j-community-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/neo4j-cypher-1.6.jar +0 -0
- data/lib/neo4j-community/jars/{neo4j-graph-algo-1.6.M02.jar → neo4j-graph-algo-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/neo4j-graph-matching-1.6.jar +0 -0
- data/lib/neo4j-community/jars/{neo4j-jmx-1.6.M02.jar → neo4j-jmx-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-kernel-1.6.M02.jar → neo4j-kernel-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-lucene-index-1.6.M02.jar → neo4j-lucene-index-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-shell-1.6.M02.jar → neo4j-shell-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-udc-1.6.M02.jar → neo4j-udc-1.6.jar} +0 -0
- data/lib/neo4j-community/jars/{server-api-1.6.M02.jar → server-api-1.6.jar} +0 -0
- data/lib/neo4j-community/test-jars/neo4j-kernel-1.6-tests.jar +0 -0
- data/lib/neo4j-community/version.rb +2 -2
- data/lib/neo4j-community/version.rb.orig +11 -0
- metadata +59 -50
- data/lib/neo4j-community/jars/lucene-core-3.1.0.jar +0 -0
- data/lib/neo4j-community/jars/neo4j-cypher-1.6.M02.jar +0 -0
- data/lib/neo4j-community/jars/neo4j-graph-matching-1.6.M02.jar +0 -0
data/Rakefile
CHANGED
@@ -1 +1,34 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
def source_file
|
4
|
+
gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
|
5
|
+
File.expand_path("./tmp/#{gz_file}")
|
6
|
+
end
|
7
|
+
|
8
|
+
def unpack_lib_dir
|
9
|
+
gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
|
10
|
+
dir = gz_file.gsub('-unix.tar.gz', '')
|
11
|
+
File.expand_path("./tmp/#{dir}/lib")
|
12
|
+
end
|
13
|
+
|
14
|
+
def jar_files_to_copy
|
15
|
+
Dir.new(unpack_lib_dir).entries.find_all {|x| x =~ /\.jar/}
|
16
|
+
end
|
17
|
+
|
18
|
+
desc "Delete old Jar files"
|
19
|
+
task :delete_old_jar do
|
20
|
+
root = File.expand_path("./lib/neo4j-community/jars")
|
21
|
+
files = Dir.new(root).entries.find_all{|f| f =~ /\.jar/}
|
22
|
+
files.each do |file|
|
23
|
+
system "rm #{root}/#{file}"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "Upgrade using downloaded ...tar.gz file in ./tmp"
|
28
|
+
task :upgrade => [:delete_old_jar] do
|
29
|
+
system "cd tmp; tar xf #{source_file}"
|
30
|
+
jars = File.expand_path("./lib/neo4j-community/jars")
|
31
|
+
test_jars = File.expand_path("./lib/neo4j-community/test-jars")
|
32
|
+
jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}" unless f =~ /tests/}
|
33
|
+
jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{test_jars}" if f =~ /tests/}
|
34
|
+
end
|
data/lib/neo4j-community.rb
CHANGED
@@ -8,11 +8,20 @@ module Neo4j
|
|
8
8
|
File.join("#{File.dirname(__FILE__)}", "neo4j-community", "jars")
|
9
9
|
end
|
10
10
|
|
11
|
+
def self.test_jars_root
|
12
|
+
File.join("#{File.dirname(__FILE__)}", "neo4j-community", "test-jars")
|
13
|
+
end
|
14
|
+
|
11
15
|
def self.load_jars!
|
12
16
|
require 'java'
|
13
17
|
Dir["#{jars_root}/*.jar"].each {|jar| require jar }
|
14
18
|
end
|
15
19
|
|
20
|
+
def self.load_test_jars!
|
21
|
+
require 'java'
|
22
|
+
Dir["#{test_jars_root}/*.jar"].each {|jar| require jar }
|
23
|
+
end
|
24
|
+
|
16
25
|
# This can be used by dependent gems to verify the Database versions have no mismatch.
|
17
26
|
def self.ensure_version!(other, edition)
|
18
27
|
return if ::Neo4j::Community::NEO_VERSION == other
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,71 +1,80 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-community
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.alpha.8
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease: 6
|
5
|
+
version: 1.6.0.alpha.9
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
- Dmytrii Nagirniak
|
9
|
-
- Andreas Ronge
|
7
|
+
authors:
|
8
|
+
- Dmytrii Nagirniak
|
9
|
+
- Andreas Ronge
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
|
13
|
+
|
14
|
+
date: 2012-02-01 00:00:00 Z
|
14
15
|
dependencies: []
|
15
|
-
|
16
|
-
|
17
|
-
email:
|
18
|
-
- dnagir@gmail.com
|
19
|
-
- andreas.ronge@gmail.com
|
16
|
+
|
17
|
+
description: "The Java Jar files for the Neo4j Community, a high performance, fully ACID transactional graph database \xE2\x80\x93 licensed under the GPL, see license - http://neo4j.org/licensing-guide/ "
|
18
|
+
email:
|
19
|
+
- dnagir@gmail.com
|
20
|
+
- andreas.ronge@gmail.com
|
20
21
|
executables: []
|
22
|
+
|
21
23
|
extensions: []
|
24
|
+
|
22
25
|
extra_rdoc_files: []
|
23
|
-
|
24
|
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
- lib/neo4j-community
|
30
|
-
- lib/neo4j-community/jars/
|
31
|
-
- lib/neo4j-community/jars/
|
32
|
-
- lib/neo4j-community/jars/neo4j-
|
33
|
-
- lib/neo4j-community/jars/neo4j-
|
34
|
-
- lib/neo4j-community/jars/neo4j-graph-
|
35
|
-
- lib/neo4j-community/jars/neo4j-
|
36
|
-
- lib/neo4j-community/jars/neo4j-
|
37
|
-
- lib/neo4j-community/jars/neo4j-
|
38
|
-
- lib/neo4j-community/jars/neo4j-
|
39
|
-
- lib/neo4j-community/jars/neo4j-
|
40
|
-
- lib/neo4j-community/jars/
|
41
|
-
- lib/neo4j-community/jars/
|
42
|
-
- lib/neo4j-community/jars/
|
43
|
-
- lib/neo4j-community/
|
44
|
-
- lib/neo4j-jars.
|
45
|
-
- neo4j-community.
|
26
|
+
|
27
|
+
files:
|
28
|
+
- .gitignore
|
29
|
+
- Gemfile
|
30
|
+
- README.md
|
31
|
+
- Rakefile
|
32
|
+
- lib/neo4j-community.rb
|
33
|
+
- lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
|
34
|
+
- lib/neo4j-community/jars/lucene-core-3.5.0.jar
|
35
|
+
- lib/neo4j-community/jars/neo4j-community-1.6.jar
|
36
|
+
- lib/neo4j-community/jars/neo4j-cypher-1.6.jar
|
37
|
+
- lib/neo4j-community/jars/neo4j-graph-algo-1.6.jar
|
38
|
+
- lib/neo4j-community/jars/neo4j-graph-matching-1.6.jar
|
39
|
+
- lib/neo4j-community/jars/neo4j-jmx-1.6.jar
|
40
|
+
- lib/neo4j-community/jars/neo4j-kernel-1.6.jar
|
41
|
+
- lib/neo4j-community/jars/neo4j-lucene-index-1.6.jar
|
42
|
+
- lib/neo4j-community/jars/neo4j-shell-1.6.jar
|
43
|
+
- lib/neo4j-community/jars/neo4j-udc-1.6.jar
|
44
|
+
- lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
|
45
|
+
- lib/neo4j-community/jars/scala-library-2.9.0-1.jar
|
46
|
+
- lib/neo4j-community/jars/server-api-1.6.jar
|
47
|
+
- lib/neo4j-community/test-jars/neo4j-kernel-1.6-tests.jar
|
48
|
+
- lib/neo4j-community/version.rb
|
49
|
+
- lib/neo4j-community/version.rb.orig
|
50
|
+
- lib/neo4j-jars.rb
|
51
|
+
- neo4j-community.gemspec
|
46
52
|
homepage: https://github.com/dnagir/neo4j-community
|
47
53
|
licenses: []
|
54
|
+
|
48
55
|
post_install_message:
|
49
56
|
rdoc_options: []
|
50
|
-
|
51
|
-
|
52
|
-
|
57
|
+
|
58
|
+
require_paths:
|
59
|
+
- lib
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
61
|
none: false
|
54
|
-
requirements:
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: "0"
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
67
|
none: false
|
60
|
-
requirements:
|
61
|
-
|
62
|
-
|
63
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 1.3.1
|
64
72
|
requirements: []
|
73
|
+
|
65
74
|
rubyforge_project: neo4j-community
|
66
|
-
rubygems_version: 1.8.
|
75
|
+
rubygems_version: 1.8.15
|
67
76
|
signing_key:
|
68
77
|
specification_version: 3
|
69
|
-
summary: The neo4j Community edition v1.6
|
78
|
+
summary: The neo4j Community edition v1.6 JAR files
|
70
79
|
test_files: []
|
71
|
-
|
80
|
+
|
Binary file
|
Binary file
|
Binary file
|