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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -1 +1,34 @@
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-community/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
+ desc "Upgrade using downloaded ...tar.gz file in ./tmp"
28
+ task :upgrade => [:delete_old_jar] do
29
+ system "cd tmp; tar xf #{source_file}"
30
+ jars = File.expand_path("./lib/neo4j-community/jars")
31
+ 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/}
33
+ jar_files_to_copy.each {|f| system "cp #{unpack_lib_dir}/#{f} #{test_jars}" if f =~ /tests/}
34
+ end
@@ -8,11 +8,20 @@ module Neo4j
8
8
  File.join("#{File.dirname(__FILE__)}", "neo4j-community", "jars")
9
9
  end
10
10
 
11
+ def self.test_jars_root
12
+ File.join("#{File.dirname(__FILE__)}", "neo4j-community", "test-jars")
13
+ end
14
+
11
15
  def self.load_jars!
12
16
  require 'java'
13
17
  Dir["#{jars_root}/*.jar"].each {|jar| require jar }
14
18
  end
15
19
 
20
+ def self.load_test_jars!
21
+ require 'java'
22
+ Dir["#{test_jars_root}/*.jar"].each {|jar| require jar }
23
+ end
24
+
16
25
  # This can be used by dependent gems to verify the Database versions have no mismatch.
17
26
  def self.ensure_version!(other, edition)
18
27
  return if ::Neo4j::Community::NEO_VERSION == other
@@ -1,7 +1,7 @@
1
1
  module Neo4j
2
2
  module Community
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
7
7
 
@@ -0,0 +1,11 @@
1
+ module Neo4j
2
+ module Community
3
+ <<<<<<< HEAD
4
+ VERSION = "1.6.0.alpha.6"
5
+ =======
6
+ VERSION = "1.6.0.alpha.8"
7
+ >>>>>>> 28f4f245b730b1c3986c7ab149164769118dcf31
8
+ NEO_VERSION = "1.6.M02"
9
+ end
10
+ end
11
+
metadata CHANGED
@@ -1,71 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: neo4j-community
3
- version: !ruby/object:Gem::Version
4
- version: 1.6.0.alpha.8
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease: 6
5
+ version: 1.6.0.alpha.9
6
6
  platform: java
7
- authors:
8
- - Dmytrii Nagirniak
9
- - Andreas Ronge
7
+ authors:
8
+ - Dmytrii Nagirniak
9
+ - Andreas Ronge
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-17 00:00:00.000000000 Z
13
+
14
+ date: 2012-02-01 00:00:00 Z
14
15
  dependencies: []
15
- description: ! 'The Java Jar files for the Neo4j Community, a high performance, fully
16
- ACID transactional graph database licensed under the GPL, see license - http://neo4j.org/licensing-guide/ '
17
- email:
18
- - dnagir@gmail.com
19
- - andreas.ronge@gmail.com
16
+
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/ "
18
+ email:
19
+ - dnagir@gmail.com
20
+ - andreas.ronge@gmail.com
20
21
  executables: []
22
+
21
23
  extensions: []
24
+
22
25
  extra_rdoc_files: []
23
- files:
24
- - .gitignore
25
- - Gemfile
26
- - README.md
27
- - Rakefile
28
- - lib/neo4j-community.rb
29
- - lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
30
- - lib/neo4j-community/jars/lucene-core-3.1.0.jar
31
- - lib/neo4j-community/jars/neo4j-community-1.6.M02.jar
32
- - lib/neo4j-community/jars/neo4j-cypher-1.6.M02.jar
33
- - lib/neo4j-community/jars/neo4j-graph-algo-1.6.M02.jar
34
- - lib/neo4j-community/jars/neo4j-graph-matching-1.6.M02.jar
35
- - lib/neo4j-community/jars/neo4j-jmx-1.6.M02.jar
36
- - lib/neo4j-community/jars/neo4j-kernel-1.6.M02.jar
37
- - lib/neo4j-community/jars/neo4j-lucene-index-1.6.M02.jar
38
- - lib/neo4j-community/jars/neo4j-shell-1.6.M02.jar
39
- - lib/neo4j-community/jars/neo4j-udc-1.6.M02.jar
40
- - lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
41
- - lib/neo4j-community/jars/scala-library-2.9.0-1.jar
42
- - lib/neo4j-community/jars/server-api-1.6.M02.jar
43
- - lib/neo4j-community/version.rb
44
- - lib/neo4j-jars.rb
45
- - neo4j-community.gemspec
26
+
27
+ files:
28
+ - .gitignore
29
+ - Gemfile
30
+ - README.md
31
+ - Rakefile
32
+ - lib/neo4j-community.rb
33
+ - lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
34
+ - lib/neo4j-community/jars/lucene-core-3.5.0.jar
35
+ - lib/neo4j-community/jars/neo4j-community-1.6.jar
36
+ - lib/neo4j-community/jars/neo4j-cypher-1.6.jar
37
+ - lib/neo4j-community/jars/neo4j-graph-algo-1.6.jar
38
+ - lib/neo4j-community/jars/neo4j-graph-matching-1.6.jar
39
+ - lib/neo4j-community/jars/neo4j-jmx-1.6.jar
40
+ - lib/neo4j-community/jars/neo4j-kernel-1.6.jar
41
+ - lib/neo4j-community/jars/neo4j-lucene-index-1.6.jar
42
+ - lib/neo4j-community/jars/neo4j-shell-1.6.jar
43
+ - lib/neo4j-community/jars/neo4j-udc-1.6.jar
44
+ - lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
45
+ - lib/neo4j-community/jars/scala-library-2.9.0-1.jar
46
+ - lib/neo4j-community/jars/server-api-1.6.jar
47
+ - lib/neo4j-community/test-jars/neo4j-kernel-1.6-tests.jar
48
+ - lib/neo4j-community/version.rb
49
+ - lib/neo4j-community/version.rb.orig
50
+ - lib/neo4j-jars.rb
51
+ - neo4j-community.gemspec
46
52
  homepage: https://github.com/dnagir/neo4j-community
47
53
  licenses: []
54
+
48
55
  post_install_message:
49
56
  rdoc_options: []
50
- require_paths:
51
- - lib
52
- required_ruby_version: !ruby/object:Gem::Requirement
57
+
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
53
61
  none: false
54
- requirements:
55
- - - ! '>='
56
- - !ruby/object:Gem::Version
57
- version: '0'
58
- required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: "0"
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
67
  none: false
60
- requirements:
61
- - - ! '>'
62
- - !ruby/object:Gem::Version
63
- version: 1.3.1
68
+ requirements:
69
+ - - ">"
70
+ - !ruby/object:Gem::Version
71
+ version: 1.3.1
64
72
  requirements: []
73
+
65
74
  rubyforge_project: neo4j-community
66
- rubygems_version: 1.8.10
75
+ rubygems_version: 1.8.15
67
76
  signing_key:
68
77
  specification_version: 3
69
- summary: The neo4j Community edition v1.6.M02 JAR files
78
+ summary: The neo4j Community edition v1.6 JAR files
70
79
  test_files: []
71
- has_rdoc:
80
+