neo4j-enterprise 1.6.0.alpha.8-java → 1.6.0.alpha.9-java

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1 +1,40 @@
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-enterprise/jars")
21
+ files = Dir.new(root).entries.find_all{|f| f =~ /\.jar/}
22
+ files.each do |file|
23
+ system "git rm #{root}/#{file}" unless file.start_with?('log4j')
24
+ end
25
+ end
26
+
27
+ def include_jar?(file)
28
+ include_only = %w[log4j neo4j-backup neo4j-com neo4j-enterprise neo4j-ha org.apache.servicemix.bundles.netty slf4j zookeeper]
29
+ include_only.each do |i|
30
+ return true if file.start_with?(i)
31
+ end
32
+ false
33
+ end
34
+
35
+ desc "Upgrade using downloaded ...tar.gz file in ./tmp"
36
+ task :upgrade => [:delete_old_jar] do
37
+ system "cd tmp; tar xf #{source_file}"
38
+ jars = File.expand_path("./lib/neo4j-enterprise/jars")
39
+ jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}" if include_jar?(f)}
40
+ end
@@ -1,6 +1,6 @@
1
1
  module Neo4j
2
2
  module Enterprise
3
- VERSION = "1.6.0.alpha.8"
4
- NEO_VERSION = "1.6.M02"
3
+ VERSION = "1.6.0.alpha.9"
4
+ NEO_VERSION = "1.6"
5
5
  end
6
6
  end
@@ -18,9 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.platform = 'java'
22
-
23
- s.add_runtime_dependency "neo4j-advanced", "~> 1.6.0.alpha"
21
+ s.platform = 'java'
22
+ s.add_runtime_dependency "neo4j-advanced", "~> 1.6.0.alpha.9"
24
23
  s.add_runtime_dependency "neo4j-community" # Just making it explicit
25
24
 
26
25
  # specify any dependencies here; for example:
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.6.0.alpha.8
4
+ version: 1.6.0.alpha.9
5
5
  prerelease: 6
6
6
  platform: java
7
7
  authors:
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-17 00:00:00.000000000 Z
13
+ date: 2012-02-01 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: neo4j-advanced
17
- requirement: &70182865646680 !ruby/object:Gem::Requirement
17
+ requirement: &14526740 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 1.6.0.alpha
22
+ version: 1.6.0.alpha.9
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70182865646680
25
+ version_requirements: *14526740
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: neo4j-community
28
- requirement: &70182865645480 !ruby/object:Gem::Requirement
28
+ requirement: &14522300 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70182865645480
36
+ version_requirements: *14522300
37
37
  description: The Neo4j Enterprise Jar files, adding online backup and High Availability
38
38
  clustering – licensed under AGPL, see http://neo4j.org/licensing-guide/
39
39
  email:
@@ -49,10 +49,10 @@ files:
49
49
  - Rakefile
50
50
  - lib/neo4j-enterprise.rb
51
51
  - lib/neo4j-enterprise/jars/log4j-1.2.16.jar
52
- - lib/neo4j-enterprise/jars/neo4j-backup-1.6.M02.jar
53
- - lib/neo4j-enterprise/jars/neo4j-com-1.6.M02.jar
54
- - lib/neo4j-enterprise/jars/neo4j-enterprise-1.6.M02.jar
55
- - lib/neo4j-enterprise/jars/neo4j-ha-1.6.M02.jar
52
+ - lib/neo4j-enterprise/jars/neo4j-backup-1.6.jar
53
+ - lib/neo4j-enterprise/jars/neo4j-com-1.6.jar
54
+ - lib/neo4j-enterprise/jars/neo4j-enterprise-1.6.jar
55
+ - lib/neo4j-enterprise/jars/neo4j-ha-1.6.jar
56
56
  - lib/neo4j-enterprise/jars/org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar
57
57
  - lib/neo4j-enterprise/jars/slf4j-api-1.6.1.jar
58
58
  - lib/neo4j-enterprise/jars/zookeeper-3.3.2.jar
@@ -81,6 +81,5 @@ rubyforge_project: neo4j-enterprise
81
81
  rubygems_version: 1.8.10
82
82
  signing_key:
83
83
  specification_version: 3
84
- summary: The neo4j Enterprise edition v1.6.M02 JAR files
84
+ summary: The neo4j Enterprise edition v1.6 JAR files
85
85
  test_files: []
86
- has_rdoc: