neo4j 1.2.6-java → 2.0.0.alpha.3-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/CHANGELOG +30 -0
  2. data/CONTRIBUTORS +1 -0
  3. data/Gemfile +16 -4
  4. data/README.rdoc +25 -3
  5. data/bin/neo4j-jars +15 -8
  6. data/bin/neo4j-shell +0 -1
  7. data/bin/neo4j-upgrade +72 -0
  8. data/config/neo4j/config.yml +5 -4
  9. data/lib/neo4j/algo/algo.rb +0 -1
  10. data/lib/neo4j/batch/inserter.rb +5 -0
  11. data/lib/neo4j/database.rb +18 -12
  12. data/lib/neo4j/event_handler.rb +76 -9
  13. data/lib/neo4j/has_list/class_methods.rb +1 -1
  14. data/lib/neo4j/has_list/mapping.rb +13 -33
  15. data/lib/neo4j/has_n/decl_relationship_dsl.rb +17 -13
  16. data/lib/neo4j/has_n/mapping.rb +6 -23
  17. data/lib/neo4j/identity_map.rb +0 -3
  18. data/lib/neo4j/index/class_methods.rb +9 -3
  19. data/lib/neo4j/index/index.rb +2 -1
  20. data/lib/neo4j/index/indexer.rb +3 -2
  21. data/lib/neo4j/index/indexer_registry.rb +1 -1
  22. data/lib/neo4j/index/lucene_query.rb +52 -33
  23. data/lib/neo4j/neo4j.rb +19 -0
  24. data/lib/neo4j/node.rb +42 -36
  25. data/lib/neo4j/node_mixin/node_mixin.rb +9 -5
  26. data/lib/neo4j/paginated.rb +23 -0
  27. data/lib/neo4j/rails/accept_id.rb +66 -0
  28. data/lib/neo4j/rails/attributes.rb +14 -9
  29. data/lib/neo4j/rails/compositions.rb +9 -1
  30. data/lib/neo4j/rails/finders.rb +5 -1
  31. data/lib/neo4j/rails/mapping/property.rb +41 -28
  32. data/lib/neo4j/rails/model.rb +2 -0
  33. data/lib/neo4j/rails/observer.rb +61 -2
  34. data/lib/neo4j/rails/persistence.rb +57 -57
  35. data/lib/neo4j/rails/rails.rb +1 -0
  36. data/lib/neo4j/rails/railtie.rb +4 -1
  37. data/lib/neo4j/rails/rel_persistence.rb +11 -12
  38. data/lib/neo4j/rails/relationship.rb +9 -4
  39. data/lib/neo4j/rails/relationships/node_dsl.rb +15 -5
  40. data/lib/neo4j/rails/relationships/relationships.rb +42 -2
  41. data/lib/neo4j/rails/relationships/rels_dsl.rb +60 -3
  42. data/lib/neo4j/rails/relationships/storage.rb +43 -5
  43. data/lib/neo4j/rails/validations/uniqueness.rb +1 -0
  44. data/lib/neo4j/rails/versioning/versioning.rb +64 -9
  45. data/lib/neo4j/relationship.rb +79 -73
  46. data/lib/neo4j/rule/event_listener.rb +7 -1
  47. data/lib/neo4j/rule/functions/count.rb +6 -0
  48. data/lib/neo4j/rule/rule.rb +20 -5
  49. data/lib/neo4j/rule/rule_node.rb +33 -20
  50. data/lib/neo4j/to_java.rb +5 -0
  51. data/lib/neo4j/traversal/traverser.rb +38 -1
  52. data/lib/neo4j/type_converters/type_converters.rb +56 -5
  53. data/lib/neo4j/version.rb +1 -1
  54. data/lib/neo4j.rb +3 -49
  55. data/neo4j.gemspec +2 -2
  56. metadata +191 -216
  57. data/bin/neo4j-shell~ +0 -108
  58. data/lib/Gemfile~ +0 -3
  59. data/lib/config2.yml~ +0 -86
  60. data/lib/neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar +0 -0
  61. data/lib/neo4j/jars/core/lucene-core-3.1.0.jar +0 -0
  62. data/lib/neo4j/jars/core/neo4j-backup-1.4.1.jar +0 -0
  63. data/lib/neo4j/jars/core/neo4j-graph-algo-1.4.1.jar +0 -0
  64. data/lib/neo4j/jars/core/neo4j-index-1.3-1.3.M01.jar +0 -0
  65. data/lib/neo4j/jars/core/neo4j-kernel-1.4.1.jar +0 -0
  66. data/lib/neo4j/jars/core/neo4j-lucene-index-1.4.1.jar +0 -0
  67. data/lib/neo4j/jars/ha/log4j-1.2.16.jar +0 -0
  68. data/lib/neo4j/jars/ha/neo4j-com-1.4.1.jar +0 -0
  69. data/lib/neo4j/jars/ha/neo4j-ha-1.4.1.jar +0 -0
  70. data/lib/neo4j/jars/ha/neo4j-jmx-1.4.1.jar +0 -0
  71. data/lib/neo4j/jars/ha/neo4j-management-1.4.1.jar +0 -0
  72. data/lib/neo4j/jars/ha/neo4j-shell-1.4.1.jar +0 -0
  73. data/lib/neo4j/jars/ha/netty-3.2.1.Final.jar +0 -0
  74. data/lib/neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar +0 -0
  75. data/lib/neo4j/jars/ha/zookeeper-3.3.2.jar +0 -0
  76. data/lib/neo4j/paginate.rb +0 -25
  77. data/lib/perf.rb~ +0 -36
  78. data/lib/test.rb~ +0 -2
metadata CHANGED
@@ -1,234 +1,209 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.2.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.alpha.3
5
+ prerelease: 6
6
6
  platform: java
7
- authors:
8
- - Andreas Ronge
7
+ authors:
8
+ - Andreas Ronge
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-11-03 00:00:00 +01:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: orm_adapter
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 0.0.3
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: activemodel
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: 3.0.0
36
- type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: will_paginate
40
- prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - "="
45
- - !ruby/object:Gem::Version
46
- version: 3.0.pre4
47
- type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: railties
51
- prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 3.0.0
58
- type: :runtime
59
- version_requirements: *id004
60
- description: |
61
- You can think of Neo4j as a high-performance graph engine with all the features of a mature and robust database.
62
- The programmer works with an object-oriented, flexible network structure rather than with strict and static tables
63
- yet enjoys all the benefits of a fully transactional, enterprise-strength database.
64
- It comes included with the Apache Lucene document database.
65
-
12
+ date: 2012-01-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: orm_adapter
16
+ requirement: &70194765140180 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.0.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70194765140180
25
+ - !ruby/object:Gem::Dependency
26
+ name: activemodel
27
+ requirement: &70194765136660 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70194765136660
36
+ - !ruby/object:Gem::Dependency
37
+ name: railties
38
+ requirement: &70194765136000 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 3.0.0
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70194765136000
47
+ - !ruby/object:Gem::Dependency
48
+ name: neo4j-community
49
+ requirement: &70194765135280 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.0.alpha.6
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70194765135280
58
+ description: ! "You can think of Neo4j as a high-performance graph engine with all
59
+ the features of a mature and robust database.\nThe programmer works with an object-oriented,
60
+ flexible network structure rather than with strict and static tables \nyet enjoys
61
+ all the benefits of a fully transactional, enterprise-strength database.\nIt comes
62
+ included with the Apache Lucene document database.\n"
66
63
  email: andreas.ronge@gmail.com
67
- executables:
68
- - neo4j-shell
69
- - neo4j-jars
64
+ executables:
65
+ - neo4j-shell
66
+ - neo4j-jars
67
+ - neo4j-upgrade
70
68
  extensions: []
71
-
72
- extra_rdoc_files:
73
- - README.rdoc
74
- files:
75
- - bin/neo4j-jars
76
- - bin/neo4j-shell
77
- - bin/neo4j-shell~
78
- - lib/neo4j.rb
79
- - lib/Gemfile~
80
- - lib/test.rb~
81
- - lib/config2.yml~
82
- - lib/perf.rb~
83
- - lib/generators/neo4j.rb
84
- - lib/generators/neo4j/model/model_generator.rb
85
- - lib/generators/neo4j/model/templates/model.erb
86
- - lib/orm_adapter/adapters/neo4j.rb
87
- - lib/neo4j/identity_map.rb
88
- - lib/neo4j/event_handler.rb
89
- - lib/neo4j/model.rb
90
- - lib/neo4j/config.rb
91
- - lib/neo4j/transaction.rb
92
- - lib/neo4j/neo4j.rb
93
- - lib/neo4j/node.rb
94
- - lib/neo4j/load.rb
95
- - lib/neo4j/paginate.rb
96
- - lib/neo4j/database.rb
97
- - lib/neo4j/relationship_set.rb
98
- - lib/neo4j/version.rb
99
- - lib/neo4j/equal.rb
100
- - lib/neo4j/relationship.rb
101
- - lib/neo4j/to_java.rb
102
- - lib/neo4j/algo/algo.rb
103
- - lib/neo4j/has_list/mapping.rb
104
- - lib/neo4j/has_list/class_methods.rb
105
- - lib/neo4j/has_list/has_list.rb
106
- - lib/neo4j/property/property.rb
107
- - lib/neo4j/property/class_methods.rb
108
- - lib/neo4j/traversal/rel_expander.rb
109
- - lib/neo4j/traversal/filter_predicate.rb
110
- - lib/neo4j/traversal/prune_evaluator.rb
111
- - lib/neo4j/traversal/traversal.rb
112
- - lib/neo4j/traversal/traverser.rb
113
- - lib/neo4j/relationship_mixin/relationship_mixin.rb
114
- - lib/neo4j/relationship_mixin/class_methods.rb
115
- - lib/neo4j/type_converters/type_converters.rb
116
- - lib/neo4j/core_ext/class/inheritable_attributes.rb
117
- - lib/neo4j/migrations/migrations.rb
118
- - lib/neo4j/migrations/lazy_node_mixin.rb
119
- - lib/neo4j/migrations/extensions.rb
120
- - lib/neo4j/migrations/node_mixin.rb
121
- - lib/neo4j/migrations/migration.rb
122
- - lib/neo4j/migrations/class_methods.rb
123
- - lib/neo4j/migrations/ref_node_wrapper.rb
124
- - lib/neo4j/rels/traverser.rb
125
- - lib/neo4j/rels/rels.rb
126
- - lib/neo4j/rails/attributes.rb
127
- - lib/neo4j/rails/rack_middleware.rb
128
- - lib/neo4j/rails/model.rb
129
- - lib/neo4j/rails/validations.rb
130
- - lib/neo4j/rails/persistence.rb
131
- - lib/neo4j/rails/serialization.rb
132
- - lib/neo4j/rails/railtie.rb
133
- - lib/neo4j/rails/rails.rb
134
- - lib/neo4j/rails/observer.rb
135
- - lib/neo4j/rails/transaction.rb
136
- - lib/neo4j/rails/timestamps.rb
137
- - lib/neo4j/rails/callbacks.rb
138
- - lib/neo4j/rails/tx_methods.rb
139
- - lib/neo4j/rails/rel_persistence.rb
140
- - lib/neo4j/rails/finders.rb
141
- - lib/neo4j/rails/relationship.rb
142
- - lib/neo4j/rails/compositions.rb
143
- - lib/neo4j/rails/relationships/rels_dsl.rb
144
- - lib/neo4j/rails/relationships/node_dsl.rb
145
- - lib/neo4j/rails/relationships/relationships.rb
146
- - lib/neo4j/rails/relationships/storage.rb
147
- - lib/neo4j/rails/versioning/versioning.rb
148
- - lib/neo4j/rails/mapping/property.rb
149
- - lib/neo4j/rails/validations/associated.rb
150
- - lib/neo4j/rails/validations/uniqueness.rb
151
- - lib/neo4j/rails/validations/non_nil.rb
152
- - lib/neo4j/jars/core/neo4j-backup-1.4.1.jar
153
- - lib/neo4j/jars/core/geronimo-jta_1.1_spec-1.1.1.jar
154
- - lib/neo4j/jars/core/neo4j-lucene-index-1.4.1.jar
155
- - lib/neo4j/jars/core/lucene-core-3.1.0.jar
156
- - lib/neo4j/jars/core/neo4j-graph-algo-1.4.1.jar
157
- - lib/neo4j/jars/core/neo4j-index-1.3-1.3.M01.jar
158
- - lib/neo4j/jars/core/neo4j-kernel-1.4.1.jar
159
- - lib/neo4j/jars/ha/neo4j-management-1.4.1.jar
160
- - lib/neo4j/jars/ha/zookeeper-3.3.2.jar
161
- - lib/neo4j/jars/ha/netty-3.2.1.Final.jar
162
- - lib/neo4j/jars/ha/neo4j-ha-1.4.1.jar
163
- - lib/neo4j/jars/ha/log4j-1.2.16.jar
164
- - lib/neo4j/jars/ha/neo4j-shell-1.4.1.jar
165
- - lib/neo4j/jars/ha/neo4j-com-1.4.1.jar
166
- - lib/neo4j/jars/ha/neo4j-jmx-1.4.1.jar
167
- - lib/neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar
168
- - lib/neo4j/index/indexer.rb
169
- - lib/neo4j/index/lucene_query.rb
170
- - lib/neo4j/index/indexer_registry.rb
171
- - lib/neo4j/index/class_methods.rb
172
- - lib/neo4j/index/index.rb
173
- - lib/neo4j/batch/inserter.rb
174
- - lib/neo4j/batch/indexer.rb
175
- - lib/neo4j/batch/rule_inserter.rb
176
- - lib/neo4j/batch/rule_node.rb
177
- - lib/neo4j/batch/batch.rb
178
- - lib/neo4j/has_n/decl_relationship_dsl.rb
179
- - lib/neo4j/has_n/has_n.rb
180
- - lib/neo4j/has_n/mapping.rb
181
- - lib/neo4j/has_n/class_methods.rb
182
- - lib/neo4j/node_mixin/node_mixin.rb
183
- - lib/neo4j/node_mixin/class_methods.rb
184
- - lib/neo4j/rule/rule.rb
185
- - lib/neo4j/rule/rule_node.rb
186
- - lib/neo4j/rule/class_methods.rb
187
- - lib/neo4j/rule/event_listener.rb
188
- - lib/neo4j/rule/functions/function.rb
189
- - lib/neo4j/rule/functions/count.rb
190
- - lib/neo4j/rule/functions/sum.rb
191
- - lib/neo4j/rule/functions/functions.rb
192
- - config/locales/en.yml
193
- - config/neo4j/config.yml
194
- - README.rdoc
195
- - CHANGELOG
196
- - CONTRIBUTORS
197
- - Gemfile
198
- - neo4j.gemspec
199
- has_rdoc: true
69
+ extra_rdoc_files:
70
+ - README.rdoc
71
+ files:
72
+ - bin/neo4j-jars
73
+ - bin/neo4j-shell
74
+ - bin/neo4j-upgrade
75
+ - lib/generators/neo4j/model/model_generator.rb
76
+ - lib/generators/neo4j/model/templates/model.erb
77
+ - lib/generators/neo4j.rb
78
+ - lib/neo4j/algo/algo.rb
79
+ - lib/neo4j/batch/batch.rb
80
+ - lib/neo4j/batch/indexer.rb
81
+ - lib/neo4j/batch/inserter.rb
82
+ - lib/neo4j/batch/rule_inserter.rb
83
+ - lib/neo4j/batch/rule_node.rb
84
+ - lib/neo4j/config.rb
85
+ - lib/neo4j/core_ext/class/inheritable_attributes.rb
86
+ - lib/neo4j/database.rb
87
+ - lib/neo4j/equal.rb
88
+ - lib/neo4j/event_handler.rb
89
+ - lib/neo4j/has_list/class_methods.rb
90
+ - lib/neo4j/has_list/has_list.rb
91
+ - lib/neo4j/has_list/mapping.rb
92
+ - lib/neo4j/has_n/class_methods.rb
93
+ - lib/neo4j/has_n/decl_relationship_dsl.rb
94
+ - lib/neo4j/has_n/has_n.rb
95
+ - lib/neo4j/has_n/mapping.rb
96
+ - lib/neo4j/identity_map.rb
97
+ - lib/neo4j/index/class_methods.rb
98
+ - lib/neo4j/index/index.rb
99
+ - lib/neo4j/index/indexer.rb
100
+ - lib/neo4j/index/indexer_registry.rb
101
+ - lib/neo4j/index/lucene_query.rb
102
+ - lib/neo4j/load.rb
103
+ - lib/neo4j/migrations/class_methods.rb
104
+ - lib/neo4j/migrations/extensions.rb
105
+ - lib/neo4j/migrations/lazy_node_mixin.rb
106
+ - lib/neo4j/migrations/migration.rb
107
+ - lib/neo4j/migrations/migrations.rb
108
+ - lib/neo4j/migrations/node_mixin.rb
109
+ - lib/neo4j/migrations/ref_node_wrapper.rb
110
+ - lib/neo4j/model.rb
111
+ - lib/neo4j/neo4j.rb
112
+ - lib/neo4j/node.rb
113
+ - lib/neo4j/node_mixin/class_methods.rb
114
+ - lib/neo4j/node_mixin/node_mixin.rb
115
+ - lib/neo4j/paginated.rb
116
+ - lib/neo4j/property/class_methods.rb
117
+ - lib/neo4j/property/property.rb
118
+ - lib/neo4j/rails/accept_id.rb
119
+ - lib/neo4j/rails/attributes.rb
120
+ - lib/neo4j/rails/callbacks.rb
121
+ - lib/neo4j/rails/compositions.rb
122
+ - lib/neo4j/rails/finders.rb
123
+ - lib/neo4j/rails/mapping/property.rb
124
+ - lib/neo4j/rails/model.rb
125
+ - lib/neo4j/rails/observer.rb
126
+ - lib/neo4j/rails/persistence.rb
127
+ - lib/neo4j/rails/rack_middleware.rb
128
+ - lib/neo4j/rails/rails.rb
129
+ - lib/neo4j/rails/railtie.rb
130
+ - lib/neo4j/rails/rel_persistence.rb
131
+ - lib/neo4j/rails/relationship.rb
132
+ - lib/neo4j/rails/relationships/node_dsl.rb
133
+ - lib/neo4j/rails/relationships/relationships.rb
134
+ - lib/neo4j/rails/relationships/rels_dsl.rb
135
+ - lib/neo4j/rails/relationships/storage.rb
136
+ - lib/neo4j/rails/serialization.rb
137
+ - lib/neo4j/rails/timestamps.rb
138
+ - lib/neo4j/rails/transaction.rb
139
+ - lib/neo4j/rails/tx_methods.rb
140
+ - lib/neo4j/rails/validations/associated.rb
141
+ - lib/neo4j/rails/validations/non_nil.rb
142
+ - lib/neo4j/rails/validations/uniqueness.rb
143
+ - lib/neo4j/rails/validations.rb
144
+ - lib/neo4j/rails/versioning/versioning.rb
145
+ - lib/neo4j/relationship.rb
146
+ - lib/neo4j/relationship_mixin/class_methods.rb
147
+ - lib/neo4j/relationship_mixin/relationship_mixin.rb
148
+ - lib/neo4j/relationship_set.rb
149
+ - lib/neo4j/rels/rels.rb
150
+ - lib/neo4j/rels/traverser.rb
151
+ - lib/neo4j/rule/class_methods.rb
152
+ - lib/neo4j/rule/event_listener.rb
153
+ - lib/neo4j/rule/functions/count.rb
154
+ - lib/neo4j/rule/functions/function.rb
155
+ - lib/neo4j/rule/functions/functions.rb
156
+ - lib/neo4j/rule/functions/sum.rb
157
+ - lib/neo4j/rule/rule.rb
158
+ - lib/neo4j/rule/rule_node.rb
159
+ - lib/neo4j/to_java.rb
160
+ - lib/neo4j/transaction.rb
161
+ - lib/neo4j/traversal/filter_predicate.rb
162
+ - lib/neo4j/traversal/prune_evaluator.rb
163
+ - lib/neo4j/traversal/rel_expander.rb
164
+ - lib/neo4j/traversal/traversal.rb
165
+ - lib/neo4j/traversal/traverser.rb
166
+ - lib/neo4j/type_converters/type_converters.rb
167
+ - lib/neo4j/version.rb
168
+ - lib/neo4j.rb
169
+ - lib/orm_adapter/adapters/neo4j.rb
170
+ - config/locales/en.yml
171
+ - config/neo4j/config.yml
172
+ - README.rdoc
173
+ - CHANGELOG
174
+ - CONTRIBUTORS
175
+ - Gemfile
176
+ - neo4j.gemspec
200
177
  homepage: http://github.com/andreasronge/neo4j/tree
201
178
  licenses: []
202
-
203
179
  post_install_message:
204
- rdoc_options:
205
- - --quiet
206
- - --title
207
- - Neo4j.rb
208
- - --line-numbers
209
- - --main
210
- - README.rdoc
211
- - --inline-source
212
- require_paths:
213
- - lib
214
- required_ruby_version: !ruby/object:Gem::Requirement
180
+ rdoc_options:
181
+ - --quiet
182
+ - --title
183
+ - Neo4j.rb
184
+ - --line-numbers
185
+ - --main
186
+ - README.rdoc
187
+ - --inline-source
188
+ require_paths:
189
+ - lib
190
+ required_ruby_version: !ruby/object:Gem::Requirement
215
191
  none: false
216
- requirements:
217
- - - ">="
218
- - !ruby/object:Gem::Version
219
- version: 1.8.7
220
- required_rubygems_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ! '>='
194
+ - !ruby/object:Gem::Version
195
+ version: 1.8.7
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
197
  none: false
222
- requirements:
223
- - - ">="
224
- - !ruby/object:Gem::Version
225
- version: "0"
198
+ requirements:
199
+ - - ! '>'
200
+ - !ruby/object:Gem::Version
201
+ version: 1.3.1
226
202
  requirements: []
227
-
228
203
  rubyforge_project: neo4j
229
- rubygems_version: 1.5.1
204
+ rubygems_version: 1.8.10
230
205
  signing_key:
231
206
  specification_version: 3
232
207
  summary: A graph database for JRuby
233
208
  test_files: []
234
-
209
+ has_rdoc: true
data/bin/neo4j-shell~ DELETED
@@ -1,108 +0,0 @@
1
- #!/bin/sh
2
- # ----------------------------------------------------------------------------
3
- # Copyright 2001-2006 The Apache Software Foundation.
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
- # ----------------------------------------------------------------------------
17
-
18
- # Copyright (c) 2001-2002 The Apache Software Foundation. All rights
19
- # reserved.
20
-
21
- BASEDIR=`dirname $0`/..
22
- BASEDIR=`(cd "$BASEDIR"; pwd)`
23
-
24
-
25
-
26
- # OS specific support. $var _must_ be set to either true or false.
27
- cygwin=false;
28
- darwin=false;
29
- case "`uname`" in
30
- CYGWIN*) cygwin=true ;;
31
- Darwin*) darwin=true
32
- if [ -z "$JAVA_VERSION" ] ; then
33
- JAVA_VERSION="CurrentJDK"
34
- else
35
- echo "Using Java version: $JAVA_VERSION"
36
- fi
37
- if [ -z "$JAVA_HOME" ] ; then
38
- JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
39
- fi
40
- ;;
41
- esac
42
-
43
- if [ -z "$JAVA_HOME" ] ; then
44
- if [ -r /etc/gentoo-release ] ; then
45
- JAVA_HOME=`java-config --jre-home`
46
- fi
47
- fi
48
-
49
- # For Cygwin, ensure paths are in UNIX format before anything is touched
50
- if $cygwin ; then
51
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
52
- [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
53
- fi
54
-
55
- # If a specific java binary isn't specified search for the standard 'java' binary
56
- if [ -z "$JAVACMD" ] ; then
57
- if [ -n "$JAVA_HOME" ] ; then
58
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
59
- # IBM's JDK on AIX uses strange locations for the executables
60
- JAVACMD="$JAVA_HOME/jre/sh/java"
61
- else
62
- JAVACMD="$JAVA_HOME/bin/java"
63
- fi
64
- else
65
- JAVACMD=`which java`
66
- fi
67
- fi
68
-
69
- if [ ! -x "$JAVACMD" ] ; then
70
- echo "Error: JAVA_HOME is not defined correctly."
71
- echo " We cannot execute $JAVACMD"
72
- exit 1
73
- fi
74
-
75
- if [ -z "$REPO" ]
76
- then
77
- REPO="$BASEDIR"/lib
78
- fi
79
-
80
- LIBRARY_JARS=""
81
- for jar in ${REPO}/*.jar
82
- do
83
- LIBRARY_JARS=${LIBRARY_JARS}:$jar
84
- done
85
- echo $LIBRARY_JARS
86
-
87
- CLASSPATH=$CLASSPATH_PREFIX${LIBRARY_JARS}
88
-
89
- EXTRA_JVM_ARGUMENTS=""
90
-
91
- # For Cygwin, switch paths to Windows format before running java
92
- if $cygwin; then
93
- [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
94
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
95
- [ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"`
96
- [ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"`
97
- [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
98
- fi
99
-
100
- exec "$JAVACMD" $JAVA_OPTS \
101
- $EXTRA_JVM_ARGUMENTS \
102
- -classpath "$CLASSPATH" \
103
- -Dapp.name="neo4j-shell" \
104
- -Dapp.pid="$$" \
105
- -Dapp.repo="$REPO" \
106
- -Dbasedir="$BASEDIR" \
107
- org.neo4j.shell.StartClient \
108
- "$@"
data/lib/Gemfile~ DELETED
@@ -1,3 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
- gem 'neo4j', :path => "../.."
data/lib/config2.yml~ DELETED
@@ -1,86 +0,0 @@
1
- #=== Neo4j.rb configuration settings
2
-
3
- # The location of the neo4j and lucene database
4
- storage_path: db/ha2
5
-
6
-
7
- # When using the Neo4j::Model you can let neo4j automatically set timestamps when updating/creating nodes.
8
- # If set to true neo4j.rb automatically timestamps create and update operations if the model has properties named created_at/created_on or updated_at/updated_on
9
- # (similar to ActiveRecord).
10
- timestamps: true
11
-
12
- # Configuration for lucene
13
- lucene: { fulltext: { provider: lucene,
14
- type: fulltext },
15
- exact: { provider: lucene,
16
- type: exact}
17
- }
18
-
19
-
20
- #use the clustered Neo4j GraphDatabase (org.neo4j.kernel.HighlyAvailableGraphDatabase)
21
- ha.db: true
22
- ha.create_empty_db: false
23
-
24
- #ha-server2.conf
25
- ha.machine_id: 2
26
- ha.server: "localhost:6002"
27
- ha.zoo_keeper_servers: "localhost:2181,localhost:2182,localhost:2183"
28
-
29
- enable_remote_shell: "port=1332"
30
-
31
- #===Memory mapped I/O settings===
32
-
33
- #Each file in the Neo store can use memory mapped I/O for reading/writing.
34
- #Best performance is achived if the full file can be memory mapped but if
35
- #there isn't enough memory for that Neo will try and make the best use of
36
- #the memory it gets (regions of the file that get accessed often will more
37
- #likley be memory mapped).
38
-
39
- #For high traversal speed it is important to have the nodestore.db and
40
- #relationshipstore.db files.
41
-
42
- neostore.nodestore.db.mapped_memory: 25M
43
- neostore.relationshipstore.db.mapped_memory: 50M
44
- neostore.propertystore.db.mapped_memory: 90M
45
- neostore.propertystore.db.index.mapped_memory: 1M
46
- neostore.propertystore.db.index.keys.mapped_memory: 1M
47
- neostore.propertystore.db.strings.mapped_memory: 130M
48
- neostore.propertystore.db.arrays.mapped_memory: 130M
49
-
50
-
51
- #: ": ": "Cache settings: ": ": "
52
-
53
- #use adaptive caches YES|NO. Let Neo try make best use of available heap.
54
- use_adaptive_cache: YES
55
-
56
- #heap usage/max heap size ratio. Neo will increase caches while ratio
57
- #is less and decrease if greater. Default 0.77 seems to be a good over
58
- #all ratio of heap usage to avoid GC trashing. Larger heaps may allow for
59
- #a higher ratio while tiny heaps may need even less.
60
- adaptive_cache_heap_ratio: 0.77
61
-
62
- #how aggressive Neo will decrease caches once heap ratio reached
63
- adaptive_cache_manager_decrease_ratio: 1.15
64
-
65
- #how aggresive Neo will increase caches if ratio isn't yet reached
66
- adaptive_cache_manager_increase_ratio: 1.1
67
-
68
- #if no requests are made to Neo this is the amount of time in ms Neo will wait
69
- #before it checks the heap usage and adapts the caches if needed
70
- adaptive_cache_worker_sleep_time: 3000
71
-
72
- #minimum size (number of nodes) of node cache. If adaptive cache is in use
73
- #node cache will not be decreased under this value
74
- min_node_cache_size: 0
75
-
76
- #minimum size (number of relationships) of relationship cache. If adaptive
77
- #cache is in use relationship cache will not be decreased under this value
78
- min_relationship_cache_size: 0
79
-
80
- #maximum size (number of nodes) of node cache. If adaptive cache is not in
81
- #use the node cache will not be increased above this value
82
- max_node_cache_size: 1500
83
-
84
- #maximum size (number of relationship) of node cache. If adaptive cache is
85
- #not in use the relationship cache will not be increased above this value
86
- max_relationship_cache_size: 3500
Binary file
Binary file
Binary file
Binary file