neo4j 1.0.0.beta.21-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/CHANGELOG +141 -0
- data/CONTRIBUTORS +17 -0
- data/Gemfile +16 -0
- data/README.rdoc +135 -0
- data/lib/generators/neo4j.rb +65 -0
- data/lib/generators/neo4j/model/model_generator.rb +39 -0
- data/lib/generators/neo4j/model/templates/model.erb +7 -0
- data/lib/neo4j.rb +77 -0
- data/lib/neo4j/config.rb +153 -0
- data/lib/neo4j/database.rb +56 -0
- data/lib/neo4j/equal.rb +21 -0
- data/lib/neo4j/event_handler.rb +116 -0
- data/lib/neo4j/index/class_methods.rb +62 -0
- data/lib/neo4j/index/index.rb +33 -0
- data/lib/neo4j/index/indexer.rb +312 -0
- data/lib/neo4j/index/indexer_registry.rb +68 -0
- data/lib/neo4j/index/lucene_query.rb +191 -0
- data/lib/neo4j/jars/geronimo-jta_1.1_spec-1.1.1.jar +0 -0
- data/lib/neo4j/jars/lucene-core-3.0.2.jar +0 -0
- data/lib/neo4j/jars/neo4j-index-1.2-1.2.M03.jar +0 -0
- data/lib/neo4j/jars/neo4j-kernel-1.2-1.2.M03.jar +0 -0
- data/lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M03.jar +0 -0
- data/lib/neo4j/load.rb +21 -0
- data/lib/neo4j/mapping/class_methods/init_node.rb +50 -0
- data/lib/neo4j/mapping/class_methods/init_rel.rb +35 -0
- data/lib/neo4j/mapping/class_methods/list.rb +13 -0
- data/lib/neo4j/mapping/class_methods/property.rb +82 -0
- data/lib/neo4j/mapping/class_methods/relationship.rb +91 -0
- data/lib/neo4j/mapping/class_methods/rule.rb +295 -0
- data/lib/neo4j/mapping/decl_relationship_dsl.rb +214 -0
- data/lib/neo4j/mapping/has_list.rb +134 -0
- data/lib/neo4j/mapping/has_n.rb +83 -0
- data/lib/neo4j/mapping/node_mixin.rb +112 -0
- data/lib/neo4j/mapping/relationship_mixin.rb +120 -0
- data/lib/neo4j/model.rb +4 -0
- data/lib/neo4j/neo4j.rb +95 -0
- data/lib/neo4j/node.rb +131 -0
- data/lib/neo4j/node_mixin.rb +4 -0
- data/lib/neo4j/node_relationship.rb +149 -0
- data/lib/neo4j/node_traverser.rb +157 -0
- data/lib/neo4j/property.rb +111 -0
- data/lib/neo4j/rails/attributes.rb +155 -0
- data/lib/neo4j/rails/callbacks.rb +34 -0
- data/lib/neo4j/rails/finders.rb +134 -0
- data/lib/neo4j/rails/lucene_connection_closer.rb +19 -0
- data/lib/neo4j/rails/mapping/property.rb +60 -0
- data/lib/neo4j/rails/model.rb +105 -0
- data/lib/neo4j/rails/persistence.rb +260 -0
- data/lib/neo4j/rails/railtie.rb +21 -0
- data/lib/neo4j/rails/relationships/mapper.rb +96 -0
- data/lib/neo4j/rails/relationships/relationship.rb +30 -0
- data/lib/neo4j/rails/relationships/relationships.rb +60 -0
- data/lib/neo4j/rails/serialization.rb +25 -0
- data/lib/neo4j/rails/timestamps.rb +65 -0
- data/lib/neo4j/rails/transaction.rb +67 -0
- data/lib/neo4j/rails/tx_methods.rb +15 -0
- data/lib/neo4j/rails/validations.rb +38 -0
- data/lib/neo4j/rails/validations/non_nil.rb +11 -0
- data/lib/neo4j/rails/validations/uniqueness.rb +37 -0
- data/lib/neo4j/relationship.rb +169 -0
- data/lib/neo4j/relationship_mixin.rb +4 -0
- data/lib/neo4j/relationship_traverser.rb +92 -0
- data/lib/neo4j/to_java.rb +31 -0
- data/lib/neo4j/transaction.rb +68 -0
- data/lib/neo4j/type_converters.rb +117 -0
- data/lib/neo4j/version.rb +3 -0
- data/lib/orm_adapter/adapters/neo4j.rb +55 -0
- data/lib/tmp/neo4j/active_tx_log +1 -0
- data/lib/tmp/neo4j/index/lucene-store.db +0 -0
- data/lib/tmp/neo4j/index/lucene.log.active +0 -0
- data/lib/tmp/neo4j/lucene-fulltext/lucene-store.db +0 -0
- data/lib/tmp/neo4j/lucene-fulltext/lucene.log.active +0 -0
- data/lib/tmp/neo4j/lucene/lucene-store.db +0 -0
- data/lib/tmp/neo4j/lucene/lucene.log.active +0 -0
- data/lib/tmp/neo4j/messages.log +85 -0
- data/lib/tmp/neo4j/neostore +0 -0
- data/lib/tmp/neo4j/neostore.id +0 -0
- data/lib/tmp/neo4j/neostore.nodestore.db +0 -0
- data/lib/tmp/neo4j/neostore.nodestore.db.id +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.arrays +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.arrays.id +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.id +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.index +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.index.id +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.index.keys +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.index.keys.id +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.strings +0 -0
- data/lib/tmp/neo4j/neostore.propertystore.db.strings.id +0 -0
- data/lib/tmp/neo4j/neostore.relationshipstore.db +0 -0
- data/lib/tmp/neo4j/neostore.relationshipstore.db.id +0 -0
- data/lib/tmp/neo4j/neostore.relationshiptypestore.db +0 -0
- data/lib/tmp/neo4j/neostore.relationshiptypestore.db.id +0 -0
- data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names +0 -0
- data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names.id +0 -0
- data/lib/tmp/neo4j/nioneo_logical.log.active +0 -0
- data/lib/tmp/neo4j/tm_tx_log.1 +0 -0
- data/neo4j.gemspec +31 -0
- metadata +216 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'orm_adapter'
|
2
|
+
|
3
|
+
module Neo4j
|
4
|
+
module Rails
|
5
|
+
class Model
|
6
|
+
extend ::OrmAdapter::ToAdapter
|
7
|
+
|
8
|
+
class OrmAdapter < ::OrmAdapter::Base
|
9
|
+
NEO4J_REF_NODE_ID = 0
|
10
|
+
|
11
|
+
# Do not consider these to be part of the class list
|
12
|
+
def self.except_classes
|
13
|
+
@@except_classes ||= []
|
14
|
+
end
|
15
|
+
|
16
|
+
# Gets a list of the available models for this adapter
|
17
|
+
def self.model_classes
|
18
|
+
::Neo4j::Rails::Model.descendants.to_a.select{|k| !except_classes.include?(k.name)}
|
19
|
+
end
|
20
|
+
|
21
|
+
# get a list of column names for a given class
|
22
|
+
def column_names
|
23
|
+
klass.props.keys
|
24
|
+
end
|
25
|
+
|
26
|
+
# Get an instance by id of the model
|
27
|
+
def get!(id)
|
28
|
+
get(id) || raise("Node not found")
|
29
|
+
end
|
30
|
+
|
31
|
+
# Get an instance by id of the model
|
32
|
+
def get(id)
|
33
|
+
id = wrap_key(id)
|
34
|
+
return nil if id.to_i == NEO4J_REF_NODE_ID # getting the ref_node in this way is not supported
|
35
|
+
klass.load(id)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Find the first instance matching conditions
|
39
|
+
def find_first(conditions)
|
40
|
+
klass.first(conditions)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Find all models matching conditions
|
44
|
+
def find_all(conditions)
|
45
|
+
klass.all(conditions)
|
46
|
+
end
|
47
|
+
|
48
|
+
# Create a model using attributes
|
49
|
+
def create!(attributes)
|
50
|
+
klass.create(attributes)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
tm_tx_log.1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,85 @@
|
|
1
|
+
Mon Nov 22 21:33:31 CET 2010: Creating new db @ tmp/neo4j/neostore
|
2
|
+
Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
|
3
|
+
Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
|
4
|
+
Mon Nov 22 21:33:31 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
|
5
|
+
Mon Nov 22 21:33:32 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
|
6
|
+
Mon Nov 22 21:33:32 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
|
7
|
+
Mon Nov 22 21:33:32 CET 2010: TM new log: tm_tx_log.1
|
8
|
+
Mon Nov 22 21:33:32 CET 2010: --- CONFIGURATION START ---
|
9
|
+
Mon Nov 22 21:33:32 CET 2010: Physical mem: 4017MB, Heap size: 483MB
|
10
|
+
Mon Nov 22 21:33:32 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M03
|
11
|
+
Mon Nov 22 21:33:32 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
|
12
|
+
Mon Nov 22 21:33:32 CET 2010: VM Name: Java HotSpot(TM) Client VM
|
13
|
+
Mon Nov 22 21:33:32 CET 2010: VM Vendor: Sun Microsystems Inc.
|
14
|
+
Mon Nov 22 21:33:32 CET 2010: VM Version: 17.1-b03
|
15
|
+
Mon Nov 22 21:33:32 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
|
16
|
+
Mon Nov 22 21:33:32 CET 2010: Class Path: :
|
17
|
+
Mon Nov 22 21:33:32 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
|
18
|
+
Mon Nov 22 21:33:32 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
|
19
|
+
Mon Nov 22 21:33:32 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
|
20
|
+
Mon Nov 22 21:33:32 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
|
21
|
+
Mon Nov 22 21:33:32 CET 2010:
|
22
|
+
Mon Nov 22 21:33:32 CET 2010: create=true
|
23
|
+
Mon Nov 22 21:33:32 CET 2010: dir=tmp/neo4j/lucene-fulltext
|
24
|
+
Mon Nov 22 21:33:32 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
|
25
|
+
Mon Nov 22 21:33:32 CET 2010: neo_store=tmp/neo4j/neostore
|
26
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.nodestore.db.mapped_memory=20M
|
27
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
|
28
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
|
29
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
|
30
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.mapped_memory=90M
|
31
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
|
32
|
+
Mon Nov 22 21:33:32 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
|
33
|
+
Mon Nov 22 21:33:32 CET 2010: rebuild_idgenerators_fast=true
|
34
|
+
Mon Nov 22 21:33:32 CET 2010: store_dir=tmp/neo4j
|
35
|
+
Mon Nov 22 21:33:32 CET 2010: --- CONFIGURATION END ---
|
36
|
+
Mon Nov 22 21:33:32 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
|
37
|
+
Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
|
38
|
+
Mon Nov 22 22:41:58 CET 2010: NeoStore closed
|
39
|
+
Mon Nov 22 22:41:58 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
|
40
|
+
Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
|
41
|
+
Mon Nov 22 22:41:58 CET 2010: NeoStore closed
|
42
|
+
Mon Nov 22 22:41:58 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
|
43
|
+
Mon Nov 22 22:41:58 CET 2010: TM shutting down
|
44
|
+
Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
|
45
|
+
Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
|
46
|
+
Wed Nov 24 14:18:31 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
|
47
|
+
Wed Nov 24 14:18:31 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
|
48
|
+
Wed Nov 24 14:18:31 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
|
49
|
+
Wed Nov 24 14:18:31 CET 2010: TM opening log: tmp/neo4j/tm_tx_log.1
|
50
|
+
Wed Nov 24 14:18:31 CET 2010: --- CONFIGURATION START ---
|
51
|
+
Wed Nov 24 14:18:31 CET 2010: Physical mem: 4017MB, Heap size: 483MB
|
52
|
+
Wed Nov 24 14:18:31 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M03
|
53
|
+
Wed Nov 24 14:18:31 CET 2010: Operating System: Linux; version: 2.6.32-25-generic-pae; arch: i386
|
54
|
+
Wed Nov 24 14:18:31 CET 2010: VM Name: Java HotSpot(TM) Client VM
|
55
|
+
Wed Nov 24 14:18:31 CET 2010: VM Vendor: Sun Microsystems Inc.
|
56
|
+
Wed Nov 24 14:18:31 CET 2010: VM Version: 17.1-b03
|
57
|
+
Wed Nov 24 14:18:31 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
|
58
|
+
Wed Nov 24 14:18:31 CET 2010: Class Path: :
|
59
|
+
Wed Nov 24 14:18:31 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
|
60
|
+
Wed Nov 24 14:18:31 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
|
61
|
+
Wed Nov 24 14:18:31 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
|
62
|
+
Wed Nov 24 14:18:31 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
|
63
|
+
Wed Nov 24 14:18:31 CET 2010:
|
64
|
+
Wed Nov 24 14:18:31 CET 2010: create=true
|
65
|
+
Wed Nov 24 14:18:31 CET 2010: dir=tmp/neo4j/lucene-fulltext
|
66
|
+
Wed Nov 24 14:18:31 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
|
67
|
+
Wed Nov 24 14:18:31 CET 2010: neo_store=tmp/neo4j/neostore
|
68
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.nodestore.db.mapped_memory=20M
|
69
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
|
70
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
|
71
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
|
72
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.mapped_memory=90M
|
73
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
|
74
|
+
Wed Nov 24 14:18:31 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
|
75
|
+
Wed Nov 24 14:18:31 CET 2010: rebuild_idgenerators_fast=true
|
76
|
+
Wed Nov 24 14:18:31 CET 2010: store_dir=tmp/neo4j
|
77
|
+
Wed Nov 24 14:18:31 CET 2010: --- CONFIGURATION END ---
|
78
|
+
Wed Nov 24 14:18:31 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
|
79
|
+
Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
|
80
|
+
Wed Nov 24 14:49:39 CET 2010: NeoStore closed
|
81
|
+
Wed Nov 24 14:49:39 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
|
82
|
+
Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
|
83
|
+
Wed Nov 24 14:49:39 CET 2010: NeoStore closed
|
84
|
+
Wed Nov 24 14:49:39 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
|
85
|
+
Wed Nov 24 14:49:39 CET 2010: TM shutting down
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/neo4j.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
lib = File.expand_path('../lib/', __FILE__)
|
2
|
+
$:.unshift lib unless $:.include?(lib)
|
3
|
+
|
4
|
+
require 'neo4j/version'
|
5
|
+
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "neo4j"
|
9
|
+
s.version = Neo4j::VERSION
|
10
|
+
s.platform = 'java'
|
11
|
+
s.authors = "Andreas Ronge"
|
12
|
+
s.email = 'andreas.ronge@gmail.com'
|
13
|
+
s.homepage = "http://github.com/andreasronge/neo4j/tree"
|
14
|
+
s.rubyforge_project = 'neo4j'
|
15
|
+
s.summary = "A graph database for JRuby"
|
16
|
+
s.description = <<-EOF
|
17
|
+
You can think of Neo4j as a high-performance graph engine with all the features of a mature and robust database.
|
18
|
+
The programmer works with an object-oriented, flexible network structure rather than with strict and static tables — yet enjoys all the benefits of a fully transactional, enterprise-strength database.
|
19
|
+
It comes included with the Apache Lucene document database.
|
20
|
+
EOF
|
21
|
+
|
22
|
+
s.require_path = 'lib'
|
23
|
+
s.files = Dir.glob("{bin,lib}/**/*") + %w(README.rdoc CHANGELOG CONTRIBUTORS Gemfile neo4j.gemspec)
|
24
|
+
s.has_rdoc = true
|
25
|
+
s.extra_rdoc_files = %w( README.rdoc )
|
26
|
+
s.rdoc_options = ["--quiet", "--title", "Neo4j.rb", "--opname", "index.html", "--line-numbers", "--main", "README.rdoc", "--inline-source"]
|
27
|
+
s.required_ruby_version = ">= 1.8.7"
|
28
|
+
s.add_dependency('orm_adapter',">= 0.0.3")
|
29
|
+
s.add_dependency("activemodel", ">= 3.0.0")
|
30
|
+
s.add_dependency("railties", ">= 3.0.0")
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: neo4j
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- beta
|
10
|
+
- 21
|
11
|
+
version: 1.0.0.beta.21
|
12
|
+
platform: java
|
13
|
+
authors:
|
14
|
+
- Andreas Ronge
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-11-24 00:00:00 +01:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: orm_adapter
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
- 3
|
33
|
+
version: 0.0.3
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: activemodel
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 3
|
45
|
+
- 0
|
46
|
+
- 0
|
47
|
+
version: 3.0.0
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: railties
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 3
|
59
|
+
- 0
|
60
|
+
- 0
|
61
|
+
version: 3.0.0
|
62
|
+
type: :runtime
|
63
|
+
version_requirements: *id003
|
64
|
+
description: "You can think of Neo4j as a high-performance graph engine with all the features of a mature and robust database.\n\
|
65
|
+
The programmer works with an object-oriented, flexible network structure rather than with strict and static tables \xE2\x80\x94 yet enjoys all the benefits of a fully transactional, enterprise-strength database.\n\
|
66
|
+
It comes included with the Apache Lucene document database.\n"
|
67
|
+
email: andreas.ronge@gmail.com
|
68
|
+
executables: []
|
69
|
+
|
70
|
+
extensions: []
|
71
|
+
|
72
|
+
extra_rdoc_files:
|
73
|
+
- README.rdoc
|
74
|
+
files:
|
75
|
+
- lib/neo4j.rb
|
76
|
+
- lib/generators/neo4j.rb
|
77
|
+
- lib/generators/neo4j/model/model_generator.rb
|
78
|
+
- lib/generators/neo4j/model/templates/model.erb
|
79
|
+
- lib/orm_adapter/adapters/neo4j.rb
|
80
|
+
- lib/tmp/neo4j/neostore.relationshiptypestore.db.names
|
81
|
+
- lib/tmp/neo4j/neostore.id
|
82
|
+
- lib/tmp/neo4j/neostore.relationshiptypestore.db.names.id
|
83
|
+
- lib/tmp/neo4j/neostore.nodestore.db.id
|
84
|
+
- lib/tmp/neo4j/neostore.propertystore.db.index
|
85
|
+
- lib/tmp/neo4j/neostore.propertystore.db.strings.id
|
86
|
+
- lib/tmp/neo4j/nioneo_logical.log.active
|
87
|
+
- lib/tmp/neo4j/neostore.propertystore.db.strings
|
88
|
+
- lib/tmp/neo4j/neostore.relationshiptypestore.db.id
|
89
|
+
- lib/tmp/neo4j/neostore
|
90
|
+
- lib/tmp/neo4j/neostore.nodestore.db
|
91
|
+
- lib/tmp/neo4j/neostore.propertystore.db.index.keys.id
|
92
|
+
- lib/tmp/neo4j/neostore.propertystore.db.arrays.id
|
93
|
+
- lib/tmp/neo4j/messages.log
|
94
|
+
- lib/tmp/neo4j/neostore.relationshipstore.db.id
|
95
|
+
- lib/tmp/neo4j/neostore.propertystore.db.arrays
|
96
|
+
- lib/tmp/neo4j/neostore.relationshipstore.db
|
97
|
+
- lib/tmp/neo4j/neostore.propertystore.db.index.id
|
98
|
+
- lib/tmp/neo4j/neostore.propertystore.db.id
|
99
|
+
- lib/tmp/neo4j/neostore.propertystore.db
|
100
|
+
- lib/tmp/neo4j/tm_tx_log.1
|
101
|
+
- lib/tmp/neo4j/neostore.relationshiptypestore.db
|
102
|
+
- lib/tmp/neo4j/active_tx_log
|
103
|
+
- lib/tmp/neo4j/neostore.propertystore.db.index.keys
|
104
|
+
- lib/tmp/neo4j/lucene-fulltext/lucene-store.db
|
105
|
+
- lib/tmp/neo4j/lucene-fulltext/lucene.log.active
|
106
|
+
- lib/tmp/neo4j/index/lucene-store.db
|
107
|
+
- lib/tmp/neo4j/index/lucene.log.active
|
108
|
+
- lib/tmp/neo4j/lucene/lucene-store.db
|
109
|
+
- lib/tmp/neo4j/lucene/lucene.log.active
|
110
|
+
- lib/neo4j/event_handler.rb
|
111
|
+
- lib/neo4j/model.rb
|
112
|
+
- lib/neo4j/type_converters.rb
|
113
|
+
- lib/neo4j/node_traverser.rb
|
114
|
+
- lib/neo4j/relationship_traverser.rb
|
115
|
+
- lib/neo4j/config.rb
|
116
|
+
- lib/neo4j/transaction.rb
|
117
|
+
- lib/neo4j/neo4j.rb
|
118
|
+
- lib/neo4j/node.rb
|
119
|
+
- lib/neo4j/node_mixin.rb
|
120
|
+
- lib/neo4j/property.rb
|
121
|
+
- lib/neo4j/relationship_mixin.rb
|
122
|
+
- lib/neo4j/load.rb
|
123
|
+
- lib/neo4j/database.rb
|
124
|
+
- lib/neo4j/version.rb
|
125
|
+
- lib/neo4j/node_relationship.rb
|
126
|
+
- lib/neo4j/equal.rb
|
127
|
+
- lib/neo4j/relationship.rb
|
128
|
+
- lib/neo4j/to_java.rb
|
129
|
+
- lib/neo4j/rails/attributes.rb
|
130
|
+
- lib/neo4j/rails/model.rb
|
131
|
+
- lib/neo4j/rails/validations.rb
|
132
|
+
- lib/neo4j/rails/persistence.rb
|
133
|
+
- lib/neo4j/rails/serialization.rb
|
134
|
+
- lib/neo4j/rails/railtie.rb
|
135
|
+
- lib/neo4j/rails/lucene_connection_closer.rb
|
136
|
+
- lib/neo4j/rails/transaction.rb
|
137
|
+
- lib/neo4j/rails/timestamps.rb
|
138
|
+
- lib/neo4j/rails/callbacks.rb
|
139
|
+
- lib/neo4j/rails/tx_methods.rb
|
140
|
+
- lib/neo4j/rails/finders.rb
|
141
|
+
- lib/neo4j/rails/relationships/mapper.rb
|
142
|
+
- lib/neo4j/rails/relationships/relationships.rb
|
143
|
+
- lib/neo4j/rails/relationships/relationship.rb
|
144
|
+
- lib/neo4j/rails/mapping/property.rb
|
145
|
+
- lib/neo4j/rails/validations/uniqueness.rb
|
146
|
+
- lib/neo4j/rails/validations/non_nil.rb
|
147
|
+
- lib/neo4j/jars/geronimo-jta_1.1_spec-1.1.1.jar
|
148
|
+
- lib/neo4j/jars/lucene-core-3.0.2.jar
|
149
|
+
- lib/neo4j/jars/neo4j-index-1.2-1.2.M03.jar
|
150
|
+
- lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.M03.jar
|
151
|
+
- lib/neo4j/jars/neo4j-kernel-1.2-1.2.M03.jar
|
152
|
+
- lib/neo4j/mapping/decl_relationship_dsl.rb
|
153
|
+
- lib/neo4j/mapping/node_mixin.rb
|
154
|
+
- lib/neo4j/mapping/has_n.rb
|
155
|
+
- lib/neo4j/mapping/relationship_mixin.rb
|
156
|
+
- lib/neo4j/mapping/has_list.rb
|
157
|
+
- lib/neo4j/mapping/class_methods/rule.rb
|
158
|
+
- lib/neo4j/mapping/class_methods/list.rb
|
159
|
+
- lib/neo4j/mapping/class_methods/init_node.rb
|
160
|
+
- lib/neo4j/mapping/class_methods/property.rb
|
161
|
+
- lib/neo4j/mapping/class_methods/init_rel.rb
|
162
|
+
- lib/neo4j/mapping/class_methods/relationship.rb
|
163
|
+
- lib/neo4j/index/indexer.rb
|
164
|
+
- lib/neo4j/index/lucene_query.rb
|
165
|
+
- lib/neo4j/index/indexer_registry.rb
|
166
|
+
- lib/neo4j/index/class_methods.rb
|
167
|
+
- lib/neo4j/index/index.rb
|
168
|
+
- README.rdoc
|
169
|
+
- CHANGELOG
|
170
|
+
- CONTRIBUTORS
|
171
|
+
- Gemfile
|
172
|
+
- neo4j.gemspec
|
173
|
+
has_rdoc: true
|
174
|
+
homepage: http://github.com/andreasronge/neo4j/tree
|
175
|
+
licenses: []
|
176
|
+
|
177
|
+
post_install_message:
|
178
|
+
rdoc_options:
|
179
|
+
- --quiet
|
180
|
+
- --title
|
181
|
+
- Neo4j.rb
|
182
|
+
- --opname
|
183
|
+
- index.html
|
184
|
+
- --line-numbers
|
185
|
+
- --main
|
186
|
+
- README.rdoc
|
187
|
+
- --inline-source
|
188
|
+
require_paths:
|
189
|
+
- lib
|
190
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
segments:
|
195
|
+
- 1
|
196
|
+
- 8
|
197
|
+
- 7
|
198
|
+
version: 1.8.7
|
199
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ">"
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
segments:
|
204
|
+
- 1
|
205
|
+
- 3
|
206
|
+
- 1
|
207
|
+
version: 1.3.1
|
208
|
+
requirements: []
|
209
|
+
|
210
|
+
rubyforge_project: neo4j
|
211
|
+
rubygems_version: 1.3.6
|
212
|
+
signing_key:
|
213
|
+
specification_version: 3
|
214
|
+
summary: A graph database for JRuby
|
215
|
+
test_files: []
|
216
|
+
|