neo4j-community 1.7.1-java → 1.8.M06-java

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,13 +1,17 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
+ def tar_file
4
+ Dir.new('tmp').entries.find { |x| x =~ /gz$/ || x =~ /tar$/}
5
+ end
6
+
3
7
  def source_file
4
- gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
5
- File.expand_path("./tmp/#{gz_file}")
8
+ File.expand_path("./tmp/#{tar_file}")
6
9
  end
7
10
 
8
11
  def unpack_lib_dir
9
- gz_file = Dir.new('tmp').entries.find { |x| x =~ /gz$/ }
10
- dir = gz_file.gsub('-unix.tar.gz', '')
12
+ file = tar_file
13
+ dir = file.gsub('-unix.tar.gz', '')
14
+ dir = dir.gsub('-unix.tar', '')
11
15
  File.expand_path("./tmp/#{dir}/lib")
12
16
  end
13
17
 
@@ -20,7 +24,8 @@ task :delete_old_jar do
20
24
  root = File.expand_path("./lib/neo4j-community/jars")
21
25
  files = Dir.new(root).entries.find_all{|f| f =~ /\.jar/}
22
26
  files.each do |file|
23
- system "rm #{root}/#{file}"
27
+ puts "Delete #{file}"
28
+ system "git rm #{root}/#{file}"
24
29
  end
25
30
  end
26
31
 
@@ -28,7 +33,9 @@ desc "Upgrade using downloaded ...tar.gz file in ./tmp"
28
33
  task :upgrade => [:delete_old_jar] do
29
34
  system "cd tmp; tar xf #{source_file}"
30
35
  jars = File.expand_path("./lib/neo4j-community/jars")
36
+ puts "Jar dir #{jars}"
37
+ FileUtils.mkdir_p(jars)
31
38
  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/}
39
+ jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{jars}; git add #{jars}/#{f}" unless f =~ /tests/}
33
40
  jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{test_jars}" if f =~ /tests/}
34
41
  end
@@ -1,7 +1,7 @@
1
1
  module Neo4j
2
2
  module Community
3
- VERSION = "1.7.1"
4
- NEO_VERSION = "1.7.1"
3
+ VERSION = "1.8.M06"
4
+ NEO_VERSION = "1.8.M06"
5
5
  end
6
6
  end
7
7
 
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-community
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.7.1
4
+ prerelease: 4
5
+ version: 1.8.M06
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-06-07 00:00:00 Z
14
+ date: 2012-08-05 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/ "
@@ -32,17 +32,17 @@ files:
32
32
  - lib/neo4j-community.rb
33
33
  - lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
34
34
  - lib/neo4j-community/jars/lucene-core-3.5.0.jar
35
- - lib/neo4j-community/jars/neo4j-cypher-1.7.1.jar
36
- - lib/neo4j-community/jars/neo4j-graph-algo-1.7.1.jar
37
- - lib/neo4j-community/jars/neo4j-graph-matching-1.7.1.jar
38
- - lib/neo4j-community/jars/neo4j-jmx-1.7.1.jar
39
- - lib/neo4j-community/jars/neo4j-kernel-1.7.1.jar
40
- - lib/neo4j-community/jars/neo4j-lucene-index-1.7.1.jar
41
- - lib/neo4j-community/jars/neo4j-shell-1.7.1.jar
42
- - lib/neo4j-community/jars/neo4j-udc-1.7.1.jar
35
+ - lib/neo4j-community/jars/neo4j-cypher-1.8.M06.jar
36
+ - lib/neo4j-community/jars/neo4j-graph-algo-1.8.M06.jar
37
+ - lib/neo4j-community/jars/neo4j-graph-matching-1.8.M06.jar
38
+ - lib/neo4j-community/jars/neo4j-jmx-1.8.M06.jar
39
+ - lib/neo4j-community/jars/neo4j-kernel-1.8.M06.jar
40
+ - lib/neo4j-community/jars/neo4j-lucene-index-1.8.M06.jar
41
+ - lib/neo4j-community/jars/neo4j-shell-1.8.M06.jar
42
+ - lib/neo4j-community/jars/neo4j-udc-1.8.M06.jar
43
43
  - lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
44
- - lib/neo4j-community/jars/scala-library-2.9.0-1.jar
45
- - lib/neo4j-community/jars/server-api-1.7.1.jar
44
+ - lib/neo4j-community/jars/scala-library-2.9.1-1.jar
45
+ - lib/neo4j-community/jars/server-api-1.8.M06.jar
46
46
  - lib/neo4j-community/test-jars/neo4j-kernel-1.7.1-tests.jar
47
47
  - lib/neo4j-community/version.rb
48
48
  - lib/neo4j-community/version.rb.orig
@@ -65,16 +65,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  none: false
67
67
  requirements:
68
- - - ">="
68
+ - - ">"
69
69
  - !ruby/object:Gem::Version
70
- version: "0"
70
+ version: 1.3.1
71
71
  requirements: []
72
72
 
73
73
  rubyforge_project: neo4j-community
74
74
  rubygems_version: 1.8.15
75
75
  signing_key:
76
76
  specification_version: 3
77
- summary: The neo4j Community edition v1.7.1 JAR files
77
+ summary: The neo4j Community edition v1.8.M06 JAR files
78
78
  test_files: []
79
79
 
80
- has_rdoc: