neo4j-advanced 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-advanced/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
|
+
def include_jar?(file)
|
28
|
+
include_only = %w[neo4j-advanced neo4j-management]
|
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-advanced/jars")
|
39
|
+
jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}" if include_jar?(f)}
|
40
|
+
end
|
Binary file
|
Binary file
|
data/neo4j-advanced.gemspec
CHANGED
@@ -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.
|
22
|
-
|
23
|
-
s.platform = 'java'
|
21
|
+
s.platform = 'java'
|
22
|
+
s.add_runtime_dependency "neo4j-community", "~> 1.6.0.alpha.9"
|
24
23
|
|
25
24
|
# specify any dependencies here; for example:
|
26
25
|
# s.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-advanced
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.0.alpha.
|
4
|
+
version: 1.6.0.alpha.9
|
5
5
|
prerelease: 6
|
6
6
|
platform: java
|
7
7
|
authors:
|
@@ -10,19 +10,19 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01
|
13
|
+
date: 2012-02-01 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: neo4j-community
|
17
|
-
requirement: &
|
17
|
+
requirement: &18507780 !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: *
|
25
|
+
version_requirements: *18507780
|
26
26
|
description: ! 'The Java Jar files for the Neo4j Advanced edition, adding advanced
|
27
27
|
monitoring – licensed under the AGPL, see http://neo4j.org/licensing-guide/ '
|
28
28
|
email:
|
@@ -37,8 +37,8 @@ files:
|
|
37
37
|
- README.md
|
38
38
|
- Rakefile
|
39
39
|
- lib/neo4j-advanced.rb
|
40
|
-
- lib/neo4j-advanced/jars/neo4j-advanced-1.6.
|
41
|
-
- lib/neo4j-advanced/jars/neo4j-management-1.6.
|
40
|
+
- lib/neo4j-advanced/jars/neo4j-advanced-1.6.jar
|
41
|
+
- lib/neo4j-advanced/jars/neo4j-management-1.6.jar
|
42
42
|
- lib/neo4j-advanced/version.rb
|
43
43
|
- neo4j-advanced.gemspec
|
44
44
|
- spec/neo4j_spec.rb
|
@@ -66,8 +66,5 @@ rubyforge_project: neo4j-advanced
|
|
66
66
|
rubygems_version: 1.8.10
|
67
67
|
signing_key:
|
68
68
|
specification_version: 3
|
69
|
-
summary: The neo4j Advanced edition v1.6
|
70
|
-
test_files:
|
71
|
-
- spec/neo4j_spec.rb
|
72
|
-
- spec/spec_helper.rb
|
73
|
-
has_rdoc:
|
69
|
+
summary: The neo4j Advanced edition v1.6 JAR files
|
70
|
+
test_files: []
|