neo4j-enterprise 1.8.1-java → 1.8.2-java

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,6 +18,7 @@ How to Release
18
18
  6. cp ~/Download/neo4j-enterprise-VERSION to tmp
19
19
  7. rake upgrade
20
20
  8. edit the lib/neo4j-enterprise/version file
21
+ 9. rake build
21
22
 
22
23
  There should now be a gem file available in the pkg folder.
23
24
  gem install pkg/neo4j-enterprise-VERSION-java.gem
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
+ # To find which jar file contains a java class
4
+ # find tmp -name *.jar -exec bash -c "echo {} && jar tvf {} | grep StaticLoggerBinder " \;
3
5
 
4
6
  def download_folder
5
7
  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')
@@ -22,10 +24,20 @@ def unpack_lib_dir
22
24
  File.expand_path("./tmp/#{dir}/lib")
23
25
  end
24
26
 
27
+ def unpack_system_lib_dir
28
+ dir = tar_file.gsub('-unix.tar.gz', '')
29
+ dir = dir.gsub('-unix.tar', '')
30
+ File.expand_path("./tmp/#{dir}/system/lib")
31
+ end
32
+
25
33
  def jar_files_to_copy
26
34
  Dir.new(unpack_lib_dir).entries.find_all {|x| x =~ /\.jar/}
27
35
  end
28
36
 
37
+ def system_jar_files_to_copy
38
+ Dir.new(unpack_system_lib_dir).entries.find_all {|x| x =~ /\.jar/}
39
+ end
40
+
29
41
  desc "Delete old Jar files"
30
42
  task :delete_old_jar do
31
43
  root = File.expand_path("./lib/neo4j-enterprise/jars")
@@ -36,7 +48,7 @@ task :delete_old_jar do
36
48
  end
37
49
 
38
50
  def include_jar?(file)
39
- include_only = %w[log4j neo4j-backup neo4j-com neo4j-enterprise neo4j-ha org.apache.servicemix.bundles.netty slf4j zookeeper]
51
+ include_only = %w[server-api neo4j-udc neo4j-consistency-check log4j logback-core zookeeper logback-classic neo4j-cluster netty neo4j-backup neo4j-com neo4j-enterprise neo4j-ha org.apache.servicemix.bundles.netty slf4j]
40
52
  include_only.each do |i|
41
53
  return true if file.start_with?(i)
42
54
  end
@@ -53,4 +65,10 @@ task :upgrade => [:delete_old_jar] do
53
65
  system "cp #{unpack_lib_dir}/#{f} #{jars}/"
54
66
  system "git add -f #{jars}/#{f}"
55
67
  end
68
+
69
+ system_jar_files_to_copy.each do |f|
70
+ next unless include_jar?(f)
71
+ system "cp #{unpack_system_lib_dir}/#{f} #{jars}/"
72
+ system "git add -f #{jars}/#{f}"
73
+ end
56
74
  end
@@ -1,6 +1,6 @@
1
1
  module Neo4j
2
2
  module Enterprise
3
- VERSION = "1.8.1"
4
- NEO_VERSION = "1.8.1"
3
+ VERSION = "1.8.2"
4
+ NEO_VERSION = "1.8.2"
5
5
  end
6
6
  end
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.platform = 'java'
22
22
 
23
23
  # specify any dependencies here; for example:
24
- # s.add_development_dependency "rspec"
24
+ s.add_development_dependency "rake"
25
+ s.add_development_dependency "jeweler"
25
26
  # s.add_runtime_dependency "rest-client"
26
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-enterprise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -10,8 +10,44 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-27 00:00:00.000000000 Z
14
- dependencies: []
13
+ date: 2013-05-07 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rake
17
+ version_requirements: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: !binary |-
22
+ MA==
23
+ none: false
24
+ requirement: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: !binary |-
29
+ MA==
30
+ none: false
31
+ prerelease: false
32
+ type: :development
33
+ - !ruby/object:Gem::Dependency
34
+ name: jeweler
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: !binary |-
40
+ MA==
41
+ none: false
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: !binary |-
47
+ MA==
48
+ none: false
49
+ prerelease: false
50
+ type: :development
15
51
  description: The Neo4j Enterprise Jar files, adding online backup and High Availability clustering – licensed under AGPL, see http://neo4j.org/licensing-guide/
16
52
  email:
17
53
  - dnagir@gmail.com
@@ -20,16 +56,21 @@ executables: []
20
56
  extensions: []
21
57
  extra_rdoc_files: []
22
58
  files:
23
- - .gitignore
59
+ - ".gitignore"
24
60
  - Gemfile
25
61
  - README.md
26
62
  - Rakefile
27
63
  - lib/neo4j-enterprise.rb
28
64
  - lib/neo4j-enterprise/jars/log4j-1.2.16.jar
29
- - lib/neo4j-enterprise/jars/neo4j-backup-1.8.1.jar
30
- - lib/neo4j-enterprise/jars/neo4j-com-1.8.1.jar
31
- - lib/neo4j-enterprise/jars/neo4j-ha-1.8.1.jar
65
+ - lib/neo4j-enterprise/jars/logback-classic-0.9.30.jar
66
+ - lib/neo4j-enterprise/jars/logback-core-0.9.30.jar
67
+ - lib/neo4j-enterprise/jars/neo4j-backup-1.8.2.jar
68
+ - lib/neo4j-enterprise/jars/neo4j-com-1.8.2.jar
69
+ - lib/neo4j-enterprise/jars/neo4j-consistency-check-1.8.2.jar
70
+ - lib/neo4j-enterprise/jars/neo4j-ha-1.8.2.jar
71
+ - lib/neo4j-enterprise/jars/neo4j-udc-1.8.2.jar
32
72
  - lib/neo4j-enterprise/jars/org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar
73
+ - lib/neo4j-enterprise/jars/server-api-1.8.2.jar
33
74
  - lib/neo4j-enterprise/jars/slf4j-api-1.6.2.jar
34
75
  - lib/neo4j-enterprise/jars/zookeeper-3.3.2.jar
35
76
  - lib/neo4j-enterprise/version.rb
@@ -42,14 +83,14 @@ require_paths:
42
83
  - lib
43
84
  required_ruby_version: !ruby/object:Gem::Requirement
44
85
  requirements:
45
- - - ! '>='
86
+ - - ">="
46
87
  - !ruby/object:Gem::Version
47
88
  version: !binary |-
48
89
  MA==
49
90
  none: false
50
91
  required_rubygems_version: !ruby/object:Gem::Requirement
51
92
  requirements:
52
- - - ! '>='
93
+ - - ">="
53
94
  - !ruby/object:Gem::Version
54
95
  version: !binary |-
55
96
  MA==
@@ -59,5 +100,5 @@ rubyforge_project: neo4j-enterprise
59
100
  rubygems_version: 1.8.24
60
101
  signing_key:
61
102
  specification_version: 3
62
- summary: The neo4j Enterprise edition v1.8.1 JAR files
103
+ summary: The neo4j Enterprise edition v1.8.2 JAR files
63
104
  test_files: []