neo4j-enterprise 1.8.M06-java → 1.8.M07-java
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +13 -9
- data/Rakefile +21 -5
- data/lib/neo4j-enterprise/jars/{neo4j-backup-1.8.M06.jar → neo4j-backup-1.8.M07.jar} +0 -0
- data/lib/neo4j-enterprise/jars/{neo4j-com-1.8.M06.jar → neo4j-com-1.8.M07.jar} +0 -0
- data/lib/neo4j-enterprise/jars/{neo4j-ha-1.8.M06.jar → neo4j-ha-1.8.M07.jar} +0 -0
- data/lib/neo4j-enterprise/version.rb +2 -2
- metadata +6 -6
data/README.md
CHANGED
@@ -3,20 +3,24 @@ JAR files for the neo4j Graph Database
|
|
3
3
|
|
4
4
|
This gem provides a set of jar files of the Neo4j Graph Database.
|
5
5
|
|
6
|
-
To use it: `require 'neo4j-
|
6
|
+
To use it: `require 'neo4j-enterprise'`
|
7
7
|
|
8
8
|
It can be used directly but the intention is to use it with [neo4j.rb](https://github.com/andreasronge/neo4j).
|
9
9
|
|
10
|
-
|
10
|
+
How to Release
|
11
11
|
==================================================
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
1. cd neo4j-enterprise
|
14
|
+
2. git clean -df # make sure there are no local file
|
15
|
+
3. rm -rf tmp # make sure old tar file is deleted
|
16
|
+
4. mkdir tmp
|
17
|
+
5. Download tar/gz file from http://neo4j.org/download
|
18
|
+
6. cp ~/Download/neo4j-enterprise-VERSION to tmp
|
19
|
+
7. rake upgrade
|
20
|
+
8. edit the lib/neo4j-enterprise/version file
|
21
|
+
|
22
|
+
There should now be a gem file available in the pkg folder.
|
23
|
+
gem install pkg/neo4j-enterprise-VERSION-java.gem
|
20
24
|
|
21
25
|
License
|
22
26
|
==================================================
|
data/Rakefile
CHANGED
@@ -1,13 +1,24 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
|
3
|
+
|
4
|
+
def download_folder
|
5
|
+
abort "Please create a #{File.expand_path('tmp')} folder and copy the neo4j enterprise gz/tar file downloaded from http://neo4j.org/download" unless File.directory?('tmp')
|
6
|
+
Dir.new('tmp')
|
7
|
+
end
|
8
|
+
|
9
|
+
def tar_file
|
10
|
+
download_folder.entries.find { |x| x =~ /gz$/ || x =~ /tar$/}.tap do |f|
|
11
|
+
abort "expected a neo4j .gz/.tar file in folder #{File.expand_path(download_folder.path)}" unless f
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
3
15
|
def source_file
|
4
|
-
|
5
|
-
File.expand_path("./tmp/#{gz_file}")
|
16
|
+
File.expand_path("./tmp/#{tar_file}")
|
6
17
|
end
|
7
18
|
|
8
19
|
def unpack_lib_dir
|
9
|
-
|
10
|
-
dir =
|
20
|
+
dir = tar_file.gsub('-unix.tar.gz', '')
|
21
|
+
dir = dir.gsub('-unix.tar', '')
|
11
22
|
File.expand_path("./tmp/#{dir}/lib")
|
12
23
|
end
|
13
24
|
|
@@ -36,5 +47,10 @@ desc "Upgrade using downloaded ...tar.gz file in ./tmp"
|
|
36
47
|
task :upgrade => [:delete_old_jar] do
|
37
48
|
system "cd tmp; tar xf #{source_file}"
|
38
49
|
jars = File.expand_path("./lib/neo4j-enterprise/jars")
|
39
|
-
|
50
|
+
system "mkdir -p #{jars}"
|
51
|
+
jar_files_to_copy.each do |f|
|
52
|
+
next unless include_jar?(f)
|
53
|
+
system "cp #{unpack_lib_dir}/#{f} #{jars}/"
|
54
|
+
system "git add -f #{jars}/#{f}"
|
55
|
+
end
|
40
56
|
end
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: neo4j-enterprise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 4
|
5
|
-
version: 1.8.
|
5
|
+
version: 1.8.M07
|
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-08-
|
14
|
+
date: 2012-08-13 00:00:00 Z
|
15
15
|
dependencies: []
|
16
16
|
|
17
17
|
description: "The Neo4j Enterprise Jar files, adding online backup and High Availability clustering \xE2\x80\x93 licensed under AGPL, see http://neo4j.org/licensing-guide/"
|
@@ -31,9 +31,9 @@ files:
|
|
31
31
|
- Rakefile
|
32
32
|
- lib/neo4j-enterprise.rb
|
33
33
|
- lib/neo4j-enterprise/jars/log4j-1.2.16.jar
|
34
|
-
- lib/neo4j-enterprise/jars/neo4j-backup-1.8.
|
35
|
-
- lib/neo4j-enterprise/jars/neo4j-com-1.8.
|
36
|
-
- lib/neo4j-enterprise/jars/neo4j-ha-1.8.
|
34
|
+
- lib/neo4j-enterprise/jars/neo4j-backup-1.8.M07.jar
|
35
|
+
- lib/neo4j-enterprise/jars/neo4j-com-1.8.M07.jar
|
36
|
+
- lib/neo4j-enterprise/jars/neo4j-ha-1.8.M07.jar
|
37
37
|
- lib/neo4j-enterprise/jars/org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar
|
38
38
|
- lib/neo4j-enterprise/jars/slf4j-api-1.6.2.jar
|
39
39
|
- lib/neo4j-enterprise/jars/zookeeper-3.3.2.jar
|
@@ -65,6 +65,6 @@ rubyforge_project: neo4j-enterprise
|
|
65
65
|
rubygems_version: 1.8.15
|
66
66
|
signing_key:
|
67
67
|
specification_version: 3
|
68
|
-
summary: The neo4j Enterprise edition v1.8.
|
68
|
+
summary: The neo4j Enterprise edition v1.8.M07 JAR files
|
69
69
|
test_files: []
|
70
70
|
|