neo4j 2.2.4-java → 2.3.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43bf8399c0246e2cd09f1aaa6ed2d3eab660e38
4
- data.tar.gz: 64b024e4814da15139b4fd502160e6ab09a50d47
3
+ metadata.gz: e0e861c07bbc9dd0fe44c3b8c02fbff09af7e146
4
+ data.tar.gz: 54bf3d24be84f6c76d5bd6f57d40e39cebcde5d2
5
5
  SHA512:
6
- metadata.gz: 31c77d29c92a9123f4d56673955d414976f64db6bae9753d6c42297792caa4956565de7d13fafb11854ddada15021ba6f7570124e7ba546ebb6c8c7c33cb5999
7
- data.tar.gz: 6c0fdcb24ef629aded78c049566010fbc451943958a300d7bb995cc88f4d7ad879ab86cfb8ce28f87f6586413e2376bb88fda7104fede1ca2efcf2722cb920b0
6
+ metadata.gz: c56ff5376b8ae5e53b3be39cabc02b6f45e33ea64e21f7c5f7c09c9b1d1fa6daf259aa9aacc969bb66d485c82eabc08c993c211b5fac81a859f3d0f754145297
7
+ data.tar.gz: 2192ad28fc1fe554fce4dbe130e8375dcdb0574f758fd132a59bd3d4fbc9d20977c045a957840f635a15aa0f3ad5285c85feccf20bdcaf4007a4f2b8f0fbedda
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.3.0 / 2013-07-18
2
+ * Fix Issue with HA console when ruby-debug is loaded (#261, thekendalmiller)
3
+ * Use 1.9 Neo4j
4
+
1
5
  == 2.2.4 / 2013-05-19
2
6
  * get_or_create should return wrapped ruby nodes, alex-klepa, #241, #246
3
7
  * Make sure freeze does not have side effects, #235
@@ -8,8 +8,19 @@ module Neo4j
8
8
  # It avoids the Neo4j limitation of only having one process accessing the database by using HA clustering/neo4j-enterprise
9
9
  class Railtie < Object::Rails::Railtie
10
10
 
11
+ console do
12
+ Neo4j.config.use do |conf|
13
+ server_id = 2
14
+ conf['ha.server_id'] = server_id
15
+ conf['ha.server'] = "localhost:600#{server_id}"
16
+ conf['ha.cluster_server'] = "localhost:500#{server_id}"
17
+ conf['storage_path'] = File.expand_path("db/ha_neo_#{server_id}", Object::Rails.root)
18
+ puts "Re-Config HA cluster, ha.server_id: #{conf['ha.server_id']}, db: #{conf['storage_path']}"
19
+ end
20
+ end
21
+
11
22
  config.before_configuration do
12
- server_id = ((defined? IRB) || (defined? Pry)) ? 2 : 1
23
+ server_id = 1
13
24
  config.neo4j['enable_ha'] = true
14
25
  config.neo4j['ha.server_id'] = server_id
15
26
  config.neo4j['ha.server'] = "localhost:600#{server_id}"
@@ -1,3 +1,3 @@
1
1
  module Neo4j
2
- VERSION = "2.2.4"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -32,5 +32,5 @@ It comes included with the Apache Lucene document database.
32
32
  s.add_dependency('orm_adapter', ">= 0.0.3")
33
33
  s.add_dependency("activemodel", ">= 3.0.0", "< 3.3")
34
34
  s.add_dependency("railties", ">= 3.0.0", "< 3.3")
35
- s.add_dependency("neo4j-wrapper", '2.2.4')
35
+ s.add_dependency("neo4j-wrapper", '2.3.0')
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.3.0
5
5
  platform: java
6
6
  authors:
7
7
  - Andreas Ronge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-19 00:00:00.000000000 Z
11
+ date: 2013-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -70,12 +70,12 @@ dependencies:
70
70
  requirements:
71
71
  - - '='
72
72
  - !ruby/object:Gem::Version
73
- version: 2.2.4
73
+ version: 2.3.0
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: 2.2.4
78
+ version: 2.3.0
79
79
  prerelease: false
80
80
  type: :runtime
81
81
  description: "You can think of Neo4j as a high-performance graph engine with all the\