neo4j-community 1.6.0.alpha.6-java → 1.6.1.alpha.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +33 -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.1.jar} +0 -0
- data/lib/neo4j-community/jars/neo4j-cypher-1.6.1.jar +0 -0
- data/lib/neo4j-community/jars/{neo4j-graph-algo-1.6.M02.jar → neo4j-graph-algo-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/neo4j-graph-matching-1.6.1.jar +0 -0
- data/lib/neo4j-community/jars/{neo4j-jmx-1.6.M02.jar → neo4j-jmx-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-kernel-1.6.M02.jar → neo4j-kernel-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-lucene-index-1.6.M02.jar → neo4j-lucene-index-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-shell-1.6.M02.jar → neo4j-shell-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/{neo4j-udc-1.6.M02.jar → neo4j-udc-1.6.1.jar} +0 -0
- data/lib/neo4j-community/jars/{server-api-1.6.M02.jar → server-api-1.6.1.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
- data/lib/neo4j-community.rb +9 -0
- metadata +17 -15
- 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
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/neo4j-community/jars/{neo4j-lucene-index-1.6.M02.jar → neo4j-lucene-index-1.6.1.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: neo4j-community
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.6.
|
5
|
+
version: 1.6.1.alpha.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Dmytrii Nagirniak
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-02-27 00:00:00 Z
|
15
15
|
dependencies: []
|
16
16
|
|
17
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/ "
|
@@ -31,20 +31,22 @@ files:
|
|
31
31
|
- Rakefile
|
32
32
|
- lib/neo4j-community.rb
|
33
33
|
- lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
|
34
|
-
- lib/neo4j-community/jars/lucene-core-3.
|
35
|
-
- lib/neo4j-community/jars/neo4j-community-1.6.
|
36
|
-
- lib/neo4j-community/jars/neo4j-cypher-1.6.
|
37
|
-
- lib/neo4j-community/jars/neo4j-graph-algo-1.6.
|
38
|
-
- lib/neo4j-community/jars/neo4j-graph-matching-1.6.
|
39
|
-
- lib/neo4j-community/jars/neo4j-jmx-1.6.
|
40
|
-
- lib/neo4j-community/jars/neo4j-kernel-1.6.
|
41
|
-
- lib/neo4j-community/jars/neo4j-lucene-index-1.6.
|
42
|
-
- lib/neo4j-community/jars/neo4j-shell-1.6.
|
43
|
-
- lib/neo4j-community/jars/neo4j-udc-1.6.
|
34
|
+
- lib/neo4j-community/jars/lucene-core-3.5.0.jar
|
35
|
+
- lib/neo4j-community/jars/neo4j-community-1.6.1.jar
|
36
|
+
- lib/neo4j-community/jars/neo4j-cypher-1.6.1.jar
|
37
|
+
- lib/neo4j-community/jars/neo4j-graph-algo-1.6.1.jar
|
38
|
+
- lib/neo4j-community/jars/neo4j-graph-matching-1.6.1.jar
|
39
|
+
- lib/neo4j-community/jars/neo4j-jmx-1.6.1.jar
|
40
|
+
- lib/neo4j-community/jars/neo4j-kernel-1.6.1.jar
|
41
|
+
- lib/neo4j-community/jars/neo4j-lucene-index-1.6.1.jar
|
42
|
+
- lib/neo4j-community/jars/neo4j-shell-1.6.1.jar
|
43
|
+
- lib/neo4j-community/jars/neo4j-udc-1.6.1.jar
|
44
44
|
- lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
|
45
45
|
- lib/neo4j-community/jars/scala-library-2.9.0-1.jar
|
46
|
-
- lib/neo4j-community/jars/server-api-1.6.
|
46
|
+
- lib/neo4j-community/jars/server-api-1.6.1.jar
|
47
|
+
- lib/neo4j-community/test-jars/neo4j-kernel-1.6-tests.jar
|
47
48
|
- lib/neo4j-community/version.rb
|
49
|
+
- lib/neo4j-community/version.rb.orig
|
48
50
|
- lib/neo4j-jars.rb
|
49
51
|
- neo4j-community.gemspec
|
50
52
|
homepage: https://github.com/dnagir/neo4j-community
|
@@ -70,9 +72,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
72
|
requirements: []
|
71
73
|
|
72
74
|
rubyforge_project: neo4j-community
|
73
|
-
rubygems_version: 1.8.
|
75
|
+
rubygems_version: 1.8.15
|
74
76
|
signing_key:
|
75
77
|
specification_version: 3
|
76
|
-
summary: The neo4j Community edition v1.6.
|
78
|
+
summary: The neo4j Community edition v1.6.1 JAR files
|
77
79
|
test_files: []
|
78
80
|
|
Binary file
|
Binary file
|
Binary file
|